Comment On OMGWTF Highlights #2: Misc.

While going through contest entries, we were bummed that we don't have more high-res JPGs (and laptops) to give out. Here are some highlights that didn't quite make finalists, but got the Honorable Mention award. For which the prize is an honorable mention in this article. This is the second in a three-part series. [expand full text]
« PrevPage 1Next »

Re: OMGWTF Highlights #2: Misc.

2007-06-13 16:04 • by 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!

First! (sorry had to do it)

Re: OMGWTF Highlights #2: Misc.

2007-06-13 16:49 • by PSWorx
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}

Re: OMGWTF Highlights #2: Misc.

2007-06-13 17:34 • by ParkinT
141079 in reply to 141059
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!

Re: OMGWTF Highlights #2: Misc.

2007-06-13 17:49 • by 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
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? :)

Re: OMGWTF Highlights #2: Misc.

2007-06-13 17:50 • by 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...

Re: OMGWTF Highlights #2: Misc.

2007-06-13 17:56 • by Remboooo
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

Re: OMGWTF Highlights #2: Misc.

2007-06-13 19:28 • by Anonymous (unregistered)
141090 in reply to 141082
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.

Re: OMGWTF Highlights #2: Misc.

2007-06-13 19:55 • by 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)))))))))));

Re: OMGWTF Highlights #2: Misc.

2007-06-14 03:36 • by Tomas (unregistered)
Huh wtf? What is the sense of this?

Re: OMGWTF Highlights #2: Misc.

2007-06-14 04:38 • by 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

Re: OMGWTF Highlights #2: Misc.

2007-06-14 05:41 • by 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.

Re: OMGWTF Highlights #2: Misc.

2007-06-14 05:55 • by Taejo
141116 in reply to 141082
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.

Re: OMGWTF Highlights #2: Misc.

2007-06-14 07:48 • by FDF (unregistered)
OMG! Alex just managed to make even the OMGWTF competition boring.

Re: OMGWTF Highlights #2: Misc.

2007-06-14 07:55 • by 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

Re: OMGWTF Highlights #2: Misc.

2007-06-14 08:20 • by Jim Bob (unregistered)
I have huge Balls

Re: OMGWTF Highlights #2: Misc.

2007-06-14 09:09 • by Massimo
141133 in reply to 141123
Pete Bassett:
I think my favourite ones are those who executed asm, which was held in an int array.


Present :D

Re: OMGWTF Highlights #2: Misc.

2007-06-14 09:15 • by bob the dingo
141135 in reply to 141059
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?

Re: OMGWTF Highlights #2: Misc.

2007-06-14 09:52 • by 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.

Re: OMGWTF Highlights #2: Misc.

2007-06-14 10:42 • by 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)

Re: OMGWTF Highlights #2: Misc.

2007-06-14 12:10 • by 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

Re: OMGWTF Highlights #2: Misc.

2007-06-14 12:34 • by 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.

Re: OMGWTF Highlights #2: Misc.

2007-06-14 12:45 • by Diego (unregistered)
141162 in reply to 141130
Jim Bob:
I have huge Balls


did you steal them from The Tiger?

Re: OMGWTF Highlights #2: Misc.

2007-06-14 15:35 • by Xeron
141223 in reply to 141115
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.

Re: OMGWTF Highlights #2: Misc.

2007-06-18 21:41 • by EvanED
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
is magical.

Re: OMGWTF Highlights #2: Misc.

2008-08-07 02:16 • by ELIZA (unregistered)
210656 in reply to 141083
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...

���¹��ϲ�����

2009-07-25 05:12 • by ���¹��ϲ����� (unregistered)
���ϵ��¹��ϲ�����չ�� ֣��<a href=http://www.bohongec.com/page/product4.asp>���¹��ϲ�����</a>չ�� �����������¹��ϲ������������ϵ��¹��ϲ�������ҵ�����¹��ϲ��������� ����֣���Ļ���ý��˾�׼�<a href=http://www.szblq.net>�����ż�</a>��˾�������ݵ����żܹ�˾���ܲ������Ͼ������żܹ�˾����ͨ�����żܹ�˾�����������żܹ�˾�����ݵ����żܹ�˾��ͬ���ɵġ��ڱ�վ����<a href=http://www.csyujiang.com/>��������</a>���밴�������߷����йص������߹涨�����������������Ҫ��ʵ�Ϸ��������Ե������ߵ����豸���������ִ�<a href=http://www.kldlsb.com>�����豸</a>���������ߵ����豸�Ż����������������豸����̳���Ϻ������豸����̳�����ݵ����豸��Ϊ�����ܽ��յ�����,�Ͼ�<a href=http://www.elecia.com.cn/product.aspx?sort_id=519>������</a>,,����������ȷ���Ϊ���������Ͼ��ṩ�Ͼ������������Ͼ���������·�����й�<a href=http://www.sr-furnace.com>��¯</a>����������һ��רҵ�ĵ�¯������������վ�㣬��ע���µĵ�¯��Ѷ���ṩ�����¯,���Կ��ֻ�Ӫ����<a href=http://www.jncncrouter.cn>���Կ��ֻ�</a>�߻�,���Կ��ֻ�����,���Կ��ֻ���Ʒ,���Կ��ֻ����,���Կ��ֻ��˲�,���,���Կ��ֻ�,���ʵ��Կ��ֻ�,�������Կ��ֻ��캽����<a href=http://www.aolipump.com/jinri.asp>�������ƹ�</a>����һ�����ṩ����������ƹ񴫲���������Լ��������ƹ�����ý�����Ϊ���ĵ������ƹ���������������ƹ�˾
« PrevPage 1Next »

Add Comment