News for hackers. Stuff that matters.
Re:XMR mining app, built with Vue.js, D3 and CoinHive by lojack on Monday December 18, 2017 @04:09PM (#15955531)
> Does the value of XMR mined exceed the electricity consumed by the app?

Extremely unlikely. Even GPU mining with good hardware cuts it close with energy consumption depending on your energy costs.

Re:XMR mining app, built with Vue.js, D3 and CoinHive by lawn on Monday December 18, 2017 @04:26PM (#15955666)
Actually both GPU and CPU mining is generally profitable compared to the energy costs, of course depending on your rate.

But then there's the cost of the hardware which may be difficult to recoupe.

Re:XMR mining app, built with Vue.js, D3 and CoinHive by pfisch on Monday December 18, 2017 @04:36PM (#15955730)
This is just not true for basically all of 2017 with the rate at which the value of all the coins has been rising. Especially if it is your desktop on off hours so the hardware is essentially a sunk cost.
Re:XMR mining app, built with Vue.js, D3 and CoinHive by icelancer on Monday December 18, 2017 @07:11PM (#15956709)
> Extremely unlikely. Even GPU mining with good hardware cuts it close with energy consumption depending on your energy costs.

What? This is seriously wrong. ROI fluctuates between 200-600% for XMR and its derivatives.

Re:XMR mining app, built with Vue.js, D3 and CoinHive by lojack on Tuesday December 19, 2017 @12:49AM (#15958074)
I don’t currently mine, but everything I’ve been reading has roughly 2/3rds of your profit going towards electricity.

Regardless, I find it hard to believe CPU mining using JavaScript in a browser is even remotely energy efficient.

Re:XMR mining app, built with Vue.js, D3 and CoinHive by icelancer on Tuesday December 19, 2017 @04:07AM (#15958806)
At 12c/kwh with a Radeon RX Vega56 consuming 200W and a hashrate of 2000 h/s, mining XMR currently yields has a 61% profit margin; it's 79% ROI if you are getting free power.

This is not the most power efficient setup (as I said, there are far, far more efficient cards, especially when run in tandem) but it is the most sought-after card due to density. Regardless, it's exceptionally profitable to mine if you already own the card.

JS mining only takes a slight performance hit compared to native, actually; asm.js and others provide very good results since the problem is memory-hard, not computationally bound. It is definitely energy efficient and worth doing if all you care about is ROI vs. marginal utility rates in most American cities (perhaps not some of California). Nicehash built their business model around exactly that, which is the real reason people like libraries like the OP's - it's a distributed way to get people mining, not for the individual person themselves.

Re:XMR mining app, built with Vue.js, D3 and CoinHive by lojack on Tuesday December 19, 2017 @12:03PM (#15961626)
In that case, thanks for the correction. I suppose I made my original comment with a lot of assumptions that may be less true than I would have thought.
Re:XMR mining app, built with Vue.js, D3 and CoinHive by icelancer on Tuesday December 19, 2017 @12:04PM (#15961637)
No problem, thanks for being open minded. It won't last forever... probably. However, this is a lot different than BTC mining due to memory hardness.
Re:XMR mining app, built with Vue.js, D3 and CoinHive by bradoyler on Tuesday December 19, 2017 @09:27AM (#15960366)
Radeon Vega64 is insane. Sold out everywhere I’ve seen.
Re:XMR mining app, built with Vue.js, D3 and CoinHive by icelancer on Tuesday December 19, 2017 @12:03PM (#15961629)
The 64s are occasionally available, the 56s, no shot. Glad I got 7 close to MSRP when I did. There are actually more power efficient alternatives that hash better per dollar assuming that the price of a Vega is $600+, which it easily is. Just requires some heavy lifting.