|
|
|
| Non-WTF Job: Web Developer at ZoomInfo (Waltham, Massachusetts) |
| « Prev | Page 1 | Page 2 | Page 3 | Next » |
Re: The Worse Than Failure Programming Contest
2007-04-24 15:01
•
by
Mike
(unregistered)
|
|
Will you have barbecue afterwards?
Because we really want OMGWTFBBQ! |
Re: The Worse Than Failure Programming Contest
2007-04-24 15:15
•
by
Tom Ritchford
(unregistered)
|
|
What a shame it requires Windows... after being a professional programmer for 25 years, I still don't own a Windows machine (and I've written hundreds of thousands of lines of C++ too...)
I don't exactly understand why you did this, either. Seems like there's absolutely no need for it as the code is pure C++. Care to explain? |
Re: The Worse Than Failure Programming Contest
2007-04-24 15:19
•
by
DoOver
(unregistered)
|
|
The winner should be dubbed OMGWTFLOL, the latter piece standing for "Language Obliteration Laureate".
|
|
I love the idea :)
Also i only dabbled in C/C++ under linux, and did most of my gtk design in glade, so i'll be perfect for a high score ;) Now off to find some windows vmware image. |
Re: The Worse Than Failure Programming Contest
2007-04-24 15:20
•
by
th0mas
(unregistered)
|
The explanation is pretty simple: you can use linux too. RTFA. |
Re: The Worse Than Failure Programming Contest
2007-04-24 15:25
•
by
Otto
(unregistered)
|
|
Let me get this straight: one of the prizes is a Mac, but if you actually write code on Mac OS X then you can't enter the contest? Talk about a daily WTF!
|
Re: The Worse Than Failure Programming Contest
2007-04-24 15:33
•
by
makomk
|
|
If the promised GTK+ 2.0 skeleton solution shows up, any Mac users should be able to use that...
|
Re: The Worse Than Failure Programming Contest
2007-04-24 15:33
•
by
Volmarias
|
|
This is gonna be a cheap idea, but...
You've posted the test cases, all of them. What's to prevent me from simply hardcoding the answers to those, and calling that my WTF and submitting? |
Re: The Worse Than Failure Programming Contest
2007-04-24 15:34
•
by
Frustrated with our architecture
(unregistered)
|
|
Maybe I'm just blind, but I don't see anything about a deadline. When is the submission deadline for this contest?
|
Re: The Worse Than Failure Programming Contest
2007-04-24 15:34
•
by
a moron
(unregistered)
|
|
Um, isn't the mac now an extension of linux?
Captcha: muhahaha Yes I know that I am a moron |
Re: The Worse Than Failure Programming Contest
2007-04-24 15:35
•
by
Frustrated with our architecture
(unregistered)
|
Nevermind, I am blind. The deadling is May 14. |
|
Come on, let me do it in C#. Pretty please?
|
Re: The Worse Than Failure Programming Contest
2007-04-24 15:37
•
by
b0red
(unregistered)
|
That'd be perfectly legit. Form the contest site: "If it passes all of these, then congratulations, you’ve built a fully-functioning calculator so far as we’re concerned." |
Re: The Worse Than Failure Programming Contest
2007-04-24 15:39
•
by
strictnein
|
Maybe you should RTFA before you start up your bitch and moan routine. |
Re: The Worse Than Failure Programming Contest
2007-04-24 15:39
•
by
Marak
(unregistered)
|
|
Test cases.
What is up with the test cases? Is it still considered a valid entry if all those cases are hard coded into the application? Please answer this! It is very important to how I will pick my design. |
Re: The Worse Than Failure Programming Contest
2007-04-24 15:40
•
by
Jake Vinson
|
There's nothing stopping you from that. You could even hardcode the thing for the exact order of key presses required to pass the test cases. This is for fun, we don't care if your calculator barely works as long as it passes the guidelines we've posted. |
Re: The Worse Than Failure Programming Contest
2007-04-24 15:45
•
by
Me
(unregistered)
|
It seems we may have some really astounding submissions in the queue... |
Re: The Worse Than Failure Programming Contest
2007-04-24 15:47
•
by
Shinobu
(unregistered)
|
|
The whole UI thing scares me away. I don't have Visual Studio and getting the skeleton to work in MINGW or coLinux is probably going to be too much of a bother. Besides, I'm coding some slightly iffy code to keep me amused already.
So while I will probably not participate in this context, nonetheless I would like to take this opportunity to give you guys some more rope: return evaluateExpression(toString(A) + " + " + toString(B));You can write a nice object oriented expression evaluator (leeking memory all the way), overload the + operator for char*, or you can write a compiler (lots of byte codes and black magic). Oh, and throw proper Unicode support in there - there's no end of fun to be had with that. "We wanted to make the engine as generic as possible, to optimally prepare ourselves for future requirements." |
Re: The Worse Than Failure Programming Contest
2007-04-24 15:47
•
by
bw
(unregistered)
|
Design??? Well you've already lost! |
Re: The Worse Than Failure Programming Contest
2007-04-24 15:48
•
by
th0mas
(unregistered)
|
|
Can our entry use a database, like mysql for example?
|
|
"Nor is it like the International Obfuscated C Coding Contest; in fact, writing code like that would be a surefire way to lose this contest."
Are you sure? I remember a Factorial solution a few years back that was pretty WTF. It created a source file that solved factorial for n-1, compiled it, exec'ed it, and multiplied the result by n to get the final result. Wouldn't it be cool to implement addition by creating a whole bunch of files, and then a whole bunch more, and then counting them? Ooh, I'm giving away my best ideas! |
Re: The Worse Than Failure Programming Contest
2007-04-24 15:50
•
by
Shinobu
(unregistered)
|
|
Ooh, that's a good one!
And XML! Everything will be better if it uses XML extensively. |
Re: The Worse Than Failure Programming Contest
2007-04-24 15:53
•
by
BBT
(unregistered)
|
reminds me of one of my favorite webcomics of all time: http://xkcd.com/c221.html |
Re: The Worse Than Failure Programming Contest
2007-04-24 15:59
•
by
Joel
(unregistered)
|
|
Hey Alex, I see you finally got around to it :).
Joel |
|
Much more amusing then hard coding, would be to open an internet connection, connect to the web page containing the desired results, and then look up the answer by screen-scraping.
Extra credit to anyone who displays their answers using a flame effect. ;) |
Re: The Worse Than Failure Programming Contest
2007-04-24 16:06
•
by
Otto
(unregistered)
|
No. Mac OS X shares some bits with the various BSDs, but the only thing in common with Linux is certain GNU tools in userspace. More to the point. Macs don't come with GTK and it's not easy getting it running. |
Re: The Worse Than Failure Programming Contest
2007-04-24 16:08
•
by
anonymous
(unregistered)
|
|
WTF is C/C++?
C or C++, pick one or the other. |
Re: The Worse Than Failure Programming Contest
2007-04-24 16:11
•
by
Zach
(unregistered)
|
|
If you have a Mac, why would you want another one? =p
|
Re: The Worse Than Failure Programming Contest
2007-04-24 16:15
•
by
Turambar
(unregistered)
|
You don't have to use the skeleton. You can create your own UI if you want. |
Re: The Worse Than Failure Programming Contest
2007-04-24 16:22
•
by
Justin Buist
(unregistered)
|
Nah, screen scrape the total directory size from 'dir'! |
Re: The Worse Than Failure Programming Contest
2007-04-24 16:27
•
by
Aaron Griffin
(unregistered)
|
Web services! By the way, here is my submission, I'm done. I worked real hard. package test; public class paulaBean { private String paula = "Brillant"; public String getPaula() { return paula; } } |
|
So, apparently this site's mission now is to come up with incredibly lame new meanings for established acronyms?
WTF. |
Re: The Worse Than Failure Programming Contest
2007-04-24 16:33
•
by
th0mas
(unregistered)
|
What's worse than failure? |
Re: The Worse Than Failure Programming Contest
2007-04-24 16:33
•
by
Sarni
(unregistered)
|
|
A GUI is required? Fuck, fuck, fuck. Who the fuck needs a GUI? And then fucking C/C++? I think I'll pass.
|
Re: The Worse Than Failure Programming Contest
2007-04-24 16:34
•
by
Tom Ritchford's Boyfriend
(unregistered)
|
What happened did you run out of tampons today? You must be a pretty crappy coder if you can't afford a $300 windows box. And you must be extremely retarded if you can't figure out how to dual boot. |
Re: The Worse Than Failure Programming Contest
2007-04-24 16:41
•
by
mgoss
(unregistered)
|
|
Are you limited to one submission or can you submit several?
|
Re: The Worse Than Failure Programming Contest
2007-04-24 16:43
•
by
Chris
(unregistered)
|
|
Will my new laptop come with award winning calculator software pre-installed?
|
Re: The Worse Than Failure Programming Contest
2007-04-24 16:45
•
by
Synonymous Coward
(unregistered)
|
|
Sec. 380. Use of Olympic symbols, emblems, trademarks and names
Cheers. |
Re: The Worse Than Failure Programming Contest
2007-04-24 16:47
•
by
KattMan
|
Oh that's good. It should come installed and you should be contractually obligated to keep it installed for one year on the laptop if you win, and it should be the standard replacement for the calculator that comes with the OS. |
Re: The Worse Than Failure Programming Contest
2007-04-24 16:51
•
by
JOHN
(unregistered)
|
|
So wait a minute. Joel Spolsky from JoelOnSoftware is a judge?
Well, I guess if anyone in the world knew how to write WTF code, it would be him... I just read his site to see if he still writes WTF stuff.
Yep, still writes WTF stuff. Hey Joel, there's a bigass "FIND" button right on the toolbar. Click it, enter what you want, hit enter. DONE. 2,450 emails in my inbox right now, searched in under 10 seconds. Outlook 2003, SP2. eesh. |
Re: The Worse Than Failure Programming Contest
2007-04-24 16:53
•
by
Aaron
(unregistered)
|
|
I think to sum up a lot of the questions others are asking: does it have to be self-contained? My guess is that entries probably cannot depend on opening HTTP or database connections but it doesn't hurt to make sure.
Anyway, using web services or screen-scraping would certainly be "WTF-ey", but short of building your own TCP/IP stack for it, it's really not very clever and there are certainly better and faster ways to litter the code with bugs and hacks. |
Re: The Worse Than Failure Programming Contest
2007-04-24 17:02
•
by
Moekandu
(unregistered)
|
|
How about a program that crashes the OS and the number of times you have to reboot the system is the correct answer?
Yes, I am the evil twin. |
Re: The Worse Than Failure Programming Contest
2007-04-24 17:08
•
by
Saladin
|
Hi, please join us in the 90s where most users would rather use a GUI than a command line and smart programmers recognize that fact and accomodate it rather than getting an elitist attitude about it. |
Re: The Worse Than Failure Programming Contest
2007-04-24 17:20
•
by
dkf
(unregistered)
|
Gosh, someone with a small inbox! Quick, send that man some extra 419 spam! (I want mine back below 15k...) |
|
I have submitted my submission, entitled "Fast and Deadly". It was originally going to be a copy of the Win32 example source code, but when I clicked that link I got a 404, so I submitted the 404 page with a .zip extension instead.
I got submission number 10001 (I think that's the right number of 0s anyway) so I'm pretty sure I was first. And I've read stories here about various enterprises which have done worse. So. :) ... why yes, I did read the rules. I'm even fairly sure as to which of them apply to make my submission invalid. :) |
Re: The Worse Than Failure Programming Contest
2007-04-24 17:43
•
by
Sigivald
(unregistered)
|
|
I'm not going to make an entry, but if I did, it would require the following things:
A physical four-function calculator. A webcam. A robotic arm. OCR and robotic arm-control software. The rest is left as an exercise for the reader. |
Re: The Worse Than Failure Programming Contest
2007-04-24 17:50
•
by
Alun
(unregistered)
|
|
Everybody knows that all the best WTFs are in Java or VB.
Why on earth was a language specified? I'm happy to pollute my mind with my deliberate WTF code, but I'm not going back to the monstrosity that is C++. |
Re: The Worse Than Failure Programming Contest
2007-04-24 17:57
•
by
Tom Ritchford
(unregistered)
|
|
Hmm, some snarky people out there. Sorry, I was misled by the Win32 framework described towards the top.
Regarding dual boot, since I don't have any Intel-like machines at home, I think that'd be a little tricky. (My work machine IS Linux but I'm not going to futz with that for this contest...) Onward and upward! |
Re: The Worse Than Failure Programming Contest
2007-04-24 18:05
•
by
djshj
(unregistered)
|
|
The obvious solution is to embed an interpreter of your choice.
Start your submission with #include <Python.h>. The rest is left as an exercise. |
Re: The Worse Than Failure Programming Contest
2007-04-24 18:12
•
by
Anonymous
(unregistered)
|
|
I have half a mind to embed Perl.
And then write beautiful, clear, fully documented Perl code to actually perform the function of the application. But the Perl innards will win the contest. |
| « Prev | Page 1 | Page 2 | Page 3 | Next » |