• (cs)

    I have spent some time now looking through these projects and each one I look at I just laugh and sometimes even say WTF out loud!

    First! (sorry had to do it)

  • (cs)

    That C2NE XML cache is actually pretty clear if you style it the right way. Open the file in Firefox, apply the following CSS and enjoy ;)

    • {background-color: white; border: 1px solid black; padding: 5px; margin: 5px; display: block; float: left} *:hover {background-color: rgb(255,255,200); border-width: 3px; padding: 4px; margin: 4px} number {border-color: red} symbol {border-color: blue}
  • (cs) in reply to PsychoCoder
    PsychoCoder:
    I have spent some time now looking through these projects and each one I look at I just laugh and sometimes even say WTF out loud!
    I agree. This series will provide "hours of fun". A great archive of WTFness. Brillant idea Alex. Paula couldn't have done better!
  • (cs)

    Calculator 2.0 (http://omg.worsethanfailure.com/Entries/ViewEntry.aspx?id=100317) doesn't build here, it dies with:

    passion:~/Desktop/omgwtf-submission$ make g++ -Wall -g pkg-config --cflags gtk+-2.0 pkg-config --libs gtk+-2.0 Main.cpp CalcFunc.cpp lisp.cpp database.cpp ieeefp.cpp -o calculator lisp.cpp: In function ‘LispObject& makeSymbol(const std::string&)’: lisp.cpp:14: error: ‘assert’ was not declared in this scope lisp.h: In constructor ‘LispObject::LispObject(const std::string&)’: lisp.h:26: warning: ‘LispObject::refCount’ will be initialized after lisp.h:22: warning: ‘const LispType LispObject::type’ lisp.cpp:55: warning: when initialized here lisp.cpp:63: error: ‘assert’ was not declared in this scope lisp.h: In constructor ‘LispObject::LispObject(LispObject&, LispObject&)’: lisp.h:26: warning: ‘LispObject::refCount’ will be initialized after lisp.h:22: warning: ‘const LispType LispObject::type’ lisp.cpp:68: warning: when initialized here lisp.h: In constructor ‘LispObject::LispObject(float)’: lisp.h:26: warning: ‘LispObject::refCount’ will be initialized after lisp.h:22: warning: ‘const LispType LispObject::type’ lisp.cpp:75: warning: when initialized here lisp.h:31: warning: ‘LispObject::number’ will be initialized after lisp.h:29: warning: ‘LispObject* LispObject::car’ lisp.cpp:75: warning: when initialized here lisp.cpp: In function ‘LispObject& read(std::istream&)’: lisp.cpp:160: error: ‘assert’ was not declared in this scope lisp.cpp: In function ‘void write(LispObject&, std::ostream&)’: lisp.cpp:182: error: ‘assert’ was not declared in this scope lisp.cpp: In function ‘void writeSexpr(LispObject&, std::ostream&)’: lisp.cpp:205: error: ‘assert’ was not declared in this scope lisp.cpp: In function ‘bool eq(LispObject&, LispObject&)’: lisp.cpp:230: error: ‘assert’ was not declared in this scope lisp.cpp: In function ‘LispObject& assoc(LispObject&, LispObject&)’: lisp.cpp:244: error: ‘assert’ was not declared in this scope lisp.cpp: In function ‘LispObject& zip(LispObject&, LispObject&)’: lisp.cpp:292: error: ‘assert’ was not declared in this scope lisp.cpp: In function ‘LispObject& eval(LispObject&, LispObject&)’: lisp.cpp:301: error: ‘assert’ was not declared in this scope make: ** [calculator] Erro 1

    This is Ubuntu 7.04. Is this an intentional WTF? :)

  • (cs)
    Rembrand van Lakwijk's entry validates calculations by running each calculation several times in several different methods, then compares the results. It's hard to sum it up briefly, but taking a look at his code is highly recommended. (The Rembinator)

    So basically, it's a variation of N-programming, with the WTF being in a calculator?

    Doesn't sound very WTF-ery, if your calculator is going into space or some such. After all, that's why those computers are majority-voting. On the ISS, you can't guarantee that doing 1+1 repeatedly on a CPU will keep generating 2 since a random event could've flipped a transistor.

    Now, for ground-based operations where so far, the earth's atmosphere keeps most of the radiation away, it may be a WTF...

    Oh crap. I think I started down the long path of explaining why a WTF may not be a WTF... a time-honored tradition here...

  • (cs)

    Haha, great stuff, apparently even the judges didn't know what was going on. Warms my heart ;)

    Actually some of the methods i use result in a string. To turn that string into a float, i just iterate through all the possible results until sprintf("%d", i) returns the same string as the function that calculated the stuff did (so that's where all the comparing takes place).

    -edit- i'm Rembrand, if you didn't guess by my nick

  • Anonymous (unregistered) in reply to H3SO5
    H3SO5:
    Calculator 2.0 (http://omg.worsethanfailure.com/Entries/ViewEntry.aspx?id=100317) doesn't build here, it dies with:

    snip

    lisp.cpp:301: error: ‘assert’ was not declared in this scope make: ** [calculator] Erro 1

    This is Ubuntu 7.04. Is this an intentional WTF? :)

    If you don't know how to fix it, just add #include <cassert> to the top of lisp.cpp. Looks like the header got dragged in by other headers on the compiler the submitter was using, but not on yours.

  • Adam (unregistered)

    This could be a bigger WTF if it was written on one line

    return valueminusten(valueminusten(valueminusten(valueminusten(valueminusone( valueminusone(valueminusone(valueminusone(valueminusone(valueminusone( valueminusone(valueminusone(value)))))))))));

  • Tomas (unregistered)

    Huh wtf? What is the sense of this?

  • Mark B (unregistered)

    My only comment is that it one thing to find a WTF its no where near as funny as when you try to make one

  • ShellOut (unregistered)

    Would you please stop beating that dead horse already. No, it's totally not funny that someone intentionally wrote a ValueMinusOne() function, for the purpose of it Being Funny (tm).

    It's lame. Lame like WTF has been for more than a week now.

  • (cs) in reply to H3SO5
    H3SO5:
    Calculator 2.0 (http://omg.worsethanfailure.com/Entries/ViewEntry.aspx?id=100317) doesn't build here, it dies with:

    passion:~/Desktop/omgwtf-submission$ make [snip] lisp.cpp:301: error: ‘assert’ was not declared in this scope make: ** [calculator] Erro 1

    This is Ubuntu 7.04. Is this an intentional WTF? :)

    No it was not. When I was writing it I was still using Dapper (6.06), but now that I've upgraded to 7.04 it doesn't build here either.

    Add "#include <cassert>" to the includes in lisp.cpp.

  • FDF (unregistered)

    OMG! Alex just managed to make even the OMGWTF competition boring.

  • Pete Bassett (unregistered)

    Hey! I'm famous! Yay!

    My entry (Petes Pants Calc) wasn't expected to compete with the serious entries, I just thought it would be a laugh to knock something together.

    I think my favourite ones are those who executed asm, which was held in an int array.

    Pete

  • Jim Bob (unregistered)

    I have huge Balls

  • (cs) in reply to Pete Bassett
    Pete Bassett:
    I think my favourite ones are those who executed asm, which was held in an int array.

    Present :D

  • (cs) in reply to PsychoCoder
    Max Rabkin:
    Calculator 2.0 is an enterprise-level client-side numerical productivity suite. It leverages proven technologies to provide a clear and user-friendly interface to a rich set of efficient and powerful components. It is powered by an XML database.

    But does it integrate synergy?

  • Timothy Baldridge (unregistered)

    "Would you please stop beating that dead horse already"

    Hey, some of us like the contest. Really I don't see what the complaining is all about. It's not like someone is forcing you to read the webpage.

    Personally I find these entries really funny. Reading them is one of the best part of my day.

  • Keith Hackney (unregistered)

    It's Raining Men! Hallelujah! - It's Raining Men! Amen! I'm gonna go out to run and let myself get Absolutely soaking wet! It's Raining Men! Hallelujah! It's Raining Men! Every Specimen! Tall, blonde, dark and lean Rough and tough and strong and mean

    CAPTCHA = xevious (it's raining men)

  • random reader, first time poster (unregistered)

    OMGWTFCalc's documentation, in addition to being unnecessary, is incorrect for any number containing a 0! I love it!

    CAPTCHA: wtf are the captchas real words for, shouldn't they just be random strings of characters

  • Noser (unregistered)

    The Rembinator uses a multiplication *, and it uses it inside the multiplication function even. It's multiplying a sizeof by an array length, but it IS a multiplication. I can't decide if this oversight makes it a bigger WTF or not.

  • Diego (unregistered) in reply to Jim Bob
    Jim Bob:
    I have huge Balls

    did you steal them from The Tiger?

  • (cs) in reply to ShellOut
    No, it's totally not funny that someone intentionally wrote a ValueMinusOne() function, for the purpose of it Being Funny (tm).

    Actually, I didn't write a valueminusone function for the purpose of it being funny. I wrote it for two reasons:

    1. I wasn't using any arithmetic operators in the contest
    2. I wanted to win a laptop

    But whatever.

  • (cs)

    I know I'm really late to the game, but this:

    OMGWTFCalc Documentation How to enter the number 574
       1. Press the 5 button
       2. Press the 7 button
       3. Press the 4 button</div></BLOCKQUOTE>is magical.
    
  • ELIZA (unregistered) in reply to Worf
    Worf:
    Rembrand van Lakwijk's entry validates calculations by running each calculation several times in several different methods, then compares the results. It's hard to sum it up briefly, but taking a look at his code is highly recommended. (The Rembinator)

    So basically, it's a variation of N-programming, with the WTF being in a calculator?

    Doesn't sound very WTF-ery, if your calculator is going into space or some such. After all, that's why those computers are majority-voting. On the ISS, you can't guarantee that doing 1+1 repeatedly on a CPU will keep generating 2 since a random event could've flipped a transistor.

    Now, for ground-based operations where so far, the earth's atmosphere keeps most of the radiation away, it may be a WTF...

    Oh crap. I think I started down the long path of explaining why a WTF may not be a WTF... a time-honored tradition here...

    Are you saying that an A380 is a spacecraft? Cool...

Leave a comment on “OMGWTF Highlights #2: Misc.”

Log In or post as a guest

Replying to comment #:

« Return to Article