Occurences of swearing in the Linux kernel source code over time

https://www.vidarholen.net/contents/wordcount/

246 points · 28 comments · view on lemmy.world

28 Comments

ExLisper@lemmy.curiana.net · 58 pts · 1y (1 reply)

Most uses of 'retard' are in variable names like B43legacy_OFDMTAB_ADVRETARD but we also have

The switch is so retarded that it makes our command/entry abstraction crumble apart.

and

we shouldn't need asm for this, but gcc is being retarded

ulterno@programming.dev · 13 pts · 1y

Most uses of 'retard' are in variable names like B43legacy_OFDMTAB_ADVRETARD but we also have

That explains the sudden drop, with legacy code being removed

atomicbocks@sh.itjust.works · 34 pts · 1y

If I am reading this correctly the Linux kernel needs to give more fucks…

Deebster@infosec.pub · 27 pts · 1y (2 replies)

I added banana (for scale) and it's on the up and up: https://www.vidarholen.net/contents/wordcount/#fuck*,shit*,crap*,bastard,penguin,banana

Jankatarch@lemmy.world · 10 pts · 1y (1 reply)

Either they have paragraphs of oddly specific insults or banana pi is becoming popular.

sus@programming.dev · 4 pts · 1y

yep, it's almost all banana pi, and at least 4 different 'models' of it it seems. But the word is also used in some string processing tests and as an example comment of how suffix arrays work..

lemming741@lemmy.world · 21 pts · 1y
000@lemmy.dbzer0.com · 15 pts · 1y (4 replies)

Never understood why 'damn' is a swear word. Is it a religious thing?

OmegaLemmy@discuss.online · 16 pts · 1y

it relates to damnation and is basically short for 'i sentence you to eternal damnation/hell'

It lost all of its flare when being condemned to hell became a casual thing (eg. 'go to hell')

LwL@lemmy.world · 12 pts · 1y (2 replies)

It'll never stop being funny to me how in the US it'a apparently considered pretty bad and even gets censored while here in germany it's one of those child friendly swears that you expect kindergarten kids to say.

bent@feddit.dk · 6 pts · 1y (1 reply)

In Norway "shit" is considered the child friendly way of swearing since it's not religious. I still have no idea why it's considered swearing in English/USA

LwL@lemmy.world · 5 pts · 1y

Interesting, here in germany I'd say that's like a medium level swear (the sexual ones are what I'd consider high level, the religious ones usually no one cares about, at least in the north).

I wonder if the 3 usual categories - religious, sexual, fecal - can be approximately ranked (at least with one being the clear "worst" or "least bad") in every culture or if sometimes it's all over the place.

Kissaki@programming.dev · 10 pts · 1y (2 replies)

For comparison, "amazing" occurs six times.

sus@programming.dev · 6 pts · 1y (1 reply)

And most of those cases are of course using the word sarcastically

::: spoiler collapsed list of them The next function to implement is called, amazingly, next(); its job is to move the iterator forward to the next position in the sequence.

if (lc->sync == NOSYNC)
	for (i = lc->header.nr_regions; i < lc->region_count; i++)
		/* FIXME: amazingly inefficient */
		log_set_bit(lc, lc->clean_bits, i);
else
	for (i = lc->header.nr_regions; i < lc->region_count; i++)
		/* FIXME: amazingly inefficient */
		log_clear_bit(lc, lc->clean_bits, i);

/*
 * Amazingly, if ehv_bc_tty_open() returns an error code, the tty layer will
 * still call this function to close the tty device.  So we can't assume that
 * the tty port has been initialized.
 */

 *   this header was blatantly ripped from netfilter_ipv4.h
 *   it's amazing what adding a bunch of 6s can do =8^)

/*
 * I studied different documents and many live PROMs both from 2.30
 * family and 3.xx versions. I came to the amazing conclusion: there is
 * absolutely no way to route interrupts in IIep systems relying on
 * information which PROM presents. We must hardcode interrupt routing
 * schematics. And this actually sucks.   -- zaitcev 1999/05/12

 * corresponding ABS_X and ABS_Y events. This turns the Twiddler into a game
 * controller with amazing 18 buttons :-)

 * In an amazing feat of design, the Enhanced Features Register (EFR)
 * shares the address of the Interrupt Identification Register (IIR).
 * Access to EFR is switched on by writing a magic value (0xbf) to the
 * Line Control Register (LCR). Any interrupt firing during this time will
 * see the EFR where it expects the IIR to be, leading to
 * "Unexpected interrupt" messages.

 * Thanks BUGabundo and Malmostoso for your amazing help!

:::

Kissaki@programming.dev · 2 pts · 1y

I didn't add a star at the end for the word search, so at least for that example, the sarcastic ones were all 'amazingly' and consequently not counted, and the 'amazing' at the end seems literal. I haven't looked at any other cases, though.

unknowing8343@discuss.tchncs.de · 9 pts · 1y (4 replies)

Critical Raster Angle Protrusion

victorz@lemmy.world · 6 pts · 1y (3 replies)

Did you just enter your password on here?

unknowing8343@discuss.tchncs.de · 5 pts · 1y (1 reply)

Oh CRAP

victorz@lemmy.world · 3 pts · 1y

That the new pw?

MelodiousFunk@slrpnk.net · 4 pts · 1y

smh. That's supposed to go in cell A1.

Timely_Jellyfish_2077@programming.dev · 9 pts · 1y (1 reply)

Now do in GTA V source code

victorz@lemmy.world · 2 pts · 1y

Would that be more or less, do you think?

FaceDeer@fedia.io · 8 pts · 1y (1 reply)

When there's an organic-looking decline that seems like a good sign, but the sudden sharp drops seem likely a sign of "corporate oversight" and not an actual improvement.

Kissaki@programming.dev · 2 pts · 1y

I don't see a sharp drop as a sign of corporate oversight at all.

Stuff may be tackled en-batch. Or individuals can care. Or it can be an organic team decision or effort.

FundMECFSResearch@lemmy.blahaj.zone · 8 pts · 1y

TIL “damn” is an insult.

I thought it was just an intensifier.

HexesofVexes@lemmy.world · 6 pts · 1y

Coding is a very... emotional activity. We get a bit salty sometimes.

I remember commenting a particularly bad routine with "Lasciate ogne speranza, voi ch'intrate".

There are also phrases such as "by the process of offending god, this somehow outputs..." and "This block was written by someone whose sanity was not so much questionable as it was entirely reprehensible - but it works".

I also remember doing a search and replace of every instance of the word "fuck" with "[fornicate]" when bringing someone new onto a project.

Kissaki@programming.dev · 5 pts · 1y

Only one of them barely reaching 200. For the size of the Linux kernel I find these numbers surprisingly low.

0day@programming.dev · 4 pts · 1y

I would have expected the comments to be pretty dry and to the point. Thos eare some interesting stats. 🤣