News for hackers. Stuff that matters.
Re:Making a case for JavaScript, in-browser Mining by minitech on Thursday February 15, 2018 @08:12AM (#16383689)
> With a JS miner, you pay exactly as long as you keep the tab open, which is a pretty good proxy for how much the page is personally valuable to you.

I don’t think it is. People open links in new tabs for later, and “later” can be quite a while.

Re:Making a case for JavaScript, in-browser Mining by philipodonnell on Thursday February 15, 2018 @09:47AM (#16384370)
I mean its not like webpages know when tabs aren't active so they can suspend mining when you're not actively reading the content, right?

And its definitely not true that browsers can actively manage the resources available to inactive tabs, right?

Just because the current set of options doesn't respect these, that is not a reason to discard the idea entirely.

Re:Making a case for JavaScript, in-browser Mining by Tade0 on Thursday February 15, 2018 @08:35AM (#16383842)
Currently browsers assign less CPU time to tabs that are open but not in focus, so any mining would probably be affected as well.

In e.g. Chrome timer events in such a tab are fired only once per second.

Re:Making a case for JavaScript, in-browser Mining by tjoff on Thursday February 15, 2018 @08:40AM (#16383869)
Not good enough, not by a long shot. Even with that feature and all browser windows are completely minimized they still take a significant amount of CPU without any mining going on.
Re:Making a case for JavaScript, in-browser Mining by Tade0 on Thursday February 15, 2018 @09:33AM (#16384239)
I have an average of 30 tabs open at all times and to be honest I don't see it. Aside from the RAM usage background tabs are dormant. Where did you get this info?
Re:Making a case for JavaScript, in-browser Mining by seba_dos1 on Thursday February 15, 2018 @02:34PM (#16386812)
I have 1300 tabs open right now and circa 50 kept loaded, and can confirm. Recent versions of Firefox do a pretty good job at this.