• (cs) in reply to Anon Ymous
    Anon Ymous:
    Steve The Cynic:
    katy:
    ...
    My brain jumped the tracks here. What just happened?

    Several people used the word "doom" repeatedly in previous comments. The word is like fly paper for "Invader Zim" fanatics.

    Ah, I see. This is American popular culture that appeared somewhere in the years after I moved back to the UK. And seeing as how my interest in watching children's TV (including for-teens TV, thanks) is about equal to the number of children I have (a round number), I missed it when it wandered onto Nickelodeon's European offerings (assuming it did...). Ho hum.

  • Zost (unregistered)

    Managers should seldom be writing code. The fact that his manager was the moron who wrote that piece of crap in the first place is just further evidence of that. Managers should stick to what they are being paid to do: manage people. Let the developers code.

  • Ben Jammin (unregistered) in reply to Joe
    Joe:
    2 chances in 4 would be... 50/50.
    2/4 = 50/50? I'll believe it when I see it.

    Semantics aside, and as said before, it's more like 1/3.

  • Hasse (unregistered) in reply to snoofle
    snoofle:
    I've done something somewhat similar, but with warning message prompts: randomize the sequence of prompt questions (typically requiring both yes and no answers. E.g.: Are you sure you want to proceed? [n] Do you wish to abort? [y]). This way, they don't get in the habit of auto-typing y-n to get past it and actually need to momentarily think about what they're doing.

    Although..... File Not Found might be an interesting choice to offer...

    On a project long time ago we programmed, in the long nightly hours, a few screens with choices "Yes", "No" and "Maybe", where Maybe had a 50/50% for Yes or No.

    Next time I will add "Save the Presidents Daughter" as a choice.

  • Dave (unregistered) in reply to Ben Jammin
    Ben Jammin:
    Nagesh:
    Will A:
    TRWTF is not switching from debug mode to release mode?

    Very rarely is that activity followed at all. Mostly we are releasing debug software to production environments. If we are asked why, the answer is it works well in debug version. If need be, we can debug in production. This need always occurs.

    Other benefits include running slower and showing dirty errors to users.

    Dirty, dirty errors :)

  • chris (unregistered) in reply to anonim
    anonim:
    re: penguin of doom: I don't know what is the saddest part: - that some random 13-year old posted that drivel on a rainbows and unicorns page, or - that it was pasted here by a beer-bellied, unshaven and unemployed 43-year old male in here.
    I think the Feds have come to investigate our perversions...
  • (cs) in reply to Gyxi
    Gyxi:
    TRWTF is so many people looking for TRWTF in a story which already contains a RWTF.
    TRWTF is that the guy who wrote this was promoted into management.
  • (cs) in reply to RichP
    RichP:
    Oh, I just saw the movie, so I know how it happened. (spoiler alert!) See, both sides of his (the manager's) coin used to be heads, so even though he pretended to be leaving the decision to chance, he knew the outcome would always be heads (resulting in a 404 in this case). Then one side got deformed in the same fire that burned the left half of his face.

    Meanwhile, the Joker broke the redirect page.

    But what happened to the president's daughter?

  • (cs) in reply to Steve The Cynic
    Steve The Cynic:
    katy:
    hi every1 im new!!!!!!! holds up spork my name is katy but u can call me t3h PeNgU1N oF d00m!!!!!!!! lol…as u can see im very random!!!! thats why i came here, 2 meet random ppl like me _… im 13 years old (im mature 4 my age tho!!) i like 2 watch invader zim w/ my girlfreind (im bi if u dont like it deal w/it) its our favorite tv show!!! bcuz its SOOOO random!!!! shes random 2 of course but i want 2 meet more random ppl =) like they say the more the merrier!!!! lol…neways i hope 2 make alot of freinds here so give me lots of commentses!!!! DOOOOOMMMM!!!!!!!!!!!!!!!! <--- me bein random again _^ hehe…toodles!!!!!

    love and waffles,

    t3h PeNgU1N oF d00m

    My brain jumped the tracks here. What just happened?
    Apparently, the president's daughter still has a fever.

    Addendum (2013-04-25 12:19): And now we know her name is katy.

  • EsotericNonsense (unregistered) in reply to Zost
    Zost:
    Managers should seldom be writing code. The fact that his manager was the moron who wrote that piece of crap in the first place is just further evidence of that. Managers should stick to what they are being paid to do: manage people. Let the developers code.

    I believe there is nothing wrong with having developers manage people so long as said manager is both a competent manager and developer.

    That being said the code this man wrote proves that he was not in fact a competent developer.

  • Tasty (unregistered) in reply to Your Name
    Your Name:
    Seems more like 2 chances in 4 to me...

    Least Common Denominator: 2/4 = 1/2

    A two-headed coin has a 100% chance of heads.

  • (cs) in reply to EsotericNonsense
    EsotericNonsense:
    Zost:
    Managers should seldom be writing code. The fact that his manager was the moron who wrote that piece of crap in the first place is just further evidence of that. Managers should stick to what they are being paid to do: manage people. Let the developers code.

    I believe there is nothing wrong with having developers manage people so long as said manager is both a competent manager and developer.

    That being said the code this man wrote proves that he was not in fact a competent developer.

    Let's not rush to judgement here (says the guy who rushed to judgement at #406569). Perhaps he coded it over his objections. I know I have some skeletons in my closet I wish I'd pushed back against a bit harder, rather than doing as told.

  • Tasty (unregistered) in reply to me
    me:
    At least he translated the declined message!
    He declined the translation.

    The real WTF is writing this in a JSP scriptlet. See the %-less-than tags.

  • (cs) in reply to Steve The Cynic
    Steve The Cynic:
    Ah, I see. This is American popular culture that appeared somewhere in the years after I moved back to the UK. And seeing as how my interest in watching children's TV (including for-teens TV, thanks) is about equal to the number of children I have (a round number), I missed it when it wandered onto Nickelodeon's European offerings (assuming it did...). Ho hum.

    Jhonen Vasquez, the genius behind Invader Zim, also wrote comics such as Johnny the Homocidal Maniac, Squee, Happy Noodle Boy, and Fillerbunny. Oh, and Everything Can Be Beaten. Check those out to see what type of mind he has.

    He did incorporate that dark side into Invader Zim. Which is why the plug was pulled on the show so quickly.

  • jay (unregistered) in reply to Sherman
    Sherman:
    katy:
    hi every1 im new!!!!!!! holds up spork my name is katy but u can call me t3h PeNgU1N oF d00m!!!!!!!! lol…as u can see im very random!!!! thats why i came here, 2 meet random ppl like me _… im 13 years old (im mature 4 my age tho!!) i like 2 watch invader zim w/ my girlfreind (im bi if u dont like it deal w/it) its our favorite tv show!!! bcuz its SOOOO random!!!! shes random 2 of course but i want 2 meet more random ppl =) like they say the more the merrier!!!! lol…neways i hope 2 make alot of freinds here so give me lots of commentses!!!! DOOOOOMMMM!!!!!!!!!!!!!!!! <--- me bein random again _^ hehe…toodles!!!!!

    love and waffles,

    t3h PeNgU1N oF d00m

    You spelled "friends" incorrectly.

    The correct spelling is "fiends".

  • jay (unregistered)

    This sounds like a great way to have fun with the testers, though. Tell them that before they submit a bug report, they must be able to reproduce the problem. Then throw in some code like this, but make one branch of the IF actually work. So 2/3 of the time the program works, but give the exact same inputs and 1/3 of the time it doesn't work! Way cool!

  • jay (unregistered) in reply to Some Damn Yank
    Some Damn Yank:
    Gyxi:
    TRWTF is so many people looking for TRWTF in a story which already contains a RWTF.
    TRWTF is that the guy who wrote this was promoted into management.

    They had to promote him to management so he wouldn't be coding any more.

  • (cs) in reply to VinDuv
    VinDuv:
    Watever:
    I think the developer of the original code used to work at my company. He had a fight with management, and started littering the code base with exceptions thrown according to random variables. Classy fella :)
    Adding code to do this is TRWTF. He should have used an annotation.

    That project is garbage! There is no Source.THE_DAILY_WTF

    @ObligatoryQuote( quote = "Should support FileNotFound" source = Source.THE_DAILY_WTF, citation = "http://thedailywtf.com/Articles/What_Is_Truth_0x3f_.aspx") public boolean isActive() {...}

    Until then, I'm not using it!

  • secundum (unregistered) in reply to Tasty
    Tasty:
    Your Name:
    Seems more like 2 chances in 4 to me...

    Least Common Denominator: 2/4 = 1/2

    A two-headed coin has a 100% chance of heads.

    Amateur. Thanks to quantum mechanics, There is a small but real possibility that the coin will simply pass through, and not land at all. Not to mention the possibility that the coin will in fact land on edge. So really, a two headed coin has only a 99.999999% chance of being heads.

  • (cs) in reply to secundum
    secundum:
    Amateur. Thanks to quantum mechanics, There is a small but real possibility that the coin will simply pass through, and not land at all. Not to mention the possibility that the coin will in fact land on edge. So really, a two headed coin has only a 99.999999% chance of being heads.

    Closer to 99.9% repeating, of course. Infinitesimally small and easily/practically ignorable.

  • (cs)

    If it's half the time, why did the OP just start seeing this error now? The article makes it sound like this was not a fresh commit.

  • foo (unregistered)

    What's up? More than one page of comments and no obligatory xkcd reference?

  • (cs)

    So, now we have a definition of insanity?

    We always try the same thing and expect different results?

    Now this is a computer program that guarantees the person is insane!

    What a country!

  • Philibert (unregistered)

    This is so obviously for A/B testing purpose...

  • (cs)

    Why hasn't anyone said that Java is the TRWTF yet?

  • Sherman (unregistered) in reply to foo
    foo:
    What's up? More than one page of comments and no obligatory xkcd reference?
    Nice...I clicked it twice just to make sure.
  • (cs)

    You mean "coincidentally." It would only be ironic if the manager had implemented the code for the express purpose of preventing erroneous redirects and exceptions.

  • (cs) in reply to Y_F
    Y_F:
    VinDuv:
    Adding code to do this is TRWTF. He should have used an annotation.
    That project is garbage! There is no Source.THE_DAILY_WTF
    But there is a @WTF annotation, and I'm sure we can submit a patch to get the @PleaseDontShowUpOn annotation working with here as well.

    Definitely @ObligatoryQuote(quote="maybe I needing later", source=Source.THEDAILYWTF) for that whole module…

  • Jazz (unregistered)
    ...his manager who was, ironically, the Machiavellian developer responsible for the code in the first place.

    That's not ironic at all. 90% of all software issues are the direct result of management decisions.

    (CAPTCHA: "damnum" -- those managers, damnum all to hell!)

  • (cs) in reply to katy
    katy:
    hi every1 im new!!!!!!! holds up spork my name is katy but u can call me t3h PeNgU1N oF d00m!!!!!!!! lol…as u can see im very random!!!! thats why i came here, 2 meet random ppl like me _… im 13 years old (im mature 4 my age tho!!) i like 2 watch invader zim w/ my girlfreind (im bi if u dont like it deal w/it) its our favorite tv show!!! bcuz its SOOOO random!!!! shes random 2 of course but i want 2 meet more random ppl =) like they say the more the merrier!!!! lol…neways i hope 2 make alot of freinds here so give me lots of commentses!!!! DOOOOOMMMM!!!!!!!!!!!!!!!! <--- me bein random again _^ hehe…toodles!!!!!

    love and waffles,

    t3h PeNgU1N oF d00m

    I see one of two possibilities here:

    (1) This is an actual 13-year-old who somehow wandered into this thread where the word "random" is of genuine significance.

    (2) This is the next level of impersonation, putting all past Nageshi to shame.

  • (cs) in reply to da Doctah
    da Doctah:
    I see one of two possibilities here:

    (1) This is an actual 13-year-old who somehow wandered into this thread where the word "random" is of genuine significance.

    (2) This is the next level of impersonation, putting all past Nageshi to shame.

    You all fail internet forever. It's (3) Copypasta.

  • (cs) in reply to Zylon
    Zylon:
    da Doctah:
    I see one of two possibilities here:

    (1) This is an actual 13-year-old who somehow wandered into this thread where the word "random" is of genuine significance.

    (2) This is the next level of impersonation, putting all past Nageshi to shame.

    You all fail internet forever. It's (3) Copypasta.

    As our famous director Mr Karan Johar says, originality is dead.

  • (cs) in reply to katy
    katy:
    hi every1 im new!!!!!!! holds up spork my name is katy but u can call me t3h PeNgU1N oF d00m!!!!!!!! lol…as u can see im very random!!!! thats why i came here, 2 meet random ppl like me _… im 13 years old (im mature 4 my age tho!!) i like 2 watch invader zim w/ my girlfreind (im bi if u dont like it deal w/it) its our favorite tv show!!! bcuz its SOOOO random!!!! shes random 2 of course but i want 2 meet more random ppl =) like they say the more the merrier!!!! lol…neways i hope 2 make alot of freinds here so give me lots of commentses!!!! DOOOOOMMMM!!!!!!!!!!!!!!!! <--- me bein random again _^ hehe…toodles!!!!!

    love and waffles,

    t3h PeNgU1N oF d00m

    "im 13 years old (im mature 4 my age tho!!)"

    If this is true, then I can only suppose that teenagers nowadays are rarely out of diapers. I am seriously depressed for the world.

  • (cs) in reply to Nagesh
    Nagesh:
    As our famous director Mr Karan Johar says, originality is dead.

    More elegantly stated as, "Simpsons did it."

  • Welch (unregistered) in reply to Valued Service
    Valued Service:
    Tractor:
    So if it's random, how can he reproduce the result at will?

    The occurrence of an error isn't random, the action taken once an error is received is random.

    If an error occurs (which he could reproduce at will), the result is either an exception or a 404 not found.

    Which also means that the redirect destination didn't exist.

    No, the original text, "Brian could reproduce both results at will," most certainly implies that Brian could choose which error he got.

  • Welch (unregistered) in reply to da Doctah
    da Doctah:
    katy:
    hi every1 im new!!!!!!! holds up spork my name is katy but u can call me t3h PeNgU1N oF d00m!!!!!!!! lol…as u can see im very random!!!! thats why i came here, 2 meet random ppl like me _… im 13 years old (im mature 4 my age tho!!) i like 2 watch invader zim w/ my girlfreind (im bi if u dont like it deal w/it) its our favorite tv show!!! bcuz its SOOOO random!!!! shes random 2 of course but i want 2 meet more random ppl =) like they say the more the merrier!!!! lol…neways i hope 2 make alot of freinds here so give me lots of commentses!!!! DOOOOOMMMM!!!!!!!!!!!!!!!! <--- me bein random again _^ hehe…toodles!!!!!

    love and waffles,

    t3h PeNgU1N oF d00m

    I see one of two possibilities here:

    (1) This is an actual 13-year-old who somehow wandered into this thread where the word "random" is of genuine significance.

    (2) This is the next level of impersonation, putting all past Nageshi to shame.

    My first guess was that it's satire base on the popular misuse of the word "random" (among other things), but... why?

  • trucking foll (unregistered) in reply to Tractor
    Tractor:
    So if it's random, how can he reproduce the result at will?

    He went to Will -- met him at his house -- and reproduced the results.

  • Captain Oblivious (unregistered) in reply to chubertdev
    chubertdev:
    secundum:
    Amateur. Thanks to quantum mechanics, There is a small but real possibility that the coin will simply pass through, and not land at all. Not to mention the possibility that the coin will in fact land on edge. So really, a two headed coin has only a 99.999999% chance of being heads.

    Closer to 99.9% repeating, of course. Infinitesimally small and easily/practically ignorable.

    You must have missed that year of calculus. :(

  • (cs) in reply to Captain Oblivious
    Captain Oblivious:
    chubertdev:
    secundum:
    Amateur. Thanks to quantum mechanics, There is a small but real possibility that the coin will simply pass through, and not land at all. Not to mention the possibility that the coin will in fact land on edge. So really, a two headed coin has only a 99.999999% chance of being heads.

    Closer to 99.9% repeating, of course. Infinitesimally small and easily/practically ignorable.

    You must have missed that year of calculus. :(

    heh

  • Your Name (unregistered) in reply to BoB
    BoB:
    TRWTF is that debuggingEnabled is TRUE on the production site.
    It's not (necessarily). Reread the code; the only part that's conditional on debuggingEnabled is printing "Redirecting...".
  • Friedrice The great (unregistered) in reply to Tractor
    Tractor:
    So if it's random, how can he reproduce the result at will?

    Cuz they also rolled their own "random" function?

  • Friedrice The great (unregistered) in reply to Ben Jammin
    Ben Jammin:
    Nagesh:
    Will A:
    TRWTF is not switching from debug mode to release mode?

    Very rarely is that activity followed at all. Mostly we are releasing debug software to production environments. If we are asked why, the answer is it works well in debug version. If need be, we can debug in production. This need always occurs.

    Other benefits include running slower and showing dirty errors to users.

    I love it when you show me dirty errors.

  • Bill C. (unregistered) in reply to Friedrice The great
    Friedrice The great:
    Ben Jammin:
    Nagesh:
    Will A:
    TRWTF is not switching from debug mode to release mode?
    Very rarely is that activity followed at all. Mostly we are releasing debug software to production environments. If we are asked why, the answer is it works well in debug version. If need be, we can debug in production. This need always occurs.
    Other benefits include running slower and showing dirty errors to users.
    I love it when you show me dirty errors.
    I didn't love it when she showed our dirty errors. The only good luck was that she wasn't underage like Katy.
  • BushIdo (unregistered) in reply to Nagesh

    Nonsense.

    Schopenhauers said you can will, but you can not will to will.

    You will all die.

    Die.

  • BushIdo (unregistered) in reply to chubertdev
    chubertdev:

    So "... some students either begin to disbelieve the first equation or simply become frustrated."

  • PunctuallyChallenged (unregistered) in reply to snoofle

    Aaarrggghhh, I want to smack people like you. Just because I've come to learn what prompt to expect doesn't mean I'm not giving the answer any thought. I should be able to provide my intended (and thoughtful) answer in a consistent way every time. The keys on my keyboard don't change positions randomly, yet I still manage to type out what I intend to type out without looking at the printed letters on the keys.

    Rule 17 of UI design: if you think you're clever enough to outsmart the user by interpreting what they really want based on what they say they want, you're not.

  • PunctuallyChallenged (unregistered) in reply to PunctuallyChallenged

    Forgot to quote the guy who said he likes to randomize the order of Y/N prompts to users.

  • (cs) in reply to BushIdo
    BushIdo:
    chubertdev:

    So "... some students either begin to disbelieve the first equation or simply become frustrated."

    If you're frustrated, that's not my problem. Maybe consult your doctor.

  • jay (unregistered) in reply to trucking foll
    trucking foll:
    Tractor:
    So if it's random, how can he reproduce the result at will?

    He went to Will -- met him at his house -- and reproduced the results.

    If he's reproducing with Will, I take it "Will" is short for "Wilhemina".

  • (cs) in reply to Zylon
    Zylon:
    da Doctah:
    I see one of two possibilities here:

    (1) This is an actual 13-year-old who somehow wandered into this thread where the word "random" is of genuine significance.

    (2) This is the next level of impersonation, putting all past Nageshi to shame.

    You all fail internet forever. It's (3) Copypasta.

    Everything about this entire thing makes my insides sad.

Leave a comment on “Coin Toss of Doom”

Log In or post as a guest

Replying to comment #406575:

« Return to Article