• Coco (unregistered)

    NO

  • (cs) in reply to Coco
    Coco:
    NO

    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;

  • anon (unregistered)

    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.

  • Hugo (unregistered)

    But... It's aways saying "NO"...

  • (cs) in reply to Hugo

    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

  • Jim the Tool (unregistered)

    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.

  • swschrad (unregistered)

    that's our orgchart.

  • (cs) in reply to eViLegion
    eViLegion:
    // just thought I should make it clear if (you->ThinkIWasContradictingYou()) return false; else if (you->ThinkIWasAgreeingWithYou()) return true;
    Hmm, I get FILE_NOT_FOUND there…
  • Doug (unregistered)

    From the entry guidelines:

    Choose your own, but remember: we have to be able to run your code, and understand why it’s bad. Things like C, C++, BASIC, Ruby, Perl, PowerShell, Python, .NET, Java, etc. are all great. As tempted as you might be to write a solution in Brainf**k or VAX Assembly, please don’t. It’ll just give us a headache and ruin your chances of winning.

    I guess this submission won't win...

  • trtrwtf (unregistered) in reply to Doug
    Doug:
    From the entry guidelines:
    Choose your own, but remember: we have to be able to run your code, and understand why it’s bad. Things like C, C++, BASIC, Ruby, Perl, PowerShell, Python, .NET, Java, etc. are all great. As tempted as you might be to write a solution in Brainf**k or VAX Assembly, please don’t. It’ll just give us a headache and ruin your chances of winning.

    I guess this submission won't win...

    No, he didn't write it in brainfuck. He just compiled it to brainfuck after he'd written it. Cheater!

  • Darth Paul (unregistered) in reply to Coco

    "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.

  • trtrwtf (unregistered) in reply to Darth Paul
    Darth Paul:
    "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.

    What about the big "Add Comment" button at the bottom of the page?

  • RandomGuy (unregistered)

    This appears to be an endless loop (unless the value wraps around at some point)

      [<<<[<<]>+>[>>]>-]
    

    TRWTF is me debugging a BF program ...

  • (cs) in reply to trtrwtf
    trtrwtf:

    What about the big "Add Comment" button at the bottom of the page?

    That's a hyperlink not a button.

  • (cs) in reply to Remy Porter

    "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:

    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.+.

  • jEDI (unregistered) in reply to eViLegion

    Strictly speaking neither the "Reply" nor the "Quote" are buttons either, they are

    .

  • Anon (unregistered)

    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'.

  • MG (unregistered)

    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.

  • Captcha:similis (unregistered) in reply to Jim the Tool

    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.

  • Captcha:genitus (unregistered)

    By the way, here's a trivial implementation in Befunge-93:

             v
            >?v
    v "YES"  <
    v "NOPE"  <
    <,_@#:
    

    Try it here (whitespace is significant).

  • urza9814 (unregistered) in reply to Captcha:similis
    Captcha:similis:
    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.

    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...

  • Nick (unregistered) in reply to Captcha:similis

    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?

    Captcha:similis:
    Or a program that just sends me a text message whenever it's run, asking me to reply yes or no.

    I'm telling you right now that this submission would have at least placed. Brillant!

  • David Laight (unregistered)

    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; }

  • Tony (unregistered)

    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.

  • wtf it's saturday already? (unregistered)

    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?

  • wtf it's saturday already? (unregistered) in reply to Captcha:genitus
    Captcha:genitus:
    By the way, here's a trivial implementation in Befunge-93: (code and instructions removed to please Askimet)

    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)

  • Smug Unix User (unregistered)

    Did anyone win?

  • Sylver (unregistered)

    So, you can not write true WTF software without installing New Relic's performance monitoring software?

    Talk about a marketing WTF!!!

Leave a comment on “Reminder - OMGWTF2 Contest Deadline Soon!”

Log In or post as a guest

Replying to comment #:

« Return to Article