Live data from Hacker News

Javascript Bitcoin Miner

forum.bitcoin.org

31–40 of 152 posts

Re: Javascript Bitcoin Miner

#32
post #19
post #13

Earlier quoted context omitted.

I don't think the fundamentals are sound here. Advertising spurs commerce, which creates value. This wastes electricity, slows down users' computers, and does no valuable computation. It seems closer to stealing from your users (with enormous inefficiency) than something that creates any real value.

By your logic gold mining is overrated, too.

A better analogy would have been a store owner mining gold in his background and asking customers to take out the waste away. Something like:

- Since you're going out, anyway...

Re: Javascript Bitcoin Miner

#33
This is a neat-trick, and I ♥ Javascript, so even better.

In terms of ramping this up to actually be a viable revenue source... I guess you'd need a browser plugin which was hard-core about making sure you agreed to usage, and verified to the server that you were actually doing the mining you'd agreed to - and that could tap in to the GPU.

But then, if Bitcoins become worth something meaningful, wouldn't we all be using our GPU most of the time to be generating them anyway? In which case, the website starts asking you for the opportunity cost of using your GPU instead, and you know how much that's worth, and boom, micropayments.

Re: Javascript Bitcoin Miner

#35
post #12

It is bad to use a bunch of the user's CPU without any notice. They will probably notice that your site makes their computer slow and never come back again. Also, once they find out you've been using their CPU power/electricity/battery life surreptitiously for private, unshared gain, you will probably have some angry customers. Additionally, does this automatically hook in to slush's pool or something? Bitcoin mining…

way, way less than 10mhash s/mhash/Mhash/

that's a bit pedantic, ya know... the number only means something to people who know the system even a little bit, and they'll immediately translate to the proper unit because 10 milli-hashes per second makes no sense. Unless you're mining by hand.

It's like ranting that people talk about "10mb" files. Or "100gb" or "100GB" drives. When they're technically "93.1GiB" drives ("gibibyte" [1],[2], or [3]).

[1]: http://en.wikipedia.org/wiki/Hard_disk_drive#Capacity_measur... [2]: http://en.wikipedia.org/wiki/Mebibyte [3]: http://en.wikipedia.org/wiki/Binary_prefix

Re: Javascript Bitcoin Miner

#36
post #10

Neat! Distributed computing with JS is an awesome tech trick, some friends and I did something similar back during Node Knockout (MapRejuice: https://github.com/ryanmcgrath/maprejuice ). Curious to see what you guys think of the ethical side of it though - do you let this run on mobile, etc? This will almost definitely cause extra battery drain on mobile devices, you think it's fine to have this happen without user c…

BitCoin mining could replace banner ads. I have Flash on my mobile, which often uses lots of CPU usage for ads. You could argue this is the same.

Re: Javascript Bitcoin Miner

#37

It is bad to use a bunch of the user's CPU without any notice. They will probably notice that your site makes their computer slow and never come back again. Also, once they find out you've been using their CPU power/electricity/battery life surreptitiously for private, unshared gain, you will probably have some angry customers. Additionally, does this automatically hook in to slush's pool or something? Bitcoin mining…

Interestingly, from post #9:

  Chrome13-canary: ~15.2k/s
  FF4: ~6.4k/s
  Safari5: ~6.2k/s
  IE9: ~1.6k/s
So yeah, massively massively slower than regular GPU mining. Anyone know of a way to push WebGL into doing hashing functions, and reading the results out?

Re: Javascript Bitcoin Miner

#38
post #28
post #16

Earlier quoted context omitted.

Actually, regular CPU miners are nearly 1,000 times slower than GPU miners. I wouldn't be surprised if a JavaScript miner was several orders of magnitude slower than that (ie. a million times slower than GPU miners). What about using gamers' excess GPU to mine Bitcoins in an installable massively-multiplayer game? Is anyone trying this?

I wonder when will the bitcoin mining viruses appear. If done stealthily they could use spare resources and fall back when other GPU/CPU intensive task is launched. Such virus could be quite profitable if it spread widely enough.

And easily detectable by owning a laptop (that burning sensation isn't a UTI) or having fans in your computer (harder to tell if you live near an airport).

Re: Javascript Bitcoin Miner

#39
I hope this doesn't catch on. BItcoin got many merits against current currencies. This wouldn't be one of them.

That said, it's a nice proof-of-concept. Is there anyway to block this type of use of CPU without blocking JS?

Post reply on HN