Slashdot Mirror


Hackers Spawn Web Supercomputer On Way To Chess World Record

New submitter DeathGrippe sends in an article from Wired about a new take on distributed computing efforts like SETI@Home. From Wired: "By inserting a bit of JavaScript into a webpage, Pethiyagoda says, a site owner could distribute a problem amongst all the site's visitors. Visitors' computers or phones would be running calculations in the background while they read a page. With enough visitors, he says, a site could farm out enough small calculations to solve some difficult problems. ... With this year's run on the value of Bitcoins — the popular digital currency — security expert Mikko Hyppönen thinks that criminals might soon start experimenting with this type of distributed computing too. He believes that crooks could infect websites with JavaScript code that would turn visitors into unsuspecting Bitcoin miners. As long as you're visiting the website, you're mining coins for someone else."

130 comments

  1. Cheap by Anonymous Coward · · Score: 5, Funny

    Better than looking at ads.

    1. Re:Cheap by Cow007 · · Score: 1

      Better than looking at ads.

      You're on to something, it seems like the usefulness and positive benefits to customers, science etc. Is being all but ignored.

      --
      411 Y0UR 8453 4R3 8310NG 70 U5!! -NSA
    2. Re:Cheap by Mathness · · Score: 4, Interesting

      It actually could be a fair exchange of resources instead of ads, I use some of yours when visiting your site and "consuming" your work and I give some back by doing some "work" for you. If what I provide is a reasonable use of my resources, I would have no problem with it as long as it is legal.

      --
      Carbon based humanoid in training.
  2. Why stop there... by socceroos · · Score: 3, Funny

    Lets just load a monolithic OS kernel written in javascript into visitor's RAM with the full OSI stack. Distribute your website to these small OSs and have them serve everyone else in the local network....

    1. Re:Why stop there... by Anonymous Coward · · Score: 0

      Not really all that difficult a task. Simply implement an ia32 emulator in JavaScript, then you'll be able to run Linux inside a web browser. Yes, this really is possible. Alternatively, implement a JavaScript back-end to GCC.

    2. Re:Why stop there... by Hentes · · Score: 1
  3. At Last! by Anonymous Coward · · Score: 2, Insightful

    At last! A practical form of "micro"-payments

    1. Re:At Last! by Big+Hairy+Ian · · Score: 1

      I saw this and thought is this news? Hackers were caught (Well spotted if not incarcerated) using bot nets to generate bitcoins last year. And one of the principle bitcoin engines is written in Java script just so you can add it to your website. News What News?

      --

      Build a Man a Fire, and He'll Be Warm for a Day. Set a Man on Fire, and He'll Be Warm for the Rest of His Life.

  4. That's not actually criminal by SuperKendall · · Score: 0

    Whenever you visit any web page with Javascript enabled, you are inherently agreeing to execute some code on your system. It doesn't really matter if it's displaying animated kittens are calculating bitcoin blocks. Indeed, we should all hail this as a great thing if it means criminals becoming less criminal...

    --
    "There is more worth loving than we have strength to love." - Brian Jay Stanley
    1. Re:That's not actually criminal by Anonymous Coward · · Score: 0

      Well, no. I think there are limits. I certainly have not and will never "inherently" agree to execute code on my system that helps them figure out a better way to vivisect a live kitten, for instance.

      That said, I think this form of "payment" is a great way to improve the web.

      You won't need an article spread over 30 pages because the calculating will occur on all the pages the same as long as they are viewing the page. You won't need obnoxious advertising (and your competitor won't have them, so you better lose them too if you want visitors). The trick will be to get visitors and keep them as opposed to now which is to get visitors and get them to click on advertisements. (And fewer advertisers to track all our website visits...)

    2. Re:That's not actually criminal by Dunbal · · Score: 2

      For all you may claim that the sign on the back of your front door states that I consented to be raped by you when invited to into your home, you still don't have the right to do it and are a criminal if you do.

      --
      Seven puppies were harmed during the making of this post.
    3. Re:That's not actually criminal by im_thatoneguy · · Score: 1

      I was thinking the same thing. I don't know that this is actually illegal or even unethical. We implicitly agree to watch ads etc when we visit a website. This could be a source of revenue far greater than advertising.

    4. Re:That's not actually criminal by FlyMysticalDJ · · Score: 2

      Whenever you visit any web page with Javascript enabled, you are inherently agreeing to execute some code on your system. It doesn't really matter if it's displaying animated kittens are calculating bitcoin blocks. Indeed, we should all hail this as a great thing if it means criminals becoming less criminal...

      I think you've missed the idea. From TFA:

      He believes that crooks could infect websites with JavaScript code that would turn visitors into unsuspecting Bitcoin miners. As long as you're visiting the website, you're mining coins for someone else

      The criminal activity isn't mining bitcoins on someone else's machine, it's putting your code on someone else's website without their consent. It's not a new type of criminal activity, just a new incentive to do it.

    5. Re:That's not actually criminal by Kaenneth · · Score: 3

      But it's not rape if there is consent, given by passing through the door...

      That's EULA logic, right?

    6. Re:That's not actually criminal by Dunbal · · Score: 1

      Yeah, try it on a judge. Let me know how it went.

      --
      Seven puppies were harmed during the making of this post.
    7. Re:That's not actually criminal by Anonymous Coward · · Score: 0

      I certainly have not and will never "inherently" agree to execute code on my system that helps them figure out a better way to vivisect a live kitten, for instance.

      I am going to start putting that clause in all of my project's eulas, in the hope that some day you will agree to it without noticing. Although, as far as I know, Apple or MS might have already beat me to that, since who the heck reads what is actually in their agreements.

    8. Re:That's not actually criminal by Anonymous Coward · · Score: 0

      If you can run code to figure out a better way to vivisect a kitten go for it. I always assumed a scalpel was the way to go.

    9. Re:That's not actually criminal by Anonymous Coward · · Score: 0

      Well, no. I think there are limits. I certainly have not and will never "inherently" agree to execute code on my system that helps them figure out a better way to vivisect a live kitten, for instance.

      Count me in! URL please?

    10. Re:That's not actually criminal by Anonymous Coward · · Score: 1

      It is EULA logic.

      EULA's mean shit all, at least here in the UK.

      Here, a contract is deemed illegal if it's unfair. It's extremely difficult to prove the fairness of a contract that is written and "signed" prior to money changing hands.

      Even if the only terms in the contract were "1. we hope you enjoy our product and expect that you tell your friends about it if you do enjoy it" there's absolutely jack the company can do to me if I do enjoy the product but remain silent.

      Explain that to me at time of purchase and I'd be considered liable.

    11. Re:That's not actually criminal by Anonymous Coward · · Score: 0

      grr "after money has changed hands" not prior /faceplam.

      as you can probably tell now, IANAL.

  5. Bitcoin mining in Javascript. by Anonymous Coward · · Score: 5, Informative

    ... only need to get ten trillion users for three days to get 0.001 BTC.

    I can already hear the hoards of criminals running to do this.

    1. Re:Bitcoin mining in Javascript. by ShanghaiBill · · Score: 1

      ... only need to get ten trillion users for three days to get 0.001 BTC.

      Have you used Javascript lately? Modern optimizers are very good. With WebGL you can use Javascript to run code on the GPU.

    2. Re: Bitcoin mining in Javascript. by Anonymous Coward · · Score: 0

      Have you tried mining bitcoins with a graphics card recently? People are using far better equipment.

    3. Re:Bitcoin mining in Javascript. by c · · Score: 1

      ... only need to get ten trillion users for three days to get 0.001 BTC.

      To be honest, I've heard of dumber micro-payment schemes...

      --
      Log in or piss off.
    4. Re:Bitcoin mining in Javascript. by pspahn · · Score: 1

      Did you see it in Superman III?

      --
      Someone flopped a steamer in the gene pool.
    5. Re:Bitcoin mining in Javascript. by Anonymous Coward · · Score: 0

      It does solve one of bitcoins biggest problems - the distressing efficiency with which it converts electricity into money.

    6. Re: Bitcoin mining in Javascript. by Anonymous Coward · · Score: 0

      Have you tried mining bitcoins with a graphics card recently? People are using far better equipment.

      Let's compare the two solutions:

      "Better equipment" (TM):
      Pro:
      x BTC every hour
      Con:
      Price-tag: >0$
      Power needed to run the rig: >0$

      "JavaScript miner" (TM):
      Pro:
      Price-tag: 0$
      Power needed to run the rig: Paid by someone else, so who gives a fuck?
      Con:
      <x BTC every hour

      A single "JavaScript miner" (TM) might be slower than a single "Better equipment" (TM), but since I don't have to pay anything, I can easily deploy a million or more of them and together they will easily beat your rig.

    7. Re:Bitcoin mining in Javascript. by Anonymous Coward · · Score: 0

      ... only need to get ten trillion users for three days to get 0.001 BTC.

      Just need ~1250 concurrent Raspberry PI level users or 11 PS3s or 2 three year old iMacs to make 0.01BTC($1.2 at todays rate) per day according to:

      http://www.alloscomp.com/bitcoin/calculator
      and
      https://en.bitcoin.it/wiki/Mining_hardware_comparison#ARM

      I can already hear the hoards of criminals running to do this.

      ALL YOUR BAS^H^H BTC ARE BELONG TO US

    8. Re:Bitcoin mining in Javascript. by c · · Score: 1

      No, it might have been in a Highlander sequel.

      --
      Log in or piss off.
  6. My understanding was this wouldn't work well by FooAtWFU · · Score: 4, Informative

    My understanding was this wouldn't work well for BitCoin, because the raw computing power people are throwing at it with GPUs and ASICs easily dwarfs even significant numbers of zombies, and even WebGL can't help you (too limited an instruction set).

    Of course by this point the matter is hearsay... but still, Bitcoin is a tough nut to crack these days.

    --
    The World Wide Web is dying. Soon, we shall have only the Internet.
    1. Re:My understanding was this wouldn't work well by Anonymous Coward · · Score: 0

      Every cpu/gpu cycle is useful - if you aren't the one paying for electricity nor hardware. I can't imagine any 'legit' use for http://code.google.com/p/hamiyoca/

    2. Re:My understanding was this wouldn't work well by Anonymous Coward · · Score: 0

      Bitcoin is a tough nut to crack these days.

      My nutcracker is made by ASICMINER 12 billion nuts a second and still cracking...

      This post made 0.02BTC while you where reading, thx

      CAPTCHA: 'Namely' - It's namely a case of shilling.

    3. Re:My understanding was this wouldn't work well by Anonymous Coward · · Score: 0

      I can't imagine any 'legit' use for http://code.google.com/p/hamiyoca/

      Would it help, if we slap a "research project"-sticker on it?

    4. Re:My understanding was this wouldn't work well by AmiMoJo · · Score: 1

      All the smart people are moving to LiteCoin. BitCoin is basically deal for mining, and the difficulty is going to rapidly increase now that ASIC miners are becoming available.

      LiteCoin is still easy enough that you can make a reasonable ROI with a GPU, barely.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
  7. Yay by Sneftel · · Score: 1

    I'm... kind of okay with this? Modern operating systems are hella-good at maintaining usability under high CPU loads, and the extra electricity consumed by the increased load wouldn't make much of a difference to me. If this is how they want to monetize web content, I'll take it over click-to-mute popunders any day. The "crooks" thing seems like it's just thrown in to increase the shock factor. Why wouldn't the site owners do this?

    --
    The opinions stated herein do not necessarily represent those of anybody at all. Deal with it.
    1. Re:Yay by Electricity+Likes+Me · · Score: 1

      Functionally it's identical to blocking ads to prevent.

    2. Re:Yay by TrollstonButterbeans · · Score: 1

      Functionally, this means the ultimate end of javascript. Because this means even ultimately secure code does not mean it can be trusted.

      Nor does it mean secure code isn't malicious, it just isn't malicious in the present sense of the word ....

      And that new abuse that does not fit the historical definition is coming down the pipeline.

      --
      Priest: "Universe from nothing, no laws of physics, sped up time"+ huge discrepancies. Creationism? No. Big Bang Theory
    3. Re:Yay by Anonymous Coward · · Score: 0

      Functionally, this means the ultimate end of javascript.

      Or it just means a combination of some more granularity to javascript blocking that is already around, or the introduction of speed throttling of a page's javascript. Even the latter already exists to some degree when browsers warning you a script is executing for too long, it will just get replaced by "This page is using a lot of cpu power, do you wish to a) let it continue at the default 10% cpu rate b) give it more cpu access c) stop the execution of this script."

    4. Re:Yay by Electricity+Likes+Me · · Score: 1

      We might see heuristic blocking of javascript come to the fore. Bitcoin miners at the end of the day have to upload to BTC hash servers, and produce BTC hashes.

    5. Re:Yay by Anonymous Coward · · Score: 0

      Not too worried as long as it isn't something that can keep running after kme is no longer on the site or using the browser. On a slight tangent, Zynga (or Facebook...) has hope, then, if they can make some of their apps do this...

    6. Re:Yay by Cow007 · · Score: 1

      A fail with a mobile device- the extra power requirements eating up the battery.

      --
      411 Y0UR 8453 4R3 8310NG 70 U5!! -NSA
  8. Re:Crooks definition by socceroos · · Score: 1, Insightful

    The Australian Government just passed a law allowing them to claim your money in your bank account as their own if you haven't used it in a while.

    I pick government.

  9. phone miners? ya right by Anonymous Coward · · Score: 0

    distribute all you want, phones running js miners wont contribute shit.

    1. Re:phone miners? ya right by Phil+Urich · · Score: 1

      But tens or hundreds of thousands of phone miners would. Finally, a step #2 for the classic 1. Hack big company's website 2. ??? 3. Profit! And considering how bloated most big companies' websites are, nobody would even notice.

      --
      I remember sigs. Oh, a simpler time!
    2. Re:phone miners? ya right by ninlilizi · · Score: 1

      Not unless a radical new battery technology becomes ubiquitous first.
      People would notice when their devices are bled dry in the time it takes to find what they want on the site.

    3. Re:phone miners? ya right by Tyler+Eaves · · Score: 1

      Not really profit. Considering you'd need MILLIONS of javascript miners to equal a single ASIC miner.

      --
      TODO: Something witty here...
  10. At last!... by TheloniousCoward · · Score: 1

    A practical form of "micro"-payments

    1. Re:At last!... by Anonymous Coward · · Score: 1

      oops, we just plain forgot to turn off the ads

  11. Better or worse than ads? by cervesaebraciator · · Score: 1

    As an alternative revenue stream to ads, this might make sense for some websites. Many of the flashier (so to speak) ads waste many resources as well, but to no productive end other than getting your attention.

    1. Re:Better or worse than ads? by Anonymous Coward · · Score: 0

      A thousand times better than advertisements. Advertisements demand your attention on them. This would demand your attention on the content which would be conveniently located all on the same page and not spread over a dozen pages.

  12. distributed with permissions? by Anonymous Coward · · Score: 0

    I read web-pages while my CPU and GPU crunch CG in the background. Do these applications respect a machines existing load?

  13. Fraud by Anonymous Coward · · Score: 0

    Unless I was getting something for this service you would be stealing my electricity and processor cycles.

    1. Re:Fraud by Anonymous Coward · · Score: 0

      But you are getting something. You're getting to visit the fellow's site, no?

    2. Re:Fraud by Anonymous Coward · · Score: 0

      You're getting content.

      Besides your statement is ridiculous, you chose to visit my website and my site pays for itself by selling computational cycles instead of ads. Don't like it? Leave.

      At no point is there fraud in there.

  14. What a waste. by viperidaenz · · Score: 1

    You'll need each visitor to stay on your page long enough for them to complete a significant amount of computation and upload the results.
    If the amount they compute is less than what is required to for the fork and join process in the problem, then its easier to not fork and join and do the computation locally.

    Every visitor that doesn't stay long enough wastes resources doing work that is thrown away. They'll also waste your own resources by asking for the input data and never giving you a result. That means its either going to take longer for that piece of input to be computed, because you could have given it to someone who stayed, but you don't know how long it will take to computer because you don't know the load of capacity of the node that is doing the work, so you'll need to wait a relatively long time before giving it to another node - or give the same data to several nodes at once - wasting resources again.

    1. Re:What a waste. by Anonymous Coward · · Score: 0

      How is this wasting resources? You can serve a website to many users for almost no cost.

    2. Re:What a waste. by Anonymous Coward · · Score: 0

      Did you even read the parent post? I'd expect better from someone on a tech website.

      If you are dong a mathematical problem for something like bitcoin, you cant give each visitor a identical data for their calculations. Each visitor would require unique data, so there has to be some sort of co-ordinating process at the server to dish out that data and track it's return. That doesnt happen at "almost no cost"

      If the effort spent coordinating is more than the results returned by the visitors then you may aswell have just run the calculation on the server.

  15. How to block ? by Taco+Cowboy · · Score: 2

    TFA tells us that people can do this or do that to the visitors' computers (or smartphones) but there's no hint on how to block all these ...

    Anyone can share a little insight on what kind of precaution that we can do in order to block out all those things from entering our own device in the first place --- other than not visiting those websites, I mean ...

    --
    Muchas Gracias, Señor Edward Snowden !
    1. Re:How to block ? by Anonymous Coward · · Score: 2, Funny

      Insert smarmy statement regarding how long I've been running noscript here

    2. Re:How to block ? by Anonymous Coward · · Score: 1

      You could disable Javascript to be sure, or install NoScript and spend a lot of time enabling various Javascript sources every time you visit a new website, trying to figure out what sources are needed to make the site work or if the site is just not worth it. Or you could just not care unless you notice the site slowing down your computer, in which case you would probably get one of those popups from the browser warning you Javascript is using too much CPU and asks if you want to stop it.

    3. Re:How to block ? by Anonymous Coward · · Score: 0

      Shouldn't someone with a 4 digit user id know the answer??

    4. Re:How to block ? by Algae_94 · · Score: 2

      As the AC mentioned, you can use NoScript to block these scripts from running on a site. You could also universally disable javascript in the browser. NoScript is the most granular blocking that I'm aware of, and it's granularity is by domain. This means if xyz.com has this sort of script on their site and you block xyz.com, the site would also not be able to do a lot of other javascript stuff. This can be range from no problem for the site to making the site unusable.

    5. Re:How to block ? by Anonymous Coward · · Score: 0

      I run NoScript often. And you end up learning a lot about how many different sites load javascript on every page on the internet.

      In practice just allowing javascript from the website your visiting will make things work well enough.

      Other than that, Firefox will often flag long running Javascript and ask you if you want to cancel it. But if they were smart enough to do it in short bursts (e.g. triggered by mouse movements), it would be very hard to stop.

    6. Re: How to block ? by Anonymous Coward · · Score: 0

      The bit coin miners should be easy, since they'd be submitting their results to some other website ... the ones that submit to the site you're viewing would be harder.

    7. Re:How to block ? by Anonymous Coward · · Score: 0

      Or o you may not allow noscript run script on site and nothing bad will happen. Most sites work just fine with no script enabled.

    8. Re:How to block ? by Anonymous Coward · · Score: 0

      Having run noscript for some time now, there are quite a few sites that will not show any useful content without enabling half a dozen different different domains for scripting. I usually don't go back to such sites, but initially it can be difficult to tell how bad it is, when it looks like you just need to enable one more domain to get it to work. And I don't mean some menu popup thing or other widget doesn't work, but there are quite a few where basic text doesn't even show up without javascript enabled...

    9. Re:How to block ? by Cenan · · Score: 3, Interesting

      The problem with noscript is that once you allow a domain, it's allowed regardless of which site you allowed it on. This is a huge problem, since I might trust domain x to use jQuery's CDN, but not site y. If I allow jQuery CDN it's allowed for both. Try blocking google-analytics for instance, and see how many sites break - for no other reason than that they want analytics to run, and their scripts check for this (or depend on it in some retarded way, I'm not sure). That means in order to use a handful of sites that have retarded dependencies, I have to allow this idiocy for every site i visit.

      The other problem with the granularity is that most professional sites pull in javascript from multiple domains, so it turns into a treasure hunt trying to find the handful of domains you need to unblock before the site works. And it's even more fun when the site has hidden dependencies, that only pop up after you allow a domain on the list - making the already long list expand dynamically. And of course there's no way to see the script you're allowing unless you want to sift through the entire source of the page.

      This is why noscript remains a nerd tool, the menu has a function that allows all scripts on a given site, a ripe choice of you already have the "click through" mentality. What a user sees is "lots of choices, this one makes the problem go away" and once that is learned the whole point of noscript goes the way of Windows UAC - yes, yes, yes, oh shut up.

      TL;DR: noscript is good advice, although it requires far more user maintenance than resonable.

      --
      ... whatever ...
    10. Re:How to block ? by Anonymous Coward · · Score: 0

      As with all of the intelligentsia, I have been executing noscript since before the DOW's Manic Monday rebound. Only the lower classes fail in their due diligence in securing their personal resources.

       

    11. Re:How to block ? by parkinglot777 · · Score: 1

      What I usually do is to temporarily enable javascript of that site (not any others in the list) to see if the content shows up. If it still doesn't, I simply revert the NoScript back and don't go to that site again. If a site requires third party scripts to get all functions up, I don't need it. I understand that it is nice and gives more flexibilities to use others' libraries over the Internet, but I prefer web sites that use their own contents/files.

    12. Re:How to block ? by Anonymous Coward · · Score: 0

      Sometimes it isn't third party scripts or domains, but just a website spreading their own stuff across three or four domains they own... one for what people type in, one for content delivery, one for images, and sometimes a random fourth one. It is pretty obvious when they are all named like foo.com, foocdn.org, fooimg.net.

    13. Re:How to block ? by Anonymous Coward · · Score: 0

      The same problems come around again and again. I need to limit the amount of processing power allocated to a javascript browser instance.

      Oh my... it's not like multi-user mini/main frames were doing that with users/quotas years ago.

    14. Re:How to block ? by kmoser · · Score: 1

      Insert lame joke regarding how, in Soviet Russia, Bitcoin mines you!.

    15. Re:How to block ? by thoughtlover · · Score: 1

      I block google-analytics and haven't noticed any problems whether it be http or https traffic. No problems whether it's on a blog or a shopping cart. Blocking Google APIs or GStatic can break functionality, however.

      --
      No sig for you! Come back one year!
    16. Re:How to block ? by Cenan · · Score: 1

      Yeah I rechecked my settings after posting and you're right. It's Google APIs that break stuff. However, site owners still have retarded dependencies on those. I frequently run into problems with sites that have a little map in a widget off to the side. If Google APIs are blocked, the whole site stutters and falls on it's face, when it shouldn't.

      --
      ... whatever ...
  16. PORNOGRAPHY by Anonymous Coward · · Score: 0

    Sites that have pictures of noodie women (and men) could make a packet from the non-paying visitors by using their CPU power to generate them money - I'm sure the visitors won't even notice their CPU usage just went to 100%...

  17. and... by Anonymous Coward · · Score: 0

    Shyt happens already. ..

  18. IE and Safari don't have WebGL by tepples · · Score: 1

    Microsoft has refused to implement WebGL in any released version of IE for security reasons. Apple implemented it in Safari but disabled it by default on the Mac and restricted it to use only by iAds on iOS.

    1. Re:IE and Safari don't have WebGL by Anonymous Coward · · Score: 0

      "Kittens vs. Zombies 3 requires WebGL to function. Please enable or switch to a different browser to continue."

    2. Re:IE and Safari don't have WebGL by Anonymous Coward · · Score: 0

      Microsoft's definition of security differs markedly from customers... namely... WebGL might allow you to access the raw frames being displayed by the video card.

      In other words: it's Microsoft's desire to suck the dick of the RIAA that's behind it.

  19. Is javascript a good idea? by Okian+Warrior · · Score: 1

    I've often wondered if including a programming language in a browser is a good idea.

    On the functionality side, I don't really think it adds much required functionality. The only useful functionality seems to be in validating web form data (Don't let the user submit without required fields, make sure no spaces are in the CC number, &c). The vast majority of these could be handled by changes in the HTML specification with fields specific to type, flags, and so on. Video and other media players should be built-in to the browser and be based on standardized formats.

    There's a number of useless features that everyone clamors for, such as showing text in a box that changes when you click in it (such as "search" boxes), worthless animation, and clever actions that don't appreciably add to readability or access.

    On the negative side, there's the innumerable ways in which the user can be taken advantage of - popups and pop-under, spreading malware, insufficient sandboxing, privacy leakage, tracking, and so on.

    By turning the browser into a general-purpose computer, the industry has created yet another attack vector. All for something which is for the most part a static, read-only experience.

    Microsoft added ActiveX to their E-mail reader, and it was a disaster. I put Javascript on websites in the same category.

    1. Re:Is javascript a good idea? by Anonymous Coward · · Score: 0

      On the functionality side, I don't really think it adds much required functionality.

      On a functionality side, I don't think images and CSS add much required functionality to websites. If an image is important enough, there are plenty of image viewing programs you can use after downloading the image. Otherwise, it is a bunch of people just wanting to make their websites look different from each other, or saving the effort of forcing the server to do more detailed layout and structure for a page...

    2. Re:Is javascript a good idea? by Anonymous Coward · · Score: 0

      So all you ever do on the web is fill out forms? Good for you, just use Noscript. For anybody who uses interactive web sites that is not an option.

    3. Re:Is javascript a good idea? by Kal+Zekdor · · Score: 2

      You would be absolutely correct... if this was 1995. Web sites haven't been a "static, read-only experience" in ages (many of them, anyway). You interact with web pages, not merely consume them, as you would an RSS feed. While I hate javascript with a passion, it has made it possible for us to move from web pages to web apps. Many of the sites most people use everyday would be completely impossible without client side scripting. I wish that scripting would be done in something that doesn't suck as hard as javascript, but that's neither here nor there.

  20. Re:Crooks definition by popo · · Score: 0, Offtopic

    John Corzine stole a billion dollars and walked away without a trial.

    The government of Cyprus stole money from people's bank accounts.

    HSBC openly laundered money for Mexican drug cartels, and admitted to it. But no charges were pressed, as HSBC is too big to fail.

    You could keep giving examples like the ones above for hours on end.

    "Crime" is a very selective word these days indeed...

    --
    ------ The best brain training is now totally free : )
  21. Oh well.. by aliquis · · Score: 1

    it's that or those damn flash ads using up all my computer resources anyway.

    May just as well at least get rid of the ads =P

  22. Job for a 4-digit user by Anonymous Coward · · Score: 0

    Their job is not to post comments as the rest of us do

    Their job is to post comments eliciting _other_ comments

    My suspicion is that the guy (a "cowboy" should be a guy) knows what to do, and his comment was intent to get others to post the correct answer (or answers) in such ways that others can benefit from it

    However, I may be wrong

    1. Re:Job for a 4-digit user by Anonymous Coward · · Score: 0

      I've thought the same thing. I also think some of the genuine lower id users post as AC.

  23. "I don't think these guys are very bright" by tepples · · Score: 1
    Anonymous Coward predicted that a web site with a hidden Bitcoin miner might use language like this to get users to run it:

    "Kittens vs. Zombies 3 requires WebGL to function. Please enable or switch to a different browser to continue."

    For one thing, iPad and Surface users can't just "enable or switch to a different browser" without dropping hundreds of dollars on hardware that runs a less-closed operating system. For another, users would react to something that doesn't work in their preferred browser by thinking "I don't think these guys are very bright" and clicking away, if iamhassi's comment is any indication.

    1. Re:"I don't think these guys are very bright" by Anonymous Coward · · Score: 0

      People who can't possibly run it obviously won't run it, and people too stupid to even use basic functionality are difficult to target for any attack that requires user action. However, that hasn't really gotten in the way of plenty of other security issues in the past.

      The point is people will sacrifice computer security for really trivial things. How many people have install stupid crap from the internet that were just thin wrappers around malware? How many people just click through popups to bypass things (if WebGL gets popular enough and isn't outright enabled by default, that might be another option)?

      I had a friend who once published a flash game that wouldn't work right without a large (> 1 MB) save file on the user's drive. So he had to give instructions on how to set flash to let the game save unlimited amount of data on the hard drive. Even if some people couldn't understand his instructions, and some idiots complain it is broken, he got hundreds of thousands of positive reviews from people that managed to follow through on such instructions.

  24. Stupid summary, what about this "Chess Record"? by complete+loony · · Score: 2

    I mean it's in the title, got me all interested. Then I read the summary and it's all about a stupid approach to bitcoin mining. So what was this "Chess Record" they were talking about? You expect me to RTFA for that?

    --
    09F91102 no, 455FE104 nope, F190A1E8 uh-uh, 7A5F8A09 that's not it, C87294CE no. Ah! 452F6E403CDF10714E41DFAA257D313F.
    1. Re:Stupid summary, what about this "Chess Record"? by Anonymous Coward · · Score: 1

      Nothing to do with chess.
      Just solving the N-queens problem for a larger N than ever solved before. Yawn.

  25. The Future of Web 3.0 (or whatever version) by reluctantjoiner · · Score: 1

    I like this idea, except it would probably have to use something where mining takes "less work", otherwise, as AC pointed out below, you'd have to have millions of users just to get epsilon money.

    But if you make mining easier, then everyone else pulls out their old mining rigs and exhausts the supply of coins that much quicker. Unless you build a large amount of inflation into the system, or put an expiry on the coins.

    It would be nice if distributed problems had a standard value. (E.g. The solution to this protein folding problem is worth $1, incidentally giving the currency an intrinsic value). Then some one like Google could distribute the problems ("DistWords"), and website operators would collect the revenue of solved problems.

  26. CrowdProcess is doing this by goncalopp · · Score: 1

    There a startup named CrowdProcess doing something similar. Their business plan is to pay websites to include their javascript, and sell the computation time to developers. This way, the websites can cover hosting costs without resorting to ads.

  27. Ha Ha... by rthille · · Score: 1

    I posted just this idea on one of the bitcoin stories recently.

    --
    Awesome furniture, accessories and cabinetry in Santa Rosa, CA: http://humanity-home.com/
  28. Mining Bitcoins is so over by Animats · · Score: 1

    Mining Bitcoins is over. Doing it with an ordinary CPU is hopeless. Doing it with a GPU barely pays for the power consumption. Doing it with FPGA hardware still sort of works, but not for much longer. Doing it with ASICs requires dealing with slimeballs who insist you pre-pay for hardware and deliver months later, if at all.

    Remember, more than half the Bitcoins that can exist have already been mined, and it gets steadily harder.

    Stealing other people's GPU cycles has a track record of success. But it's hard to do that from JavaScript.

    1. Re:Mining Bitcoins is so over by Anonymous Coward · · Score: 0

      Doing it with ASICs requires dealing with slimeballs who insist you pre-pay for hardware and deliver months later, if at all.

      Maybe you were too preoccupied with greed to get it from the one company that actually DOES have a shipping product(Global delivery in 3Days): Block Erupter Blade
      Proven track record with 1000s of units sold already(usb miner and blades)

      Remember, more than half the Bitcoins that can exist have already been mined, and it gets steadily harder.

      And almost half are yet to be taken, >40% of that within the next 3½ years.

      Stealing other people's GPU cycles has a track record of success. But it's hard to do that from JavaScript.

      Yet I bet the slimeballs will still manage somehow 1dice9wVtrKZTBbAZqz1XiTmboYyvpD3t

    2. Re:Mining Bitcoins is so over by Anonymous Coward · · Score: 0

      Doing it with ASICs requires dealing with slimeballs who insist you pre-pay for hardware and deliver months later

      Sounds like 90+% of the electronic parts I buy at my job. Half the time, the delivery time estimate of quotes matter more than the price quoted. Welcome to the world of industrial and/or low volume electronics.

  29. Hooray by Anonymous Coward · · Score: 0

    Another reason to disable javascript.

  30. It's still unethical by Fred+Ferrigno · · Score: 2

    Whenever you visit any web page with Javascript enabled, you are inherently agreeing to execute some code on your system.

    Just because you tricked the user into running your code doesn't mean it's OK to do whatever you want with their system. Users would never agree to run such code if they knew what it did ahead of time. If your software relies on lazy users who don't understand what they're agreeing to, then congratulations, you're a malware author.

    1. Re:It's still unethical by Anonymous Coward · · Score: 0

      So Microsoft is a malware author?

  31. No by YuppieScum · · Score: 1

    We never do that...

    --
    This sig left unintentionally blank.
    1. Re:No by Anonymous Coward · · Score: 0

      It's true we^H^Hthey never do...

  32. Already Happening by Flere+Imsaho · · Score: 1

    The ZeroAccess botnet is known to be mining BTC. I've seen estimates of 1-3 million USD worth mined each year. Mind you, difficulty has gone up a lot since I saw that.
    http://en.wikipedia.org/wiki/ZeroAccess_botnet

    --
    It gripped her hand gently. 'Regret is for humans,' it said.
  33. Re:Crooks definition by Anonymous Coward · · Score: 0

    The Australian Government just passed a law allowing them to claim your money in your bank account as their own if you haven't used it in a while.

    I pick government.

    We beat you.

    Sweden is getting a new harsher law against money laundering June 2014. Which allows the goverment to take any of your assets unless you can prove how you got them. (In practice: they freeze the assets for a year; and unless you have proven that the assets are legally obtained, they are forfeited to the goverment).

  34. Re:Crooks definition by socceroos · · Score: 1

    That is pretty bad, because you're going to have a hard time 'proving' all your money and belongings are yours rightfully. However, I'd say this Australian one is a little bit worse because it is a proactive law. This Swedish law you refer to sounds like it 'could' be used against you should the government decide to. However, the new Australian law is proactive, they are actually taking your 'unused' money right now, no questions asked.

  35. It's already been done. by Anonymous Coward · · Score: 0

    It doesn't work because people will notice and unless you're getting a billion hits a day and they all stay on your page for an hour you wouldn't make any real money.

  36. Re: Crooks definition by Nikker · · Score: 1

    It shouldn't be that hard proving the house and car are yours.

    --
    A loop, by its nature, continues. If that didn't make sense, start reading this sentence again.
  37. Slashdot Against Bitcoin? by Anonymous Coward · · Score: 0

    Why is everyone on /. so stupid about Bitcoin, and hell bent on making it look bad?

    We are supposed to be knowledgeable nerds! Not fear mongers

    Bitcoin javascript miners already exist, please check github out first https://github.com/progranism/Bitcoin-JavaScript-Miner

    There are also pools that provide an embedded javascript.

    This has already been done several times! You get about 3-7 megahashes per second per page. If a users opens too many concurrent pages, the host crashes. Assuming it doesn't crash, 7MH/s will get you 0.000289659043821 BTC per day or $0.035 per 24 hours of viewing time.

    In short, computers crash before it's profitable. How do I know, it's been done, check the forums.

    Seeing that hackers have cashed in millions with much much smarter strategies, I doubt this is an issue.

    Dear /. , can we please collectively stop looking like idiots. I tell people about this site... You are making me look bad

    1. Re:Slashdot Against Bitcoin? by witherstaff · · Score: 1

      I agree. Real geeks should know that bitcoins aren't worth doing CPU mining. Litecoin is the place for that until all the GPU bitcoin miners move over to LTC.

  38. Didn't we learn this is a stupid idea? by zAPPzAPP · · Score: 1

    This idea is not exactly a new one.

    Just recently there was that thing:
    http://www.cbc.ca/news/technology/story/2013/05/02/technology-esea-bitcoin-mining.html

    The efficiency is so bad, coupled with expected user backlash, it is a dangerous joke at best.

  39. What about botnets? by smutt · · Score: 2

    Why not just purchase a botnet? It's cheaper and easier than getting millions of people to visit a website. And you don't have to limit yourself to JS.

    --
    The Information Revolution will be fought on the command line.
    1. Re:What about botnets? by gl4ss · · Score: 1

      because then you wouldn't have an article about an idea everyone had years ago.

      --
      world was created 5 seconds before this post as it is.
    2. Re:What about botnets? by sociocapitalist · · Score: 1

      Why not just purchase a botnet? It's cheaper and easier than getting millions of people to visit a website. And you don't have to limit yourself to JS.

      Presumably buying a botnet is more expensive than the gain from the mining you would realize with it.

      --
      blindly antisocialist = antisocial
  40. Nothing new. by Anonymous Coward · · Score: 0

    A distributed Javascript project has been running for years here:

    http://cgi.csc.liv.ac.uk/~acollins/pi

  41. Chess, anyone? by xded · · Score: 2

    Came here for the "chess world record" mentioned in TFT and didn't find a single word about it, neither in TFS nor in TFCs... Did anyone realize how this article is actually about a bunch of guys parallelizing the eight queens puzzle, running it first on anything from browsers to Blackberrys, then porting it to Hadoop, and on the way to break the world record computing the number of solutions for a chess board of 27x27 tiles?

    TFA mentions the word "bitcoin" in the last 2 paragraphs out of 23, and everybody goes crazy about it. Welcome to Slashdot 2013.

    1. Re:Chess, anyone? by Anonymous Coward · · Score: 0

      Thank you, I was trying to figure out if my browser was hi-jacked or something because I could not find any way to match the article with the title. The only piece of information that matched directly was solving large problems and super computers. There was no chess, no hackers spawning anything, no world record, and I nearly left wondering if I should try going to this headline again in hopes of finding the real article...

  42. 1 / 1000 efficiency by grimJester · · Score: 1

    Yeah, I pulled that number out of my ass, but it's probably not far from the truth. A web giant like Google implementing this on all their sites would probably make an MW worth of profit ($50 an hour?) and waste a GW of electricity worldwide.

    1. Re:1 / 1000 efficiency by ikaruga · · Score: 1

      Not their electricity, not their problem.
      I think the risk of bad publicity and potential lawsuits, from both users and governments, is just not worth it.

  43. Like cookies ever stopped anyone? by Anonymous Coward · · Score: 0

    "...As long as you're visiting the website, you're mining coins for someone else."

    Find me someone who is going to give a shit.

    Seriously.

    Facebook could market the fact they're doing this, and no one would give a shit.

    If cookies didn't stop people from visiting websites, what the hell makes you think this will.

  44. Same as Ads by Anonymous Coward · · Score: 0

    By viewing website ads, we are using our processor to render images and video.
    How is this any different from any other bitcoin mining tool embedded in JavaScript?
    If that function does not take too much processing time (fair use), just like an multimedia add, both generate some kind of revenue for the website creator.
    It can't get any "fairer"(!) than that.

  45. Re:Crooks definition by Anonymous Coward · · Score: 0

    Intriguingly, the Australian government is also involved in the most high-profile case of trying to mine bitcoins off public webpages with javascript: http://www.smh.com.au/technology/technology-news/secret-money-abc-virtual-currency-racket-probe-20110623-1ggp6.html

    So yeah, this whole article has already happened. It turns out that mining via javascript isn't very efficient, and even webGL mining isn't likely to cover the cost of hosting content.

  46. Use it For Good by connor4312 · · Score: 1

    Now, if something like this could be used for... real... projects, like Rosetta@Home or other good BOINC projects, they could potentially do some real good.

  47. NoScript by Anonymous Coward · · Score: 0

    Suddenly NoScript plugin became much more important ^_^

  48. No it most definitely could not, this is BS by slashmydots · · Score: 1

    For the last fucking time (hopefully) CPUs and even ideal advanced GPUs like the king of them all, the Radeon 5830 STILL CANNOT MATCH THE NEW ASICs. Normal computers (and TVs and phones) cannot effectively mine bitcoins anymore. You could mine on my i5-2400 24/7 for an entire year straight and come up a couple dollars. Unless anyone has an ASIC miner, they could control 100,000 computers and run them at a nice and undetectable 25% indefinitely and make a tiny, tiny amount of money.

    1. Re:No it most definitely could not, this is BS by neminem · · Score: 1

      Um. I have no idea of the actual math behind running bitcoin miners on different computers, but if you could mine a couple dollars on your computer if you ran it for a year, then if you ran 100,000 computers you'd get a couple hundred thousand dollars a year. If a couple hundred thousand dollars a year is a "tiny, tiny amount of money" to you... could you send me a tiny, tiny amount of money?

  49. Benefit of doubt by tepples · · Score: 1

    WebGL might allow you to access the raw frames being displayed by the video card.

    In other words: it's Microsoft's desire to suck the dick of the RIAA that's behind it.

    I'd be inclined to give Microsoft the benefit of the doubt that someone might be displaying a confidential document on half of a 1920x1080 monitor and a web page on the other half, and the user doesn't want the web page to be able to "steal" the user's employer's trade secrets.