News for hackers. Stuff that matters.
Re:Javascript Bitcoin Miner by cookiecaper on Friday May 20, 2011 @12:45AM (#2566446)
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 is practically useless on CPU; even the fastest CPUs out get way, way less than 10mhash. The average length of time to find a block at 9999khash and current difficulty is 1200+ days, so even that estimate is over-optimistic, so this isn't worth anything if your users don't sit on your site for 5 years+, unless it's hooked into a pool or some other contraption to pay on shares instead of blocks.

Re:Javascript Bitcoin Miner by Groxx on Friday May 20, 2011 @02:44AM (#2566684)
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 by trotsky on Friday May 20, 2011 @07:43AM (#2567254)
Cribbing from post #35:

And you come to a total of 21,600,000 unique visitors per day that you would need to your website in order to hash the equivalent of a $100 GPU.

Or make about $8 per day according to the bitcoin calculator right now from 21 million unique visitors.... totally not worth it.

So, yeah. Significantly crapping on the user experience of 21M people by reducing their battery life, adding heat, adding fan noise, slowing down other actions - all to substitute for one gpu?

It seems like there must be better ways to ruin your high traffic websites reputation if that's what you're looking to do.

Re:Javascript Bitcoin Miner by code_duck on Friday May 20, 2011 @03:09AM (#2566764)
And if that's all IE9 does, how about the 40-60% of visitors using earlier IE versions with even worse JS performance (and no WebGL, of course).

This doesn't seem particularly viable, but it is a nice effort.

Re:Javascript Bitcoin Miner by wladimir on Friday May 20, 2011 @03:04AM (#2566746)
If you can have shaders in WebGL with integer ops (bitshifts, xor) you could do it.
Re:Javascript Bitcoin Miner by cookiecaper on Friday May 20, 2011 @01:35AM (#2566559)
And I should add that the prospects of finding any meaningful amount of shares, while much better than finding a block, are still quite low. My GPU can find a couple of shares per minute in a good minute, but it operates at 55.5Mhash, over 10x faster than my CPU (i7-2600K). Consider that most are going to have really slow CPUs and share the processor power with other heavy applications (Flash games), and you might get one share from the best computers in an average 10-20 minute visit if you're lucky. Shares are worth increasingly little and it depends on how you calculate what each share is worth (since btc generation is really totally based on blocks and each pool decides the value / share on its own, etc.), but I really doubt this is a viable replacement for advertisements or any other money-making endeavor for anyone, even the largest websites where people spend lots of time (Facebook, gmail).
Re:Javascript Bitcoin Miner by greyman on Friday May 20, 2011 @03:27AM (#2566805)
That was my first though - it's a nice idea, but came at least one year too late. Just yesterday, I ran miner through the www.bitcoinplus.com website, and on my regular PC machine it generated 0.002 BTC in 24 hours.

I am afraid the bitcoin mining is practically over, and the much more interesting question is - should I really invest my real money to buy some bitcoins? (current rate is about 7 USD). I am curious to learn what other HN-ers think of all this stuff.

Re:Javascript Bitcoin Miner by cloudwalking on Friday May 20, 2011 @03:59AM (#2566877)
An economist's take on bitcoin: http://www.quora.com/Is-the-cryptocurrency-Bitcoin-a-good-id...

Spoiler: bitcoin is a scam

Re:Javascript Bitcoin Miner by basugasubaku on Friday May 20, 2011 @06:05AM (#2567072)
He is a software developer at "SeatGeek", not an economist. He wrote "Internet Economist" as a joke.
Re:Javascript Bitcoin Miner by greyman on Friday May 20, 2011 @04:08AM (#2566894)
Even if he is right and bitcoin shouldn't be considered a "currency", but rather an asset or a scam to enrich the early adopters, I think there is still a question I wrote above, namely, if it is worth to buy bitcoins for money now.
Re:Javascript Bitcoin Miner by Groxx on Friday May 20, 2011 @04:41AM (#2566948)
There's quite a bit of misunderstanding in that post, especially with respect to systemic weaknesses. And a lot of unsubstantiated claims and terrifying graphs (like that tweet graph as something desirable for currency inflation - what it also implies is your savings going up in smoke).

I'd love to find an in-depth debate on Bitcoin from an economic standpoint, but this is not it. It's just more of the same half-understood FUD. And it is a horrible idea when half-understood - IMO, it remains to be seen if it's a horrible idea when fully-understood.

Re:Javascript Bitcoin Miner by rmc on Friday May 20, 2011 @05:05AM (#2566990)
BitCoin i svery similar to a gold backed currency. The fact that nearly all (?) currencies moved off the gold standard should tell you something of how economists view the gold standard.
Re:Javascript Bitcoin Miner by rakkhi on Friday May 20, 2011 @05:50AM (#2567049)
If you are a subscriber to Peter Schiff's views then moving off the gold standard was actually a big mistake. The comparison to the gold standard is actually what makes me think bitcoin has some legs
Re:Javascript Bitcoin Miner by reedlaw on Friday May 20, 2011 @06:25AM (#2567097)
How is bitcoin like the gold standard? Bitcoin is backed by what? It's more like a purely speculative currency. It's artificially scarce and worth nothing apart from it's perceived value. At least with gold there are many industrial uses for it. You can't do anything with a bitcoin other than trade it.
Re:Javascript Bitcoin Miner by stcredzero on Friday May 20, 2011 @06:42AM (#2567134)
It's artificially scarce and worth nothing apart from it's perceived value.

Are there any official currencies that this doesn't apply to?

Re:Javascript Bitcoin Miner by iwwr on Friday May 20, 2011 @07:41AM (#2567248)
You have to pay taxes and also settle debts in the official currency. That alone gives it more than mere 'perceived value'. Oh, needing it to buy oil also helps.
Re:Javascript Bitcoin Miner by jellicle on Friday May 20, 2011 @12:38PM (#2568367)
Precisely. Holding an official currency gives you the ability to stop the government from putting you in prison for nonpayment of taxes. This is a real tangible value that is a sort of baseline value store for official currencies that does not exist for other currencies.
Re:Javascript Bitcoin Miner by stcredzero on Friday May 20, 2011 @01:46PM (#2568722)
So, it's just a combination of money = power, and "All power comes from the end of a gun."
Re:Javascript Bitcoin Miner by iwwr on Friday May 20, 2011 @02:30PM (#2568888)
Power doesn't come from the gun, but from public legitimacy. In the same manner that it would be considered legitimate for someone to defend themselves with a gun.
Re:Javascript Bitcoin Miner by stcredzero on Saturday May 21, 2011 @02:09PM (#2571309)
That was a reference to Mao.
Re:Javascript Bitcoin Miner by jared314 on Sunday May 22, 2011 @11:25AM (#2573425)
So, we need a gun store that uses bitcoins.
Re:Javascript Bitcoin Miner by T-hawk on Friday May 20, 2011 @12:30PM (#2568320)
Governments moved their currencies off the gold standard. Mostly for the self-interest reason of establishing greater control over their currency, often to inflate their way out of debt.

Whether a gold (or Bitcoin) standard is good for the world economy as a whole is irrelevant, since the governments hold the power to implement it (or ban Bitcoin) and will act in their self-interest.

Re:Javascript Bitcoin Miner by epscylonb on Friday May 20, 2011 @05:44AM (#2567044)
and economists are always right?, how come so few saw the 2008 crash coming?

bitcoin is born out of a distrust with the current global economic status quo

Re:Javascript Bitcoin Miner by chalst on Friday May 20, 2011 @05:53AM (#2567057)
The tweet graph is meant to correlate with desirable growth in money supply, something Bitcoin needs to be liquid. You can have growth in money supply without inflation.
Re:Javascript Bitcoin Miner by VMG on Friday May 20, 2011 @08:14AM (#2567323)
Somebody can fork bitcoin and change that aspect.
Re:Javascript Bitcoin Miner by DennisP on Friday May 20, 2011 @11:57AM (#2568183)
He graphs the number of bitcoins over time, which is basically meaningless. If he were to graph the number of transactions, the number of users, or the total value of all bitcoins, he'd get an exponential curve upwards much like the twitter curve.
Re:Javascript Bitcoin Miner by nextparadigms on Friday May 20, 2011 @05:43AM (#2567043)
Weren't "the economists" blamed for the global crisis in the first place?
Re:Javascript Bitcoin Miner by pietro on Friday May 20, 2011 @04:18AM (#2566920)
He might be an economist, but he doesn't know anything about monetary history:

The economic assumptions underpinning the Bitcoin ecosystem are laughable, and ignore hundreds of years of accumulated understanding of how currencies work with each other.

Paper money is about 100 years old. That's it.

Re:Javascript Bitcoin Miner by glenngillen on Friday May 20, 2011 @05:08AM (#2566998)
By "paper money" do you (and the article's author) actually mean "fiat money" (http://en.wikipedia.org/wiki/Fiat_money) dating back 11th century China? It was in use as early as 18th century America.

The only thing about "paper money" that I can think of that is about 100 years old is the beginning of the departure from the gold standard (http://en.wikipedia.org/wiki/Gold_standard).

Re:Javascript Bitcoin Miner by liedra on Friday May 20, 2011 @06:51AM (#2567149)
I was at the Bank of England museum checking out the first "notes" the other day, and they date back to 1694. That's a little older than 100 years.
Re:Javascript Bitcoin Miner by wladimir on Friday May 20, 2011 @06:03AM (#2567069)
And of course the older things are the better they are. For example, we all now 1000 year old medical practices are good and effective whereas recently developed ones suck.

... why would it be true for economic practices? Some experimentation is good, without it there would never be any progress at all.

Appeal to authority based on the age of ideas is something you can only get away with in religion, astrology, and it seems, economic 'science'.

Sure, there is a large chance that new ideas might fail but you can't simply argue against them because they go against old ideas.

Re:Javascript Bitcoin Miner by lincolnq on Friday May 20, 2011 @07:28AM (#2567219)
I am investing $100 right now to hold long-term, with an 80-90% expectation of it being worthless in a few years.

The alternative, of course, is that bitcoin takes off, is not banned by governments, and is useful enough to enough people. If that occurs then I expect pretty high returns.

Re:Javascript Bitcoin Miner by endian on Friday May 20, 2011 @12:54AM (#2566474)
way, way less than 10mhash

s/mhash/Mhash/

Re:Javascript Bitcoin Miner by Groxx on Friday May 20, 2011 @02:41AM (#2566680)
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 by ghshephard on Friday May 20, 2011 @04:54AM (#2566968)
Ironically - your example speaks against itself. 100GB Drive is a very precise and agreed upon way of referring to a drive - it means 1x10^11 bytes. 93.1 GiB drive is unusual - we don't typically use powers of 2 when referring to drive length - so if you really mean 93.1 GiB, then it's important you call it out as such, or people (storage admins, driver manufacturers, and operating system developers) will understand you to mean 1X10^11 bytes when you say 100 Gigabytes. Precision has it's place.
Re:Javascript Bitcoin Miner by hmottestad on Friday May 20, 2011 @06:40AM (#2567127)
I thought this was the common way (gibi that is) to refer to harddrives in the OS, I thought that that was the reason harddrives were 100gb when i bought them but only showed up as 93gb on my computer.
Re:Javascript Bitcoin Miner by amalcon on Friday May 20, 2011 @10:20AM (#2567741)
It is. Everyone except the hard drive manufacturers uses GiB for technical reasons. Hard drive manufacturers use GB for marketing (and clarity, but mostly marketing) reasons.

It used to be common to speak of sizes in "hard drive megabytes". Eventually, the disk manufacturers won the pointless semantic battle and that went away.

In practice, it matters not in the slightest.

Re:Javascript Bitcoin Miner by jpr on Friday May 20, 2011 @01:47PM (#2568727)
Yet another case where "the common way" is wrong and disgusting. Nothing new here.