Slashdot Mirror


Satan, Britney Spears Top Paris Hilton In OSS References

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.

182 comments

  1. Abbreviation: by Stanistani · · Score: 5, Insightful

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

    1. Re:Abbreviation: by will.perdikakis · · Score: 0

      No, but "BJs" would.

      --
      -Will P.
    2. Re:Abbreviation: by pjt33 · · Score: 1

      Well "Paris, France" appears to count as a reference to Paris Hilton.

    3. Re:Abbreviation: by Anonymous Coward · · Score: 0

      Would 'BS' count as a reference to Ms. Spears? Just asking. Damn, that's a good point. ... <- Would that count as a reference to Satan, too?
    4. Re:Abbreviation: by Kinky+Bass+Junk · · Score: 1

      No, that would count as a reference to the political candidates.

      --
      Anonymous Coward
  2. Am I missing something here? by JCSoRocks · · Score: 5, Interesting

    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.

    --
    You are using English. Please learn the difference between loose and lose; they're, there, and their; your and you're.
    1. Re:Am I missing something here? by antifoidulus · · Score: 5, Funny

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

    2. Re:Am I missing something here? by gstoddart · · Score: 5, Interesting

      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
      --
      Lost at C:>. Found at C.
    3. Re:Am I missing something here? by Anonymous Coward · · Score: 1, Funny

      This is silliness.

      // this.popculturereference="SPARTAAAAAAAAAAAAAAAAAA!"

    4. Re:Am I missing something here? by Cornflake917 · · Score: 5, Funny

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

    5. Re:Am I missing something here? by vertinox · · Score: 5, Insightful
      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.

      --
      "I am the king of the Romans, and am superior to rules of grammar!"
      -Sigismund, Holy Roman Emperor (1368-1437)
    6. Re:Am I missing something here? by SQLGuru · · Score: 1

      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

    7. Re:Am I missing something here? by AKAImBatman · · Score: 4, Informative

      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
      http://www.krugle.org/kse/files?query=Paris%20Hilton
      http://www.krugle.org/kse/files?query=Barack%20Obama
      http://www.krugle.org/kse/files?query=Tooth%20fairy

      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
      http://www.krugle.org/kse/files?query=Hillary%20Clinton&lang=java
      http://www.krugle.org/kse/files?query=Paris%20Hilton&lang=java

      So there you go. A whole lot of non-news. :-)

    8. Re:Am I missing something here? by Frosty+Piss · · Score: 1

      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.
      --
      If you want news from today, you have to come back tomorrow.
    9. Re:Am I missing something here? by Chris_Jefferson · · Score: 1

      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.

      --
      Combination - fun iPhone puzzling
    10. Re:Am I missing something here? by stoofa · · Score: 1

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

    11. Re:Am I missing something here? by AiToyonsNostril · · Score: 1

      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.

      --
      "I'm not good. I'm not nice. I'm just right."
    12. Re:Am I missing something here? by somersault · · Score: 1

      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

      --
      which is totally what she said
    13. Re:Am I missing something here? by ari_j · · Score: 5, Funny

      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.

    14. Re:Am I missing something here? by Anonymous Coward · · Score: 1, Funny

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

    15. Re:Am I missing something here? by somersault · · Score: 5, Funny

      $this = "madness";

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

      --
      which is totally what she said
    16. Re:Am I missing something here? by Cornflake917 · · Score: 2, Insightful

      Is there really a difference?

    17. Re:Am I missing something here? by nem75 · · Score: 1

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

      Plus to those who don't ask. Unfortunately.

    18. Re:Am I missing something here? by maxume · · Score: 1

      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.

      --
      Nerd rage is the funniest rage.
    19. Re:Am I missing something here? by techpawn · · Score: 5, Interesting

      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.

      --
      Ask not what you can do for your country. Ask what your country did to you
    20. Re:Am I missing something here? by Anonymous+Cowpat · · Score: 4, 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>

      --
      FGD 135
    21. Re:Am I missing something here? by spikedvodka · · Score: 5, Funny

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

      --
      I will not give in to the terrorists. I will not become fearful.
    22. Re:Am I missing something here? by 0100010001010011 · · Score: 1

      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]);
      }

    23. Re:Am I missing something here? by ozmanjusri · · Score: 1
      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?"

      --
      "I've got more toys than Teruhisa Kitahara."
    24. Re:Am I missing something here? by gstoddart · · Score: 1

      "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
      --
      Lost at C:>. Found at C.
    25. Re:Am I missing something here? by Anonymous Coward · · Score: 0

      The real problem is that the class lacks structure.

    26. Re:Am I missing something here? by metlin · · Score: 2, Insightful

      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.

    27. Re:Am I missing something here? by Anonymous Coward · · Score: 0

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

    28. Re:Am I missing something here? by beckerist · · Score: 3, Funny

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

    29. Re:Am I missing something here? by Cheesey · · Score: 1

      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.

      --
      >north
      You're an immobile computer, remember?
    30. Re:Am I missing something here? by russotto · · Score: 1

      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.
    31. Re:Am I missing something here? by Hatta · · Score: 1

      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.

      --
      Give me Classic Slashdot or give me death!
    32. Re:Am I missing something here? by Anonymous Coward · · Score: 0

      ParisHilton class is an oxymoron.

    33. Re:Am I missing something here? by Anonymous Coward · · Score: 0

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

    34. Re:Am I missing something here? by msgtomatt · · Score: 1

      Am I missing something here? Yes, you're missing a personality!
    35. Re:Am I missing something here? by ewanm89 · · Score: 1

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

    36. Re:Am I missing something here? by SanityInAnarchy · · Score: 1

      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.

      --
      Don't thank God, thank a doctor!
    37. Re:Am I missing something here? by QuasiEvil · · Score: 1

      For me, it depends on whether it's personal or professional code, or something in between.

      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 that there are more subtle humorous references in the architecture, but not many at all.)

      My personal code is more a stream-of-consciousness conversation with the code. You'll often find "WTF was I thinking? This can't possibly work, but it does somehow," or other such. I'll often insert thoughts as I'm reading the code as markers of things to go back and explain to myself in comments later. Consider it a form of code review, except that the reviewer is me, removed by a few weeks from coding it. It really does help point out where I have documentation deficiencies. Then there always the drunk tags, indicating sections of code I may need to rework since I wrote them under the excessive influence..,

      My personal favorite is a close friend of mine who went on a coding bender after his girlfriend completely screwed him over. It wasn't a bad thing, we had a lot of microcontroller code to write in a hurry. Unfortunately, we got lots of line labels like "LivsABitchDieDieDie:" (usually with a varying number of dies, or possibly with a number appended.) Surprisingly, most of the code worked and lived on for years, never really needing any maintenance (thankfully....)

    38. Re:Am I missing something here? by Crazyswedishguy · · Score: 1

      A CS teacher I had in college (and who might be reading this, "hi!"), always made strange D&D (?) references in the example code or partially coded assignments... For instance, the most common comment was where we were supposed to complete the code:
      // Here be the dragons...
      It was always somewhere between amusing and confusing.

      --
      This space up for sale.
    39. Re:Am I missing something here? by NewbieProgrammerMan · · Score: 2, Funny

      Thanks for posting some links; I skimmed TFA and didn't see anything other than "zomg people reference famous people in their code, and somebody did a search for it, PONIES!!!1" and was going to judge the article/topic a WOMFT.

      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"
      "for (int i = 0; i n; i++) fuck(); "

      --
      [b.belong('us') for b in bases if b.owner() == 'you']
    40. Re:Am I missing something here? by RiotingPacifist · · Score: 5, Informative

      Might give that a shot, heres what had to be removed from mozilla before they opened the source
      http://www.jwz.org/doc/censorzilla.html

      --
      IranAir Flight 655 never forget!
    41. Re:Am I missing something here? by footnmouth · · Score: 0

      I was once fixing some bugs in some PowerBuilder (remember that) at work and the code went something like: //kill memory mapper kill wf_memmap; //kill dtc connection kill nvo_dtc_conn; //kill ogd connection kill nvo_ogd_conn2; //kill your friends I sat opposite the guy who wrote it - and left soon after

      --
      -- For evil to triumph it is enough that good men do nothing.
    42. Re:Am I missing something here? by Anonymous Coward · · Score: 0

      Plus it really sucks at composition.

    43. Re:Am I missing something here? by Darinbob · · Score: 1

      I've never included random crap like that in my code... even in college when I was pulling all nighters. They only said they were searching open source code, not necessarily good open source code.
    44. Re:Am I missing something here? by Darinbob · · Score: 1

      Personally I think comments are the best part of open source code. They're a good part of closed source as well. They tend to not be as sophomoric as college assignments, but there can be some interesting stuff. I read the microfiche of a major operating system a long time ago, and a comment at the start of the widely-used mail system said "I wrote this to learn how to program".

      (you kids on my lawn can look up "microfiche" in your Funk and Wagnall's)
    45. Re:Am I missing something here? by mopower70 · · Score: 1

      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.
      --
      Please - learn how to spell. loose != lose. Yes. It is silliness. And judging by the uptightness of your post as well as your sig, you could use a little of it in your life.

    46. Re:Am I missing something here? by Ethanol-fueled · · Score: 1

      ...and why is green on black a problem? *AHEMterminal!*

    47. Re:Am I missing something here? by alan_dershowitz · · Score: 4, Funny

      Satan wasn't born in the USA and is thus ineligible.

    48. Re:Am I missing something here? by operagost · · Score: 2, Informative

      The only thing that annoys me is calling Revelation "Revelations". It's one vision revealed to John the Evangelist.

      --

      Gamingmuseum.com: Give your 3D accelerator a rest.
    49. Re:Am I missing something here? by operagost · · Score: 1

      That phrase actually comes from a map made in medieval times.

      --

      Gamingmuseum.com: Give your 3D accelerator a rest.
    50. Re:Am I missing something here? by Valdrax · · Score: 1

      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 of slack-jawed disbelief at what they have to maintain. It's a way of patting the next person on the back and saying, "There, there. I've been through what you're about to go through too."

      Naturally, I recommend using this extremely *sparingly.* You don't want to get a reputation for being "that guy" or worse put something in a logging or debugging function that might somehow someday be seen by a customer. (You never know what a production machine is going to overheat, have a hiccup, and enter the "should never happen" part of the code and start spewing profanity into the logs. Not that this happened to a program my first company sold or anything.)
      --
      If it's for-profit but free, you're not the customer -- you're the product (e.g., the Slashdot Beta's "audience").
    51. Re:Am I missing something here? by Valdrax · · Score: 2, Informative

      Actually, "here be dragons" is an old cartographers phrase used to denote unexplored and presumably dangerous areas on maps, in the same spirit as drawing sea serpents off the coast of unexplored water.

      It's kind of a running joke in computer circles.

      --
      If it's for-profit but free, you're not the customer -- you're the product (e.g., the Slashdot Beta's "audience").
    52. Re:Am I missing something here? by davester666 · · Score: 1

      It's doesn't back up everything. It just emails the CrashReport to everyone when the process crashes [similar to a core dump for you crazy Unix guys not using MacOS X].

      --
      Sleep your way to a whiter smile...date a dentist!
    53. Re:Am I missing something here? by TrekkieGod · · Score: 1

      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 broke. Everything appeared to run fine without it. However, just in case I was missing some interaction with the rather large codebase, I decided to uncomment the code rather than introducing a bug that I wasn't testing for.

      To this day I'm still not sure whether that was a horrendous hack that I did or whether I fell prey to a practical joke I decided to pull to spice things up during one of those boring all-nighters...I am now sure of two things though: global variables suck and comments for horrendous hacks should actually explain what the horrendous hack is doing.

      --

      Warning: Opinions known to be heavily biased.

    54. Re:Am I missing something here? by SL+Baur · · Score: 1

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

      ;; We must destroy this buffer in order to save it!
                      (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 came in via BSD because I saw the same comment in SunOS as well as the M68K System V/R2 desktop box I had at home.
    55. Re:Am I missing something here? by shutdown+-p+now · · Score: 1

      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.
      Good on you. Pray that you never see production code with a higher-order function (taking a function that takes a function and returns a function, and returning a function) named "ThisIsAVeryFunnyMethod". Coincidentially, it was a static method in a class named "HeavyMetalIsCool".
    56. Re:Am I missing something here? by shutdown+-p+now · · Score: 1
      Nah, the real fun is:

      ... // why does this work??

      Very confidence-inspiring.

    57. Re:Am I missing something here? by fiskeben · · Score: 1

      It's every programmer's God forsaken right to add a dash of sillyness here and there. It's what makes the World go!

      --
      -- fiskeben
    58. Re:Am I missing something here? by Anonymous Coward · · Score: 0

      No, the class lacks class.

    59. Re:Am I missing something here? by kaen · · Score: 1

      There must be a loophole for someone that arrived with the first explorers/settlers?

    60. Re:Am I missing something here? by en.ABCD · · Score: 1

      There must be a loophole for someone that arrived with the first explorers/settlers? United States Constitution, Article 2, Section 1, Clause 5:

      No Person except a natural born Citizen, or a Citizen of the United States, at the time of the Adoption of this Constitution, shall be eligible to the Office of President; neither shall any Person be eligible to that Office who shall not have attained to the Age of thirty five Years, and been fourteen Years a Resident within the United States. So it depends on if he was a citizen of the United States at that time.
    61. Re:Am I missing something here? by ewanm89 · · Score: 1

      A lot of the explicit language in kernel comments is due to various bits of hardware... and fsck turns up a lot of false positives, however, there are some interesting comments in there.

    62. Re:Am I missing something here? by Anonymous Coward · · Score: 1, Funny

      I name Queues after John De Lancie.

    63. Re:Am I missing something here? by Anonymous Coward · · Score: 0

      I'm pretty sure that in a lot of these cases, the coder simply needed to either vent or keep themselves amused (depending on nature of comment) to keep themselves sane (or at least, sane enough to keep coding).

    64. Re:Am I missing something here? by Anonymous Coward · · Score: 0

      I don't think you can have a Britney Spears class. You just cant put the two together in the same sentence. It wont compute. Maybe BritneySpears.classless but not a .class

    65. Re:Am I missing something here? by Anonymous Coward · · Score: 0

      This is silliness. Silliness? THIS! IS! JAAAVAAA!!!

      Bad joke, I know. But so are most here.
    66. Re:Am I missing something here? by swillden · · Score: 1

      Satan wasn't born in the USA and is thus ineligible.

      Someone should tell the Democrats before they nominate her!

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    67. Re:Am I missing something here? by The+One+and+Only · · Score: 1

      $this = "madness";

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

      for ($count = 0,; $count < 10; $count++)
      {
      $this = $this . 'a';
      }

      for ($count = 0,; $count < 10; $count++)
      {
      $this = $this . '!';
      }
      }
      --
      In Repressive Burma, it's not just your connection that dies. slashdot.org/comments.pl?sid=314547&cid=20819199
    68. Re:Am I missing something here? by DMUTPeregrine · · Score: 1

      Wheat on Dark Slate Grey or Green is much, much more readable.
      #FFE6BC = Wheat (foreground)
      #294D4A = DarkSlateGreen (BG)
      #4D4D4D = DarkSlateGrey (BG)
      Saturation = 47, Value = 30: DarkSlateX

      Green on black causes lots of eyestrain.

      --
      Not a sentence!
    69. Re:Am I missing something here? by somersault · · Score: 1

      Personally I'd just use .= :

      while (Rand(10)>3)
      {
            $this .= 'a';
      }

      ;)

      --
      which is totally what she said
    70. Re:Am I missing something here? by Anonymous Coward · · Score: 0

      even in college when I was pulling all nighters.

      I 'pulled' more than that!

    71. Re:Am I missing something here? by jgrahn · · Score: 1

      Nah, the real fun is:

      ... // why does this work??

      Very confidence-inspiring.

      Not too bad, actually. You get a feel for the author's frame of mind when (s)he wrote that. I am guessing: reasonably clever, and aware that he writes for an audience -- but with a deadline coming up, and more urgent problems to deal with.

  3. *snicker* by krinderlin · · Score: 5, Funny

    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.

    1. Re:*snicker* by njfuzzy · · Score: 5, Insightful

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

      --
      My Photography - http://ian-x.com
      The Deathlings (comic) - http://thedeathlings.com
    2. Re:*snicker* by clickclickdrone · · Score: 1

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

      --
      I want a list of atrocities done in your name - Recoil
    3. Re:*snicker* by Anonymous Coward · · Score: 0

      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.

    4. Re:*snicker* by AiToyonsNostril · · Score: 1

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

      --
      "I'm not good. I'm not nice. I'm just right."
    5. Re:*snicker* by InlawBiker · · Score: 1

      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.

    6. Re:*snicker* by somersault · · Score: 1

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

      --
      which is totally what she said
    7. Re:*snicker* by Anonymous Coward · · Score: 3, Funny

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

    8. Re:*snicker* by pAnkRat · · Score: 4, Funny

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

      --
      we need an "-1 Plain wrong" moderation option!
    9. Re:*snicker* by Anonymous Coward · · Score: 0

      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*
    10. Re:*snicker* by Anonymous Coward · · Score: 0

      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...
    11. Re:*snicker* by InlawBiker · · Score: 1

      I admit, it's a funny typo.

    12. Re:*snicker* by SanityInAnarchy · · Score: 5, Funny

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

      --
      Don't thank God, thank a doctor!
    13. Re:*snicker* by Anonymous Coward · · Score: 0

      Nobody expects the Spanish Inquisition!

    14. Re:*snicker* by __aagbwg300 · · Score: 2, Funny

      They were looking for an argument, but found insults instead. Stupid git.

    15. Re:*snicker* by fair_n_hite_451 · · Score: 1

      No they weren't

      --
      Reason why there is hope for the future generation #364:
      "I wish my grass was emo so it could cut itself."
    16. Re:*snicker* by domatic · · Score: 1

      Did he fart in their general direction?

    17. Re:*snicker* by Anonymous Coward · · Score: 0

      Yes, totally unreasonable that they'd prefer to work with code that isn't filled with idiotic, probably humorless references to Monty Python.

    18. Re:*snicker* by DMUTPeregrine · · Score: 1

      Of course they were. Bumhat.

      --
      Not a sentence!
    19. Re:*snicker* by X3J11 · · Score: 1

      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.

      I guess one could say... (wait for it)...

      THEY DON'T LIKE SPAM!

      When I was farting around with something (I think it was a simple wget workalike) years ago, I had a pair of functions called HolyHandGrenade and KillerBunny. Not all that creative, but I still chuckle over it.

  4. Meaningful Comments by Anonymous Coward · · Score: 5, Funny

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

    1. Re:Meaningful Comments by ddrichardson · · Score: 5, Funny

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

      --
      A thistle is a fat salad for an ass's mouth...
  5. Satan I can understand ... by trolltalk.com · · Score: 3, Funny

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

    1. Re:Satan I can understand ... by zappepcs · · Score: 1

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

    2. Re:Satan I can understand ... by dextromulous · · Score: 1

      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:

      • Security Administrator Tool for Analyzing Networks
      • Signal Applications To Audio Networks

      --
      There are two types of people in the world: those who divide people into two types and those who don't.
    3. Re:Satan I can understand ... by DiEx-15 · · Score: 1

      Could it be it is crazy code?

    4. Re:Satan I can understand ... by trolltalk.com · · Score: 1

      Actually, on second thought, it makes sense to include references to the Britster in code. For example, when someone f*cks up and just keeps introducing the same bug over and over, we could call them a "Britney Coder" as in "Oops, I did it again!"

  6. Hillary Clinton? Duh. by AKAImBatman · · Score: 3, Insightful

    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.

    1. Re:Hillary Clinton? Duh. by Holi · · Score: 1

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

      --
      Sorry, teleporters just kill you and then make a copy. A perfect, soul-less copy.
    2. Re:Hillary Clinton? Duh. by fprintf · · Score: 2, Informative

      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.

      --
      This post brought to you by your friendly neighborhood MBA.
    3. Re:Hillary Clinton? Duh. by AKAImBatman · · Score: 1

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

    4. Re:Hillary Clinton? Duh. by Kenoli · · Score: 1

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

    5. Re:Hillary Clinton? Duh. by Anonymous Coward · · Score: 0

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

    6. Re:Hillary Clinton? Duh. by Anonymous Coward · · Score: 0

      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.
    7. Re:Hillary Clinton? Duh. by fractalboy · · Score: 0

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

    8. Re:Hillary Clinton? Duh. by witherstaff · · Score: 1

      I'm curious what the Ron Paul love among developers and code is.

  7. Satan, Britney Spears by towelie-ban · · Score: 3, Funny

    Those are just synonyms, right?

    1. Re:Satan, Britney Spears by Redbaran · · Score: 1

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

    2. Re:Satan, Britney Spears by elrous0 · · Score: 1
      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.

      --
      SJW: Someone who has run out of real oppression, and has to fake it.
    3. Re:Satan, Britney Spears by sadgoblin · · Score: 0

      Satan > Britney

    4. Re:Satan, Britney Spears by The+Redster! · · Score: 1

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

    5. Re:Satan, Britney Spears by Anonymous Coward · · Score: 0

      No. Satan is nowhere near as bitchy and doesn't have fake tits.

  8. I predict that.. by Thelasko · · Score: 3, Funny

    Tipper Gore and the Parents Software Resource Center 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

    --
    One of our competitors trademarked the term "hypothesis". From now on, we will call them "boneheaded ideas".
    1. Re:I predict that.. by Thelasko · · Score: 1

      That's not funny! Hans Riser killed his wife because the source code told him to do it. We have censor the source code to prevent these acts of violence from happening again!

      --
      One of our competitors trademarked the term "hypothesis". From now on, we will call them "boneheaded ideas".
    2. Re:I predict that.. by Thelasko · · Score: 1

      the PSRC proposal is an ill-conceived piece of nonsense which fails to deliver any real benefits to children, infringes the civil liberties of people who are not children, and promises to keep the courts busy for years dealing with the interpretational and enforcemental problems inherent in the proposal's design.

      --
      One of our competitors trademarked the term "hypothesis". From now on, we will call them "boneheaded ideas".
  9. f[u#s]ck(ing)? by El_Muerte_TDS · · Score: 1

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

    1. Re:f[u#s]ck(ing)? by SanityInAnarchy · · Score: 1

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

      --
      Don't thank God, thank a doctor!
  10. Sorry, but... by Anonymous Coward · · Score: 0

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

    I mean, really, who really cares about this?

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

    there.

  11. What, no examples? by Frosty+Piss · · Score: 2, Insightful

    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.

    --
    If you want news from today, you have to come back tomorrow.
    1. Re:What, no examples? by Col.+Klink+(retired) · · Score: 1
      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.
      --

      -- Don't Tase me, bro!

  12. Hee! by Rob+T+Firefly · · Score: 2, Funny

    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?

    1. Re:Hee! by thatskinnyguy · · Score: 1

      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.

      --
      The game.
    2. Re:Hee! by cbart387 · · Score: 2, Funny
      A little offtopic but related ... for an infinite loop in C

      #define EVER ;;
      for(EVER){
      ...
      }
      --
      Lack of planning on your part does not constitute an emergency on mine.
    3. Re:Hee! by SQLGuru · · Score: 1

      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

    4. Re:Hee! by Muad'Dave · · Score: 1
      CAT A507051 ISO 1 - 15 ADOPTION OREO 6.25


      Cool!!! An ISO-standard cat!

      What are ISO standards 1 thru 15, anyway?

      1. "Proper Method for Furniture Destruction by Willful Application of Claws"
      2. "Method for Waste Burial in an Attapulgite Clay Medium"
      3. "Procedure for Maximal Shedding, and Subsequent Hairball Production"
      4. "Hairball Trajectory Management"
      5. "Proper Method for control of Insect and Bird Population, with Emphasis on Proper Placement on Owner's Pillow"
      Need I go on?
      --
      Tiller's Rule: Never use a word in written form that you've only heard and never read. You will end up looking foolish.
    5. Re:Hee! by SQLGuru · · Score: 1

      In this case, it's ISOlation.....the cat was recovering (possibly from being "fixed").

      Layne

  13. Knuth appears, but... by serviscope_minor · · Score: 1

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

    --
    SJW n. One who posts facts.
  14. Is the summary wrong or is the article misleading? by LighterShadeOfBlack · · Score: 4, Informative

    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.

    --
    Spelling mistakes, grammatical errors, and stupid comments are intentional.
  15. in code, or in comments? by Briden · · Score: 2, Interesting

    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.

    1. Re:in code, or in comments? by Cro+Magnon · · Score: 4, Funny

      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.

      --
      Slow down, cowboy! It has been 4 hours since you last posted. You must wait another few hours.
    2. Re:in code, or in comments? by ewanm89 · · Score: 1

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

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

    3. Re:in code, or in comments? by Mercano · · Score: 1

      naming a class HillaryClinton is just ridiculous. I wonder if there are variables named intCheatCount in the diebold software? Well, there's probably one in the BillClinton class.
      --
      #include <signature.h>
    4. Re:in code, or in comments? by Anonymous Coward · · Score: 0

      Perform B^Heat-my-wife Until She-Screams.

  16. Tried a Google Code Search and ... by gzipped_tar · · Score: 1

    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.

    --
    Colorless green Cthulhu waits dreaming furiously.
  17. He was a terrible pilot. by FatSean · · Score: 0

    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.

    --
    Blar.
  18. Re:Diebold comments by maxume · · Score: 1

    // I think this works

    Never mistake incompetence for intention.

    --
    Nerd rage is the funniest rage.
  19. Re:fist-hand by maxume · · Score: 2, Funny

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

    That's even more vile than I thought.

    --
    Nerd rage is the funniest rage.
  20. They missed #1 completely by rozthepimp · · Score: 1

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

  21. I don't see why by Anonymous Coward · · Score: 0

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

  22. Amusing anagrams by pandrijeczko · · Score: 4, Funny
    Paris Hilton - Hail, it's porn!

    Britney Spears - Prissy bra teen

    --
    Gentoo Linux - another day, another USE flag.
    1. Re:Amusing anagrams by Anonymous Coward · · Score: 1, Funny

      Jeremy Irons - Jeremy's Iron ...

      What?

  23. Bad Article Summary. by Anonymous Coward · · Score: 0

    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.

  24. cout by DarkOx · · Score: 1

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

    --
    Repeal the 17th Amendment TODAY! Also Please Read http://www.gnu.org/philosophy/right-to-read.html
  25. Right-wing punditry has helped Clinton by FatSean · · Score: 1

    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.

    --
    Blar.
  26. Well, good! by FatSean · · Score: 4, Interesting

    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.

    --
    Blar.
    1. Re:Well, good! by evanbd · · Score: 1

      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.

    2. Re:Well, good! by GregNorc · · Score: 1

      We should lobby to have a label for diet coke and mentos warning not to mix the two.

  27. The real question is [OT, obviously]: by Anonymous Coward · · Score: 1, Funny

    how do you ork a cow??

    1. Re:The real question is [OT, obviously]: by Adambomb · · Score: 1

      Get off our lawns.

      --
      Ice Cream has no bones.
  28. RUSH by Anonymous Coward · · Score: 0

    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.

  29. Buffy the Vampire Slayer by Anonymous Coward · · Score: 0

    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.

  30. Not in my code, but... by geminidomino · · Score: 1

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

  31. LOV.IsDirty? by CNTOAGN · · Score: 1

    I was writing some routine a while back that included a class by the name of LocatorObjectValue (LOV for short) and it had a IsDirty flag. Unit tested, running green, and then noticed throughout the code: if (Lov.IsDirty)...

    1. Re:LOV.IsDirty? by Anonymous Coward · · Score: 0

      If it ain't dirty, you're not doing it right ;)

  32. Intuitive connections by StreetStealth · · Score: 3, Insightful

    Your Paris Hilton example is funny, but it is why I actually do sometimes use amusing function names -- I can more easily remember what they do if their silly names actually reference their behavior.

    --
    Your mind is clear / The things that you fear / Will fade with how much you / Believe what you hear
    1. Re:Intuitive connections by The+Cydonian · · Score: 2, 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.

  33. Islamic twist by mapkinase · · Score: 1

    I searched for "bismillah", "inshallah", "alhamdulillah".

    Not many hits, but I am glad some brothers remember Allah when coding... Alhamdulillah.

    --
    I do not believe in karma. "Funny"=-6. Do good and forbid evil. Yours, Oft-Offtopic Flamebaiting Troll.
  34. Programmers get punchy late at night. by fahrbot-bot · · Score: 1
    Way back in college, a review of a friend's OS class project code revealed the following line in a long list of, otherwise seriously documented, task scheduler variable declarations:

    unsigned int slice; /* A new fruit-flavored drink. */

    [ And, this guy finished his semester project over a weekend. ]

    --
    It must have been something you assimilated. . . .
  35. Wait! by girasquid · · Score: 1

    What about Cthulu?!

  36. Isn't that the same list as.. by tinkerton · · Score: 2, Funny

    the list of commonly used passwords?

    1. Re:Isn't that the same list as.. by frostoftheblack · · Score: 1

      Everyone knows the most commonly used passwords are god, love, secret, and sex.

      --
      Do not mark in this space. For official office use only.
  37. I think she was out of class at the time... by Anonymous Coward · · Score: 0

    oopsIDidItAgain();

  38. funny comment by trybywrench · · Score: 1

    I found a comment in my codebase that said something like "All i want to do is dance, dance, dance". I couldn't remember if i wrote it or my coworker... it was probably her seeing how i hate dancing. The code was about 4 years old.

    another one said "FIX ME BAD" i'm pretty sure i wrote that one heh

    --
    I came to the datacenter drunk with a fake ID, don't you want to be just like me?
    1. Re:funny comment by Anonymous Coward · · Score: 0

      I found a comment in my codebase that said something like "All i want to do is dance, dance, dance". I couldn't remember if i wrote it or my coworker... it was probably her seeing how i hate dancing. The code was about 4 years old.

      What, no version control to trace back who added that line?

      (Sad that VCS systems are still not as common as they should be, over 20 years after RCS and CVS hit the scene.)

  39. Re:Is the summary wrong or is the article misleadi by Anonymous Coward · · Score: 0

    I was thinking exactly the same thing--I was wondering if I was misinterpreting the article or something.

    It's really not surprising at all to me that these search terms would be used. People get confused, think they're using Google, and type them into the search engine.

  40. Someone can help here by blue_teeth · · Score: 1

    I remember reading very insightful commentary on concept of "time"
    in GNU info or manpages.

    Thanks
    BT

  41. Binks variable... by refactored · · Score: 4, Funny
    My Java library path variable is called binks.

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

  42. heh? Mark shuttleworth was your teachers fav? by rootpassbird · · Score: 1

    back then?

    --
    Hackers have long memories. It works both ways.
  43. Special names... by bwcbwc · · Score: 1

    Maybe ParisHilton is an abstract interface that has no class? I'm curious how many developers have actually used variables called foo and bar in live code (apart from cut/paste jobs from programming texts).

    --
    We are the 198 proof..
    1. Re:Special names... by jgrahn · · Score: 1

      I'm curious how many developers have actually used variables called foo and bar in live code (apart from cut/paste jobs from programming texts).

      I don't think I have ever done it. They are reserved for use in examples; using them elsewhere diminishes their power.

  44. Satan, Britney Spears Top Paris Hilton, eh? by grouchomarxist · · Score: 1

    I rented that DVD, not bad actually...

  45. buffyTheVampireSlayer and boxBruceleitner by Anonymous Coward · · Score: 0

    I have a buffer named "buffyTheVampireSlayer" and a JComboBox named boxBruceleitner in my code. And that's in a project for my day job. Why I did it? The work on that specific code was boring and getting on my nerves. This little bit of creativity eases the stress and makes work more pleasant. I only got in trouble once when some nosy customer who poked around in the binary didn't like what I used as prototype string for sizing an input field. My boss told me to change it and I replaced it with something that sounds like an Arab call to arms. But no one has noticed so far :-(

  46. Here's what I do.... by kehren77 · · Score: 1

    Just don't comment your code at all. That's the best prank you can pull on someone who has to deal with it after you.

    Plus after six months of not looking at it, you can enjoy the pleasure of trying to figure out what does what all over again. :)

  47. Re: Inside the Church of Satan by Anonymous Coward · · Score: 0

    Maybe THIS has something to do with it: Breaking news . . . www.InsideTheChurchOfSatan.com