Better HN
topnewbestaskshowjobs
Log inSign up

throwawaylinux

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

Submissions

comment 4y ago · link · parent

The same way that socialism or state control doesn't fix those problems either.

At least with capitalism the (alleged) ideal is decentralization of control. Other systems are overtly authoritarian with the explicit goal of consolidation of power.

comment 4y ago · link · parent

An opinion that would have got you roasted at the stake by the intelligentsia 2 months ago.

comment 4y ago · link · parent

So it really has nothing to do with capitalism or a free market then.

The failure comes from state regulations, cartel behavior permitted by the WTO and other failed globalist bodies, and state warmongering. The solution is clearly to demonize individual choice and concentrate more power in corrupt state and global bodies!

comment 4y ago · link · parent

OPEC is an overt cartel. Why would you have thought that?

comment 4y ago · link · parent

That's okay, a bunch of crooked politicians who became super rich on insider trading and other shady deals said increased gas and food prices was a sacrifice they were willing to make, and only traitors would question their generosity.

comment 4y ago · link · parent

The quote isn't about his temperament but his knowledge, so I think that interpretation is a bit of a stretch.

I think the same kind of quote would absolutely apply in exactly the same way to temperament though. The 14 year old thought his dad was a jerk who mellowed out by the time he was 21, the reality again being that the biggest change was actually the child's temperament.

comment 4y ago · link · parent

I've never seen any slightly contrary opinion upvoted at all, so any depth would be better than none. But "Putin = Hitler" is the shallowest and most boring take there is, and those are upvoted ad nauseam by the intelligentsia. So depth certainly does not correlate with popularity.

Paywalls maybe. I've seen lots of paywalled articles on the front page too though so I'm also skeptical about that explaining it.

comment 4y ago · link · parent

Without commenting on the situation or the topic, it's strange how close-minded and terrified of different opinions or ideas people are to this topic. There's a rabid, hateful, jingoistic "you're either with us or you're a traitor" fervor. It's amazing how strongly people are influenced by the popular narrative, the media, politicians. I seem to remember it was like this in the lead up to the last Iraq war too. Freedom fries, and USA chants, and denunciation of traitors everywhere.

Funny thing is a lot of the current hate I see coming from people who would ordinarily be the first in line to blame the west for any and all suffering, conflict, wars, and injustice around the world. Digging as far back to the crusades and the Roman Empire if necessary.

Yet I've never seen alternate views like this highly upvoted or discussed rationally on sites like this or reddit, despite swaths of newly minted Russia/Ukraine experts who one would have thought would be thirsty for new reading and debate on the subject.

comment 4y ago · link · parent

No, because Linux has generic lists and data structures so you'd have to be more specific.

Also I was asking a particular person to because their perspective would have been interesting to me, but if you're also a kernel developer I would be interested to hear your gripes too.

comment 4y ago · link · parent

This did not answer my question.

comment 4y ago · link · parent

What C++ features have you missed when working on the kernel?

comment 4y ago · link · parent

> You're implying that Grsecurity's incentive to be safer than upstream means they won't cooperate.

> But Grsecurity made their patches freely available for the vast majority of their existence.

I didn't say anything about whether they made their patches freely available or not. Not sure what that has to do with what I wrote.

> I think it just shows ignorance of the situation to imply that they're only interested in making money.

I didn't imply that. I said they have a vested interest in perception of being more secure than upstream. Which they do. Replying with vague snark and going off on some wild tangent imagining things that I never implied isn't helpful if you can't address what I wrote.

I didn't say anyone is to blame as such, nor does grsecurity have any requirement or moral duty to put effort into upstreaming their work. But if you look at the motivation there is a pretty reasonable explanation why they have not done so, in my opinion that's more reasonable and likely than the idea that it's upstream being particularly unfair or uncooperative to this one group.

comment 4y ago · link · parent

> What would be the expected reaction if either puts or fflush returns an error code? You might think, write a message on stderr (which may be different from stdout), but what if stderr is also redirected to a full device? How would you react to the error code returned from that?

I don't think you would react any differently on stderr failure unless you had a more complex system with alternate ways to report such things configured.

Just ignore it and continue to report the major error (stdout) in your exit status.

comment 4y ago · link · parent

Yep. Unconditional branches require BTB entries anyway if they're to be predicted ahead of decode, and if AMD's BTB was large and accurate enough then the incremental performance advantage of detecting not-taken direct branches after decode might not have been worthwhile.

Security, sure arguably it could have been caught there. But Linux kernel development does not have the high ground when it comes to security problems.

comment 4y ago · link · parent

What's why?

comment 4y ago · link · parent

Many security mitigations have been merged into the kernel for a long time, probably longer than grsecurity has been around, but certainly something like NX-bit you could use as an example which was around the same time as early grsec (early 2000s).

Sure Linus has been hostile or funny about such things at times, but that has not prevented him from being convinced or them from being merged.

comment 4y ago · link · parent

> linux developer

This goes to show you that the software and digital logic design space is very different, and you should not assume any amount of experience and knowledge in one will prepare you for the realities of the other.

Sure it seems astounding that a CPU would speculate not-taken over a static, direct, unconditional branch. Surely no sane logic designer would ever do such a thing!

