- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
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)
Admin
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 ;)
Admin
Admin
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 1This is Ubuntu 7.04. Is this an intentional WTF? :)
Admin
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...
Admin
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
Admin
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.
Admin
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)))))))))));
Admin
Huh wtf? What is the sense of this?
Admin
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
Admin
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.
Admin
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.
Admin
OMG! Alex just managed to make even the OMGWTF competition boring.
Admin
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
Admin
I have huge Balls
Admin
Present :D
Admin
But does it integrate synergy?
Admin
"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.
Admin
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)
Admin
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
Admin
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.
Admin
did you steal them from The Tiger?
Admin
Actually, I didn't write a valueminusone function for the purpose of it being funny. I wrote it for two reasons:
But whatever.
Admin
I know I'm really late to the game, but this:
Admin
Are you saying that an A380 is a spacecraft? Cool...