Engineyard Challenge Python Code
fpaste.org
Engineyard Challenge Python Code
1–10 of 28 posts
Re: Engineyard Challenge Python Code
#2Note that it doesn't do any random chars at the end of the string and doesn't change the case of the words.
Re: Engineyard Challenge Python Code
#3I've done mine in Pike, which will be faster (though not as fast as C).
Re: Engineyard Challenge Python Code
#4Ahh, I see that you're generating an entirely new random string each iteration. Interesting. I've done mine in Pike, which will be faster (though not as fast as C). http://github.com/jamesotron/HashChallenge/tree/master
Re: Engineyard Challenge Python Code
#5Ahh, I see that you're generating an entirely new random string each iteration. Interesting. I've done mine in Pike, which will be faster (though not as fast as C). http://github.com/jamesotron/HashChallenge/tree/master
I've started mine in erlang. I'm going to run 10 dollars worth of ec2 time and see how far I get.
Re: Engineyard Challenge Python Code
#6Anyway thanks for the code examples, I'm pretty sure I can learn something from them.
Re: Engineyard Challenge Python Code
#7Earlier quoted context omitted.
I've started mine in erlang. I'm going to run 10 dollars worth of ec2 time and see how far I get.
I've got mine in C. I probably won't run it, just wrote it for fun. Honestly, if you were thinking of spending a cent on this competition, I think you'd get a better ROI buying a SuperLOTTO ticket.
Personally I'd run through a thousand bucks of computer time to play around with something or test a hunch before considering a lotto ticket.
Lotto tickets are taxes for people that are not good in mathematics.
Re: Engineyard Challenge Python Code
#8Earlier quoted context omitted.
I've got mine in C. I probably won't run it, just wrote it for fun. Honestly, if you were thinking of spending a cent on this competition, I think you'd get a better ROI buying a SuperLOTTO ticket.
Lotto tickets aren't nearly as much fun as coding, so what's another 10 bucks. Personally I'd run through a thousand bucks of computer time to play around with something or test a hunch before considering a lotto ticket. Lotto tickets are taxes for people that are not good in mathematics.
Re: Engineyard Challenge Python Code
#9Re: Engineyard Challenge Python Code
#10this is my code (using mighty, our python based cluster service):
import mighty
word_generator = mighty.word_generator("wordlist",(mighty.APPEND_NUMERALS,5))
phrase_generator = mighty.word_concentate(word_generator,' ')
job = mighty.match_to_hash('PROVIDEDHASH',mighty.SHA1,phrase_generator.iterate_all)
job.priority = mighty.CRITICAL
mighty.submit_job(job)
Done. Takes about 5 minutes (I wont enter - it's not fair).EDIT: added CRITICAL as the priority or it takes longer :)
EDIT: ok so the code is a bit the wrong side of the tracks. It wouldnt take long to refactor it :)