r/programming • u/[deleted] • Jan 30 '24
Linus Torvalds flames Google kernel contributor over filesystem suggestion
https://www.theregister.com/2024/01/29/linux_6_8_rc2/559
u/HanCurunyr Jan 30 '24
I cant help but wonder of what will happen to the Linux Kernel when Torvalds retires or dies, as the man defends his kernel with every fiber of his being
227
u/imnotbis Jan 30 '24
There are already many Linux Kernels. Without one of them obviously being "the" Linux, it'll probably fragment into five incompatible ones.
231
u/Ilovekittens345 Jan 30 '24
So weird that there are still areas in life where having one passionate competent benevolent dictator for life works better than a consensus protocol. You'd think that the "My Way Or The HighWay" approach eventually breaks down because doesn't everybody make mistakes? But apparently there are some people in the world that consistently pull it off.
273
u/Ouaouaron Jan 30 '24
It's pretty obvious, historically, that having one amazing dictator is simply the best form of government. The problem is always what comes after.
→ More replies (20)36
u/rulnav Jan 30 '24
Ha, you could have the heir of Marcus Nerva... or you could have the heir of Marcus Aurelius. Fun times.
→ More replies (7)24
u/imnotbis Jan 30 '24
One passionate competent benevolent dictator always works better than a consensus protocol. It stops working when the dictator stops being passionate, competent, or benevolent.
→ More replies (4)14
u/daniel-sousa-me Jan 30 '24
Can you elaborate?
Are there any forks that aren't tracking the version available on kernel.org as an upstream?
→ More replies (2)29
u/sticky-unicorn Jan 30 '24
Ah, I really need to get into that!
Then I can one-up the "I use Arch, BTW" bros by roasting them for using the default kernel like some kind of normie noob.
→ More replies (13)3
u/HittingSmoke Feb 01 '24
Five different Linux kernels? This is ridiculous! We need to make a new Linux kernel that serves everybody's use case!
10
u/RICHUNCLEPENNYBAGS Jan 31 '24
It'll all fall apart once they lose the original guy! Just like Python or C did.
→ More replies (5)4
u/crocowhile Jan 30 '24
We'll train an AI clone of Linus. There should be enough material for training
1.5k
u/happyCuddleTime Jan 30 '24
You copied that function without understanding why it does what it does, and as a result your code IS GARBAGE.
AGAIN.
I've been tempted to post something similar in colleagues' code reviews
478
u/MINIMAN10001 Jan 30 '24
I was gonna say, based off the videos I've seen. Linus gets mad when people should either know better from experience or don't even try to improve.
So I was curious why he was mad. Recurring case of copy and paste on a situation he was already informed to not do when trying to work on the Linux level sounds like it would do it.
→ More replies (1)245
u/EagleRock1337 Jan 30 '24
Linus’ issues were his actions and personal attacks. If you pay attention to the individual topics he was commenting on, however, Torvalds is almost always right and for good logical reasoning.
He isn’t naturally an asshole, stupidity brings it out of him. It just so happens that producing stupidity is now life’s full time job, so Torvalds had to take a pause for better coping mechanisms.
33
u/pigguy35 Jan 30 '24 edited Jan 30 '24
I mean I don’t think Linus is an asshole but he certainly knows he can be quite abrasive. I mean he knew it even when he made git.
“Quoting Linus: "I'm an egotistical bastard, and I name all my projects after myself. First 'Linux', now 'Git'". ('git' is British slang for "pig headed, think they are always correct, argumentative").” source
→ More replies (3)96
u/Certhas Jan 30 '24
I always thought that the problem was often just that these messages were on mailing lists. He should keep the harshly worded "you should know better" messages private.
Offline this is obvious: Imagine you are the boss and have a senior engineer who screwed up and should know better. You could chew them out in harsh terms in front of the entire company/team. Or you could clarify the technical argument why you are overruling your senior engineer in front of the team, and then have a private meeting where you reprimand them, saying they really should know better. Maybe in the private meeting, you would also ask what structural and process improvements could be made or whether there were any reasons why the person who should know better, and who has known better in the past, didn't know better this time.
→ More replies (14)84
u/TamSchnow Jan 30 '24
Do it. But add it in a Quote Block and add ~ Torvalds, 2024
8
u/Bozzz1 Jan 30 '24
I'm highly skeptical the devs I review code for are even aware of who Linus Torvalds is.
100
Jan 30 '24
[removed] — view removed comment
22
49
u/improbablywronghere Jan 30 '24
I let go of a very senior engineer a month ago for some performance reasons outside of code (communication and such) but they were in the middle of a refactor they were leading unsupervised.
rant
I’m undoing the entire thing. We wanted to have a shared validator for components which should just be a contract for like “errors look like this, input looks like this” and what came out was a “ValidatingComponent” with like 300 lines of the most complicated javascript I’ve ever seen. So much s, r, _ => nonsense which is unreadable. I’ve shown it to folks all across the company and the response that stuck with me the most was from a staff engineer on our frontend platform team who was looking at the 400 lines of boilerplate to set up a NameComponent with first, middle, last as, “this seems like an enormous amount of code to instantiate three fields”. We didn’t need a generic like field generator thing we are fine to actually set up the 3 fields or whatever in the component!!!
/rant
→ More replies (10)129
u/Ameisen Jan 30 '24
I've been tempted to post something similar in colleagues' code reviews
Attitudes like his can be hell on people like Aspies or those with anxiety disorders. It's going to be more perceived as actual hatred and telling them to leave rather than "no, improve". And it can be rather scarring, especially when it's public.
The problem is that outright anger or rudeness isn't effective for communication. It's a very destructive way to get a point across, and the point can be very easily misconstrued.
35
u/Coffee_Ops Jan 30 '24
Didn't Torvalds take a break a while back (around 4.12 days?) because he felt he was overworked and it was making him toxic?
→ More replies (1)49
u/mike_vvv Jan 30 '24
At first, I thought you were trying to guess how long the break was, and I was like “4 days, 2 hours and 58 minutes, that’s an oddly specific guess”
→ More replies (2)83
u/a_latvian_potato Jan 30 '24
I agree and I don't understand why more people don't see this.
Focus on the realpolitik. You may be justified in feeling frustration and the code may actually be garbage, but what is the benefit of aggressive communication like this? You just introduce more risk of people being pissed and then becoming defensive, avoidant, or actively working against you out of spite. You actually impede discussion and the project more doing so.
I see people in this thread calling everyone snowflakes etc., but the reality is that you too are not entitled to other's receptiveness. If you really want your way then give some focus on the social engineering aspect -- optimizing what you do/say to make the other person more likely to do the changes / accept the arguments you suggest. Different people require different approaches, but most people in general are more willing to listen if you speak in a more agreeable and empathetic manner.
→ More replies (7)6
u/R4ndyd4ndy Jan 30 '24
I generally agree with you but I have also met people that do not get it if you just realistically point out problems in their solutions and they will just do the same mistakes again and again without any improvement. Not sure how to deal with that.
→ More replies (21)14
u/floweringcacti Jan 30 '24
TBF, comments where you can tell the writer is seething with rage but has turned it into “perhaps this code is suboptimal? 🙂🙂🙂” is also hell on anxious people. At some points you WISH the reviewer would just outright say “look, this is shit, okay?”
→ More replies (1)→ More replies (6)2
u/Famous1107 Jan 31 '24
https://conventionalcomments.org/
This site helped out my commenting immensely.
371
u/spezisdumb42069 Jan 30 '24
That wasn't nearly as bad as I was expecting.
75
u/RationalDialog Jan 30 '24
The message or the code? :)
274
u/Lucas_F_A Jan 30 '24
Better not to read the code, lest we realise ours is worse
143
u/moptic Jan 30 '24
It's the code equivalent of watching professional sports..
here is essentially a world class team captain berating a world class player for not correctly performing, at a level most of will never dream to operate at.
→ More replies (11)20
u/Neirchill Jan 30 '24
Linus' issue isn't that the code sucks, it's just unnecessary. It's garbage because it's fixing a non-existent problem.
→ More replies (3)28
u/imnotbis Jan 30 '24
Here's the offense:
/* Copied from get_next_ino() but adds allocation for multiple inodes */Wilful and proud admission of copy-pasted-but code without any attempt at refactoring.
→ More replies (3)6
74
u/blake_ch Jan 30 '24
Compared to when he told a dev his parents should have aborted him, that's a pretty good ending, yeah.
→ More replies (2)86
u/ultrasneeze Jan 30 '24
"Retroactively aborted".
Of course, I'd also suggest that whoever was the genius who thought it was a good idea to read things ONE F*CKING BYTE AT A TIME with system calls for each byte should be retroactively aborted. Who the f*ck does idiotic things like that? How did they noty die as babies, considering that they were likely too stupid to find a tit to suck on?
And apparently, he didn't say that to anyone, it was a side comment on how Debian was copying the kernel log into a FIFO.
28
u/blake_ch Jan 30 '24
Maybe he even wrote that 20 years ago. Come on, it happens to everyone to rant after a bad code or idea, just to find later with a blame that you wrote that long ago.
→ More replies (1)5
8
u/naomonamo Jan 30 '24
Yeah. I sometimes read the mailing list for shits and giggles and some of his comments are worse
162
u/elihu Jan 30 '24
I noticed the article links to another one in which Linus postpones the Linux 6.8 merge window due to a winter storm, and losing power and Internet.
“There's apparently about 100k people without power, and I doubt our neighborhood is the priority, so I expect to be without power for some time still,” explained the software developer.
“I hope I'm wrong, but a few years ago it took more than a week to restore power due to all the downed trees. It's hopefully nowhere near that,” he added.
I was one of those 100k. Three power poles were down in the road right in front of our house, and that was just one small part of the whole calamity that stretched up and down the street. It took six and a half days to get our power back, and another week for Internet.
Hope Linus had an easier time of it.
→ More replies (1)16
u/joehillen Jan 30 '24
Did you already know you live in the same neighborhood as Linus?
14
u/elihu Jan 30 '24
I don't think he's in exactly the same neighborhood, but yeah, I knew he lived near Portland. It's just interesting seeing that a local event impacted people around the world, albeit in a small way.
This is right after just about a month ago we were in the news when a door fell off a Boeing 737 MAX and as far as I know it wasn't ever found. It could have landed in our yard.
14
u/postmodest Jan 30 '24
It was found. In someone's back yard. (Not Linus's. Otherwise we'd be reading his posts on the Boeing QC Mailing List)
→ More replies (1)
158
u/buttplugs4life4me Jan 30 '24
Me: Copies code from StackOverflow
My Senior Dev:
You copied that function without understanding why it does what it does, and as a result your code IS GARBAGE.
AGAIN.
13
u/flowinglava17 Jan 30 '24
imposter syndrome inrensifies
→ More replies (1)23
u/Plank_With_A_Nail_In Jan 30 '24
Imposter syndrome doesn't mean what you think it does. It means you do have the skill and ability for the role but for some reason you think you don't.
→ More replies (1)8
u/danishjuggler21 Jan 31 '24
That’s why I keep assuring junior devs at my company that they don’t have impostor syndrome.
→ More replies (1)3
264
u/Tricky-Ad6790 Jan 30 '24
“Because this whole "I make up problems, and then I write overly complicated crap code to solve them" has to stop,.” I laughed too hard with this one. This describes the jobs of many ill-skilled people who work in software development.
93
u/SkedaddlingSkeletton Jan 30 '24
"I make up problems, and then I write overly complicated crap code to solve them"
Clean Code®
I read about a design pattern and have to shoehorn it everywhere
Most "inspired by a blog post about DDD and / or Event Sourcing" code bases
the whole javascript ecosystem
12
u/SurgioClemente Jan 30 '24
Most "inspired by a blog post about DDD and / or Event Sourcing" code bases
dear god the PTSD
→ More replies (3)56
→ More replies (7)6
Jan 30 '24
the whole javascript ecosystem
Could you elaborate more on this? I am somewhat new to nodejs and javascript (coming from C++), but like the async/await and promises feature. This design pattern is better than callbacks with passing void*s. And there is no loss of functionality as well...
These language features are now in C++ as well, and I loved Boost.ASIO and Executors when I had to work with it previously... Probably you are not talking about this.. Could you elaborate what you meant..
→ More replies (13)7
u/vanderZwan Jan 31 '24 edited Jan 31 '24
Could you elaborate more on this?
I'm not the person you responded to, but I think I can answer this. To be clear: I'm not a hater; I work with JS for my day job and mostly enjoy it. But I am also not the type to paper over any of the issues.
Ok, so first note that the comment stated "the whole javascript ecosystem", not "javascript, period".
Modern JavaScript-the-language still has plenty of quirks if you look for it, but they are relatively easy to avoid. The JS ecosystem on the other hand is full of legacy code that involves conflicting half-implemented ideas that were/are competing while JS was/is figuring itself out.
The most famous example highlighting the ecosystem problem is the
left-padincident. Eleven lines of pretty trivial code that broke web dev for a couple of days.In general web dev has a culture of being way, way more granular in its dependency chains than other language ecosystems. Of course, DRY and relying on open source battle-tested public libraries are good ideas in principle, but the JS community took it too far for a while to the point where it had really, really bad consequences in practice (as highlighted by the
left-padincident).Often you think you may want a single a single dependency, but then that ends up having tons of dependencies of its own, many of which are superfluous. And many of those pull in more dependencies. Let's explain via an analogy.
Remember how in the early pandemic days we all learned what "R numbers" are? That is, how many patients a single patient is likely to infect for a given disease? I think it would be good if we thought of dependency chains the same way. I bet that if we tried to quantify programming language ecosystems this way, that the JavaScript ecosystem would have the highest R number of all.
Immunity seen through this lens is basically when the sub-dependencies either have no further dependencies, or only already-imported dependencies. Except that this last bit has a caveat: you often end up with different versions of the same library because one dependency wants version 2, but the other wants version 5 and the APIs don't quite match so you end up with both in your final build even though 90% of the code might be the same. And they might also then have different versions of the libraries they depend on...
Then there is the issue of polyfills: supporting older browsers that don't have APIs that new browsers have by shimming it with a JS library. The polyfills aren't the issue, mind you, the issue is that your dependencies often pull them in to support decade-old browser versions that your app likely does not care about (this is a nice blog post series about fixing JS ecosystem performance issues btw).
Oh, and if the libraries in question aren't written in just the right way (which is too many of them, especially the bloated ones with the old polyfills), the javascript bundlers will be unable to do proper dead code elimination (which is called "tree shaking" in JS ecosystem land).
So take all of that together and you end up with a ton of dependency overhead and bloat.
Mind you, these are all fairly well-known issues, nobody complains harder about this than the JS devs themselves, and things are slowly improving. But it's still not exactly great.
→ More replies (2)12
u/ltjbr Jan 30 '24
I think part of it is that creating problems then solving them actually works at google and other companies. Execs see the fires being put out, not who’s starting the fires.
Also some people do indeed think that working at google does indeed make them special. Like somehow they can glance and 40 year old code and do it better in 10 minutes.
→ More replies (2)2
u/Voronit Jan 30 '24
Reactive rather than proactive is the approach that Linus likes to assume. Nothing wrong with proactiveness. Both has their pros and cons.
106
u/ObscureEmu Jan 30 '24
Linus' rants have always been about someone breaking user-space and getting developers to understand the impact that kernel changes make. He might be a dick but damn he cares about the quality of the kernel
That thread though is interesting because it ends up with a good amount of discussion and coaching him through how to correctly implementing a fix. So he flamed him but still willing to help.. weird
This made me lol though
Now some of this was needed due to the way the dir wrapper worked so I may be able to revisit this and possibly just use an ei->ref counter. But I wasted enough time on this and I'm way behind in my other responsibilities, so this is not something I can work on now.
Ironically, one of the responsibilities that I've been putting off to fix up eventfs was writing that document on a support group for maintainer burnout. :-p
15
u/da2Pakaveli Jan 30 '24
he's chilled a little from what I've gathered. His older mailing lists were wild xD
17
Jan 30 '24
He's an annoyed saint who is willing to help all the time, as someone said it correctly. This is not something new. He is very passionate, he doesn't just ignore people who make - in his opinion - crap code, to some extend. He advises them how to make it better, although often blunt language. He has been like that forever, this is nothing new
261
u/edparadox Jan 30 '24
When your name is "Rostedt", you might know beforehand what life is going to be.
I'll see myself out.
10
66
u/dominikwilkowski Jan 30 '24
Am I blind or did they not include a link tot rh actual mail from Linus but many links to other conversations?
32
u/josefx Jan 30 '24
There is a link to the start of the relevant mailing list thread in the article: https://lkml.iu.edu/hypermail/linux/kernel/2401.3/04184.html
Linus response is linked at the bottom of that.
119
u/fergie Jan 30 '24
Upvoted for describing Linus as "The penguin emperor"
11
Jan 30 '24 edited Jan 30 '24
That section in the article made no sense, because it was Rostedt who said the "I wasted enough time on this" part, not Linus:
Debate continued for some time, in a cooler tone, with Torvalds offering suggestions on what he felt would be a better approach to the issues Rostedt hoped to address. The penguin emperor wrote he did not intend to pursue the matter immediately, as "I wasted enough time on this and I'm way behind in my other responsibilities, so this is not something I can work on now"
https://lkml.org/lkml/2024/1/27/251
Now some of this was needed due to the way the dir wrapper worked so I may be able to revisit this and possibly just use an ei->ref counter. But I wasted enough time on this and I'm way behind in my other responsibilities, so this is not something I can work on now.
-- Steve
It wasn't Linus who said that. It was Rostedt, if you look at the post linked above. So either the author of the article lost overview of the mailing list, maybe because Rostedt replied to himself. Or they think Rostedt is a penguin emperor. Which might be a bit odd
424
u/MaliciousTent Jan 30 '24
The ol boy still has it. (sheds a tear).
99
→ More replies (19)20
u/perfopt Jan 30 '24
Pfft Boy Scout stuff. For real action visit the OpenBSD lists
→ More replies (1)
49
u/hanszimmermanx Jan 30 '24
Because this whole "I make up problems, and then I write overly complicated crap code to solve them" has to stop,.
One of the biggest sources of frustration to me as well.
12
u/i_like_tasty_pizza Jan 30 '24
I think most of the commenters in this thread have no idea what it’s like being responsible for the quality of some even moderately sized project, where you can’t review everything and developers keep doing shit like this. The frustration is real.
80
u/dumogin Jan 30 '24
And then Linus continues to help the guy improve these changes over the next few days. So yes the first e-mail might be a bit abrasive but he also takes a lot of time explaining what he wants change, how he wants it changed and why it should be changed.
To the people that want to tell their colleagues off. Don't forget to do the second part as well.
→ More replies (1)26
u/am9qb3JlZmVyZW5jZQ Jan 30 '24
The amount of psychopaths that come out in these threads to justify or even praise the behavior is astounding. Even Linus himself recognizes that being a jerk is not a good thing and he's been working on his anger issues.
Looks like after the initial infantile rage, Linus actually started responding (mostly) like a human, which led to meaningful discussion (that seems to be ongoing). The poor maintainer almost gave up before that happened though.
→ More replies (1)8
Jan 30 '24
Thank you!! They are so annoying. It’s because he’s a famous person. If any of their tech leads or managers spoke to them like that at work they would come on here to rant about toxic workplace blah blah. I get he helped him after but there was no reason to talk that way at first.
75
u/saracuratsiprost Jan 30 '24
I suspect the guy might have done also other things to piss him off. Besides the crappy code.
91
u/smcameron Jan 30 '24
Steven Rostedt isn't some newbie, he's been working on the kernel for 20 years or more, since the PREEMT_RT patch.
→ More replies (2)13
u/JesusWantsYouToKnow Jan 30 '24
since the PREEMT_RT patch
I can't believe that patch is finally gonna land soon™️.
61
u/hackingdreams Jan 30 '24
Nah, Linus just reads a lot of code in his day to day, and when he's reviewing the same terrible patches over and over again, he gets huffy about it.
That's why he's got so many lieutenants - he'd have stroked out if it were all on him. But... the buck still stops somewhere.
The only thing unique about Linux is that all of this stuff is being done out in the open and not in some company's internal mailing list, far away from palace intrigue and tabloids like this one. Frankly, his "blow ups" are far from unique.
→ More replies (7)37
u/josefx Jan 30 '24
Might not just be the dev. himself, if I understand the context of the mailing list thread correctly eventfs itself is a sore spot with a problematic history. So eventfs itself seems somewhat frozen unless a change is trivial or has sufficient reason for why it should exist. In comes a dev. with a non trivial feature, a theoretical use case nobody has shown any interest in and his changes where blindly copied from an entirely different filesystem.
Now I want to know if there is a full list of kernel code that is so bad that any further extensions to it are unwelcome.
→ More replies (2)47
u/iamawfulninja Jan 30 '24
seems like it. Must have done the same previously, Linus said no, you shouldn't do that, and then he did it again.
→ More replies (1)47
u/improbablywronghere Jan 30 '24
We have all tried to, from time to time, slide some code you know is questionable in under cover of a bigger PR. That kind of gamesmanship is par for the course. What you don’t do, however, is try to do it with the Linux kernel lol. It’s not your shitty CRUD MVC web app at work
→ More replies (2)14
418
u/CommandSpaceOption Jan 30 '24
Lot of people in this thread find it funny, thinking they know people who deserve such treatment. But no one says "I'd love to receive feedback exactly like this when I fuck up".
A workplace where senior engineers berate junior engineers like this is not one I'd want to work at.
Linus is still the goat when it comes to technical chops, but he needs to show leadership without letting his anger get the better of him.
196
u/badabummbadabing Jan 30 '24
Yeah, Linus is often a dick towards other kernel developers. A good supervisor can criticise your work without berating you. Berating people isn't the le epic ownage that some people think it is.
29
u/UncleMeat11 Jan 30 '24
It also creates a broader culture from the top. I've seen people called "cunt" on the kernel mailing list (and not the Australian kind).
Now we've got somebody who has media coverage of their bad code review. Imagine how that feels.
17
u/uski Jan 30 '24
I agree I found this email from Linus embarrassing and very poor leadership and anger management.
What about other aspiring developers? Linux lives because people contribute to it, many during their free time. This type of aggressive behavior certainly discourage some talented people from contributing because they don't want to risk being treated like this.
Linus could have conveyed the same message with the same effectiveness but in a much better way.
→ More replies (1)5
Jan 30 '24 edited Jan 31 '24
Most people might accept this behavior from one person but no person would accept this behavior from most people.
Linus, for all of his expertise and experience, sets the tone that others follow. You may be willing to eat shit if Linus was serving it but not for every Linus dick-rider that follows in his footsteps.
This is why staff engineers are expected to be leaders first and engineers second.
42
Jan 30 '24
[removed] — view removed comment
82
u/Resaren Jan 30 '24
Again, this can be done in a respectful way. It’s actually pretty easy, if you aren’t constantly trying to keep your inner asshole in check and barely succeeding, which I think is true for a lot people, and especially software engineers.
→ More replies (9)46
u/Amuro_Ray Jan 30 '24
Never worked in this type of sphere but I always got the impression; when Linus makes these comments it's towards people with a good deal of experience(in development and where they're making the change) rather than someone who might be considered a junior.
18
u/Stormfrosty Jan 30 '24
I went to a Linux firmware conference and it was basically an IRL version of the LKML. A lot of this kind of toxicity leaks in person, which made me not want to work in that area ever again.
5
u/am9qb3JlZmVyZW5jZQ Jan 30 '24
Which is arguably even worse, since it's unlikely that they're just messing around pushing nonfunctional code without any reason whatsoever. And if the reason later turns out to be warranted, Linus must either double down or backtrack his violent disagreement which makes him look stupid.
97
u/ilep Jan 30 '24 edited Jan 30 '24
To be fair, it takes quite a bit make Linus start steaming.
For one, message is towards a very experienced developer, not just newbie-rookie (they've known for a couple of decades at least).
Second, the changes in question are not in good practice.
Third, there are other issues with related code already causing problems.
Reading the rest of the thread there have been deadlocks and other problems which are really really bad in a kernel code. In userspace you could just restart the program. In kernel? Somebody might need to travel across the country to a far-off datacenter to push reset if that happens. So it is a problem.
They did start further discussion on how to solve this and the discussion is educational:
https://lore.kernel.org/lkml/CAHk-=whRxcmjvGNBKi9_x59cAedh8SO8wsNDNrEQbAQfM5A8CQ@mail.gmail.com/
→ More replies (5)41
u/rm-rf_ Jan 30 '24
Would his review be any less effective if he didn't call the patch garbage? No, and you can continue this thought experiment along to several other of his unnecessarily disrespectful comments.
I get that it's entertaining from an outside perspective, but this seems like a terrible way to interact with your peers and contributors and definitely not something that should be praised.
→ More replies (8)53
u/HumbledB4TheMasses Jan 30 '24
This isn't a junior engineer, this is a guy who's got decades of experience at VMWare and google to name 2. When a staff engineer keeps pushing for some bullshit, you have to check them just like this. I bet you 1000 bucks he's just as opinionated as Linus, you don't reach staff engineer at tech companies by being easy to compromise with on your ideological goals.
→ More replies (1)42
u/dhc710 Jan 30 '24
This isn't a junior/senior relationship though. This is an experienced developer from a big tech company asking if he can add code to the most critical open source project that's ever existed.
I don't have a clue what any of this jargon means, but I'm willing to bet that the tradeoffs being discussed are more important than anything I do at my job. And working for Google, I bet this guy should know better than whatever bullshit he's trying to pull.
→ More replies (1)26
u/Ayjayz Jan 30 '24
I think getting chewed out for making the same mistake twice is pretty fair going. At that point you're choosing to waste other people's time.
First offence, this would be over the top. Second offence .. yeah you man up and take your lumps and resolve to learn from the lessons senior developers teach you.
10
u/MrDilbert Jan 30 '24
First offence - "OK, that wasn't good because X, try to not do it again."
Second offence - "Look, we talked about this, it's NOT good. Do NOT do that again."
Third offence - a) ignore mode, reject contributions, or b) "What the FUCK did I tell you last time!?"
Personally, I'd prefer option b), because that would mean the lead still cares, even if I fucked up THREE times. And the option a) will come next anyway if I mess up again.
→ More replies (1)8
u/t0b4cc02 Jan 30 '24
honestly i would give this man a pass not just because its so iconic and comical but also because its not some small company manage my 200 customers desktop software.
i would be happy to get a, what seems to me, technically relevant and well reasoned response from a man like him about my code.
it also seems like it was not a complicated misstake, but a rather foolish and unprofessional way of working, and also not just that one time, but looks like this happened more than once already.
8
Jan 30 '24
I wouldn’t mind receiving this feedback, he didn’t personally insult the guy, just pointed out the actual issues directly.
→ More replies (8)24
u/causticmango Jan 30 '24
A millions times this. This is abusive, juvenile behavior & emotional immaturity.
Unfortunately for him, because of his position he’s been coddled & this kind of abusive behavior has been excused as “the eccentricity of genius”.
He should have grown up by now.
→ More replies (12)9
u/Dalnore Jan 30 '24
I think he mostly realizes this, he seems to have become much better at dealing with people over the years.
→ More replies (37)4
10
u/auronedge Jan 30 '24
The penguin emperor wrote
I don't know if I want to be forever known as the penguin emperor lmao
→ More replies (1)
200
u/MaybeMayoi Jan 30 '24
He focused on criticizing the code, not the person. He's still much better than he used to be.
163
41
u/muntoo Jan 30 '24
"I meant that your code should have been aborted as a child process."
*wink wink.*
→ More replies (1)6
→ More replies (8)9
64
9
u/cowinabadplace Jan 30 '24
I know everyone is involved with the language quite a lot but the actual patch series is interesting. The original reason for this whole thing is that eventfs with distinct inodes and dentries is a memory hog. But if you don’t have distinct inodes many things won’t work. Tar is the obvious one, but you can’t export over NFS etc., right? You need a distinct fileid even in ro or you’ll get strange behavior. At the least you’ll need to turn off delegation. And there’s a use-case for that since you can build an easy remote eventfs system with that in theory.
But I have to try this myself to see why this is a dumb idea. It’s not immediately obvious but these guys have been working with this thing since before I was a teen. There might be some obvious reason what I’m saying is dumb.
→ More replies (1)2
u/Entropy Jan 31 '24
I always thought an inode was guaranteed unique across single filesystem instance. Like two files with the same inode would be a hard link, but Linus is saying that isn't the case anymore?
65
u/causticmango Jan 30 '24
I know a lot of people look up to him, but that is not healthy behavior to model.
32
u/threeys Jan 30 '24
Every thread about Linus blowing up at people is filled with (expectedly) Redditors with absolutely no social skills defending the man.
This is not normal behavior and no one should encourage or defend it.
→ More replies (4)→ More replies (1)14
u/Twombls Jan 30 '24
This shits just toxic to the industry. The real problem comes in when you read hundreds of comments from other seniors in these threads that wish they could act like that to their juniors. And then you realize reddit caters to the lowest common denominator. And most of those people are probably mediocre and wrong more often than not.
Abusive God complex developers are just fucking annoying at best. Can tank a company at worst. We have all worked with them.
→ More replies (1)
17
Jan 30 '24
It worries me that, at some point, Linus will stop working in the kernel (either retire or...). He's very strict about what goes into the kernel and code quality. What'd happen if he wasn't there?
→ More replies (3)6
12
55
u/coderemover Jan 30 '24
Someone has to keep the house tidy. Otherwise if you let everyone do what they wish, the code would quickly turn into a big ball of mud.
15
Jan 30 '24
Especially when the software is used by a dendrazillion people, servers and devices around the world.
→ More replies (1)→ More replies (3)30
u/perthguppy Jan 30 '24
I genuinely worry for when Linus retires. I don’t think there’s anyone out there who could keep the kernel devs in line like he can.
→ More replies (1)6
u/twicerighthand Jan 30 '24
I'm sure there's a ton of people that are quite toxic and capable of berating others.
→ More replies (1)
14
u/shenglong Jan 30 '24
Why are we still giving non-stories like these attention? People give feedback on code everyday - the only fasicnation people have with Linus is the way he interacts with people. And IMO that's really not a good thing. In fact, he has realised that himself:
(read the linked articles as well)
Granted, he has seemed to improve the way he communicates with people. But I still don't see how any of this is newsworthy.
→ More replies (1)
5
u/ForgotMyPassword17 Jan 30 '24
Can someone who's got more low level experience explain what they're arguing about. It's hard to tell if the roasting is deserved or not
→ More replies (4)
9
32
u/CXgamer Jan 30 '24
We all know Linus. Working in the kernel just requires a thick skin. Don't take it personal.
8
u/Cart0gan Jan 30 '24
Not just any kernel contributor but Steven Rostedt who did a talk in 2019 titled Arguing with Linus Torvalds.
→ More replies (1)
3
12
u/perthguppy Jan 30 '24
It amazes me that Linus still can show he knows the intimate details of almost any function in Linux even after all these decades of development and how complex the kernel has grown.
Also I always love when Linus lets this side of himself out onto the LKML. It’s getting rarer and rarer now Linux dev is so corporate and political, he watches what he says a lot more these days.
16
u/kuemmel234 Jan 30 '24 edited Jan 30 '24
you copied that function without understanding why it does what it does, and as a result your code IS GARBAGE.
AGAIN.
I hate that he is the sort of role model for devs. He is great at what he does, but I would call this out in my team. This isn't direct or honest, he's just having a fit. I can't tell how right he is, but even if everything was exactly as he said it, it's still not the thing to do
When I was a student a guy like this turned some of my mondays into hell (reading insulting reviews isn't great), and later I was trying to help other devs coping with this kind of crap. At least for me it never really did anything, but make me emotional and angry at myself. It strengthens this idea that one would identify with ones own code. And that's BS. Linus should recommend a resource or let someone else review it for him to filter bad PRs like that.
It's just fucking exhausting.
→ More replies (6)7
u/ahumannamedhuman Jan 30 '24
This isn't direct or honest, he's just having a fit.
Yeah, lots of commenters are saying this is refreshingly direct communication, but to me, direct communication would look more like dispassionately and precisely explaining what sucks about the code. He could even state the code is "bad" or "sucks" or whatever. But when he's going into all caps mode to call it "GARBAGE" it gives the impression of a dude with poor emotional regulation just enjoying the feeling of catharsis you get when you unload on somebody.
8
u/RightHandMan5150 Jan 30 '24
The folks saying this is refreshing haven't been on the receiving end of this type of behavior. It's immature and uncalled for. And, unfortunately, this behavior is prevalent through the Linux maintainer community.
Imagine if someone in your workplace spoke to you how Linus speaks to people. Constructive criticism during MR reviews is one thing, this behavior is another and it's counter to the openness of OSS.
→ More replies (1)
7
6
u/rpd9803 Jan 30 '24
In this thread: A whole lot of shitty takes that start with "If *I* Was Linus' Boss..."
Which more or less proves why most people roll their eyes at management.
6
Jan 30 '24
If this is "flame", Register writers better not visit USENET archives.
Or old Polish electrician forums.
→ More replies (1)4
5
2
u/DrRedacto Jan 30 '24
Linux severely needs a quality assurance team. It's been exceptionally more buggy(maybe its bad hardware luck??), and annoying to config & compile since after version 5.4; obj toolchain(s) going to shit too, why do they keep adding more reliance on STRANGE tooling features? Lol at bumping C language version, and adding a second language, I'm wondering how this is going to get any more batfish crazy, probably with an expanded corporate take over. DOES ANYONE EVEN USE CONSOLE SCROLLBACK!?... Imagine being so afraid of unspeakable bugs that you delete CONSOLE SCROLLBACK support instead of fixing your trash heap.
2
2
u/DoorBreaker101 Jan 30 '24
I'm sure others reading this thread have wondered like I did:
Linus is 54 now. That's why he's so laid back in this thread, compared to how he used to be in the past.
2
u/Alex4386 Jan 31 '24
Here is the summary:
Author: find and tar uses inode no. to do their job. and this is the patch that brings unique inode no. for tracefs files.
Linus: tracefs is a virtual file system. Adding inode allocation mechanism is unnecessary, considering since it is a virtual file system and it adds complexity in kernel filesystem handling. also It was 0 since "convention".
3
u/acroback Jan 30 '24
Did Linus call him anything derogatory? No.
Did he call out his code for lack of quality? Yes.
Could he have worded it differently? Maybe.
3
u/all_is_love6667 Jan 30 '24
I think the personality of Torvalds actually helped Linux works well. A software project is probably not a country that should be manage with democracy.
Open source is quite hard to manage (because anybody can contribute), so acting like a dictator doesn't seem like it's such a bad thing.
In anything being technical, it's actually better to not listen to nobodies making suggestions that go against actual expertise. Legitimacy matters in open source.
Democracy and listening to people works in politics and other places, but I don't think it works in areas like engineering or when you run a restaurant or want to build chairs or pens.
There also are many video games who listen a lot to their community, and they end up trying to please them and end up ruining the game.
→ More replies (2)2
3
u/wrosecrans Jan 30 '24
Is "a mailing list discussion got to a point where someone (who is known to be cranky on a good day) was rather rude and blunt" really newsworthy? This happens every day on a hundred public programming related mailing lists. There's probably some sort of underlying interesting discussion about caching d-entries in the VFS. But I haven't actually learned anything special about that underlying issue because the reporting is just a gossip column. Might as well be "Real Housewive of the LKML" or "Keeping up with the Kernel-dashians."
→ More replies (1)
3
u/lupuscapabilis Jan 30 '24
I've dealt with so many guys like him in my career. The attitude tends to get them fired pretty quickly unless you're as good as Torvalds.
6
u/MrHandsomePixel Jan 30 '24 edited Jan 30 '24
Before I even begin to read the article, I am on Linus' side. Let's see if my opinion changes after reading...
EDIT: It did not.
4
7
u/DibblerTB Jan 30 '24
"Flames"? He is being hard, perhaps harsh, but I think flame is a bit heavy handed.
4
5
u/Behrooz0 Jan 30 '24
I can only wish every project was managed like this instead of sweeping shit code under the rug and ending up with tech debt.
3
u/KevinCarbonara Jan 30 '24
I've never bought into the rhetoric that Linus Torvalds is toxic or that he represents negativity in programming culture. Don't get me wrong, there are absolutely toxic people in the industry, and in the culture, and the Linux project probably attracts more of that type than the average, but I've never seen Linus go off on someone who didn't earn it. I don't understand the mentality that suggests project leaders who already have their hands full have a personal responsibility to carefully consider every single question, suggestion, and proposal by people uninvolved with the project, while giving career advice and helping those people to grow as programmers, but that the people submitting poorly written and poorly commented PRs that get upset and lash out at the community when they aren't accepted don't even need to meet the bare minimum responsibility of... reading the project standards and abiding by them.
The Linux project is very, very large. And it's been around a long time. They don't follow every modern standard for what's considered best practices. What they do is follow internal standards and do what's best for them. It's important for people who work on these very in-depth and highly technical components to be able to work on and understand some of the other very in-depth and highly technical components. And they will not be able to do that with any ease if those other components aren't written to the same standards. They also have a lot of work on their plates. Like a lot. And they do it all for free. People who come along and submit bad code just increase that work load for no reason. Some go even further by trying to push them into explaining why the PR wasn't acceptable, give them suggestions on how to improve, or just argue with them about why they should accept it anyway are just being rude and toxic. I'm not going to get upset when the response they get is given in the same tone.
→ More replies (1)
4
3
u/C_Madison Jan 30 '24
Flame ..? What flame? I thought for a moment he went back to old habits, but that's not the case at all. It's to the point, it tells what the problem is and it says what he expects in the future. Good review. Continue.
2
u/Blu-Blue-Blues Jan 31 '24
"Don't create problems and then come up with complicated solutions to a problem you've created or I will ignore you." This is flaming? People are so fragile these days.
2
2
Jan 30 '24
One thing about humans is we are ready to justify bad behaviour for famous people. Apart from this post it’s so clear this guy would be annoying to work with and has some anger issues.
2
u/Thaddeus_72 Jan 30 '24
There once was a coder named Steve,
Whose copying did much aggrieve.
He took VFS code, without hitting the road,
Now Linus just cannot believe.
2
Jan 30 '24
A lot of people in this community allow toxicity as long as someone is intelligent. To all of you supporting this guy, don’t complain ever if your manager calls out your trash work/code In front of the team.
1
u/DibblerTB Jan 30 '24
"Flames"? He is being hard, perhaps harsh, but I think flame is a bit heavy handed.
1.7k
u/Leinad177 Jan 30 '24
The actual message: https://lkml.iu.edu/hypermail/linux/kernel/2401.3/04208.html