213 points · by jdoliner · 12y ago · 238 comments
I think the x86-64 ABI is also partly to blame for this mess - IMHO it's far too complex (e.g. the "red zone") and makes it easy for these bizarre edge-case-bugs to occur.
"Spilling a constant" is something I've never seen before and I'd probably WTF the first time I saw it, but thinking about it more carefully, it might actually be a wise choice in some cases - x86-64 unfortunately allows very few instructions with 64-bit immediate values, and those few instructions are very long (opcode + 8-byte immediate), so it could make sense to store some constant in memory, on the stack, for a while and put it in a register when it's needed with some moves - 64-bit r/m move with 8-bit displacement is 3/4 bytes. Of course that's not what GCC is doing here; that last move instruction is 6 bytes alone (mov + mod/rm + disp32.)
I often take it for granted the compiler is always right (and it darn well just about is), but bugs like this look exactly like mis-cast magic to me. Learning how the compiler makes decisions seems like a rabbit hole, but may be fascinating enough to be worth it. (And think about being a maintainer of such a complex beast!)
Do you happen to know how that is done? How is a test case "auto"-reduced? I've never done that before.
His words shouldn't be taken too personally, just as getting bitten by a grizzly bear shouldn't be taken personal.
Linus might be "a great guy" or "just Linus being Linus" but email like this has no place in a cooperative environment.
A professional would handle it like this:
1) He or she wouldn't choose to use such phrasing himself or herself, but also won't shy away from being firm and asking hard questions if they need to be asked.
2) If somebody else chooses such wording, the professional will engage his or her thick skin and ignore it, instead focusing on the parts that actually matter. It's resolving the problem at hand that's truly important, not wasting energy getting worked up over phrasing that somebody chose to use when describing the problem.
Linus can believe what he likes but the evidence contradicts him.
Plus, the bug report he filed towards gcc is entirely matter-of-fact and polite.
seems to me he has some runs on the scoreboard (and some facts on the ground)
The evidence shows that his way works to lead the people working at Linux.
The evidence is that the Linux kernel is one of the most successful large-scale coding projects ever. So whatever Linus is doing, it appears to be working.
Some open source culture, yes. However there are plenty of friendly open-source communities as well. If you want to contribute to free-software and don't want to interact with a Stallman/Torvalds/Drepper/deRaadt type personality in doing so, that's a perfectly legitimate preference, and you can find lots of projects that fit the bill!
The kernel community is old.. you can't walk in there an expect people to conform to your new-age ideas.
That being said you are more than welcome to start new projects and choose not to include more abrasive people. This is the beauty of culture, everyones is different.
Look too closely and the analogy breaks.
I'm not going to name and shame the interpreter in question, but the person who originally wrote it was the same person who wrote the compiler in question, Richard M Stallman. ;)
I don't think so.
2. Linus is a Finn, their culture is a bit different, people who post on LKML know this.
And of course even purely artistic creations have always been subject to quite blunt appraisals - you won't have to look far to find them about, say, Jackson Pollock's paintings.
she called me an asshole in reply.
you have pretty much the same problem here. you have no reasonable basis upon which to make that statement. it is offensive and generalized to the point of uselessness.
The "being an-unfriendly-*" problem has often to do with tight timelines and problems/bugs that seem completely weird. Frankly, that can drive you nuts.
It's not really an excuse, but it can probably explain some behavior.
I hope we see the "shitheads get ahead" mentality give way, or at least recognize that we're first and foremost facilitators of business and that working to earn respect from coworkers is an important part of that.
I imagine everyone on HN has been in this situation many times during their careers.
http://arstechnica.com/information-technology/2013/07/linus-...
It's like the second amendment of developer communication. That sort of verbal weaponry should be available, but its use still needs to be justified.
You are making this up.
If you don't, then you should have no problem producing a handful of examples, because 100s of dev doing this all the time will have LKML and other places overflowing with them.
Sometimes people deserve it, but often times they just don't. The people doing this are not paragons of judgement like Linus (arguably) is.
This is interesting when one compares it with other projects such as Django which have gone the whole other way in addressing modern views of how to approach diversity, gender issues, conduct etc.
so that spill is right before the asm and we immediately re-load it into
a register required by an asm constraint (stupid register allocator).[0] He is after all warning about the use of gcc-4.9.0
Except Sarah Sharp and others.
I guessing on the latter, in which case I specifically wrote 'the thread' for this reason.
http://philip.greenspun.com/ancient-history/professionalism-...
"seriously crazy shit" seems a bit restrained for Linus though
Understanding them is easy, because when used as swear words instead of during discussions about fucking or shitting, they don't mean anything. 'Motherfucker' just doesn't mean anything.
>We are just not generally as prudish as English-speakers. Perhaps it's more a culture difference than a language barrier.
There are a lot of native English speakers who swear a lot; they're generally[1] aware of the impression that they're making when they do it, though.
Maybe this is what you see as prudish: it's a somewhat unusual thing about English that we have taboo words that are taboo no matter what context (and weren't once untaboo words that started to be seen as euphemisms, therefore avoided), rather than just taboo things that you can say or taboo modes of speech when you're talking to a superior or an elder. The history of 'bloody'[2] should disabuse you of any notion that swearing in English has to do with prudery or sex.
Noticing that non-native speakers sometimes don't completely get the effect of English swearing generally comes from knowing non-native English speakers and knowing the impression that they're trying to make, and watching them misjudge the tone that swearing introduces and failing at what they're trying to do.
Like swearing while meeting someone's parents, or loudly within earshot of a lot of kids.
I'm sure Linus probably started his swearing thing by misjudging tone, even though at this point he realizes exactly what he's doing.
[1] I say 'generally', because there are differences between groups of English speakers as to which words are magical, and the frequency of use tolerated.
[2] This article starts with a super interesting discussion of 'bloody': http://www.salon.com/2013/05/11/the_modern_history_of_sweari...
Plus, Linus is no "foreigner" in that sense. He has been speaking english for 30+ years, has had professional correspondence in english for 2+ decades, and has worked in several american companies. And he was located in the states for decades too, if I am not mistaken. And of course he is not some naive foreigner, he is hiqhly intelligent and technical, and can understand such things as the emotional etc impact of words very well (he has also explained hilself, several times).
The difference is, as the parent said, he is not prudish. He enjoys their use.
So you're speaking on behalf of the entire non-English speaking world?
I think it's important here to distinguish between swearing about something ("aww, fuck") versus swearing at someone ("fuck you"). If you are more inclined to swear about something, then yes, perhaps you can say you're "less prudish".
But if you're more inclined to swear at someone, then it has nothing to do with prudishness and everything to do with aggression and rudeness. Is your culture more aggressive and rude than that of many English-speaking cultures? Some are....
Its like a non German using humour to break the ice at a meeting - never going to go well.
---
[0]: http://en.wikipedia.org/wiki/Dutch_profanity
[1]: http://stuffdutchpeoplelike.com/2011/07/26/dutch-swears-with...
He does what?
Prediction before clicking: Half of the thread, or more, will not be about what he says, but about his tone and "professionalism."
Never change HN. Never change.
Please don't.
Here is my personal cultural bias:
1. Insulting people personally is not same thing as insulting their ideas or their actions. If someone insults my actions or my ideas, I may get emotional, but I don't take it as an insult. For me it means that I'm being challenged.
2. Cursing is not unprofessional or insulting in itself. Cursing is to be used for emphasis and to get people involved emotionally (good thing). Cursing has its place to signal frustration and get trough people. Too much cursing is like underlining everything.
3. (Anglo American) business culture is not necessarily something to be emulated. Being overly polite invites all kinds of side stepping, passive aggressive behavior and ineffectiveness. I feel that "being professional" is used here as thought terminating cliche.
4. Some hacker cultures can be both fiercely competitive and cooperative at the same time. Being heavily criticized and challenged is part of that process. Kernel hackers compete to get their ideas incorporated into the same codebase. Javascript hackers borrow snippets from each other and do their own things (no need to be as competitive as forking is easier). This might lead to different hacker cultures. What is accepted in one culture is not accepted in other.
5. Management by perkele[1] is management strategy that can be very effective with the 'Shut Up and Show Them the Code' hacker culture.
6. Pacabel may have a point. Younger generations may no be used to their work or behavior being harshly criticized and take it as personal insult. https://news.ycombinator.com/item?id=8089706
[1]: https://en.wikipedia.org/wiki/Management_by_perkele#Examples...
The fact that people get emotional in response is exactly the problem. Knowing that an insult wasn't technically directed at them doesn't stop them feeling shitty, and being unproductive as a result.
>Younger generations may no be used to their work or behavior being harshly criticized
Younger generations are used to their work being criticised constructively and dispassionately.
Again, this is not culturally universal reaction. In some people and cultures it gets your blood flowing and it encourages you to work harder.
>Younger generations are used to their work being criticised constructively and dispassionately.
Is dispassionate interaction something you should automatically want? I also don't agree that with the constructive criticism and passionate delivery are somehow exclusive.
I don't personally use the language that Linus uses, but I strive in the environment where people are very competitive and compete against each others by engaging personally (both negatively and positively). It's inevitable that we associate some part of our ego into our ideas and work and feel a sting when it's criticized. I love it when I'm right and others are wrong and little hurt when I'm wrong and and get called for it. I assume others feel the same. This does not mean that I am personally attacking or hating people. If someone can't cope with it, I have to find other way to communicate with them of course. But if I'm in good competitive alpha-team where nobody is taking it personally I feel that we should be able to keep our culture and not change just like very PC and non-emotional "professional" team culture should not change if they feel they are in good and productive place.
I don't think this is what is happening here.
>humans are human and don't like being humiliated , especially in public.
This is just the cultural difference I'm talking about. Someone criticizing your work or behavior does not universally signal humiliating you as a person. I acknowledge that this may be so for you personally or in your culture.
1. I can not see a down-vote button (To clarify I personally never down-vote anything, just upvote things) 2. I don't see a reply link to your comment.
This does not seem to be a nesting limit (I can see a reply link for other comments elsewhere here)
What is this - is there some option one picks when responding to a comment?
Thanks -Kaushik
Forget to turn off a mic at a political conference? You get worse stuff than this.
But when you consider Linus is responsible for, I dunno, billions? trillions? in spending on technology based on his OS, it's also easy to understand people getting nervous or offended by IRC-style banter. It's like seeing the CEO of a large company make jokes about retards. Pretty off-putting.
(And no, of course Linus is not a "CEO of Linux" and he doesn't owe anybody anything, i'm just saying I get how people could feel shocked or offended by his behavior)
at least the conversation around it is amusing. I may never enjoy anything as much as the convoluted logic of people who want the world to work hard to not personally offend their sensibilities
(I did flag the submission at first, though. Someone being rude isn't particularly interesting, and usually isn't worth bothering to read either since any underlying point worth exploring will invariably be made more concisely and politely elsewhere.)
It kind of gets distracting when so many are like that. With that many being grayed out, I know a lot of them aren't obvious commercial spam or anything like that. So I end up trying to read them all, which of course is awkward because of how they've been grayed out.
And the kernel can be compiled using LLVM and Clang, but not quite in all configurations. But compiling mainline kernel for x86 using LLVM was achieved some years ago.
Many of these extensions which the Linux kernel relies on have been added to LLVM, but obviously not all, and from the looks of it some never will, which means either Linux needs to refrain from using said extensions, or building Linux using LLVM will continue to require patching.