3,517 karma · joined Jul 23, 2021 (5y ago) · 2,823 submissions
comment 3y ago · link · parent
If you are testing quite predictable things, you almost always want to use branch prediction and not predicated/conditional instructions.
If something is totally unpredictable, let's say a binary search that is looking up random elements in a well balanced heap or tree. Each comparison is very unpredictable. A conditional select would work best there:
item = (val < item->val ? item->left : item->right);
if (val == item->val) ...
You could do your tree walks entirely without branch misses if that first line was a select... But it turns out that is not true. Or it's not necessarily true, depending a few (not uncommon) factors, it can be worse to use a select there.comment 3y ago · link · parent
There isn't supposed to be some absolute number of instructions that a RISC has, the idea behind it is that you would take a quantitative approach to add instructions, and require that they show benefit beyond a composition of other instructions, and could be practically used.
More capable compilers, wider use of vectorization and other techniques, and more transistors has pushed that a long way since the 1980s.
comment 3y ago · link · parent
If this kind of thing happened in a rural town in a southern state, it would be the same thing. There would be documentaries and opinion pieces and talking heads on television wringing their hands and clutching their pearls.
But because it's in the premiere leftist / globalist city and state with a majority-minority police forced headed by a black chief of police, is sanctioned by unions, and all overseen by the Democrat party, the facts are quietly mumbled over, followed by confidently unfounded assertions about how racist this is is insinuations that white supremacy and/or privilege must be behind it.
See, at this point admitting anything else implies that their entire platform has been built on lies from stem to stern, or at the very least completely unproven and now failed claims. So they have no choice but to keep digging. Zero introspection. None of this can possibly be the result of any of their failures, it must be due to racism. And as we know from their litany of unfounded claims, only they are qualified to address. It's extremely convenient for them. And every year of failed policies that go by, the more they assert without evidence that racism has continued to become worse.
comment 3y ago · link · parent
> Please note I didn't mention anything about a university education.
What do you consider "education in humanities" then, that a "tech person" is unlikely to have received?
> You can absolutely teach yourself philosophy
Again, you seem to have confused having an academic understanding of ethics with a compulsion to act ethically. I don't believe there is much linkage between the two.
> To answer your broader point, you're confusing behaving in a commonsense moral or ethical way with understanding and reasoning from a grounding in ethics.
I'm not. Your comment I replied to suggested that a lack of education in this stuff is the cause of apparent poor behavior, so perhaps it was you who was confusing those things.
comment 3y ago · link · parent
People who live "primitive" lifestyles who have zero academic education and have never heard of let alone from any "experts in humanities" can have a keen sense of what is fair, just, right, and wrong, empathy, etc. So can "tech people".
And students of humanities can be lacking all those things. I have my doubts that studying these things actually changes them significantly in a person, but would be really interested to be proven wrong about that. Certainly it is not necessary or sufficient to be an ethical person though.
comment 3y ago · link · parent
Sounds pretty far fetched really. Just using emotive meaningless words -- China has no colony in India.
> with India being disadvantaged
With India being overall advantaged though, otherwise they would not enter into the relationship in the first place. Just possibly somewhat less advantaged than China.
This isn't some tiny nation being bullied and coerced, it's the country with the largest population in the world! And while they might share some border, China controls virtually none of India's important trade or transport routes.
comment 3y ago · link · parent
I said based on reason. It's quite possible to reason about feelings.
Anyway, what's this "discourse on feelings" that was related nationalism/imperialism and authoritarianism you're talking about? I've never heard of it, it sounds interesting.
comment 3y ago · link · parent
It's like landing at Normandy, but from the comfort of your living room.
comment 3y ago · link · parent
Listen to some prominent politicians today. Politicians have always had to speak in convoluted and stupid ways to conceal or deflect the truth, but generally they were coherent, the sequence of words had some meaning you could understand even if it was wrong or they were lying. Now it's just complete gibberish with feel-good words sprinkled in.
comment 3y ago · link · parent
comment 3y ago · link · parent
Files are not sequences of bytes in day to day computing. They are videos, or databases, or applications. Actually a lot of the time you'll be doing your day to day computing, thousands of files are being accessed and you wouldn't even know it.
comment 3y ago · link · parent
What "world consequences" would there be? Are you talking about the effect on the Russian population and country and subsequent political economic and social upheaval from the result of Russia deciding to make a nuclear attack that backfires on itself, and also brings a retaliatory strike upon itself (which would be far more devastating than the malfunctioning nukes in the first place),? I agree would have pretty significant global consequences.
The global environmental effects of the nuclear exchange itself wouldn't be all that significant though would it? Might slow down global warming for a couple of years which could be nice.
comment 3y ago · link · parent
You are almost certain of this based on the fact you can't think of a reason it would be done that way?
> There's no illumati stuff going on here, just people wanting it to be that way.
What are you talking about? Even if these rules were not hallucinated, nobody is suggesting "illumati[sic] stuff" going on. What are you actually thinking the implications would be if it were true?
comment 3y ago · link · parent
But I don't know if the show would have been as good without him. His boring normalness and bemused reaction to the chaos unfolding around him. Even his breaking of the fourth wall. Maybe he's a grounding rod that serves to contrast everything else against, maybe he's the character we can see ourselves as.