Slashdot Mirror


5th Underhanded C Contest Now Open

Xcott Craver writes "The next Underhanded C Contest has begun, with a deadline of March 1st. The object of the contest is to write short, readable, clear and innocent C code that somehow commits an evil act. This year's challenge: write a luggage routing program that mysteriously misroutes a customer's bag if a check-in clerk places just the right kind of text in a comment field. The prize is a gift certificate to ThinkGeek.com."

18 of 162 comments (clear)

  1. Watch list? by girlintraining · · Score: 4, Funny

    This year's challenge: write a luggage routing program that mysteriously misroutes a customer's bag if a check-in clerk places just the right kind of text in a comment field.

    All participants will also receive complimentary cavity-searches at airport checkpoints.

    --
    #fuckbeta #iamslashdot #dicemustdie
    1. Re:Watch list? by RichardJenkins · · Score: 3, Funny

      Uh-oh, looks like you got missed out the punctuation and got the words in the wrong order! You clearly meant:

      God, is stupid science there? Is that religion? Get some religion! Karma should fuck me good.

      Yeah, that makes more sense.

    2. Re:Watch list? by w0mprat · · Score: 4, Funny

      This year's challenge: write a luggage routing program that mysteriously misroutes a customer's bag if a check-in clerk places just the right kind of text in a comment field.

      I am certain that this is already a feature of existing luggage routing software.

      --
      After logging in slashdot still does not take you back to the page you were on. It's been that way for 20 years.
    3. Re:Watch list? by Anonymous Coward · · Score: 3, Funny

      Yes, especially if the word "fragile" or "valuable" is in the comment field.

    4. Re:Watch list? by Anonymous Coward · · Score: 1, Funny

      You mean like zerocool?

  2. Not fair! by Anonymous Coward · · Score: 3, Funny

    Someone who works at any major airline can just submit the real production code they use for luggage routing and win the contest for sure!

    1. Re:Not fair! by fuzzyfuzzyfungus · · Score: 4, Funny

      Hardly. It is supposed to be "short, readable, clear and innocent". What are the odds that any of the airline production code meets that description?

    2. Re:Not fair! by Anonymous Coward · · Score: 1, Funny

      Not to mention that their production code is probably written in COBOL. And that wouldn't be fair - everything written in COBOL is underhanded.

  3. Wait a sec... by Anonymous Coward · · Score: 4, Funny

    | This year's challenge: write a luggage routing program that mysteriously misroutes a customer's bag if a check-in clerk places just the right kind of text in a comment field.

    What, we actually need to write code for something that happens by nature?

    1. Re:Wait a sec... by bcong · · Score: 4, Funny

      the current method of writing in:
      "Package Handler,
      Customer was an asshat...you know what to do"
      was starting to get noticed

  4. A challenge? by Anonymous Coward · · Score: 1, Funny

    It seems like this has already been done and is in use at airports worldwide.

  5. Contest or Job Posting? by Anonymous Coward · · Score: 5, Funny

    a luggage routing program that mysteriously misroutes a customer's bag

    sounds like Delta is looking for new programmers

    1. Re:Contest or Job Posting? by Sebilrazen · · Score: 4, Funny

      No, that challenge would have random 3 hour tarmac waits generated too.

      --
      "There are no facts, only interpretations." --Friedrich Nietzsche.
  6. Re:This sounds familiar to, by Anonymous Coward · · Score: 5, Funny

    I was going to say, don't forget Perl programmers, but then I remembered the legibility requirement.

  7. For extra points: by w0mprat · · Score: 4, Funny
    For extra points submit this to your favourite open source project and have it accepted into the main code release - since it appears to be prefectly geniune, compiles, and can do what it appears to - it's certainly possible. Finally demonstrate your backdoor when the project is released to the wild.

    If you manage to get this into the GNU/Linux Kernel, you get a job at the NSA.

    Write short, readable, perfectly innocent looking C code, that somehow commits an evil act under certain circumstances.

    --
    After logging in slashdot still does not take you back to the page you were on. It's been that way for 20 years.
    1. Re:For extra points: by Nemyst · · Score: 3, Funny

      Well, Linux already allows you to install Windows...

  8. Re:Easy? by Tyler+Durden · · Score: 4, Funny

    C motherfucker, do you speak it?!

    --
    Happy people make bad consumers.
  9. Re:I'm really impressed by derGoldstein · · Score: 3, Funny

    I also started looking up past winners, Johns explanation/justification code was brilliant. I had no idea such evilness could be so cleverly concealed.

    So you're new to C?

    --
    Entomologically speaking, the spider is not a bug, it's a feature.