• MicrosoftDev (unregistered)

    FIRST!

    this text for fooling the spam bot!

  • coward (unregistered)

    should be FRIST here, no cannot because, I wasn't fast enough yet!

  • MrBester (unregistered)

    256 is 80 in hex so there's a new WTF where a hex number is read as a decimal number and someone needed a constant

  • Mathlete (unregistered)

    What is that rubbish? Lines of five, seven and five give a real haiku.

  • (cs) in reply to MrBester
    MrBester:
    256 is 80 in hex so there's a new WTF
    Yes, that is a new WTF. When did people start referring to base 32 as "hex"?
  • Mr Clever Ideas (unregistered) in reply to MrBester
    MrBester:
    256 is 80 in hex so there's a new WTF where a hex number is read as a decimal number and someone needed a constant
    I assume you mean duotrigesimal, not hex? :-)
  • Nagesh (unregistered)

    In Hyderabad, if you are writeing code this teribal, you are ending up on unemployment bench.

    [image]
  • Mr Clever Ideas (unregistered)

    Oh - DCRoss posted a second before me. Base 32 as "hex"??

  • (cs) in reply to Mathlete
    Mathlete:
    What is that rubbish? Lines of five, seven and five give a real haiku.

    Lead flies from the tube, Brass, spirals down towards the ground, As does the victim.

  • does not matter (unregistered)

    The JUnit test case makes sense, at least a bit. If you start a JUnit test class without any test, it fails with an exception. But if you want to have a super class for your tests, it usually does not contain any tests, and JUnit will accuse this. Solution: Just implement such a non-sense test and be fine.

  • moz (unregistered)

    Should let you all know That Haiku-style comments suck

  • Bob (unregistered)

    The theory that a haiku contains 17 syllables and that there's anything special about this is singularly a geek meme.

    That this is also considered a form or poetry demonstrates that most geeks should stick to what they're good at.

    For future reference, things you might find in a good haiku: . 17 morae . a seasonal reference . a juxtaposition separated with a "cut"

  • Mathlete (unregistered) in reply to moz
    moz:
    Should let you all know That Haiku-style comments suck

    Insert missing line

  • (cs) in reply to PiisAWheeL

    5.8.5. Fail. Brass falls down towards the ground

  • Mathlete (unregistered) in reply to Bob
    Bob:
    The theory that a haiku contains 17 syllables and that there's anything special about this is singularly a geek meme.

    That this is also considered a form or poetry demonstrates that most geeks should stick to what they're good at.

    For future reference, things you might find in a good haiku: . 17 morae . a seasonal reference . a juxtaposition separated with a "cut"

    I bow down in awe at your skill to summarise Wikipedia.

  • (cs) in reply to Lockwood
    Lockwood:
    5.8.5. Fail. Brass falls down towards the ground

    I was counting towards as 1 syllable... sometimes my memory gets retarded on me. Anything else you want to nitpick at today?

    Its been a while, maybe it was brass spirals towards the ground.... I no longer care.

  • (cs)

    FRIST!

    // Edit as necessary... #define FRIST 16

  • (cs)
    I bow down in awe at your skill to summarise Wikipedia.

    Haha, that comment Had me in fits of laughter Do another one!

  • sehe (unregistered)
    Jimmi found yet another wrapper for the illusive '!' operator.

    Pretty sure "for the elusive '!' operator" was meant

  • Nagesh (unregistered) in reply to does not matter
    does not matter:
    The JUnit test case makes sense, at least a bit. If you start a JUnit test class without any test, it fails with an exception. But if you want to have a super class for your tests, it usually does not contain any tests, and JUnit will accuse this. Solution: Just implement such a non-sense test and be fine.
    Why you have JUnit test with no test method? Sound like JUnit write for throw exception.
  • (cs) in reply to sehe
    sehe:
    Jimmi found yet another wrapper for the illusive '!' operator.

    Pretty sure "for the elusive '!' operator" was meant

    Might have meant a synonym for illusory

  • Boog, I Am Your Father! (aka Behold The Return Of Zunesis!)! (unregistered) in reply to PiisAWheeL
    PiisAWheeL:
    Mathlete:
    What is that rubbish? Lines of five, seven and five give a real haiku.
    Lead flies from the tube, Brass, spirals down towards the ground, As does the victim.
    Cum stains my ceiling Memories of bad touching The midget is paid
  • bashō (unregistered) in reply to Mathlete
    Bob:
    17 morae a seasonal reference juxtaposition

    FTFY

  • ¯\(°_o)/¯ I DUNNO LOL (unregistered)
    private static bool InvertBool(bool org)
    {
        bool returnValue = false;
        if (org)
        {
           returnValue = false;
        }
        else if (!org)
        {
            returnValue = true;
        }
        else
        {
            returnValue = FileNotFound;
        }
        return returnValue;
    }
    
    Fixed.
  • lesle (unregistered) in reply to PiisAWheeL

    Towards is one syllable to me, also. I'm U.S. Midwest, overlaid with North Florida/South Alabama. Stand your ground!

  • lemortede (unregistered) in reply to lesle

    Yea, I think its 1 syllable too, but the internet disagrees with me.....But then again, I don't pronounce the 'T' when I say mountain. My grandma on the other side of the country adds an 'R' when she says wash. Its 'warsh' to her. I still have trouble understanding people in Boston. Regional dialects and accents can be fun.

  • anonymouser (unregistered) in reply to lesle
    lesle:
    Towards is one syllable to me, also. I'm U.S. Midwest, overlaid with North Florida/South Alabama. Stand your ground!

    Ah, so you pronounce it as if it rhymes with cord.

  • (cs) in reply to lemortede
    lemortede:
    Yea, I think its 1 syllable too, but the internet disagrees with me.....But then again, I don't pronounce the 'T' when I say mountain. My grandma on the other side of the country adds an 'R' when she says wash. Its 'warsh' to her. I still have trouble understanding people in Boston. Regional dialects and accents can be fun.
    So to you it's a mounain or a moun'ain (glo''al stop)?

    And don't get me started on the pronunciation oddities of folks from that large country north of Mexico. (Hint, I'm originally from the small country between Ireland and the North Sea. My accent has been well stirred by time there, 9 years north of Mexico, and several years in the north of France. I sound a bit like a Ch'ti when speaking French, I'm sure.)

    There is, of course, the more general problem of bath versus bahth, tomahto versus tomayto, etc.

  • (cs) in reply to Steve The Cynic
    Steve The Cynic:
    So to you it's a mounain or a moun'ain (glo''al stop)?
    I'm from northern California, and it's a mounʔn to me, too.

    By the way, I'm surprised nobody has bothered that guy who complains anytime someone posts an xkcd yet - you all missed the perfect opportunity to post a relevant one that I bet you has never been relevant to any previous tdwtf post. Much like Fahrzin's: xkcd.com/153

    That said, akismet apparently dislikes xkcd, too; it thinks I'm spamming on his behalf. Wonder if more words would help?

    answer: yes.

  • Smitt-Tay (unregistered)

    As previously stated: The Real WTF is using XML.

  • (cs)

    That tmpnum one ... just looks like some interpolation is being done. Further info needed, but doesn't seem as WTFish as all that.

  • This is not my real name (unregistered) in reply to ¯\(°_o)/¯ I DUNNO LOL
    ¯\(°_o)/¯ I DUNNO LOL:
    private static bool InvertBool(bool org)
    {
        bool returnValue = false;
    
    if (org == true)
    {
       returnValue = false;
    }
    else if (!org == false)
    {
        returnValue = true;
    }
    else
    {
        returnValue = FileNotFound;
    }
    
    if(returnValue == false)
    {
        return false;
    }
    else
    {
        return true;
    }
    
    // Default
    return FileNotFound;
    

    }

    Not fixed.

    Fixed.

  • (cs) in reply to anonymouser
    anonymouser:
    lesle:
    Towards is one syllable to me, also. I'm U.S. Midwest, overlaid with North Florida/South Alabama. Stand your ground!

    Ah, so you pronounce it as if it rhymes with cord.

    I pronounce it more like "tword" so sorta...

  • cappeca (unregistered)

    The invertBool thing is the result of too many idiots enforcing OO rules that everything has to be a method, lest you have a procedural program.

  • (cs) in reply to Bob
    Bob:
    The theory that a haiku contains 17 syllables and that there's anything special about this is singularly a geek meme.

    That this is also considered a form or poetry demonstrates that most geeks should stick to what they're good at.

    For future reference, things you might find in a good haiku: . 17 morae . a seasonal reference . a juxtaposition separated with a "cut"

    Fuck off Bob And your retarded kid, Take with you

    (Yes, I know it's not haiku, but I could be arsed to write a correct one now)

  • John (unregistered)

    So...the replacement for the '!' operator includes the '!' in its code. WTF.

    Captcha: wisi - What I see is. I don't normally post captchas, but to give this a spin on Descartes: "I see, therefore you are."

  • n_slash_a (unregistered) in reply to cappeca
    code:
    tmpnum6 = tmpnum2 + tmpnum * (tmpnum4 - tmpnum2); tmpnum7 = tmpnum3 + tmpnum * (tmpnum5 - tmpnum3); tmpnum8 = tmpnum6 + tmpnum1 * (tmpnum7 - tmpnum6);
    TRWTF is using 'tmp' instead of 'temp' to denote a temporary variable
  • Boog, I Am Your Father! (aka Behold The Return Of Zunesis!)! (unregistered) in reply to C-Octothorpe
    C-Octothorpe:
    Bob:
    The theory that a haiku contains 17 syllables and that there's anything special about this is singularly a geek meme.

    That this is also considered a form or poetry demonstrates that most geeks should stick to what they're good at.

    For future reference, things you might find in a good haiku: . 17 morae . a seasonal reference . a juxtaposition separated with a "cut"

    Fuck off Bob And your retarded kid, Take with you

    (Yes, I know it's not haiku, but I could be arsed to write a correct one now)

    Fuck off Bob and son Skull fuck his retarded face Among falling leaves

    (I'm getting there, much better than my limerick)

  • Scott (unregistered)
    tmpnum6 = tmpnum2 + tmpnum * (tmpnum4 - tmpnum2); tmpnum7 = tmpnum3 + tmpnum * (tmpnum5 - tmpnum3); tmpnum8 = tmpnum6 + tmpnum1 * (tmpnum7 - tmpnum6);

    While the variables could certainly be named better, to me this looks like someone is trying to position something some percent of the way in a range. tmpnum's 4, 5, and 7 are the lower bounds of the range and 2, 3, and 6 are the upper bounds. tmpnum and tmpnum1 are the percentages.

    Of course, variables like 'left', 'right', and 'percent' might have been helpful.

  • Scott_Babu (unregistered)

    tmpnum6 = tmpnum2 + tmpnum * (tmpnum4 - tmpnum2); tmpnum7 = tmpnum3 + tmpnum * (tmpnum5 - tmpnum3); tmpnum8 = tmpnum6 + tmpnum1 * (tmpnum7 - tmpnum6);

    Its part of a drum machine chang1 chang2 tata0 tata1

    feel the beat

  • (cs)

    Why all this bother About temp variables Just shut the f*ck up

  • (cs) in reply to MicrosoftDev
    Code:
    tmpnum6 = tmpnum2 + tmpnum * (tmpnum4 - tmpnum2);
    tmpnum7 = tmpnum3 + tmpnum * (tmpnum5 - tmpnum3);
    tmpnum8 = tmpnum6 + tmpnum1 * (tmpnum7 - tmpnum6);
    Looks kind of like some signal filtering code.

    Oh, or:

    Scott:

    While the variables could certainly be named better, to me this looks like someone is trying to position something some percent of the way in a range. tmpnum's 4, 5, and 7 are the lower bounds of the range and 2, 3, and 6 are the upper bounds. tmpnum and tmpnum1 are the percentages.

    Of course, variables like 'left', 'right', and 'percent' might have been helpful.

    Yes, this could be part of a 2-axis lookup. Incidentally, the math is the same in both cases.

    I wonder what other problems fit this code?

  • sisenuZ toN (unregistered) in reply to This is not my real name
     private static bool InvertBoog(bool a$$)
        {
    	bool returnValue = false;
    
    	if (!a$$)
    	{
                    // a$$NotFound
    		returnValue = false;
    	}
    	if (a$$)
    	{
    		returnValue = true;
    	}
    
    	return returnValue;            
        }
    
  • (cs) in reply to does not matter
    does not matter:
    The JUnit test case makes sense, at least a bit. If you start a JUnit test class without any test, it fails with an exception. But if you want to have a super class for your tests, it usually does not contain any tests, and JUnit will accuse this. Solution: Just implement such a non-sense test and be fine.

    It actually may be a Canary test. It is an odd way of doing it (not naming it Canary test), but could serve the same purpose.

    Google TDD Canary tests...

  • Nagesh-saki (unregistered)

    TRWTF is that someone considers Haiku so amazing as a poetic art form that we all know what it is.

  • valetudo (unregistered) in reply to C-Octothorpe
    C-Octothorpe:
    Bob:
    The theory that a haiku contains 17 syllables and that there's anything special about this is singularly a geek meme.

    That this is also considered a form or poetry demonstrates that most geeks should stick to what they're good at.

    For future reference, things you might find in a good haiku: . 17 morae . a seasonal reference . a juxtaposition separated with a "cut"

    Fuck off Bob And your retarded kid, Take with you

    (Yes, I know it's not haiku, but I could be arsed to write a correct one now)

    The lack of a comma on the first line disturbs me.

  • (cs) in reply to valetudo
    valetudo:
    C-Octothorpe:
    Bob:
    The theory that a haiku contains 17 syllables and that there's anything special about this is singularly a geek meme.

    That this is also considered a form or poetry demonstrates that most geeks should stick to what they're good at.

    For future reference, things you might find in a good haiku: . 17 morae . a seasonal reference . a juxtaposition separated with a "cut"

    Fuck off Bob And your retarded kid, Take with you

    (Yes, I know it's not haiku, but I could be arsed to write a correct one now)

    The lack of a comma on the first line disturbs me.

    Proofreading?! We don't need no stinkin' proofreading!!

  • Fred (unregistered) in reply to moz
    moz:
    Should let you all know That Haiku-style comments suck
    I'm doing it too
  • efs (unregistered) in reply to anonymouser
    anonymouser:
    lesle:
    Towards is one syllable to me, also. I'm U.S. Midwest, overlaid with North Florida/South Alabama. Stand your ground!

    Ah, so you pronounce it as if it rhymes with cord.

    Then use poetic grammars...."T'ward"

  • JJ what J (unregistered) in reply to QJo
    QJo:
    That tmpnum one ... just looks like some interpolation is being done. Further info needed, but doesn't seem as WTFish as all that.
    You suck. USing that many temporary variables with stupid names and no comment to explain is always a FAIL

Leave a comment on “Schizophrenic Haiku Comments and More”

Log In or post as a guest

Replying to comment #:

« Return to Article