When you realize doing that might require more logic in a downstream stage after fetch and after the branch was decoded, and from there you need more control logic and wires going to other stages and logic to re-steer the pipeline in possibly a different manner or stage than would otherwise be required, and all that requires validation and verification (which can easily become a multiplicative effort), and if doing all of that did not bring you performance gains that outweighed the cost, and if you didn't understand the possible security implication or considered it to also not be worth the cost, then actually it's quite understandable for a reasonable implementation to behave this way.

Even the second quote smells a bit like dunning kruger. Everything has bugs or misfeatures, especially with hindsight. Everyone (including Linus and many other kernel developers) thought that the massive speculation capability and correspondingly astounding performance results on privilege domain crossing for Intel CPUs was the duck's nuts back before spectre/meltdown. And they certainly didn't foresee or discover the security issues with doing that.

(EDIT Disclaimer: Am linux developer and armchair microarchitect)

comment 4y ago · link · parent

AMD is supposed (or does) have very good branch predictors. What's interesting to me is they don't do a re-steering of the wrong prediction well before later instructions are issued to the back end.

Maybe their BTB is that good that they didn't see it worth investing in the control logic for it.

comment 4y ago · link · parent

grsecurity has a vested interest in having (or being seen to have) better security than upstream.

Maybe upstream is able to work with hundreds of different and competing companies and thousands of different people and clashing personalities and opinions, but they just happen to irrationally refuse to treat grsecurity fairly.

Or maybe it's the simpler explanation that has more obvious motives.

comment 4y ago · link · parent

Data plane management sure has traditionally been done with logical volume managers on unix particularly which introduced logical volume managers around late 80s. Not sure when deduplication exactly was available for Linux, probably around the same time as it was for ZFS on Solaris with VxVM. Various other vendors had their own LVM based dedup (NetApp comes to mind).

Anyway it wasn't really a statement about what was there first or not, but rather that because something may not exist for a filesystem does not mean it does not exist, i.e., look at other layers for such functionality.

comment 4y ago · link · parent

You really think a self-proclaimed expert coconut picker would do that? Just go on the internet and tell lies about their alleged profession?

comment 4y ago · link · parent

See, even the flamewars were more epic back then.

And yes I'm aware of that comment and it's a personal favorite of mine. Not the message by itself, but in the context the tantrum is the ultimate tacit surrender and humiliation of the big professional corporate clunky slow old proprietary OS to this open source upstart.

Miller's post was pretty strong out of the gate ("Solaris is a pig") but it had a lot of interesting technical content.

comment 4y ago · link · parent

> But... any of the other stuff? Checksums, deduplication, compression, etc. Citations, please.

Yes. The Linux LVM logical volume manager for example can do those things.

Traditional domain meaning this kind of data management traditionally came under the purview of LVMs. Not that an implementation has had particular features for a length of time, but that you might (also) look there rather than the filesystem for those features.

comment 4y ago · link · parent

That's traditionally the domain of logical volume managers.

comment 4y ago · link · parent

> I feel like an old hippie, trying to tell people what Woodstock was like and why it was special, only to see their confusion and lack of really getting it.

Until you looked at old usenet / mailing list archives and realized you were already well into the eternal September by that stage!

(I'm being a bit facetious -- I think all eras have their pluses and minuses, comp.* etc heyday was before my time but it was quite amazing to see some of the in depth discussions and names involved. That's where the infamous Tanenbaum–Torvalds debate took place for example, and it was not uncommon to see CPU and operating system and other software designers from different organizations debating everything from kernels to TCP/IP enhancements to compiler theory to TLBs. Generally under their real names.)

comment 4y ago · link · parent

> Not to defend CPP-copy-paste, but MIPS has always been an open architecture (it is even open source now, you can get CPU verilog code from them).

I don't know that it has always been completely open. They have had licensees in the past, and it has been opened then closed at least once in the past, by the looks.

At any rate I don't really know what the status of the MIPS architecture is or its owners' relationship with the LoongArch people. I'm not suggesting they are in breach of copyright or any private agreements with them.

But it really is just MIPS. They tidied up a few minor things like delay slots, and adding some basic vector stuff, and tweaked instruction encodings. Then rebranded the whole thing and did copy-paste jobs on large swaths of code when submitting their architecture "ports".

comment 4y ago · link · parent

Right, it's not acceptable at all. I think it was called out and they said it would be fixed. Not sure what the state of that is now.

Ordinarily I wouldn't assume that is more than a careless mistake, but with the deliberate and pervasive downplaying of the relationship to original works it's not a very good look.

comment 4y ago · link · parent

The FAQ heavily downplays the fact that it is a highly derivative architecture from MIPS. Yes the exact encodings are different, and there are a few differences in instruction but of the kind you might expect from a revision of an ISA.

To the point where the Linux kernel port for the architecture was a straight copy and paste of large parts of the assembly code from arch/mips (with the replacement of the copyright headers being among the largest changes in some cases).

Sadly it's exactly what you would expect of a Chinese ISA.

comment 4y ago · link · parent

Sanctions against North Korea have resulted in terrible hardship for their people, the cementing of the dictatorship and its total subservience to and reliance on the Chinese Communist Party.

Not sure if anything else would have been an option given that China does not want them to open to the west, but you have to wonder if cooperation and help to develop their economy and trade might have resulted in less human suffering.

1
535455
95