News for hackers. Stuff that matters.
Re:Gild to donate $5 to EFF fo each coder that solves our pr... by jc4p on Tuesday December 27, 2011 @06:00PM (#3397817)
Clever idea to generate buzz while making an impact.

Edit, took a shot at it:

Is there something wrong with how you're running the scripts? My Python script seems to die saying:

    No such file or directory: '/opt/puzzles/*.in'
But your example on how you're going to run it on the bottom says you will specify an actual file rather than a wildcard. Running it locally on my machine on all your tests results in this:

    $ python test.py d.in > d_me.out
    $ md5 d.out 
    MD5 (d.out) = c6dc722a7020baacebd876d4377065ad
    $ md5 d_me.out
    MD5 (d_me.out) = c6dc722a7020baacebd876d4377065ad
So I doubt it's a silent failure in my code.
Re:Gild to donate $5 to EFF fo each coder that solves our pr... by federicof on Tuesday December 27, 2011 @06:32PM (#3397906)
Yup, your script should receive the path to a single file, not a wildcard. I'll take a look at the logs. :) Thanks for your feedback.
Re:Gild to donate $5 to EFF fo each coder that solves our pr... by jc4p on Tuesday December 27, 2011 @06:49PM (#3397960)
Works now, thanks!
Re:Gild to donate $5 to EFF fo each coder that solves our pr... by federicof on Tuesday December 27, 2011 @07:13PM (#3398037)
Great!