178 points · by microsoftedging · 1y ago · 264 comments
It's an amusing area where denotations are the same in French and English but the denotations are different. [1] All over Quebec you see convenience stores called "Couche-Tard" (Sleep Late) which can provoke a double-take like seeing a sign for a restaurant called PFK with a picture of Colonel Sanders.
[1] An ad for a breakfast sandwich, coffee and hash browns can be advertised as "L'Ensemble Quotodienne" a phrase made of everyday words in French which are $20 words in English.
./fs/bcachefs/bkey_cmp.h: /* we shouldn't need asm for this, but gcc is being retarded: */
./drivers/net/wireless/broadcom/brcm80211/brcmsmac/d11.h:/* Advance Retard */
./drivers/net/wireless/broadcom/b43legacy/phy.h:#define B43legacy_OFDMTAB_ADVRETARD B43legacy_OFDMTAB(0x09, 0)
./drivers/net/wireless/broadcom/b43legacy/phy.c: for (i = 0; i < B43legacy_ILT_RETARD_SIZE; i++)
./drivers/net/wireless/broadcom/b43legacy/phy.c: b43legacy_ilt_retard[i]);
./drivers/net/wireless/broadcom/b43legacy/ilt.h:#define B43legacy_ILT_RETARD_SIZE 53
./drivers/net/wireless/broadcom/b43legacy/ilt.h:extern const u32 b43legacy_ilt_retard[B43legacy_ILT_RETARD_SIZE];
./drivers/net/wireless/broadcom/b43legacy/ilt.c:const u32 b43legacy_ilt_retard[B43legacy_ILT_RETARD_SIZE] = {
./drivers/net/wireless/broadcom/b43/wa.c:static void b43_wa_art(struct b43_wldev *dev) /* ADV retard table */
./drivers/net/wireless/broadcom/b43/wa.c: for (i = 0; i < B43_TAB_RETARD_SIZE; i++)
./drivers/net/wireless/broadcom/b43/wa.c: b43_ofdmtab_write32(dev, B43_OFDMTAB_ADVRETARD,
./drivers/net/wireless/broadcom/b43/wa.c: i, b43_tab_retard[i]);
./drivers/net/wireless/broadcom/b43/tables.h:#define B43_TAB_RETARD_SIZE 53
./drivers/net/wireless/broadcom/b43/tables.h:extern const u32 b43_tab_retard[];
./drivers/net/wireless/broadcom/b43/tables.c:const u32 b43_tab_retard[] = {
./drivers/net/wireless/broadcom/b43/tables.c: BUILD_BUG_ON(B43_TAB_RETARD_SIZE != ARRAY_SIZE(b43_tab_retard));
./drivers/net/wireless/broadcom/b43/phy_n.h:#define B43_NPHY_PHYSTAT_ADVRET B43_PHY_N(0x1F3) /* PHY stats ADV retard */
./drivers/net/wireless/broadcom/b43/phy_lp.h:#define B43_LPPHY_ADVANCEDRETARDROTOR_ADDR B43_PHY_OFDM(0x8B) /* AdvancedRetardRotor Address */
./drivers/net/wireless/broadcom/b43/phy_a.h:#define B43_OFDMTAB_ADVRETARD B43_OFDMTAB(0x09, 0)
./drivers/net/dsa/sja1105/sja1105_dynamic_config.c:/* The switch is so retarded that it makes our command/entry abstractionRetarded fall "snakeye" bombs: https://youtu.be/3_RM19hOMo4
I wouldn’t call it a swear word but it certainly is crude and insensitive.
Something like “gcc optimizes like a girl” certainly wouldn’t be any better.
Direct quotes: "we shouldn't need asm for this, but gcc is being retarded" and "The switch is so retarded that it makes our command/entry abstraction crumble apart."
I see three reasons to use swearwords sparingly, even though they don’t particularly offend me.
1 Managing my own emotions. Most swearing is negative and that drags you down which is not very productive or fun.
2 Managing others‘ emotions as they burst out, which stresses the people around the swearer.
3 Some people just can’t say a fucking sentence without gratuitous swearing which makes them sound fucking stupid.
A few years ago, they went to a fan event here in Japan hoping to buy multiple copies of a zine for their friends overseas, and when told they could only buy one copy, they stood in front of the stall and cursed profusely in English out of frustration. After the event, they found that the Japanese side of the fanbase had unfriended them and removed them from online communities because of their outburst. They were completely blindsided by this. (In fact, their version of the story was just, "I went to an event in person and after that everyone unfriended me, I don't know why they're like this." I only heard about the swearing incident from a mutual friend.)
Anyway, there's obviously degrees and nuance here but I think people who swear profusely-but-not-at-anyone-specifically don't realize it still sometimes comes across as hostile.
I think this is subjective.
Swearing in the workplace is much more normal here in Australia. In my first job at an American company, I was shocked how prissy people were about swearing. In my head I thought “these are adults, right? Why is everyone acting like a blushing teenager?”. I’m sure I sounded rough as guts to them. It took ages to learn to scale it back depending on who I was talking to.
Swearing with someone about / at work is kinda an Australian way to say “I trust you and feel relaxed around you”. Forcing myself to not swear felt at first like I was pretending I didn’t like my coworkers. It was weird.
I don't think swearing is necessarily negative though; it can often be fairly neutral, or funny/positive. But again: in text it can be tricky.
I don't personally care if a swear word appears in code, but I do care if I offend others with my use of swear words. So, I try to limit their use to circumstances where offense is unlikely. Work is rarely such a place, particularly with shared resources like code. I might swear in a 1-on-1 conversation at work, but I definitely don't drop swear words into documents that unknown people might see. That's just basic professionalism.
Also we should look to add more keywords to programming languages that trigger naïve filters. I'm all in for another era of broken censorship to poke fun at the people who know nothing, but always have an opinion.
1. Reputational harm in the event that code needs to be shared. Say, the code gets read in court, or an outside consultant is brought in who is given access to the code. The company likely wants to maintain the same standard of professionalism that they expect when their employees write or utter spoken language in the workplace for the same reasons.
2. Similar to #1 but nuanced enough to deserve its own mention: code is a business asset. It can be sold or licensed out. The company may fear that language that it deems unprofessional could depreciate the value of that code in the context of selling or licensing it to 3rd parties.
Personally I think that the fuss over "bad words" is deeply irrational to a religious degree. The idea that arbitrary sequences of phones or characters will cause anyone within ear or eye-shot to become offended is rather absurd. But you can't choose what planet you do business on and, on Earth, there are a lot of silly people.
No more absurd than the notion that a mere sequence of sounds could convey any other meaning or elicit any other response.
Needless to say the customer was not amused. So the simple solution is just ban the bad words from the source code.
Depends a lot on the culture. In the countries I've worked in, anyone trying to forbid profanity in the workplace would be laughed out of the room. The laughter would likely turn to anger if it turned out to be Americans trying to impose puritanism on another country's project
The contextless swearing seems so unnecessary and adds nothing to the code, whereas a comment with a curse word in it reads way more human.
I find your assertion to be absurd. Do you really believe that no one should ever be upset by something someone else has said? If so, you have a huge misunderstanding of nearly-universal human behavior.
In a previous workplace, the people in charge prohibited swearing in our code after they had the pleasure of reading those swearwords in a stack trace within a log generated by our software, which we received attached to a complaint email from a major customer.
There's just no good reason for swear words to be committed. You want to swear about the code, do it in a chat room or something.
How common is this? I work in a big corporation and we have no such policy.
When we contribute to open source, there's a good chance they'll make us remove any. Internal code, though? Up to each team to decide.
Just plain not true.
You're contributing to something that runs on billions of devices across the world and is maintained by people around the world of all types. If you can't describe your code, your reasons, and your notes politely, do better.
I think so-called "professional" speech - which I'd call bland and often ineffective speech - is professional in the same way that a suit and tie is professional. It's a uniform to ensure nobody stands out, and the corporation can absorb everybody's personality, like flour incorporated into bread dough. White bread, no seeds.
I take you also strongly believe then that when I waltz up to work in some random hoodie, sweatpants and running shoes, that's actually some bespoke eloquent expression of self, full of meaning?
Reminds me to all those "he/she is wearing this/that kind of glasses/shoes, that means <extremely specific personality trait>" scenes from older movies and shows. Holy hyperbole.
https://www.scientificamerican.com/article/is-swearing-a-sig...
> and is maintained by people around the world of all types.
You seem to think that the whole world shares your definition of "polite". After living in a few quite different countries, I have to disagree. The diversity out there is huge. There's no point trying to solve this "problem", it's an impossible task.
For some reason, "tabs are banned" and "curly braces must be on their own line" are acceptable rules, but "no curse words" is Oppressive Corporate Soullessness.
Doesn't the opposite hold true? That is, assuming the whole word feels the same way about swear words?
While hordes of people peddle that everyone should be using it like gospel.
> After living in a few quite different countries, I have to disagree.
Yeah dude, tell us about all the countries where cursing isn't impolite and unprofessional.
Or as they say in the army: do, lead, or get out of the way.
lead, follow, or get out of the way
If we have to boil it down to two types, however, I'd split it as "people who think they can do everything themselves and only the code matters" and "people who build effective teams capable of far more than themselves solo", and it's the second group that does the most impressive things. Being professional and respectful is quite beneficial for that group.
Clearly, we do not have the same goals.
I find that expression far more offensive than ‘fuck’ or ‘shit’. Similarly (and non-exhaustively): ‘bad take’; ‘not a good look’; ‘this ain't it’; ‘… not the … you think it is’; ‘…, actually’. They're all personal insults. “This code is crap” is fine; “You're crap” is not.
On the other hand, there's Kratos's “Don't be sorry, be better”, which did hit me hard when I reached that part in God of War 2018. That one hit me on a very personal level.
It's not zero fun, but everyone understands it's a sign the vibes will be up-right, right?
edit: that's not to say you don't want that, but that's what it is
More likely, in a few decades what you consider today to be "respectful discourse" will be seen as extremely offensive and the latest generation of fearful moralistic pearl-clutchers will be hoping that in the near future it's people like you who will be soon be gone. As long as people keep looking for new ways to be offended and continue wanting to police the language of others these kinds of topics will continue.
No.
This condescending tone is what really needs to go away. It reminds me of the 90s right-wing, religious puritanism about swears in music and movies just repurposed for a secular audience.
Even more informative would be to plot the occurance rate within new code.
Key result: Boost occurrence of swearwords by 20%
Key result: Create a new metric that tracks relative swearword use per line YoY
Key result: Attract at least 100 comments on HN or Reddit about the new code
To their point, I would consider "crap" a lesser swear. More "fuck" or "shit" would counter-intuitively imply... certain qualities [by not being so conformist]
I'll never understand this mentality. It's code, not some """self-expressionist""" art project.
There's a kind of "nesting" thing 10x/100x programmers do with code and it tends to manifest this way. The opposite extreme is the 0.1x programmer dequeing agile tickets they don't really understand and issuing broken PRs overworked senior dev "maintainers" LGTM merge. I think everyone exposed to corporate software (on both sides) is really tired of that.
Not that this not-Yankee has much of a need to swear in public to feel Free.
> , but I definitely don't drop swear words into documents that unknown people might see. That's just basic professionalism.
68 instances of "fuck" at the peak in 2005, in how many million lines of code? And turns out 24 of those were in repeated instances of "IOC3 is fucking fucked" in the MIPS driver, so at least some of it is fairly "clustered" too.
[1] :to delay or impede the development or progress of : to slow up especially by preventing or hindering advance or accomplishment
$ git grep -i retard v6.15
v6.15:drivers/net/dsa/sja1105/sja1105_dynamic_config.c:/* The switch is so retarded that it makes our command/entry abstraction
v6.15:drivers/net/wireless/broadcom/b43/phy_a.h:#define B43_OFDMTAB_ADVRETARD B43_OFDMTAB(0x09, 0)
v6.15:drivers/net/wireless/broadcom/b43/phy_lp.h:#define B43_LPPHY_ADVANCEDRETARDROTOR_ADDR B43_PHY_OFDM(0x8B) /* AdvancedRetardRotor Address */
v6.15:drivers/net/wireless/broadcom/b43/phy_n.h:#define B43_NPHY_PHYSTAT_ADVRET B43_PHY_N(0x1F3) /* PHY stats ADV retard */
v6.15:drivers/net/wireless/broadcom/b43/tables.c:const u32 b43_tab_retard[] = {
v6.15:drivers/net/wireless/broadcom/b43/tables.c: BUILD_BUG_ON(B43_TAB_RETARD_SIZE != ARRAY_SIZE(b43_tab_retard));
v6.15:drivers/net/wireless/broadcom/b43/tables.h:#define B43_TAB_RETARD_SIZE 53
v6.15:drivers/net/wireless/broadcom/b43/tables.h:extern const u32 b43_tab_retard[];
v6.15:drivers/net/wireless/broadcom/b43/wa.c:static void b43_wa_art(struct b43_wldev *dev) /* ADV retard table */
v6.15:drivers/net/wireless/broadcom/b43/wa.c: for (i = 0; i < B43_TAB_RETARD_SIZE; i++)
v6.15:drivers/net/wireless/broadcom/b43/wa.c: b43_ofdmtab_write32(dev, B43_OFDMTAB_ADVRETARD,
v6.15:drivers/net/wireless/broadcom/b43/wa.c: i, b43_tab_retard[i]);
v6.15:drivers/net/wireless/broadcom/b43legacy/ilt.c:const u32 b43legacy_ilt_retard[B43legacy_ILT_RETARD_SIZE] = {
v6.15:drivers/net/wireless/broadcom/b43legacy/ilt.h:#define B43legacy_ILT_RETARD_SIZE 53
v6.15:drivers/net/wireless/broadcom/b43legacy/ilt.h:extern const u32 b43legacy_ilt_retard[B43legacy_ILT_RETARD_SIZE];
v6.15:drivers/net/wireless/broadcom/b43legacy/phy.c: for (i = 0; i < B43legacy_ILT_RETARD_SIZE; i++)
v6.15:drivers/net/wireless/broadcom/b43legacy/phy.c: b43legacy_ilt_retard[i]);
v6.15:drivers/net/wireless/broadcom/b43legacy/phy.h:#define B43legacy_OFDMTAB_ADVRETARD B43legacy_OFDMTAB(0x09, 0)
v6.15:drivers/net/wireless/broadcom/brcm80211/brcmsmac/d11.h:/* Advance Retard */
v6.15:fs/bcachefs/bkey_cmp.h: /* we shouldn't need asm for this, but gcc is being retarded: */Meh. Probably more likely is those damn automod settings on reddit (which aren't, you know, configured by moderators according to what their community wants or anything)
Meta went from 2K to 10K+ from 2018 to 2025. While IBM seems to have stopped contributing in 2008. Since they the merging with RedHat, I would have expected to see them increase again but none of RedHat / IBM seems to have increase. https://www.vidarholen.net/contents/wordcount/#redhat,oracle... Not sure if their name appearing means that they are contributing tho.
Really cool project,
https://github.com/search?q=repo%3Atorvalds%2Flinux%20meta&t...
Add "arm" in and it's a different ballgame: they are more than 2x anybody else, Meta and IBM included.
Mostly goes to say that this doesn't really show much :)
So RedHat were the third largest employer by number of changesets (after Intel and Google), IBM were 15th - but, by number of lines changed, they were 5th and 4th respectively.
IBM is contributing a lot. LWN publishes development statistics after each kernel release: https://lwn.net/Articles/1022414/. IBM was 5th in terms of lines changed, 17th in terms of changesets, 20th in terms of signed-of-by counts. That's alongside the contributions by Red Hat which was higher in all but lines-changed terms.
Facebook rebranded to Meta in October 2021
Could also be that there's been work done to communicate with Apple specific products, again wild guesses but based on my perception of people working with Apple products is that there might be above average number of "edge cases" that needs addressing when communicating with those.
If the stupid HR doesn't like it, you are doing something right.
It also conveniently filters out the permanently triggered people, doesn't matter which variety it is.
One thing that was funny was when we searched for moron. There was a file that basically said "[this workaround exists] because [name of someone] is a make-moron."
4.18 was the second half of 2018, around the time linus took some time away and went off doing therapy to work on his “communication issues”.
I can't reproduce the exact datapoints from the site using `git grep`, but most of it seems to be down to a single commit that removed repeated usage of fuck from one file: https://github.com/torvalds/linux/commit/a44d924c81d43ddffc9...
(that was actually interesting to scan through, dunno why but i found the `[it] is fucking fucked` -> `[it] is broken` lines hilarious)
People will immediately start arguing against this stance while simultaneously enjoying the fruits of Linus Torvalds caring enough about Linux kernel quality to use colourful language to encourage others to take critical issues as seriously as he does.
[1] https://www.vidarholen.net/contents/wordcount/#fuck*,shit*,d...*
[2] https://www.vidarholen.net/contents/wordcount/#fuck*,shit*,d...*
Resolution: Behaving as expected. Won't fix.
https://www.reddit.com/r/linux/comments/vbvxiv/10_years_ago_...
(warning, contains footage of frustrated programmer making offensive gesture)
linus says gay rights, I guess
See the graph with the entire domain for comparison: https://www.vidarholen.net/contents/wordcount/#crapouillou
I guess the lesson here is to never take a chart at face value. :)
1992 0.x
1994 1.x
1996 2.x
2004 2.6.x
2011 3.x
2015 4.x
2019 5.x
2023 6.x