3 ms·
If this becomes an open-source library that you can integrate into your app's own JavaScript blob and obfuscate, it can become ridiculously difficult to detect
by lewisl9029 9y ago
If this becomes an open-source library that you can integrate into your app's own JavaScript blob and obfuscate, it can become ridiculously difficult to detect and distinguish from regular JavaScript processing in a sufficiently complex web app, as long as the actual mining is throttled to a reasonably low rate.
This seems like something that will inevitably be everywhere and displace some use cases for advertising, and could possibly even replace it entirely eventually. I personally see it as the lesser of two evils, as long as apps don't try to run miners at full throttle and thereby provide a horrible user experience, and instead operate it at say 95% idle and only when I'm actively using the app. Although in practice I realize this is almost impossible to identify and enforce.
I'd much rather offer some limited amount of compute on my devices to support content creation on the web and than to offer my privacy and be subjected to subliminal mind tricks 24/7 as I'm forced to in the status quo.
- ganzuul 9y agoWhen browser tabs have audio, they get a little speaker icon. The same can be done for WebGL and WebCL. https://github.com/derjanb/hamiyoca/issues/2#issuecomment-117303029 https://github.com/derjanb/hamiyoca/issues/2#issuecomment-11...
- shawabawa3 9y agoI haven't done the maths, but I imagine even at full throttle it gives much less returns than advertising
- jdmichal 9y agoI just did the math for my machine, because why not... I was getting 35 hashes a second on my stock i5 2500K [0] with four threads. This was enough to get my fans revving up more than any game I ever play. For that rate, it works out to ~0.0018 USD per hour, using their 47 USD rate for the .5 XMR minimum payout. [0] https://ark.intel.com/products/52210/Intel-Core-i5-2500K-Processor-6M-Cache-up-to-3_70-GHz https://ark.intel.com/products/52210/Intel-Core-i5-2500K-Pro...
- merkaloid 9y agoIf you obfuscate it it will run even slower, and it wouldn't be hard to detect the code heuristically and kill it. And in case it does become really hard, you can just kill the network requests so whoever is mining on your PC doesn't get squat.