Better HN
topnewbestaskshowjobs
Log inSign up

throwawaylinux

3,517 karma · joined Jul 23, 2021 (5y ago) · 2,823 submissions

Submissions

comment 3y ago · link · parent

You have to be careful with turning control dependencies into data dependencies. It can be very hard to understand or predict how a CPU will behave.

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

It's not a write, it's just a destination register.

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

It's not dead reckoning, it's continually fixing to a map.

comment 3y ago · link · parent

Are there species of bacteria that are substantially unchanged in a billion years?

comment 3y ago · link · parent

It's not really the country, it's the politics and power that the media/propaganda machine it is aligned with.

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

You agree the post I replied to was the height of elitism?

> 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

Ironically, I find this to be the height of elitism and disconnectedness with humanity, to believe that people need university education in "the humanities" to have a fully developed and grounded moral code and sense of ethics.

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 like a stretch. You can link any subject or event to how people feel about it.

I don't think there was any notable "discourse on feelings" related to those things.

comment 3y ago · link · parent

What's wrong with pre-22? Did you expect something important to have changed after the US withdrawal from Afghanistan?

comment 3y ago · link · parent

> More than the border skirmishes, China and India have a trade relationship that is predatory. It can even be considered colonial,

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

You misunderstand. I didn't say western society had no discourse on feelings. On the contrary, the fathers of reason in the west like Aristotle talked extensively about feelings, far longer than just hundreds of years ago.

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

They do, and the process is not always robust enough to counter corporate lobbying and political corruption.

comment 3y ago · link · parent

Corporations lobby to back and influence local government to rubber-stamp their plans without requiring the necessary services and infrastructure to be in place or paid for.

Don't try to put it in the voters' lap.

comment 3y ago · link · parent

What the words mean is that you can feel good about yourself and believe that you are "standing with" the oppressed flavor of the month, "resisting" whatever is to be resisted today, and generally be an "ally" by using the products and services of corporations that say these words.

It's like landing at Normandy, but from the comfort of your living room.

comment 3y ago · link · parent

It's not just Mozilla. Western society as a whole is transitioning from one where discourse and consensus is based on reason, to one where it is based on feelings.

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

No, no it isn't.

comment 3y ago · link · parent

Hard to judge from the truncated context provided there. Was he just saying anybody who wants to work from home is morally wrong? It actually sounded like the conversation was about people who thought they had a right to work from home. If they expected others not to, I can see that as being somewhat hypocritical.

comment 3y ago · link · parent

Most technology is able to do useful things by building layers of simpler things.

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

That's roughly how many atmospheric nuclear tests were performed.

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

Closer than neighbors who haven't agreed to not deploy firearms to settle border disputes though, right?

comment 3y ago · link · parent

Did you read the article? It explains the study is attempting to narrow down the mechanism for ketamine's effects, not disprove them.

The title is misleading though, unfortunately. What the study found is that Ketamine-while-unconscious is no better.

comment 3y ago · link · parent

In western countries, the basis of understanding and discourse is transitioning from reason to feelings.

comment 3y ago · link · parent

> These are almost certainly hallucinated.

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

I dislike Jerry, I don't like scenes or episodes with too much Jerry (especially about his love life), and think his character is unfunny and unlikable in a way that none of the big 3 are, even George. He was even outshone by many of the minor recurring characters even: George's parents, Newman, Peterman, Susan, etc.

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.

comment 3y ago · link · parent

Do you know why any company releases fonts? If so, probably largely the same reasons. Also not snark.

comment 3y ago · link · parent

Few can.

comment 3y ago · link · parent

Ah, I'm talking about emissions intensity of production for an economy. Not the emission cost to manufacture vs run an EV.

comment 3y ago · link · parent

The first UNIX journaling filesystem was JFS for AIX released in 1990.
1
101112
95