Satan, Britney Spears Top Paris Hilton In OSS References 182
An anonymous reader writes "Krugle, a software search company, had some time on its hands — it compared frequency of mentions in open source code of presidential candidates, Beelzebub and yes, Britney Spears." I wish they'd link to a nice long list of the other terms this revealed — there are probably a lot of subtler funny references and asides.
Abbreviation: (Score:5, Insightful)
Re: (Score:2)
Re: (Score:2)
Am I missing something here? (Score:5, Interesting)
Re:Am I missing something here? (Score:5, Funny)
Re:Am I missing something here? (Score:5, Funny)
Re: (Score:2)
Comment removed (Score:4, Funny)
Re: (Score:2)
Intuitive connections (Score:4, Insightful)
Re: (Score:3, Funny)
Back in the day, wrote a method called ReturnOfTheJedi() which had a parameter called theJediWhereTrick. Returned a search result, but with an optional where clause in the SQL query.
Kept fielding emails about that for six months straight, from the company's offices in Palo Alto and Singapore. Fun times.
Re: (Score:3, Insightful)
Re:Am I missing something here? (Score:5, Funny)
Re: (Score:2)
Someone should tell the Democrats before they nominate her!
Re:Am I missing something here? (Score:5, Interesting)
I was thinking the same thing.
But, I guess when some people are coding they like to inject a little bit of silliness or vent their anger.
I once worked on a project where we were explicitly told our comments couldn't have profanity or other non-PC things in them. Apparently, one time during a customer-required code walkthrough, the developer had littered their code with all sorts of insulting things about the customers and their requirements out of frustration with tight timelines and bad specs. It caused quite a stir. Thereafter, they made sure all developers understood that such things would not be tolerated.
Me, I just couldn't fathom why I'd want to waste time putting vitriol into my code and comments. I need the comments to explain to me what I'm doing and why so that 2 months from now I know what I'd been trying to do.
However, having maintained a few legacy code-bases in my day, you'd be astonished what people actually do put into comments. I've seen some downright bizarre things, ranging from slagging the product to slagging people. Heck, I saw a haiku once, and it actually explained the function quite well.
I suspect a lot of OSS coders have a different view about what to put into their code and have lots of time on their hands to do it in.
Cheers
Re: (Score:2)
I have written "lengthy" comments about how much of a hack something was or references to better ways of doing something, but none of them ever needed to reference Satan (maybe sacraficing live chickens, but never pacts with the devil).
Layne
Re: (Score:2)
Re: (Score:2, Informative)
in code, or in comments? (Score:2, Interesting)
i've used some amusing code like:
itBroke = true;
but that still communicates something useful to me, (it indicates an unrecoverable error condition)
plus then i could write:
(itBroke) ? fixIt() : dontFixIt();
naming a class HillaryClinton is just ridiculous. I wonder if there are variables named intCheatCount in the diebold software?
currently i am working on a section of code littered with ninj
Re:in code, or in comments? (Score:5, Funny)
Perform Beat-my-wife Until She-Screams.
Sadly, I never got to work on any of his code before it was cleaned up.
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
I've always said to myself that when I start thinking of my customers this way, I'll stop coding for them. It's not worth the neurosis.
Re: (Score:2)
Well, I gather this particular developer was a little high string at the best of times.
So it's tough to say if this particular project was
Re:Am I missing something here? (Score:5, Interesting)
The code got an A with the added comment from the Prof that the minimum hard copy length requirement for first years would be going away after this.
Re:Am I missing something here? (Score:5, Funny)
Re: (Score:2)
Very confidence-inspiring.
Re: (Score:3, Informative)
It's kind of a running joke in computer circles.
Re: (Score:2)
Silliness is sometimes fun.
I once coded all the error messages in one particular custom app in Scottish accents.
"Ye cannae click thayre Jimmy! What're ye thinkin?"
Re: (Score:2)
Me, I just couldn't fathom why I'd want to waste time putting vitriol into my code and comments. I need the comments to explain to me what I'm doing and why so that 2 months from now I know what I'd been trying to do.
See, that's actually *why* I put vitriol and sarcasm into some of my comments. If it caused me horrible frustration the first time I had to work with it, then I should be reminded of that later. Especially because that emotional trigger will bring the memories back faster.
Bonus points if you think the person who originally wrote the code you spent two days deciphering will get to see it.
Equally fun though if they've left the company, and everyone who comes after you will be going through the same process
Re:Am I missing something here? (Score:5, Informative)
http://www.jwz.org/doc/censorzilla.html [jwz.org]
Re:Am I missing something here? (Score:5, Insightful)
I think the reason why so many open source projects have odd comments or funny comments is that its being made by people who aren't being paid and don't have a manager breathing down their necks so they'll use whatever they'd like at the time. Personally I think comments are the best part of open source code.
My fav so far:
Source and some more amusing comments. [everything2.com]
Re: (Score:2)
foreach(array('submit', 'table',
unset($_POST[$evil]);
}
Re: (Score:2)
And some times during all nighters we get bored so we spice up our comments and code to keep us entertained.
One of the "best" comments I made in my code was, "//WARNING: DO NOT DELETE THIS!" above a section that upon close inspection did absolutely nothing of consequence (although it did set a global variable somewhere. Looking for when it was used, it looked like it was always set to something else before the value was actually used, so setting the value at that point made no sense). Not remembering when or why I put that there, I tried commenting that section out and testing the program to see if anything
Re: (Score:3, Insightful)
Anyway, every once in a while people would leave physics equations in the comments section of checked in code or documents. Once late at night, I was working on an architecture document that needed some major changes. So, I left a comment along the lines of, "Architecture changes complete. $change 1. $change 2. $change 3 etc. Also did $foobar, $foobar, $foobar. Also discovered warp drive
Re: (Score:2)
Some of my closed source code has comments like "evil hack", or " made me do this". Probably a few reference Satan. And I'm pretty sure I've ended comments about fixes for nasty race conditions with "I blame George Bush". I have an informal policy of not including a
Re: (Score:2)
(you kids on my lawn can look up "microfiche" in your Funk and Wagnall's)
Re: (Score:2)
I think the reason why so many open source projects have odd comments or funny comments is that its being made by people who aren't being paid and don't have a manager breathing down their necks so they'll use whatever they'd like at the time.
That isn't true, at least in my own case. I like to put in colorful comments on occasion because I view source code as something to be read by other programmers. Example (which works around a very wierd Stallmanism):
(kill-buffer (current-buffer))
My favorite example that I've run across in other people's code was in the System V days in, I think, /usr/include/sys/vm.h. It contained some swapping constants where the defaults were explained economically by using then-current prices for VAX 11 memory cards. I think this originally cam
Re:Am I missing something here? (Score:5, Informative)
Here are a few examples:
http://www.krugle.org/kse/files?query=Hillary%20Clinton [krugle.org]
http://www.krugle.org/kse/files?query=Paris%20Hilton [krugle.org]
http://www.krugle.org/kse/files?query=Barack%20Obama [krugle.org]
http://www.krugle.org/kse/files?query=Tooth%20fairy [krugle.org]
Even if you search for just code files, you sometimes find data inlined into a unit test:
http://www.krugle.org/kse/files?query=Tooth%20fairy&lang=java [krugle.org]
http://www.krugle.org/kse/files?query=Hillary%20Clinton&lang=java [krugle.org]
http://www.krugle.org/kse/files?query=Paris%20Hilton&lang=java [krugle.org]
So there you go. A whole lot of non-news.
Re: (Score:3, Funny)
You'd think they could have included some sample search links in the article, no? Searching for "fuck" in Linux code turns up more entertaining stuff if I recall correctly. Actually, seaching for "fuck" in Krugle is more entertaining than Satan:
"Fuck GNOME!"
"public class FuckNut"
"fo
Re: (Score:2)
Re:Am I missing something here? (Score:5, Funny)
I figured I was in the clear, because the competition administrators and judges had told us that they do not read the code, they just run the program and check for correct output. However, they did quietly talk to us after we received our prize for winning the competition. Apparently, while they don't read the code as part of the competition, they do skim it out of curiosity sometimes.
For the remainder of my C.S. career, I was notorious for having invented the by-then-shortened "fucksort" routine. It still comes up in conversation from time to time.
Re: (Score:2)
In fact, I remember doing that on the kernel code awhile back. My favorite result was "Fuck me gently with a chainsaw..." at the beginning of a gigantic header file full of mappings of PCI ids to product names.
I remember looking at the thousands of #define statements and reflecting on how accurate it was. You really had to see it...
Fortunately for all of us, it's long gone, and that mapping now lives in the userspace pciutils.
Re:Am I missing something here? (Score:5, Funny)
I once wanted to name an module in some fortran code 'data', but, of course, that's a protected word, so I called it 'brentSpiner' instead. I don't think my supervisor watched star trek though, so he didn't really get the joke.
</boring nostalgic story>
Re: (Score:2)
Re: (Score:2)
My professional code is usually well documented and no bizarre comments. The worst you usually get is "FIXME - (reason)" or "Ugly Hack" The reason being that, while I've been its sole maintainer for years, somebody will eventually take over this job and will need to understand how all of the business rules weave themselves through the library. Plus, it's what's expected of a professional developer. (I will admit th
Re: (Score:2)
Re: (Score:2)
Re:Am I missing something here? (Score:5, Funny)
if ($this eq "madness")
{
$this = "sparta!!!! >(";
}
*snicker* (Score:5, Funny)
Re:*snicker* (Score:5, Insightful)
Re: (Score:2)
Re: (Score:3, Funny)
Re: (Score:2, Funny)
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
Re:fist-hand (Score:2, Funny)
That's even more vile than I thought.
Re: (Score:2)
Re:*snicker* (Score:4, Funny)
because "nobody expects the spanish inqusition!"
Re:*snicker* (Score:5, Funny)
Meaningful Comments (Score:5, Funny)
"How many angels can dance on the head of a pin?"
Re:Meaningful Comments (Score:5, Funny)
I rather like this one that I saw [debian.org] at the weekend. Sounds like an unpleasant way to go.
Satan I can understand ... (Score:4, Funny)
Satan I can understand (BSD Devil, references to the Beast from Redmond, Chipzilla, etc), but Britney Speares? That's EVIL!
Re: (Score:2)
Apparently satan has refused to uphold his part of the deal in as much as she has yet to have a successful singing career.
I'm certain that the **AA lawyers are all invited to the gallery for this trial. DAMN, I tried to spell that gallows but for *some* reason my fingers just couldn't type it????
Re: (Score:2)
Satan I can understand (BSD Devil, references to the Beast from Redmond, Chipzilla, etc), but Britney Speares? That's EVIL!
Joking aside, there are a few projects that use SATAN as an acronym which would pad out the numbers quite a bit:
Hillary Clinton? Duh. (Score:4, Insightful)
Re: (Score:2)
Re: (Score:2, Informative)
Re: (Score:2)
Just try doing a search on Clinton jokes vs. McCain jokes. You'll get a LOT more Clinton jokes. (Most of which are based on the idea that it was Hillary running the Presidency, not Bill.)
Right-wing punditry has helped Clinton (Score:2)
I know they think that McCain can beat HillDawg more easily than he could beat Obama...but I'm not sure why.
Re: (Score:2)
Satan, Britney Spears (Score:3, Funny)
Re: (Score:2)
And that is how I became one of the monsters that created Britney Spears.
It
I predict that.. (Score:4, Funny)
end sarcasm
Well, good! (Score:5, Interesting)
More developers is a good thing.
Re: (Score:2)
I have here a package of razor blades. "50 single edge #9 razor blades," it says in large print on the front. On the side, it reads "Warning: razor sharp blades."
I think warning labels have gotten excessive.
Re: (Score:2)
Re: (Score:2)
f[u#s]ck(ing)? (Score:2)
Re: (Score:2)
What, no examples? (Score:3, Insightful)
Re: (Score:2)
Hee! (Score:3, Funny)
...too obscure? [wikipedia.org]
Re: (Score:2)
Re: (Score:2, Funny)
for(EVER){
}
Re: (Score:2)
ID Kennel # Outcome Type Animal Name Weight
CAT A496283 AB - 05 ADOPTION RABBIT 6.5
CAT A503957 AB - 27 ADOPTION BEAUREGARD 8.75
CAT A505787 AB - 28 ADOPTION JIMMY SMITS 2.5
CAT A507051 ISO 1 - 15 ADOPTION OREO 6.25
CAT A507677 AB - 30 ADOPTION COCONUT 9
CAT A507806 CONDO ADOPTION BANDIT 2.25
CAT A507808 CONDO ADOPTION FELICITY 2.00
CAT A507807 CONDO ADOPTION FIONA 2.25
Re: (Score:2)
Cool!!! An ISO-standard cat!
What are ISO standards 1 thru 15, anyway?
Need I go on?
Re: (Score:2)
Layne
Knuth appears, but... (Score:2)
//Implementation of Knuth's foo algorithm.
//See TAOCP Vol 3, Page ??
Is the summary wrong or is the article misleading? (Score:5, Informative)
Comment removed (Score:5, Funny)
cout (Score:2)
Not in my code, but... (Score:2)
Like this little gem from today:
"Updated to handle duplicate codes. May the gods have mercy on my soul."
Needless to say, my solution was determined more by deadline than by elegance...
Islamic twist (Score:2)
Not many hits, but I am glad some brothers remember Allah when coding... Alhamdulillah.
Programmers get punchy late at night. (Score:2)
unsigned int slice; /* A new fruit-flavored drink. */
[ And, this guy finished his semester project over a weekend. ]
Isn't that the same list as.. (Score:3, Funny)
funny comment (Score:2)
another one said "FIX ME BAD" i'm pretty sure i wrote that one heh
Binks variable... (Score:5, Funny)
It's the place I store all my jarjars.
(Ooo, thats going to cost me! Don't you just love the smell of karma burning in the morning...)
Special names... (Score:2)