Beta
×

Welcome to the Slashdot Beta site -- learn more here. Use the link in the footer or click here to return to the Classic version of Slashdot.

Thank you!

Before you choose to head back to the Classic look of the site, we'd appreciate it if you share your thoughts on the Beta; your feedback is what drives our ongoing development.

Beta is different and we value you taking the time to try it out. Please take a look at the changes we've made in Beta and  learn more about it. Thanks for reading, and for making the site better!

Satan, Britney Spears Top Paris Hilton In OSS References

timothy posted more than 6 years ago | from the knuth-beats-satan dept.

It's funny.  Laugh. 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.

cancel ×

182 comments

Sorry! There are no comments related to the filter you selected.

Abbreviation: (5, Insightful)

Stanistani (808333) | more than 6 years ago | (#23312436)

Would 'BS' count as a reference to Ms. Spears? Just asking.

Re:Abbreviation: (1)

will.perdikakis (1074743) | more than 6 years ago | (#23312950)

No, but "BJs" would.

Am I missing something here? (5, Interesting)

JCSoRocks (1142053) | more than 6 years ago | (#23312464)

I've never included random crap like that in my code... even in college when I was pulling all nighters. Why on earth would I want to have to reference the ParisHilton class? and how would that be helpful to other developers? This is silliness.

Re:Am I missing something here? (5, Funny)

antifoidulus (807088) | more than 6 years ago | (#23312540)

That class will show its privates to just about anyone who asks!

Re:Am I missing something here? (5, Funny)

Cornflake917 (515940) | more than 6 years ago | (#23312672)

The problem is that the class has to use its inheritance to get what it wants.

Re:Am I missing something here? (1)

somersault (912633) | more than 6 years ago | (#23312894)

Well, one redeeming feature is that any hardware that the code runs on automatically creates a backup tape and uploads it to the net, so you never need to worry about backing up your application's data

Re:Am I missing something here? (3, Funny)

beckerist (985855) | more than 6 years ago | (#23313444)

Only problem with that is that it saves the text in a green-on-black grainy medium. The producers only adjective to describe the tape is "hawt."

Re:Am I missing something here? (1, Funny)

Anonymous Coward | more than 6 years ago | (#23312932)

Just out of curiosity, would mention of Hillary Clinton count as a presidential candidate or Satan?

Re:Am I missing something here? (2, Insightful)

Cornflake917 (515940) | more than 6 years ago | (#23312978)

Is there really a difference?

Re:Am I missing something here? (1)

maxume (22995) | more than 6 years ago | (#23313048)

Among other things, Paris Hilton inherited a degree of notoriety. She has parleyed that into other people paying her tens of millions of dollars. She doesn't need to inherit any money.

Re:Am I missing something here? (0)

Anonymous Coward | more than 6 years ago | (#23313184)

The real problem is that the class lacks structure.

Re:Am I missing something here? (1)

nem75 (952737) | more than 6 years ago | (#23313042)

That class will show its privates to just about anyone who asks!

Plus to those who don't ask. Unfortunately.

Re:Am I missing something here? (5, Interesting)

gstoddart (321705) | more than 6 years ago | (#23312578)

I've never included random crap like that in my code... even in college when I was pulling all nighters. Why on earth would I want to have to reference the ParisHilton class? and how would that be helpful to other developers? This is silliness.

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:Am I missing something here? (1)

SQLGuru (980662) | more than 6 years ago | (#23312774)

Exactly. I save my useless comments for places like Slashdot. :D

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:Am I missing something here? (1)

Cheesey (70139) | more than 6 years ago | (#23313448)

I wouldn't reference Satan directly in my code, but if I need to pick an arbitrary integer constant for something, it's going to be 666. Possibly disguised as 0x29a or 01232. I can't resist an opportunity to annoy people who take Revelations seriously.

Re:Am I missing something here? (0)

Anonymous Coward | more than 6 years ago | (#23313664)

My standard gray of choice is #666 in CSS for this very reason!

in code, or in comments? (2, Interesting)

Briden (1003105) | more than 6 years ago | (#23312828)

what i'd like to know is, were these things discovered in comments, or actual code?

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(); //(if it ain't broke don't fix it)

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 ninja references in the comments though, that is fine, and lightens up my day a little. //really the only time this will be ran is when the actions are dis-approved. //but....... we gota check it just to be sure ninjas are not in the computer trying to //screw things up. .... //why? because it's more l337 and it saves space. Gee. Man. Aw come on! GO NINJA GO! //it cannot get above 26. if Value is above 26, turn into aa, ab, ac, etc. like clockninja.

sheesh.

Re:Diebold comments (1)

maxume (22995) | more than 6 years ago | (#23313108)

// I think this works

Never mistake incompetence for intention.

Re:in code, or in comments? (4, Funny)

Cro Magnon (467622) | more than 6 years ago | (#23313356)

Well, I didn't see this first-hand, but I heard that one of my cow-orkers wrote some interesting COBOL code during his divorce. He had this line of code:

Perform Beat-my-wife Until She-Screams.

Sadly, I never got to work on any of his code before it was cleaned up.

The real question is [OT, obviously]: (1, Funny)

Anonymous Coward | more than 6 years ago | (#23313628)

how do you ork a cow??

Re:in code, or in comments? (1)

ewanm89 (1052822) | more than 6 years ago | (#23313754)

We were talking about open source code... Most hackers prefer this philosophy.

(itBroke) ? don'tFixIt() : fixIt(); //(if it ain't broke fix it)

Re:Am I missing something here? (1)

Frosty Piss (770223) | more than 6 years ago | (#23312834)

But, I guess when some people are coding they like to inject a little bit of silliness or vent their anger.

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.

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:Am I missing something here? (1)

gstoddart (321705) | more than 6 years ago | (#23313144)

"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."

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.

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 any more deficient in terms of time-line and other factors. Suffice it to say, he did cause a new policy to be created -- I gather the actual customer contact was distinctly non-plussed by the whole thing. Some of the stuff, I'm told, was really not appropriate in any organization and he should have known better, even if the client would never see the code.

Cheers

Re:Am I missing something here? (5, Interesting)

techpawn (969834) | more than 6 years ago | (#23313058)

In one of my early programming classes my professor had a minimum length for hard copy code to be turned in. Let's just say my code worked, but my hard copy was too short. Rather than muck my code with unneeded calls and the like I did a lengthy comment about how I believed CS finding the most direct solution to problems even at the risk of upsetting the client.

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? (5, Funny)

spikedvodka (188722) | more than 6 years ago | (#23313080)

honestly though... I'm a big fan of "//Magic happens here"

Re:Am I missing something here? (1)

ozmanjusri (601766) | more than 6 years ago | (#23313120)

But, I guess when some people are coding they like to inject a little bit of silliness or vent their anger.

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:Am I missing something here? (1)

ewanm89 (1052822) | more than 6 years ago | (#23313714)

There are slagging off about Torvalds in the Linux Kernel code... and about various pieces of hardware...

I mean, just grep swear words for fun ;)

Re:Am I missing something here? (1, Funny)

Anonymous Coward | more than 6 years ago | (#23312626)

This is silliness.

// this.popculturereference="SPARTAAAAAAAAAAAAAAAAAA!"

Re:Am I missing something here? (5, Funny)

somersault (912633) | more than 6 years ago | (#23312972)

$this = "madness";

if ($this eq "madness")
{
          $this = "sparta!!!! >(";
}

Re:Am I missing something here? (0)

Anonymous Coward | more than 6 years ago | (#23313338)

if(this.isDecaff())
{
kickClerkInBottomlessPit();
}

Re:Am I missing something here? (5, Insightful)

vertinox (846076) | more than 6 years ago | (#23312724)

Why on earth would I want to have to reference the ParisHilton class? and how would that be helpful to other developers? This is silliness.

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:

/* DRUNK. FIX LATER */


Source and some more amusing comments. [everything2.com]

Re:Am I missing something here? (1)

0100010001010011 (652467) | more than 6 years ago | (#23313104)

And some times during all nighters we get bored so we spice up our comments and code to keep us entertained. Here's something from my young and stupid days:

//unset stuff that doesn't need to be going into the mysql db.
foreach(array('submit', 'table', ....) as $evil) {
// unset each evil field.
// depending on evilness, may have to call on priest();
unset($_POST[$evil]);
}

Re:Am I missing something here? (2, Insightful)

metlin (258108) | more than 6 years ago | (#23313300)

At my previous company, we were part of an R&D lab, so most folks had PhDs or graduate degrees in one form or another.

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. Space too little."

Anyway, the VP was a theoretical physicist who basically updated the document just to have a funny quip on Minkowski space in there etc. The whole thread continued between folks forever.

I mean, work was good but these comments made the work interesting, and adds character to the folks working on stuff.

Re:Am I missing something here? (1)

russotto (537200) | more than 6 years ago | (#23313476)

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.


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 any actual curse words or derogatory references to customers or the CEO, but that's about it.

Re:Am I missing something here? (4, Informative)

AKAImBatman (238306) | more than 6 years ago | (#23312780)

If you do a search on Krugle, you'll find that most of the references are in database files, not code. e.g. Public figures tend to show up in example data files. There were quite a few Clinton jokes back in the day, so Hillary shows up in a number of files. Paris Hilton is a common "adult" keyword, so you'll notice .htaccess files restricting it.

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:Am I missing something here? (1)

Chris_Jefferson (581445) | more than 6 years ago | (#23312842)

Well, by reading the article and looking at the code, it actually all looks boringly sensible. Looking up "Britney Spears", it is used in a few comments as an example of a name, included in a few filter lists. Nothing exciting at all really unfortunately.

Re:Am I missing something here? (1)

stoofa (524247) | more than 6 years ago | (#23312854)

If you're 'pulling all nighters' then you have no need to attend the Paris Hilton class anyway.

Re:Am I missing something here? (1)

AiToyonsNostril (1082283) | more than 6 years ago | (#23312870)

ParisHilton yeah*, but I've referenced Red Dwarf, and Russian literature, etc. and made random sci-fi in-jokes just to make an all-nighter more bearable. It was entertaining for me and the TAs appreciated it in most cases.

* Although I wrote a mock-sexual harrassment suit memo with Phyllis Schlafly as a defendant for my BusLaw class.

Re:Am I missing something here? (5, Funny)

ari_j (90255) | more than 6 years ago | (#23312926)

Often, such things come from frustration or from humor starvation. One time, in a programming competition during college, we were required to do our work in Visual Studio. We implemented a sort routine and knew not to call it sort(), so we called it mysort(), which also turned out to be taken by MS. Out of frustration with the clock counting down, I gave it a name that I knew would not have any conflicts: myfuckingsort().

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:Am I missing something here? (1)

SanityInAnarchy (655584) | more than 6 years ago | (#23313774)

I think a search for the word "fuck" would prove far more enlightening.

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? (4, Funny)

Anonymous Cowpat (788193) | more than 6 years ago | (#23313064)

<boring nostalgic story>
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:Am I missing something here? (1)

Hatta (162192) | more than 6 years ago | (#23313478)

That's the first time I've ever seen "Paris Hilton" and "class" in the same sentence. At least without a "has no" in between.

Re:Am I missing something here? (0)

Anonymous Coward | more than 6 years ago | (#23313608)

ParisHilton class is an oxymoron.

Re:Am I missing something here? (1)

msgtomatt (1147195) | more than 6 years ago | (#23313682)

Am I missing something here?
Yes, you're missing a personality!

*snicker* (5, Funny)

krinderlin (1212738) | more than 6 years ago | (#23312476)

A friend of mine got a call a few days ago from an old job of his doing some Access application development (*pukes*). Apparently they didn't appreciate the fact that the code was littered with references to the Spanish Inquisition, Spam, Grail Shaped Beacons, and so on.

Re:*snicker* (5, Insightful)

njfuzzy (734116) | more than 6 years ago | (#23312580)

What did they expect to accomplish by calling to scold a former employee?

Re:*snicker* (1)

somersault (912633) | more than 6 years ago | (#23313020)

It's almost as if they had no means of chastisement other than their mouth.

Re:*snicker* (3, Funny)

Anonymous Coward | more than 6 years ago | (#23313164)

I know, seriously. I wouldn't have expected that sort of Spanish inquisition.

Re:*snicker* (1)

clickclickdrone (964164) | more than 6 years ago | (#23312596)

And people wonder why CEO's etc don't consider IT people to be on their 'professional' level.

Re:*snicker* (0)

Anonymous Coward | more than 6 years ago | (#23312760)

And people wonder why CEO's etc don't consider IT people to be on their 'professional' level.

And people wonder why "IT people" don't line up for the management lobotomy.

Go figure.

Re:*snicker* (1)

AiToyonsNostril (1082283) | more than 6 years ago | (#23312944)

CEOs cannot afford to have a sense of humor: IT people can.

Re:*snicker* (1)

InlawBiker (1124825) | more than 6 years ago | (#23312966)

I can tell you from fist-hand experience that the board room, once the doors are closed, is an excellent place to learn the latest sexist, vile and dirty jokes.

Re:fist-hand (2, Funny)

maxume (22995) | more than 6 years ago | (#23313146)

Wait, corporate executives masturbate together when they are behind closed doors?

That's even more vile than I thought.

Re:*snicker* (0)

Anonymous Coward | more than 6 years ago | (#23313318)

I can tell you from fist-hand experience that the board room, once the doors are closed, is an excellent place to learn the latest sexist, vile and dirty jokes.
*fist* hand?

*snicker*

Re:*snicker* (0)

Anonymous Coward | more than 6 years ago | (#23313374)

I can tell you from fist-hand experience that the board room, once the doors are closed, is an excellent place to learn the latest sexist, vile and dirty jokes.
Tell me more...

Re:*snicker* (1)

InlawBiker (1124825) | more than 6 years ago | (#23313612)

I admit, it's a funny typo.

Re:*snicker* (4, Funny)

pAnkRat (639452) | more than 6 years ago | (#23313178)

Ofcourse they were suprised to find these references in the code,
because "nobody expects the spanish inqusition!"

Re:*snicker* (5, Funny)

SanityInAnarchy (655584) | more than 6 years ago | (#23313794)

Buy him a bumper sticker: "I wish I was coding Python."

Meaningful Comments (5, Funny)

Anonymous Coward | more than 6 years ago | (#23312490)

My Favorite comment came from the DEC PDP-11 Fortran compiler. After searching extensively for a bug in our code, we managed to get the compiler source, and at the location where our code imploded, the compiler author had inserted the comment,

"How many angels can dance on the head of a pin?"

Re:Meaningful Comments (5, Funny)

ddrichardson (869910) | more than 6 years ago | (#23313828)

I rather like this one that I saw [debian.org] at the weekend. Sounds like an unpleasant way to go.

Satan I can understand ... (3, Funny)

trolltalk.com (1108067) | more than 6 years ago | (#23312514)

Satan I can understand (BSD Devil, references to the Beast from Redmond, Chipzilla, etc), but Britney Speares? That's EVIL!

Re:Satan I can understand ... (1)

zappepcs (820751) | more than 6 years ago | (#23312840)

Well, the major datum contributing to the listing of satan and spears is their soon to be well known contractual obligations to one another.

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????

Hillary Clinton? Duh. (3, Insightful)

AKAImBatman (238306) | more than 6 years ago | (#23312592)

The fact that Hillary Clinton outstrips McCain and Obama should come as no surprise. She spent 8 years in the public eye, back when no one had even heard of the other two candidates. Expressing surprise that she is 'in the lead' as it were, is just silly.

Re:Hillary Clinton? Duh. (1)

Holi (250190) | more than 6 years ago | (#23312732)

I think McCain has been in the public eye a little longer than Mrs. Clinton, considering he's been a US Senator since 1986.

Re:Hillary Clinton? Duh. (2, Informative)

fprintf (82740) | more than 6 years ago | (#23312804)

And was a POW in Vietnam for several years, refusing to come home before other prisoners. The guy was a hero, all over the newspapers way back then. Not that it means much to modern day programmers (most likely demographic for OSS contributors) who weren't around or paying attention to such news in the early 70s.

He was a terrible pilot. (0)

FatSean (18753) | more than 6 years ago | (#23312900)

He crashed numerous plains in training and if his Admiral daddy hadn't pulled strings, ol' Johnny might never have flow in the Vietname Fail.

McCain was also one of the Keating Five. He's not the kind of person I want running this country.

Re:Hillary Clinton? Duh. (1)

AKAImBatman (238306) | more than 6 years ago | (#23312810)

Just because he's a senator doesn't mean that he's managed to stay in the public eye. He's managed to stay a public figure, but for the most part he's been ignored by the public at large.

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.)

Re:Hillary Clinton? Duh. (0)

Anonymous Coward | more than 6 years ago | (#23312906)

True, but McCain is no stranger to the public eye.
http://en.wikipedia.org/wiki/Keating_Five [wikipedia.org]

Right-wing punditry has helped Clinton (1)

FatSean (18753) | more than 6 years ago | (#23313456)

Many of the talking heads and hate-radio personalities get a good response from hating on Hillary. They've been doing it ever since Clinton got roped into an impeachment for a non-issue. Ooooo...so he didn't run the government improperly but he did cheat on his wife and lied about it under oath! Oooooh!

I know they think that McCain can beat HillDawg more easily than he could beat Obama...but I'm not sure why.

Re:Hillary Clinton? Duh. (1)

Kenoli (934612) | more than 6 years ago | (#23312812)

Being a senator doesn't exactly put someone in the public eye.

Re:Hillary Clinton? Duh. (0)

Anonymous Coward | more than 6 years ago | (#23313558)

Hillary Clinton outstrips McCain and Obama
She only got into stripping because Bill made her. But with so much practice at it, no wonder she does it better than McCain and Obama.

Re:Hillary Clinton? Duh. (1)

fractalboy (1078025) | more than 6 years ago | (#23313798)

Several years ago I named my final project in a compiler construction class Hillary Clinton. The main reasons being that it was a bitch, and every time I used it I could say that I was executing Hillary Clinton. (And when it would freeze up before I got all the kinks out, I'd also have no choice but to kill the Hillary Clinton process as well.)

Satan, Britney Spears (3, Funny)

towelie-ban (1234530) | more than 6 years ago | (#23312640)

Those are just synonyms, right?

Re:Satan, Britney Spears (1)

Redbaran (918344) | more than 6 years ago | (#23312762)

No, they are actually dangling pointers to the same object. The garbage collection doesn't seem to be working here for some reason.

Re:Satan, Britney Spears (1)

The Redster! (874352) | more than 6 years ago | (#23313790)

Don't clean up yet, we still care about one of those pointers!

Re:Satan, Britney Spears (1)

elrous0 (869638) | more than 6 years ago | (#23312886)

Back in 1981, scientists thought it would be SUCH a great idea to do a Liza Minnelli/Bo Derek clone. And I warned those scientists about their family histories of mental problems, alcoholism, etc. But they were all like "No, look at how funny Liza is in Arthur, wouldn't it be great to combine her talent with big tits and blonde hair?" And, at first, I thought "Well okay, she could sing and she would be hot. That might just work."

And that is how I became one of the monsters that created Britney Spears.

It's funny how easily you can drift into doing evil, horrific things with just a little peer pressure and lack of foresight.

Re:Satan, Britney Spears (1)

sadgoblin (1269500) | more than 6 years ago | (#23313234)

Satan > Britney

I don't see why (0)

Anonymous Coward | more than 6 years ago | (#23313252)

Satan can play a pretty mean fiddle, demonstrating actual musical talent.

I predict that.. (3, Funny)

Thelasko (1196535) | more than 6 years ago | (#23312714)

Tipper Gore and the Parents Software Resource Center [wikipedia.org] are going to petition congress to ban open source software because the source code is explicit. The end result will be a warning label on all open source software available on the internet.

end sarcasm

Well, good! (4, Interesting)

FatSean (18753) | more than 6 years ago | (#23313482)

There is a large stack of evidence showing that warning labels don't work, and may in fact inspire more people to try the thing being warned against.

More developers is a good thing.

f[u#s]ck(ing)? (1)

El_Muerte_TDS (592157) | more than 6 years ago | (#23312748)

... is a very useful regex to find problems and workarounds with (3rd party) frameworks and libraries

Re:f[u#s]ck(ing)? (1)

SanityInAnarchy (655584) | more than 6 years ago | (#23313832)

I'd probably have written it as: (f[u#\*s]|s[u#\*])ck(ing)?

Sorry, but... (0)

Anonymous Coward | more than 6 years ago | (#23312758)

shouldn't this be posted at whogivesashit.com ?!??

I mean, really, who really cares about this?

http://www.whogivesashit.com/posts/75210113149056200811351.html [whogivesashit.com]

there.

What, no examples? (2, Insightful)

Frosty Piss (770223) | more than 6 years ago | (#23312772)

The "article" (if you can call it that) shows neither neither charts of actual numbers, nore places the uses in context (with or without examples). Good grief.

Re:What, no examples? (1)

Col. Klink (retired) (11632) | more than 6 years ago | (#23313188)

Yeah, sucky article. I used krugle to search for Britney Spears myself and was actually quite disappointed. I was hoping to her name to appear in comments like:

// This code is more fscked up than Britney Spears
Instead, she just appears as a canonical example in database entries and spelling lookup examples.

Hee! (2, Funny)

Rob T Firefly (844560) | more than 6 years ago | (#23312778)

Whenever I use a switch statement, I'm compelled to name its variable "jimmysmits." This results in the statement "switch(jimmysmits)", and never fails to make me chuckle.

...too obscure? [wikipedia.org]

Re:Hee! (1)

thatskinnyguy (1129515) | more than 6 years ago | (#23312832)

Whenever I'm configuring a Cisco router for PAT, I have a similar compulsion to name the NAT pool "frustration" so that when I go to execute the command for PAT it will end with "frustration overload". I have done this on occasion. It all goes back to my days in the Networking Academy.

Re:Hee! (2, Funny)

cbart387 (1192883) | more than 6 years ago | (#23312992)

A little offtopic but related ... for an infinite loop in C

#define EVER ;;
for(EVER){
...
}

Re:Hee! (1)

SQLGuru (980662) | more than 6 years ago | (#23313014)

Totally unrelated, but right after reading this post, I got an e-mail from the animal shelter I volunteer at....here are the cats adopted yesterday:

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

Layne

Knuth appears, but... (1)

serviscope_minor (664417) | more than 6 years ago | (#23312802)

Knuth is on the list. That said, he appears in my code, without me making wierd references or easter-eggy comments.

//Implementation of Knuth's foo algorithm.
//See TAOCP Vol 3, Page ??

Is the summary wrong or is the article misleading? (4, Informative)

LighterShadeOfBlack (1011407) | more than 6 years ago | (#23312806)

The summary suggests that they measured the frequency of mentions of these terms in the source code - the article seems to suggest that they measured the terms searched for using the Krugle search engine. The former would be interesting, the latter would not.

Tried a Google Code Search and ... (1)

gzipped_tar (1151931) | more than 6 years ago | (#23312838)

Most of the matches of "Paris Hilton" appear, rather unsurprisingly, appear in bot- or spam-blocking programs.
But this one is more interesting: Category theory is the Paris Hilton of mathematics. [google.com]

They missed #1 completely (1)

rozthepimp (638319) | more than 6 years ago | (#23313216)

There are over 6 gazillion code comments that start "Damn it Jim, I'm a programmer, not a....."

Amusing anagrams (4, Funny)

pandrijeczko (588093) | more than 6 years ago | (#23313286)

Paris Hilton - Hail, it's porn!

Britney Spears - Prissy bra teen

Re:Amusing anagrams (1, Funny)

Anonymous Coward | more than 6 years ago | (#23313638)

Jeremy Irons - Jeremy's Iron ...

What?

Bad Article Summary. (0)

Anonymous Coward | more than 6 years ago | (#23313342)

The article actually discusses some of the stranger things that people have used as search terms in Krugle's search engine - NOT what terms actually show up in code.

Sheesh.

cout (1)

DarkOx (621550) | more than 6 years ago | (#23313440)

cout is for printing a line to the stdout, its like simpler printf. Its not a misspent reference to part of Britney's anatomy. Seriously these noob coders...

RUSH (0)

Anonymous Coward | more than 6 years ago | (#23313820)

I've noticed a lot of references to the Canada Band Rush in code. Try google's code search with the band name, some of their song names, or some common lyrical quotes and you'll find them.

Buffy the Vampire Slayer (0)

Anonymous Coward | more than 6 years ago | (#23313868)

Whenever I use a byte[] for buffering, it is called buffyTheVampireSlayer. I used to call them buffy, but thought the added vampire slayer reference would make the code just that bit more surreal to read.

Not in my code, but... (1)

geminidomino (614729) | more than 6 years ago | (#23313874)

I definitely do it in my SVN comments, since I know it's just going to be seen by the other devs.

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...
Load More Comments
Slashdot Login

Need an Account?

Forgot your password?

Submission Text Formatting Tips

We support a small subset of HTML, namely these tags:

  • b
  • i
  • p
  • br
  • a
  • ol
  • ul
  • li
  • dl
  • dt
  • dd
  • em
  • strong
  • tt
  • blockquote
  • div
  • quote
  • ecode

"ecode" can be used for code snippets, for example:

<ecode>    while(1) { do_something(); } </ecode>