Because Math.random's expensive and you don't want to execute it unless you're sure.
HN user
aquarion
You are, of course, entitled to your cynicism, but they've announced the existence of the console, the next version of Kinect, and what it looks like, and generated thirty stories on Hacker News alone, and taken over every console gaming site for the last day. Neither they nor Sony announce everything at once.
If you follow this link, and then follow their source (Which is http://www.wired.com/gamelife/2013/05/xbox-one-analysis/, though they also confirm with the Verge, which lists its source as the Wired article), you'll only need to do this if you want to install it locally. It goes on to say:
cite: http://www.wired.com/gamelife/2013/05/xbox-one-analysis/ But what if a second person simply wanted to put the disc in and play the game without installing – and without paying extra? In other words, what happens to our traditional concept of a “used game”? This is a question for which Microsoft did not yet have an answer, and is surely something that game buyers (as well as renters and lenders) will want to know. (Update: Microsoft called Wired after this story was originally published to say that the company did have a plan for used games, and that further details were forthcoming.)
So taking games around to other people's houses? Or used games? Undefined. Not evil, not announced. They might be doing something bad, but this is shit-stirring, and nothing more.
It's been kicked up a notch, though. It used to be Cold Fusion.
A few jobs back we did something similar, and posted in the ad that people could apply by solving http://unhelpfulclue.aqxs.net/lookup.php (Resulting email changed)
Technical tests before screening appear to be getting more common. Currently job-seeking, I'm getting a little frustrated by the number of times I have to prove that I can actually implement variants of Fizz Buzz. It'd be nice if I could submit a link to a previously completed Codility test or something...
(Yeah, it'd be nice if they accepted Github links or something as proof of technical competence, but as someone on the other side I don't really want to have to validate a hundred random OSS projects and check the province of the code in them)
Something like http://www.glitch.com/hire-a-genius/ ?