Live data from Hacker News

Crowdsourcing Bruteforcing: Help me win the EngineYard challenge

rustyengines.silentmac.com

1–10 of 77 posts

Re: Crowdsourcing Bruteforcing: Help me win the EngineYard challenge

#4
post #2

Have you compared running your code in JS on an ad-hoc cluster like this vs running it in optimized C on a local machine ?

I don't think there would be much point, hah - JS will definitely be slower than optimized C. It's the crowdsourcing aspect that gives us a chance - it is very easy for anyone to just pull up the web page.

Re: Crowdsourcing Bruteforcing: Help me win the EngineYard challenge

#5
post #2

Have you compared running your code in JS on an ad-hoc cluster like this vs running it in optimized C on a local machine ?

I don't think there would be much point, hah - JS will definitely be slower than optimized C. It's the crowdsourcing aspect that gives us a chance - it is very easy for anyone to just pull up the web page.

have contributed 50k hashes now, will let it run through the night :)

good luck!

Re: Crowdsourcing Bruteforcing: Help me win the EngineYard challenge

#6
post #2

Have you compared running your code in JS on an ad-hoc cluster like this vs running it in optimized C on a local machine ?

For unrelated reasons I recently did some benchmarking of SHA-1 in JavaScript vs Java. That particular benchmark was about 20x slower in the browser (both Chrome and Firefox 3.5) than on the JVM.

Re: Crowdsourcing Bruteforcing: Help me win the EngineYard challenge

#8
This idea is a really well thought and implemented. This may be a new way of cloud sourcing. Have you considered making a facebook app? It would definitely attract many more people than this. Of course you shou ld offer some carrots for users that do not have any idea what's going on.

Re: Crowdsourcing Bruteforcing: Help me win the EngineYard challenge

#9
post #2

Have you compared running your code in JS on an ad-hoc cluster like this vs running it in optimized C on a local machine ?

It's going to be a lot slower, particularly with the goal of not slowing down a person's browser. By default, at least for me, their page is doing 1 hash per 200ms, or 5/second.

On the other hand, a quick Haskell implementation using Data.Digest.Pure.SHA is doing about 6,000 hashes per second (might have been 8000, I forget now) per core on an Intel(R) Core(TM)2 Duo CPU E6750 @ 2.66GHz

So you're looking at 1000 people to equal one core of a decent desktop. It's certainly an interesting approach, and has a lot of potential. I'm just not sure the marketing is there with the "help us win" motivation.

Re: Crowdsourcing Bruteforcing: Help me win the EngineYard challenge

#10

Just want to add that there is trick to make this incredibly easy to run in parallel - just open the page in a new tab!

Well on my dual core, opening a new tab could not fire up the other core. Opening opera side by the firefox did the trick.
Post reply on HN