- 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
NO
Admin
YES
Addendum (2013-06-26 11:27): // just thought I should make it clear if (you->ThinkIWasContradictingYou()) return false; else if (you->ThinkIWasAgreeingWithYou()) return true;
Admin
I would love to participate, but don't want to install New Relic's monitoring software. Not all of us are web application devs, and many of us probably object to having some untrusted unwanted third party software running on our systems.
Sorry guys.
Admin
But... It's aways saying "NO"...
Admin
I think this is because the compiler I used to generate the BF code compiled out the random number generation step and just included a literal.
//yes, I cheated
Admin
I started a wonderfully WTF piece of code. It's run in PHP, and requires JavaScript simply to display anything. When you submit your question, it runs a home grown random number generator (uses a MySQL database). It can then return YES, NO, or ASK AGAIN LATER, depending on percentages. It could also be told (via a simple setting) to simple return YES or NO depending on the length of the string when asking the question. Real enterprise stuff.
However, it's not quite finished, and I realised that I had better things to do with my time than massage it into something worthy.
Plus I really didn't want to be bothered with the stupid software that I'd have to install to merely enter the contest.
Instead, you'll'll have to miss out on my ingeniousness.
Admin
that's our orgchart.
Admin
Admin
From the entry guidelines:
I guess this submission won't win...
Admin
No, he didn't write it in brainfuck. He just compiled it to brainfuck after he'd written it. Cheater!
Admin
"So, without further ado, here's an entry in Brainf*ck."
I can think of easier ways to print the string "Unbalanced Brackets".
On the subject of WTFs, the site comments page does not have a button to submit a comment, only Reply and Quote.
Admin
What about the big "Add Comment" button at the bottom of the page?
Admin
This appears to be an endless loop (unless the value wraps around at some point)
TRWTF is me debugging a BF program ...
Admin
That's a hyperlink not a button.
Admin
"I think this is because the compiler I used to generate the BF code compiled out the random number generation step and just included a literal."
Since Brainfuck only takes input from stdin, that should be fairly obvious. Your script can be optimized for size:
+++++++[->+++++++++++<]>+.+.
Or for speed:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.+.
Admin
Strictly speaking neither the "Reply" nor the "Quote" are buttons either, they are
Admin
If someone doesn't really wants to do that new relic stuff - poke me on [email protected] I'll do it half assed way for ya'.
Admin
I submitted a pretty basic entry that has a subtle problem that causes it over the long run to average about 53% yes and 47% no.
I did install the New Relic stuff, in a virtual machine. I know someone who was already using it and I had intended to evaluate it anyway, so that wasn't a bid deal. It's actually kind of neat.
Admin
I'm not participating, but my main idea was a program that automatically chooses a random forum, posts some flamebait, and returns Yes or No depending on how many people reply (you could adjust the probabilities by posting different things on different places, for example "there's nothing wrong with abortion" on a christian forum has a higher probability than "C++ is better than C" here).
Or a program that just sends me a text message whenever it's run, asking me to reply yes or no.
Admin
By the way, here's a trivial implementation in Befunge-93:
Try it here (whitespace is significant).
Admin
I was thinking of something similar but couldn't be bothered to actually code it up right now -- my idea was to make a Facebook post saying something like 'PLEASE COMMENT THIS' and then wait a while, generate some other terrible randomness in the meantime, and then count up the replies. You get terrible randomness, useless social media integration, and a long and pointless delay!
Anyone who's still coming up with ideas feel free to steal that one since I'm not entering...
Admin
The New Relic requirement was a putoff for me as well. Of course looking at the main page for the contest the only mention of this is "Disqualification: Not deploying New Relic's performance monitoring software by the contest deadline." Where does it say what we have to do, exactly?
I'm telling you right now that this submission would have at least placed. Brillant!
Admin
Some C: volatile int i = 0; /* Wait for an alpha particle to hit the memory cell */ for (;;) { if (i & 1) return 0; if (i & 2) return 1; }
Admin
Yeah, I got a mention in the last contest, and was super excited to do this one, but don't wish to install NewRelic on any of my websites. So I'm having to sit this one out... let me know when we have one of these that we can do just for fun.
Admin
from http://omg2.thedailywtf.com/:
Automatic Disqualification [..] Malicious Code contained within a submission – I mean, really?! Shame on you!
This is too tempting. Mixing the underhanded C contest with the WTF contest and writing code that appears to do something simple in the most wtf-y way possible, and at the same time doing something nasty in a very subtle way, preferably perverting the host in such a way as to make other contestants look bad.
I'm sure they will run the applications in a sandboxed VPS (right? RIGHT?), but will they reset the VPS for every contestant?
Admin
I'm sorry, your code has not been monitored using New Relic performance monitor and we have to disqualify you.
(and I'm not kidding either, see the instructions web page that Askimet doesn't want me to link here. F^*&ing losers)
Admin
Did anyone win?
Admin
So, you can not write true WTF software without installing New Relic's performance monitoring software?
Talk about a marketing WTF!!!