Discover and share the best of the web!
Learn more about Digg by taking the tour.
More crap than penguins in the Linux kernel.
vidarholen.net — How does so much profanity get in the kernel? Well, at least lot of S**t went into 2.6.12.
- 892 diggs
- digg it
- nubtard, on 10/11/2007, -3/+36Interesting and funny at the same time.
- radicaldementia, on 10/11/2007, -13/+2Just goes to show that programmers like to ***** curse!
- h0dg3s, on 10/11/2007, -0/+5Of course, have you ever tried programming?
- TheWiseNoob, on 10/11/2007, -14/+2But you're not 1337 4nd |_| neeD 7o le4rN 7o 5PEeK KOrRec7ly, noO8!
- Urusai, on 10/11/2007, -2/+4Real hackers don't use "leet" because real programs need precise syntax for precise semantics. Well, that's the theory, anyway.
- bradleyland, on 10/11/2007, -0/+8How long did that take you? Seriously, how long?
- oprahsTITS, on 10/11/2007, -2/+1I teabag radicaldementia and thewisenoob.
- Suplyndmnd, on 10/11/2007, -0/+5Is there a good answer to that? If it took him a long time that's pathetic. If he can type like that quickly that's pathetic.
- radicaldementia, on 10/11/2007, -13/+2Just goes to show that programmers like to ***** curse!
- shad0walker, on 10/11/2007, -4/+70I think the answer to this question is simple. They don't care. Anyone reading the source code is gonna understand how much of a bitch various things can be.
Just as a thought, ever wonder how much bad language is in the windows source code? Having to put in all that DRM when you know what it really does has to piss people off.- pHr34kY, on 10/11/2007, -0/+11Probably the main reason why they don't release the source....
Oh, and they forgot to count how many 'Bill Gates' references are in the Kernel source... he gets completely berated! - drmsux, on 10/11/2007, -1/+1There is NO bad language in Windows/Office source code because there's a tool that scans sources for these words, opens bugs and assigns them to corresponding code owners.
- init100, on 10/11/2007, -0/+3I guess that they set up such a system as a precaution if the Windows source leaks again. After the source leak of Windows 2000, there were several articles about the significant use of profanity in comments.
- init100, on 10/11/2007, -0/+3I guess that they set up such a system as a precaution if the Windows source leaks again. After the source leak of Windows 2000, there were several articles about the significant use of profanity in comments.
- pHr34kY, on 10/11/2007, -0/+11Probably the main reason why they don't release the source....
- spicytuna, on 10/11/2007, -11/+5I'd like to know how much the word 'hack' appears in there :)
- DrDabbles, on 10/11/2007, -0/+1Actually, in the latest 2.6.22.1 release, I count 1356 times. This includes variable names, one-way discussions, and calling out bad ideas from other people. As well as labeling blatant "hacks" to get things working.
- schestowitz, on 10/11/2007, -5/+54Have you not seen the once-leaked Windows 2000 code (partial)? It was filled with profanity as well. it wasn't elegant _at all_. I don't know about Apple...
- consonance, on 10/11/2007, -0/+144Apple's code is probably filled with swears like, "Oh fuddlesmucks," "Dearie me," and, "My word!"
- jackyyll, on 10/11/2007, -2/+5Nonono! Apple's code is filled with Bruce the Wonder Yak!
- taysk8, on 10/11/2007, -8/+1+1
- kcpwnsgman, on 10/11/2007, -2/+12I would say -1 to you taysk8, but that would be retarded
- djGentoo, on 10/11/2007, -0/+1Those fudgers can't swear worth sheeznapple.
- jackyyll, on 10/11/2007, -2/+5Nonono! Apple's code is filled with Bruce the Wonder Yak!
- elvenseven, on 10/11/2007, -30/+3Waaaa.... Microsoft does it too! Waaaaa...
- makis, on 10/11/2007, -11/+4not true
i've seen window leaked code.and it's quite elegant and there are comments about hacks, most of them app's compatibility hacks.not so bad at all. - taysk8, on 10/11/2007, -14/+1f*ck off windows is evil
- mattmcm, on 10/11/2007, -2/+10if($user=="taysk8"){
/*oh, it's that dick. do the usual. */
bury();
}
- mattmcm, on 10/11/2007, -2/+10if($user=="taysk8"){
- mancat, on 10/11/2007, -0/+2Oh is that so? Why don't you read the review of someone who actually looked over it.
http://www.kuro5hin.org/story/2004/2/15/71552/7795
- consonance, on 10/11/2007, -0/+144Apple's code is probably filled with swears like, "Oh fuddlesmucks," "Dearie me," and, "My word!"
- TheRemoteViewer, on 10/11/2007, -5/+16The real question is how many curse words are in the Windows source code. I can't even begin to speculate.
- Samtheman007, on 10/11/2007, -2/+7I don't even want to think about what longhorn must be like. :-O
- elvenseven, on 10/11/2007, -21/+2Source codes, the only place they'd have the guts to curse.
- JPDota, on 10/11/2007, -1/+16go to walmart and grab yourself a sense of humor
- mike81890, on 10/11/2007, -0/+2you forgot the internet... everyone curses here. nobody knows who you are so it doesn't matter what you do or say.
- Snarfy, on 10/11/2007, -0/+38As a software developer, I flip off my computer screen at least once a day.
- slipgrid, on 10/11/2007, -0/+8You and me too. Both hands at once.
- capiCrimm, on 10/11/2007, -11/+3flipping off is okay, but don't get drunk. Piss and motherboards don't mix.
- capiCrimm, on 10/11/2007, -2/+18flipping off is okay, but don't get drunk. Piss and motherboards don't mix.
- GiggleStick, on 10/11/2007, -0/+1Plus you're likely to double-post.
- Verdanic, on 10/11/2007, -1/+1I think the place I get the angriest is in front of my computer. It's probably not good for my health.
- hydrosan, on 10/11/2007, -0/+3heh, i sit next to a SAP consultant at work, he flips off his screen about 2-3 times an hour while coding
- strangewill, on 10/11/2007, -0/+1Thats all? You must not work that hard then. ;)
- natenovs, on 10/11/2007, -0/+0why do you guys do it you get so mad about it?
get a grip.
computers are one of the few things in the world that are entirely deterministic. if youre letting it frustrate you, then your not thinking enough.- abandonedhero, on 10/11/2007, -0/+1I think it's quite the opposite the majority of the time. We developers frustrate ourselves by OVER-thinking.
- Verdanic, on 10/11/2007, -2/+8I've never seen a sub-10kb image load so slowly.
On another note, the websites I produce for clients often come with CSS filled filled with IE fixes surrounded by curses. Totally justified, you know that if you've ever worked with CSS. =/- Fordi, on 10/11/2007, -0/+2Agreed. Though, a lot of my stuff is infused by cursing of my predecessor's name.
No, seriously. That dude can't code.
- Fordi, on 10/11/2007, -0/+2Agreed. Though, a lot of my stuff is infused by cursing of my predecessor's name.
- CDoug03, on 10/11/2007, -1/+10I heard George Carlin has been ghost writing the Linux kernel for years now.
- MavRevMatt, on 10/11/2007, -11/+3Who gives a *****? The stuff works better than anything you could create so stop bitching.
- Verdanic, on 10/11/2007, -0/+7Wow, I'm going to take a shot here and say that was not bitching. Not in the slightest.
- slipgrid, on 10/11/2007, -0/+17@"How does so much profanity get in the kernel?"
I'm guessing you've never written software. It's a bitch. - ThreeDee912, on 10/11/2007, -7/+2When did "penguin" become profanity?
- Dorn2006, on 10/11/2007, -2/+172 years ago, penguinhead!!
- Dorn2006, on 10/11/2007, -2/+172 years ago, penguinhead!!
- supert0ad, on 10/11/2007, -0/+23this may be acceptable in the linux kernel, but don't swear in the comments for your CS coursework
- ShyGuy91284, on 10/11/2007, -2/+1Very true. Looking for those S**t and F**k test variables is always a priority when I look over my code before a submission.
- auyongtc, on 10/11/2007, -1/+1But then again, would the CS lecturers even bother to go thru the source codes in the first place?
- DarkDragon, on 10/11/2007, -2/+5/* I don't know why that ***** is making me do this ***** */
/* NoteToSelf: That ***** wants me to do it this way when this other way is much better... *****! */
/* PENGUINS!!!! 0_0 */ - hydrosan, on 10/11/2007, -3/+3hehe dude, i had some prof who was like 25~ (he graduated and then came back to teach) for assembler...i left a couple *****/***** in my code, and he commented that he does the same
- strangewill, on 10/11/2007, -1/+1I haven't dared going so far as cussing yet, though sometimes I'll leave witty comments about what stupid ***** is going down.
- tobias1482, on 10/11/2007, -0/+1I sometimes swear like a sailor... but don't swear or make passive aggressive comments in any source code.
It won't reflect well on you professionally. Especially if you really don't understand all of the subtleties involved with that block of code or class.
On a good professional team, the weak link will be known pretty quickly and fired, anyway.
- theclaw1, on 10/11/2007, -26/+0This thread = DO NOT WANT. Burying it and all comments.
- Hyuuu, on 10/11/2007, -5/+2This thread = DO WANT. Digging it and all comment (excluding yours...)
- ryancxx, on 10/11/2007, -0/+3Does anyone have an example? I'm curious
- cdemi, on 01/10/2008, -0/+1***** ***** etc...
- hydrosan, on 10/11/2007, -5/+4dont mean to spoil the party (cause i love linux and all) but this has been posted to digg (and hit front page) a few times:
for example: 1435 diggs here: http://digg.com/linux_unix/Amount_of_Swearing_in_the_Linux_Kernel
(notice the link they go to, http://www.vidarholen.net/contents/wordcount/) in both cases :)- link5280, on 10/11/2007, -1/+4digg = rehash of same old *****
- gregmo, on 10/11/2007, -0/+4I know that link is just one example of it hitting the fp, but it's a mute point, because there are a couple new users since 1 year 296 days ago.
- Tilon, on 10/11/2007, -0/+6Okay, I'll let everyone here in on a little secret.
Every time a story is dugg, it's dugg by people who probably haven't seen it before.
If enough people who haven't seen an article before digg it, it makes the front page.
How absolutely ingenious! Of course, this means some people see some articles twice, but I bet you never bitch about those articles that were posted twice, but you only saw once...
Oh, wait. You didn't even NOTICE those. My bad.
- link5280, on 10/11/2007, -0/+1Computer rage, today on news channel 5!
- ordminute, on 10/11/2007, -0/+1"Channel 5" in which country? There must be about 100 "Channel 5" out there.
- ordminute, on 10/11/2007, -0/+1"Channel 5" in which country? There must be about 100 "Channel 5" out there.
- abandonedhero, on 10/11/2007, -0/+2You forgot to click the submit button 98 more times.
- ordminute, on 10/11/2007, -0/+1"Channel 5" in which country? There must be about 100 "Channel 5" out there.
- CompIsMyRx, on 10/11/2007, -1/+1Most of the comments are like "This is such a ***** hack" or "I hate this ***** implementation".
- silencerar, on 10/11/2007, -0/+0Holly crap!
- Ottawa, on 10/11/2007, -2/+1Speaking of Penguins.... check out these Penguins and Big Fish and Sunsets - O My!
http://livegreenlivesmart.org/photos/default.aspx- abandonedhero, on 10/11/2007, -0/+1Spam is generally looked down upon in Digg society.
- asaone, on 10/11/2007, -2/+2who gives a *****
- noriko, on 10/11/2007, -2/+0[quote]
A little about the counting method used: A word is counted if it appears in any context, even if part of another word (such as love in rollover, which was why this word wasn't included ;)
[/quote]
[response]
also know as; I'm too much of a noob to write a proper algorithm or use appropriate tools to find actual words rather than mere substrings
[/response]
i think this would have been an interesting find, if the graphs showed words as opposed to substrings as i said above.
DIGG-VV-Down- Cthx, on 10/11/2007, -0/+0OK, think of a work that has those phrases as substrings.
- vidarhol, on 10/10/2007, -0/+0[response]
also know as; I'm too much of a noob to write a proper algorithm or use appropriate tools to find actual words rather than mere substrings
[/response]
Hehe, there's a story behind that actually. The (GNU) awk version used for generating statistics for the graphs had a memory leak in regex matching. Normally you don't have more than a few thousand lines, so this is not a problem. The linux kernel however, was somewhat over 6 million lines at the time (2.6.22 is now 7744727 lines), which caused awk to use several hundred megabytes of memory and start trashing the swap. So I settled on plain substrings instead, and I haven't checked up on it since.
- FranTaylor, on 10/11/2007, -4/+1Duh, the strings are in the source code, not in the kernel. Run strings on your kernel image, there's no swearing in there.
- sgoogle, on 10/11/2007, -1/+1Yeh, because source code is not equal to the kernel....
- project2501, on 10/11/2007, -0/+2It's not, the source code FOR the kernel is compiled into the kernel, comments are not included.
- sgoogle, on 10/11/2007, -1/+1Yeh, because source code is not equal to the kernel....
- FranTaylor, on 10/11/2007, -5/+1Duh, the swearing is in the SOURCE CODE, not in the KERNEL. Get it right. Run strings on the kernel image.
- FranTaylor, on 10/11/2007, -3/+0Sorry for the dupe. Browser under construction...
- truegodofwar, on 10/11/2007, -1/+3Interestingly enough, It looks the the number of curse words to lines of code is declining..
Is tux maturing?- Suplyndmnd, on 10/11/2007, -0/+1***** yeah it is.
- project2501, on 10/11/2007, -0/+1Wouldn't that just be because there are more lines now?
Maybe not, I'm tired.
- DestroyFascism, on 10/11/2007, -0/+5I love it when you go through a PHP script and find "***** IE sux, people should ban this *****!" or "Another ***** IE hack to fix overflow bug or IE cant count!"
- maninalift, on 10/11/2007, -0/+1Every web site has at least one "this is the workaround for such-and-such an IE bug"
- darushin, on 10/11/2007, -0/+1If you actually did those searches on my ASP.Net & Php code you would probably cause a integer overflow due to the number of results.
- coditza, on 10/11/2007, -0/+1Wonder why you have browser hacks in your php scripts...
- snecklifter, on 10/11/2007, -0/+2http://lwn.net/1998/1015/a/f-word.html
- rizla420, on 10/11/2007, -0/+0I know the feeling, not like I was writing hard core coding (PHP... Woah, I know, killer!) or anything. When i first started out I'd be in the living room on my laptop while my roommates were chillen watching TV and I'd erupt with a "***** YOU!!!" and drop two middle fingers on it like that. yea.. I went there, I put my code in its place. Looking back on it, I was the noob who would make careless mistakes that I couldn't diagnose easily. In essence I was cursing at myself. If my laptop screen was a mirror, I'd be doing the inverse Stewart. Your not good enough, smart and enough, and god damn it I dont like you. Leave the programming to people who say "I hate your face" and mean it.
// Useless not contributory rant over. Go back to talking about legit kernel coding nightmares. - anarchytv, on 10/11/2007, -0/+1I can't recall ever putting any swear words in source code. But then I never worked in a team hacking someone elses code. Most comments I do put are to remind myself of very important things, when and if I have to come back years later, about some gotcha glitch in the system that took me hours to figure out or debug, or comments as to what environment you need to run the thing again. Always my swear words are verbal at the screen and they are always when I'm hunting down some royal bitch of a bug. Then you're in 'the zone'... there are only three states in programming... laying down large tracks brand new code... running it and tracking down the bugs... then pimping it out with bells and whistles. When you are debugging, you in the highest state of hacking, its a zen thing, because some bugs are a royal bitch to find. It only takes one mistyped letter someone, one variable here when you should of used another, one thing you didn't know about the deficiencies of the language or the OS... you think finding needles are hard... its like stamping out a couple of ants crawling around in a haystack. These tiny bitches move about! The bigger the stack of hay, the more likely it is that you will never stamp them all out.
The Digg Toolbar for Firefox lets you Digg, submit content, and keep track of Digg even when you're not on the Digg site. Download the official