Slashdot Mirror


True Random Number Generator Goes Online

amigoro writes "A 'true' random number generator that relies on the unpredictable quantum process of photon emission has gone online providing academic and scientific community access to true random numbers free of charge."

439 comments

  1. Wow! by Anonymous Coward · · Score: 5, Funny

    ..BZT, qvq nalbar frr gung gb ertvfgre lbh unir
    gb fbyir n zngu ceboyrz yvxr:

        qrevingvir bs (5*fva 3k +6pbf(-cv/2))

    Avpr!

    Urer vf n qverpg yvax gb gur trarengbe, lbh pna
    qbjaybnq gur pyvrag sebz urer nf jryy:

    uggc://enaqbz.veo.ue/

    DEnaq Pbzznaq-yvar Hgvyvgl [i0.2, 2007-07-17]
    Abgr 1: Pbzcvyrf haqre Ivfhny Fghqvb naq t++.
    Abgr 2: Jvaqbjf rkrphgnoyr vapyhqrq.
    Abgr 3: TAH Yvahk rkrphgnoyr vapyhqrq.

    1. Re:Wow! by Xiph1980 · · Score: 5, Informative
      Too bad that's only ROT13:
      Not really the hardest of encryptions to crack.

      ..OMG, did anyone see that to register you have
      to solve a math problem like:

      derivative of (5*sin 3x +6cos(-pi/2))

      Nice!

      Here is a direct link to the generator, you can
      download the client from here as well:

      http://random.irb.hr/

      QRand Command-line Utility [v0.2, 2007-07-17]
      Note 1: Compiles under Visual Studio and g++.
      Note 2: Windows executable included.
      Note 3: GNU Linux executable included.
      --
      Manuals are your last resort only
    2. Re:Wow! by MillionthMonkey · · Score: 5, Funny

      ..OMG, did anyone see that to register you have to solve a math problem like:

      derivative of (5*sin 3x +6cos(-pi/2))


      7h15 15 345y. 6 * (05(-p1/2) = z3r0), 50 7h3 4n5w3r 15 ju57 15 * (05(3x).

      |\/|y m07h3r (0u|d h4v3 d1ff3r3n71473d 7h47.

    3. Re:Wow! by Xiph1980 · · Score: 4, Informative

      Your mother a math teacher or a PhD?
      My mother doesn't even know what a sine is, let alone solve that to 15*cos(3x)

      --
      Manuals are your last resort only
    4. Re:Wow! by Shadow+Wrought · · Score: 3, Funny

      Nah, he's just the millionth one. The first 999,999 turned up crap. All 1,000,001 could come up with was, "It was the best of times, it was the blurst of times..."

      --
      If brevity is the soul of wit, then how does one explain Twitter?
    5. Re:Wow! by Anonymous Coward · · Score: 0, Interesting

      Took figuring out six or seven characters before I realized that the alphabet was simply mapped to itself halfway down. After that, it was quick to read the message. Always found these things to be neat.

    6. Re:Wow! by muffel · · Score: 0, Offtopic

      Am I the only one who only now feels he needs to actually look at the article and register?

      --

      bla
    7. Re:Wow! by Brian+Gordon · · Score: 1

      I registered just to show that I could solve the math problem :) That's such a great idea, it makes anyone who would actually use their service proud that they know how to solve it, and keeps registrations down to keep 11 year olds out.

    8. Re:Wow! by chebucto · · Score: 0, Offtopic

      Vg'f pnyyrq EBG-13 (ebgngr 13 punenpgref). Vg jnf bsgra hfrq ba hfrarg nf n jnl bs uvqvat vasbezngvba fbzr crbcyr zvtug jnag gb fxvc (yvxr fcbvyref sbe n zbivr) jvgubhg znxvat qrpelcgvba gbb qvssvphyg.

      Abj lbh zvtug haqrefgnaq jul hfvat qbhoyr EBG-13 vf abg fhpu n tbbq vqrn :)

      --
      The English word fart is one of the oldest words in the English vocabulary.
    9. Re:Wow! by Anonymous Coward · · Score: 0

      These questions are biased too much towards math geeks. To even it out they need some questions a slashdot user couldn't answer. IE

      What do breasts feel like?

    10. Re:Wow! by Anonymous Coward · · Score: 0

      You don't need to evaluate 6cos(pi/2). It's constant, so d/dx is zero.

    11. Re:Wow! by kestasjk · · Score: 1

      You learn how to solve differentiation problems like these in high school here. Also I don't get why the parent implied that it mattered that 6*cos(-pi/2) = 0 . Even if it was 6*cos(0) = 6 that wouldn't matter because it's constant and so gets discarded.

      --
      // MD_Update(&m,buf,j);
    12. Re:Wow! by MillionthMonkey · · Score: 0, Troll

      You don't need to evaluate 6cos(pi/2). It's constant, so d/dx is zero.

      444r6h (4n'7 y0u r34d? 7h47 15 3x4(7|y wh47 1 ju57 wr073!

      4nd y0u'r3 571|| m1551n6 7h3 73rm f0r d5(053x/dx.

    13. Re:Wow! by MillionthMonkey · · Score: 0, Troll

      1 r3(06n1z3d 7h47 73rm w45 z3r0 45 500n 45 1 54w 17. 50m3 p30p|3 d0n'7 und3r574nd d3r1v471v35, 50 1 50und m0r3 (0nv1n(1n6 1f 1 p01n7 0u7 7h47 7h3 0r161n4| 73rm 15 z3r0 45 0pp053d 70 51x f0r 3x4mp|3.

    14. Re:Wow! by Anonymous Coward · · Score: 0

      Why would anyone run a foreign linux binary - I don't trust it.

    15. Re:Wow! by FormOfActionBanana · · Score: 1

      I've always found you to be really neat.

      --
      Take off every 'sig' !!
    16. Re:Wow! by cp.tar · · Score: 1

      Wow... I had no idea the guys at IRB were working on that...

      It's actually quite amazing... they work on superconductivity, quantum mechanics and similar interesting stuff, though they're not exactly well-financed, AFAIK...

      But go figure... the IRB is within walking distance from me, yet I learn about this on /.
      Either I spend too much time here or these guys don't get nearly enough media coverage in Croatia.

      --
      Ignore this signature. By order.
    17. Re:Wow! by Anonymous Coward · · Score: 0
      Too bad that's only ROT13:
      Not really the hardest of encryptions to crack.


      Oh wow! You must be friends with Bruce and Jon.

    18. Re:Wow! by Anonymous Coward · · Score: 4, Funny

      Too bad that's only ROT13: Not really the hardest of encryptions to crack.

      Yeah, that's why I always apply it twice for extra security.

    19. Re:Wow! by AmiAthena · · Score: 4, Funny

      I'm sure my mom would be proud if I told her that I'm lost on the math, but I read that in one pass with no problem. *sigh*

    20. Re:Wow! by mollymoo · · Score: 1

      7h15 15 345y. 6 * (05(-p1/2) = z3r0), 50 7h3 4n5w3r 15 ju57 15 * (05(3x).

      |\/|y m07h3r (0u|d h4v3 d1ff3r3n71473d 7h47.

      Holy shit, the Rot-13 in the first post was easier to read. And I don't have a Rot-13 [de|en]coder on this machine.

      --
      Chernobyl 'not a wildlife haven' - BBC News
    21. Re:Wow! by fbjon · · Score: 1

      I can handle 1337, but 1337 + |V|47h is just too much.

      --
      True confidence comes not from realising you are as good as your peers, but that your peers are as bad as you are.
    22. Re:Wow! by AP31R0N · · Score: 1

      i'm encrypting this post with ROT-13 twice. Try to crack that! So i have a question: Why is it so hard to get a computer to do something that a die can do easily? Please 'splain to the non-comp-sci/math person. No, 'splaining would take too long... sum up.

      --
      Utilizing the synergization of benchmark e-solutions to pre-workaround action items!
    23. Re:Wow! by dkasak · · Score: 1

      VGLZ EBG-68.

    24. Re:Wow! by Man+Eating+Duck · · Score: 1

      Summing up: While a good pseudorandom algorithm in a computer can make sequences of numbers that seem random, in reality it is deterministic, meaning that there is a system behind it. It's not apparent, it can (should) be very complex, but it exists.

      A die, as well, will always be biased. There is no such thing as a perfect cube in real life. The approximation can be good enough for all practical purposes, but it can never be truly random.

      Quantom and decay-based randomness is believed to be truly random. There is no "hidden clockwork" or countdown mechanism that decides when an emission from a radioactive nucleus will happen. It just happens when it happens, and yes, it boggles the mind :)

      There is no reason why you can't observe emissions and extract randomness from their timing for use by a computer, and this has been done over and over. Have a look at this page for an example: http://www.fourmilab.ch/hotbits/

      HTH!

      --
      Are you a grammar Nazi? I'm trying to improve my English; please correct my errors! :)
    25. Re:Wow! by AP31R0N · · Score: 1

      Thank you.

      Perhaps it is a matter of "random: scientifically" versus "random: practically" or some such. i get that a die roll is not actually random. The position of the die, the turn of my hand, the hardness of the surface etc etc all determine the outcome. But i see random as "i can't predict it". Even if a pipped d6 tends to roll high/low or 3's, for my purposes (determining damage from a rapier), it is "random enough". The article is of course referring to true randomness, not random enough for gaming.

      Why use an algorithm? Can't it just pick a number from X to Y? i can pick a number. Is it a limitation of code/the nature of computers? i promise i'm not trying to be argumentative or contrary. i honestly don't get why it's difficult.

      One of my own observations:

      The Predictability Cone and Funnel

      If a car is on the salt flats at full speed, it can turn only a few degrees without tumbling to the driver's death. So for every second of driving there is a few degrees off the original course that they car can possibly be. Each additional second out into the future shows possible locations of the car in an ever widening cone. The further out you try to predict where the car might be, the harder it gets, the less likely you are to be right.

      You have a high speed camera trained on the roll of a die, you try to make a prediction of what it will roll. If it is a d6, you have a 1 in 6 chance of being right. You press play on the tape and watch the die tumble. As the die decelerates, it will become more and more apparent what the outcome will be. The possibilities go from 1, 2, 3, 4, 5, 6 to 1, 3, 5 then 1 and 3, then 3. Your ability to predict the outcome increases as the possibilities go down.

      You can see the same thing in weather forecasting, it is easier to predict tomorrow than a week from now. As time passes, the weather of next Thursday will be easier and easier to predict. Yes, it's intuitively obvious that this is the case, but it's one of those things that isn't obvious unless you think about it or give it a name.

      --
      Utilizing the synergization of benchmark e-solutions to pre-workaround action items!
    26. Re:Wow! by smallfries · · Score: 1

      To follow on from your point that this has been done many times before, it is also shipping in a commercial product and has been for many years. Via have a true random number generator built into their entire line of processors, and there is linux support for using it.

      --
      Slashdot: where don knuth is an idiot because he cant grasp the awesome power of php
    27. Re:Wow! by SwiftOne · · Score: 1

      1) You understand that a die isn't "random", but the number of factors involved make it unpredictable by you.

      2) Machines, however, are built to _be_ predictable. While you throw the die with a variable amount of force, a variable height over the surface - you have a hard time doing otherwise, machines will have a likewise difficult time being random. We built them to be reliable and predictable.

      3) That's why all good pseudo-random number generators look for sources of randomness. Over the years, many have been tried only to find that they're fairly deterministic. (I recall an article on here a few years ago about some group that had hooked up a webcam to a lava lamp and used the images as a source of randomness).

      It's not hard to get a number that _seems_ random. Heck, take the milliseconds for that. But it's not random to a determined attacker, precisely because it's a single source of (not-very) randomness, versus the many variables that make up any biological+physical process.

      Make sense?

    28. Re:Wow! by gotem · · Score: 1

      Then get out from her basement to tell her

    29. Re:Wow! by Man+Eating+Duck · · Score: 1

      But i see random as "i can't predict it".
      Yes, "randomness == unpredictability" is a very common notion, but they are two different things. You may have a set of numbers that are unpredictable for you, or for a computer, but will still fail any statistical test for randomness.
      The concept of randomness is surprisingly difficult to grasp, much less explain.
      Other people does it a lot better than I. The Wikipedia article is a good starting point: http://en.wikipedia.org/wiki/Randomness#Randomness _versus_unpredictability.

      I think that dice are unpredictable because they represent a chaotic system, although I am out on a limb here. Check out the article on Chaos theory.

      Have fun, I just finished work, and am off to have a beer or two :)
      --
      Are you a grammar Nazi? I'm trying to improve my English; please correct my errors! :)
    30. Re:Wow! by Anonymous Coward · · Score: 0

      Perhaps a different perspective:

        Dice, if you start from the same position, throw to the same surface, with the same force, etc etc etc. the probability is that you will come up with the same number.

        So - a computer can be taught to use this 'random' number generator, and start with some variable, say the date and time. (Or Dice) But a computer will tend to create the number by the exact same process. (Throw in the exact same manner) So there is a good chance if you knew the generator code, and the date/time the number was generated, you could generate the same number again. If using this number to encrypt a message, and you knew the time it was encrypted, you would have a pretty good shot of decrpyting it. I think some explain this as while the number *IS* random, it is predictable.

          True random numbers - you start with a value out of thin air,(infinitely sided dice) mangle it with a constantly changing process. (make sure you never ever throw it the same way twice) and generate a number that is both random and unpredictable.

    31. Re:Wow! by MillionthMonkey · · Score: 2, Insightful

      1 r3(3n7|y m4d3 4 d15(0v3ry. |\/|0d3r470r5 d0n'7 |1k3 |337 5p34k!

    32. Re:Wow! by arminw · · Score: 1

      ....Quantom and decay-based randomness is believed to be truly random.....

      What about the "random" noise in any resistor or the so called noise diodes? Is thermal noise not truly random because it arises from the supposedly random vibrations at the atomic level? Would a random number generator based on this not also be "truly" random?

      --
      All theory is gray
    33. Re:Wow! by StarvingSE · · Score: 1

      Why use an algorithm? Can't it just pick a number from X to Y?

      Because all a computer can do is run an algorithm. Think about it, how do you instruct a computer to "pick a number." It has to follow a sequence of instructions, and because of this it cannot generate truly random numbers.

      From a math perspective, all modern computers are based on the Turing Machine model of computation. If you look up how a turing machine works, you can quickly see that it is impossible for it to generate random sequences. A turing machine is by nature deterministic. There is the concept of a non-deterministic turing machines, but these are proven equivalent to deterministic ones.

      Most common random number generators work by having a predefined list of numbers, and you seed the generator. The seed determines where in the sequence you start pulling numbers out. When seeding with something such as the process ID or current time you can get pretty close to random numbers.

      --
      I got nothin'
    34. Re:Wow! by Hatta · · Score: 1

      Why do I need a client? Random bits are just data. We have plenty of protocols available for transferring data. Why not just use HTTP?

      --
      Give me Classic Slashdot or give me death!
    35. Re:Wow! by Hatta · · Score: 1

      Quantom and decay-based randomness is believed to be truly random. There is no "hidden clockwork"

      Of course there is. If you knew about it it wouldn't be hidden.

      --
      Give me Classic Slashdot or give me death!
    36. Re:Wow! by DragonWriter · · Score: 1

      Why is it so hard to get a computer to do something that a die can do easily?


      Because the (approximate, though unfailingly somewhat biased) randomness of a die relies on uncertainties in physical conditions in the roll, whereas computers are designed to work predictably, to produce the same output to a given input. Even if you built a physical die roller into a computer system, I suspect it would be a lot of work to make it is good a random number generator as a human repeatedly rolling the same die.
    37. Re:Wow! by Lijemo · · Score: 1

      "Why is it so hard to get a computer to do something that a die can do easily? Please 'splain to the non-comp-sci/math person. No, 'splaining would take too long... sum up."

      While most computer languages have some sort of get-random-number function, someone had to write the function. And computers are dumb-- they only do exactly what they are told to do. You have to tell the computer exactly how you want it to come up with a "random" number.

      Most of the algorithms I'm aware of begin by asking the system clock something like "how many milliseconds has it been since midnight?". Then mathematical equations are used to play a "one-potato-two-potato" game on steroids with the millisecond count

      The method is entirely deterministic, but the result is indistinguishable from random for casual use (such as "shuffling" a deck of cards in an online card-game). But just like kids that play "one-potato-two-potato" too often start to notice the pattern in how it comes out, scientists running billions and trillions of sensitive calculations based on the pseudo-random number start to see patterns and biases in their results. That's why a true random number generator is so exiting.

    38. Re:Wow! by Tibore+Escalante · · Score: 1
      "Too bad that's only ROT13: Not really the hardest of encryptions to crack."

      Crack?? Hell yeah! I always brute force ROT13! When you got all this CPU power, why not? ;)

  2. 455FE10422CA29C4933F95052B792AB2 by ferrellcat · · Score: 5, Funny

    Hey! It works!

    1. Re:455FE10422CA29C4933F95052B792AB2 by Filter · · Score: 5, Funny

      Step 1: 455FE10422CA29C4933F95052B792AB2
      Step 2: ?
      Step 3: Profit!!!

      --

      "better ways of doing things eventually just replace the inferior things" - Linus Torvalds 09-08-07

    2. Re:455FE10422CA29C4933F95052B792AB2 by qweqwe321 · · Score: 3, Funny

      Oh yeah? I got 09F911029D74E35BD84156C5635688C0!

    3. Re:455FE10422CA29C4933F95052B792AB2 by ari_j · · Score: 5, Funny
      Thanks! Now, to put it to good use:

      uint128_t rand() {
      /* This number is guaranteed to be random. See http://random.irb.hr/ for details. */
      return 0x455fe10422ca29c4933f95052b792ab2;
      }
    4. Re:455FE10422CA29C4933F95052B792AB2 by SCHecklerX · · Score: 1

      Ok, I had mod points earlier today. This is funny :)

    5. Re:455FE10422CA29C4933F95052B792AB2 by Anonymous Coward · · Score: 0

      xkcd did that joke first: http://www.xkcd.com/c221.html

    6. Re:455FE10422CA29C4933F95052B792AB2 by masterzora · · Score: 2, Insightful

      That's the joke....

      --
      Remember, open source is free as in speech, not free as in bear.
    7. Re:455FE10422CA29C4933F95052B792AB2 by bcat24 · · Score: 1

      I'm pretty sure he knew that, my anonymous and cowardly friend.

    8. Re:455FE10422CA29C4933F95052B792AB2 by Anonymous Coward · · Score: 0

      Hey! It works! Bullshit. I said that I got the 42nd eigenstate of the Hamiltonian. I measured again and again and got the same eigenstate. WTF?
    9. Re:455FE10422CA29C4933F95052B792AB2 by ari_j · · Score: 1

      Like others have pointed out, I indeed did know that. I thought it was safe to assume that (a) everyone on Slashdot knew where it came from and (b) everyone knew that everyone else knew it. You have proven me wrong on (b).

    10. Re:455FE10422CA29C4933F95052B792AB2 by TheVelvetFlamebait · · Score: 0, Redundant

      I only got this number :(

      09F911029D74E35BD84156C5635688C0

      --
      You know, there is a difference between trolling and pointing out the flaws in your reasoning. Just saying.
    11. Re:455FE10422CA29C4933F95052B792AB2 by RyuuzakiTetsuya · · Score: 1

      doesn't RFC1149.5 declare that 4 is sufficiently random?

      --
      Non impediti ratione cogitationus.
    12. Re:455FE10422CA29C4933F95052B792AB2 by ari_j · · Score: 1

      Yes, and it also says that a random number MUST be "sufficiently random" and then gives rolling a die as a canonical example. But the RFC then goes on to say that a random number MAY be more than "sufficiently random" if it comes from an appropriately random source with a larger range than the roll of a die.

    13. Re:455FE10422CA29C4933F95052B792AB2 by Frozen+Void · · Score: 0

      Random Numbers are only random once.
      If you have to call this function next time,its no longer random.

    14. Re:455FE10422CA29C4933F95052B792AB2 by 5of0 · · Score: 1

      Random Numbers are only random once. If you have to call this function next time,its no longer random.
      Uhh...

      Duh?

      Pardon me while I go beat my head against the wall repeatedly, in deep despair due to the utter lack of comprehension in any way, shape, or form in that statement.

      And all this time I thought every human being had at least some shred of a sense of humor...thank you for pointing out the fallacy in my assumption. I forgot this was slashdot.
      --
      You all have Oo.o and Firefox, so get World Wind.
    15. Re:455FE10422CA29C4933F95052B792AB2 by Anonymous Coward · · Score: 0

      Except it's likely not random. For decades we have assumed that it must be random because we can't predict it. One may as well say that humans are random because we can't predict them. Not that actual randomness is an impossibility, it is just that it's equally as likely we don't understand some basic rules of quantum mechanics well enough to predict them. Of course until we can accurately predict the course of the entire universe we can't definitively prove that randomness does not exist, this being incredibly improbable perhaps humans will always have to accept the theory that such processes as photon emissions are truly random.

      Of course as long as humans can't predict the numbers this system produces, the practical uses of it will be little different than a proven truly random # generator.

    16. Re:455FE10422CA29C4933F95052B792AB2 by ultranova · · Score: 1

      And all this time I thought every human being had at least some shred of a sense of humor...thank you for pointing out the fallacy in my assumption. I forgot this was slashdot.

      Since this is Slashdot, aren't you being a bit hasty in deciding which one of your assumptions was false ?-)

      --

      Forget magic. Any technology distinguishable from divine power is insufficiently advanced.

    17. Re:455FE10422CA29C4933F95052B792AB2 by sticky.pirate · · Score: 1

      Wow, what a coincidence: I have the same combination on my luggage lock!

  3. Great by TheRealMindChild · · Score: 1

    Now I have a place to get my numbers for srand()!

    --

    "When life gives you lemons, don't make lemonade. Make life take the lemons back!" -- Cave Johnson
    1. Re:Great by TheSHAD0W · · Score: 3, Insightful

      Beware of MITM attacks!

    2. Re:Great by caluml · · Score: 1

      Massachusetts Institute of....?
      Oh, I give up.

    3. Re:Great by Anonymous Coward · · Score: 0

      What has Malcolm In The Middle to do with this

    4. Re:Great by TheSHAD0W · · Score: 1

      Only in a very complicated scenario. Usually it's Charlie in the middle. Though some people will prefer to use Zaphod...

  4. Yup, it's troll by Bombula · · Score: 0, Flamebait

    Don't they already have a few of these working at the White House?

    --
    A-Bomb
    1. Re:Yup, it's troll by Bacon+Bits · · Score: 1

      I don't think so. You have to deliberately be so stupid. Random chance simply can't account for it.

      --
      The road to tyranny has always been paved with claims of necessity.
  5. Wait... by Icarus1919 · · Score: 5, Funny

    Why do I keep getting 42?

    1. Re:Wait... by theantipop · · Score: 5, Funny

      I don't know, but that's pretty improbable.

    2. Re:Wait... by Puff+of+Logic · · Score: 5, Funny

      I don't know, but that's pretty improbable. Nonsense. Million-to-one chances occur nine times out of ten!
      --
      P.P.S. I'm doing Science and I'm still alive.
    3. Re:Wait... by Walt+Dismal · · Score: 1
      Thank you, Ruder Boskovic Institute! I won the lottery!!! Them quantum numbers is sweet!

      And now I can afford to buy my single-wide! And have smokes, beer, and beef jerky for the rest of my life!

      My brother's a Ford mechanic but he ain't never heard of quantums though. WTF is they?

    4. Re:Wait... by Lord+Ender · · Score: 5, Insightful

      Actually, a random number generator isn't really random unless it is possible for it to generate the number 42 a thousand times in a row...

      --
      A slashdotter who didn't build his own computer is like a Jedi who didn't build his own lightsaber.
    5. Re:Wait... by krelian · · Score: 1

      Don't believe parent. 80% of all statistics are wrong.

    6. Re:Wait... by Anonymous Coward · · Score: 0

      When i read your post i just thought it was a reference to the hitchhikers guide to the galaxy, but then i went to random.org (mentioned somewhere else on this page) and it gave me 42! (then 74)

    7. Re:Wait... by DarkAxi0m · · Score: 2, Funny

      25.52% of all statistics are made up on the spot but only 45.23% of the time.

    8. Re:Wait... by SmurfButcher+Bob · · Score: 5, Funny

      75% of all pie charts resemble Pac-Man.

      --

      help me i've cloned myself and can't remember which one I am

    9. Re:Wait... by AchiIIe · · Score: 5, Interesting

      Bah, you must be a mathematician.
      If you put a monkey in front of a typewriter and he types on it for an infinite amount of time, he'll eventually type all of Shakespeare's work.

      It's called the Infinite monkey theorem

      Ignoring punctuation, spacing, and capitalization, a monkey typing letters uniformly at random has one chance in 26 of correctly typing the first letter of Hamlet. It has one chance in 676 (26 times 26) of typing the first two letters. Because the probability shrinks exponentially, at 20 letters it already has only one chance in 26^20 = 19,928,148,895,209,409,152,340,197,376, roughly equivalent to the probability of buying 4 lottery tickets consecutively and winning the jackpot each time. In the case of the entire text of Hamlet, the probabilities are so vanishingly small they can barely be conceived in human terms. The text of Hamlet, even stripped of punctuation, contains well over 130,000 letters which would lead to a probability of one in 3.4×10^183946.

      For comparison purposes, there are only about 10^79 atoms in the observable universe and only 4.3 x 10^17 seconds have elapsed since the Big Bang. Even if the universe were filled with monkeys typing for all time, their total probability to produce a single instance of Hamlet would still be less than one chance in 10183800. As Kittel and Kroemer put it, "The probability of Hamlet is therefore zero in any operational sense of an event...", and the statement that the monkeys must eventually succeed "gives a misleading conclusion about very, very large numbers." This is from their textbook on thermodynamics, the field whose statistical foundations motivated the first known expositions of typing monkeys

      --
      Nature journal lied in Britannica vs Wikipedia Ask to retrac
    10. Re:Wait... by snickkers · · Score: 5, Funny

      The closest we'll get to proof that Shakespeare wasn't a monkey.

      --
      GLORX 3:16
    11. Re:Wait... by voxel · · Score: 2, Funny

      Well, mathematically given an infinite amount of time you could receive the number 42 from a random number generator an infinite number of times.

      Given an infinite amount of time, the Windows 95 source code could be spewed out perfectly in sequence from a true random number generator.

      Too bad we won't live that long, because we all know how bad-ass the Win95 source code is.

      --
      Modesty is one of life's greatest attributes
    12. Re:Wait... by onemorechip · · Score: 1

      Infinitely improbable, you might say.

      --
      But, I wanted socialized health insurance!
    13. Re:Wait... by Trogre · · Score: 3, Interesting

      And yet, if those monkeys are truly typing randomly, any set of 130,000 characters they type has exactly the same chance of being Hamlet as it does anything else.

      Let's say my cat just traipsed on my keyboard and typed "dsafhhrnvcdbqwtrwqerwe897509k;ln b,.cnjhcvdsytwejbhd". Yesterday I might have asked you what were the chances of a cat randomly typing "dsafhhrnvcdbqwtrwqerwe897509k;ln b,.cnjhcvdsytwejbhd", and you might have replied "vanishingly small, so much so that it just isn't going to happen in your lifetime". And you'd be right from a statistical point of view. Yet it happened.

      --
      "Nine times out of ten, starting a fire is not the best way to solve the problem." - my wife
    14. Re:Wait... by Bluesman · · Score: 5, Funny

      >my cat just traipsed on my keyboard and typed "dsafhhrnvcdbqwtrwqerwe897509k;ln b,.cnjhcvdsytwejbhd"

      I've read that one, it sucked. The butler did it and they catch him in the end.

      Your cat should have typed Hamlet.

      --
      If moderation could change anything, it would be illegal.
    15. Re:Wait... by suggsjc · · Score: 2, Insightful
      Ok, you spouted off some big numbers and people modded you insightful. However, I still have no clue as to how you actually came up with the stat "still be less than one chance in 10183800".

      Here are the questions that I need answered before I give your numbers any credibility.
      1. How many monkeys were actually typing?
      2. At what rate are they typing?
      3. Are we to assume that they are typing truly random sequences?
      4. Since you used the Big Bang, I'm only going to assume that you believe in evolution. So during this great expanse of time, do the monkeys ever evolve (and thus become smarter/specialized)?
      So even despite my somewhat snarky 3rd and 4th questions, you can't make any basis on the probability of an event to occur within a fixed/theoretical timeframe if you can't determine the rate at which there will be guesses/sequences during that timeframe.

      Its the equivalent to saying whats the probability of a coin being flipped heads three times in a row within a minute. You can't solve that problem with that limited amount of information.
      --
      When I have a kid, I want to put him in one of those strollers for twins and then run around the mall looking frantic.
    16. Re:Wait... by ajs · · Score: 3, Insightful

      Actually, a random number generator isn't really random unless it is possible for it to generate the number 42 a thousand times in a row... Not so.

      A random number generator might generate numbers in the range 0x10000000 to 0xfffffff0 (and thus never generate 42 (0x0000002a) as a result). As long as the distribution within that range is uniform, non-periodic, and lacking in underlying structure, it's random. If it meets the first and last requirement, but is periodic, then it's pseudo-random.
    17. Re:Wait... by Raideen · · Score: 1

      My cat types "Hamlet" all the time. Of course, my cat Hamlet signs all of his e-mail that way.

    18. Re:Wait... by nacturation · · Score: 1

      The text of Hamlet, even stripped of punctuation, contains well over 130,000 letters which would lead to a probability of one in 3.4×10^183946. Last I checked, that's still a lot less than infinite.
      --
      Want to improve your Karma? Instead of "Post Anonymously", try the "Post Humously" option.
    19. Re:Wait... by E++99 · · Score: 2, Funny

      Actually, a random number generator isn't really random unless it is possible for it to generate the number 42 a thousand times in a row...

      However, if you get a 1,001st 42, chances are it's just broken.
    20. Re:Wait... by Anonymous Coward · · Score: 0

      Where's the "+1, Duh" mod when you need it. The original poster said that he kept getting 42, which implies that for this particular random number generator it is specifically possible for it to generate 42. Your mental masturbation about "maybe it's outside the number range" is completely irrelevant.

    21. Re:Wait... by Nazlfrag · · Score: 3, Funny

      Silly statisticians miss the point. Why do all portrayals of the great bard have him bearded? Monkeys were often used as assistants and servants hundreds of years ago, why not use one as a scriptwriter? How else do you explain all the strange spelling and random line breaks? History proves Shakespeare was a monkey without a shadow of a doubt, regardless of silly mathematicians trying to compare the immortal poet, or any other monkey at a typewriter with random numbers. A chimpanzee shares 99.7% of our DNA, yet we call them random number generators? Pseudoscientific quackery at its worst.

    22. Re:Wait... by naddington · · Score: 1

      Maybe you're unaware of this, then:
      http://www.wired.com/culture/lifestyle/news/2003/0 5/58790
      It's been tried. The monkeys mostly pissed on the keyboard and then typed five pages of the letter S.

    23. Re:Wait... by ydra2 · · Score: 3, Informative

      > Actually, a random number generator isn't really random unless it is possible
      > for it to generate the number 42 a thousand times in a row...

      > Not so.

      > A random number generator might generate numbers in the range 0x10000000 to
      > 0xfffffff0 (and thus never generate 42 (0x0000002a) as a result). As long as
      > the distribution within that range is uniform, non-periodic, and lacking in
      > underlying structure, it's random. If it meets the first and last requirement
      > but is periodic, then it's pseudo-random.

      Actually so!

      Your range theory is a misunderstanding of RNG (true or pseudo). To restrict the range of values output is simply a matter of interpreting the bitsream in whatever way you choose.

      I could take any bitstream and get numbers either integer 1 and integer 2, and no other values allowed, but that doesn't mean the RNG is limited. Thats just my algorithm stripping all but the last bit and adding one, or whatever way I choose to restrict the range of numbers. That process has nothing to do with the underlying RNG and its randomness.

    24. Re:Wait... by Zashi · · Score: 1

      One thing you missed though. And no I didn't read the wikipedia page. The way I have always heard it, it is "an infinite number of monkeys typing for an infinite amount of time". Please adjust your math accordingly for my sake. :D

      --
      Skiffy is Spiffy, but Ort is tort.
    25. Re:Wait... by Scarblac · · Score: 1

      The text of Hamlet, even stripped of punctuation, contains well over 130,000 letters which would lead to a probability of one in 3.4×10^183946.

      Now that may look like a large number, but we're talking about infinite time. And compared to infinity, that number is of course still as vanishingly small as any integer.

      --
      I believe posters are recognized by their sig. So I made one.
    26. Re:Wait... by archeopterix · · Score: 1

      Even if the universe were filled with monkeys typing for all time, their total probability to produce a single instance of Hamlet would still be less than one chance in 10183800.
      How do you know there aren't 19,928,148,895,209,409,152,340,197,376 tiny monkeys living on each and every atom in the universe? Or maybe the same number of giant unobservable overlapping monkeys?
    27. Re:Wait... by hsquared · · Score: 2, Interesting

      Not necessary. The number Pi already contains all the works of Shakespeare, along with all other works. It's an infinite, non-repeating series of digits. If you interpret it as an MPEG stream, it even contains all movies ever made and ever to be made! So leave those monkeys alone.

    28. Re:Wait... by Nevermine · · Score: 1
      Homo sapiens evolved from monkeys about 150,000 years ago.
      Hamlet was written 405 years ago.

      150,000 - 405 = 149,595

      The text of Hamlet, even stripped of punctuation, contains well over 130,000 letters which would lead to a probability of one in 3.4×10^183946. Apparently events with infinite small probability happen quite frequently.
    29. Re:Wait... by Synonymous+Dastard · · Score: 1

      Your cat should have typed Hamlet.


      Well, in Hamlet, the butler did it too, and then everybody dies.
    30. Re:Wait... by xenocide2 · · Score: 1

      In other words, if you take a random number generator and subtract 0x10000000 from every result, the new results are still random. Or flip the bits entirely. Essentially, I think as long as you have a mechanism with a 50 50 chance of producing a 1 or 0, you can create whatever range you like. I'm not entirely sure if exponentiating two random numbers is random, as the resulting distribution doesn't pass a "4am in the morning gut check".

      --
      I Browse at +4 Flamebait

      Open Source Sysadmin

    31. Re:Wait... by Humm · · Score: 2, Insightful

      "4. Since you used the Big Bang, I'm only going to assume that you believe in evolution. So during this great expanse of time, do the monkeys ever evolve (and thus become smarter/specialized)?"

      Well, if we allow for evolution, then evidently it does not require infinite time, since at least one monkey already typed out the collected works of Shakespeare. He didn't have a typewriter, though.

    32. Re:Wait... by elgatozorbas · · Score: 1

      Hope this wasn't posted yet. I wouldn't want to be redundant in a discussion about randomness...

    33. Re:Wait... by Random_Goblin · · Score: 1

      How do you know there aren't 19,928,148,895,209,409,152,340,197,376 tiny monkeys living on each and every atom in the universe? Or maybe the same number of giant unobservable overlapping monkeys?

        You see this is exactly the thing the Super Monkey Collider could have helped us resolve once and for all..
       
      too bad the stupid politicians canned the funding...
       
        i guess the guys in congress are the real monkeys...
    34. Re:Wait... by elgatozorbas · · Score: 1

      Even if the universe were filled with monkeys typing for all time, their total probability to produce a single instance of Hamlet would still be less than one chance in 10183800.

      But... but... if they were octopuses? They type faster. Also, in practice some of them would type The Tempest or The merchant of Venice for instance, so it's not so bad after all...

    35. Re:Wait... by CubicleView · · Score: 1

      Researchers tried this (for fun I can only assume). The problem is, monkeys don't type randomly, mostly stuff like ggggggggggggggggggeeeeeeeeeeeerrrrrrrrrrrr etc, and they just defecated on the keyboard when they got bored.

    36. Re:Wait... by ZeroExistenZ · · Score: 1

      My cat doesn't type, its grammar is too outstanding for web 2.0.

      --
      I think we can keep recursing like this until someone returns 1
    37. Re:Wait... by ultranova · · Score: 1

      I'm not entirely sure if exponentiating two random numbers is random, as the resulting distribution doesn't pass a "4am in the morning gut check".

      Well, if we go with the "0 or 1" random number generator, produce two numbers and exponentiate them, the possible results are:

      1. 0*0=0
      2. 0*1=0
      3. 1*0=0
      4. 1*1=1

      Doesn't seem like equal distribution to me. Increasing the range yields:

      1. 0*0=0
      2. 0*1=0
      3. 0*2=0
      4. 1*0=0
      5. 1*1=1
      6. 1*2=2
      7. 2*0=0
      8. 2*1=2
      9. 2*2=4

      In other words, 5/9 chance to be 0, 1/9 to be 1, 2/9 to be 2, 0/9 to be 3, and 1/9 to be 4. Nope, doesn't yield uniform distribution. Seems that your gut is mathemathically inclined :).

      --

      Forget magic. Any technology distinguishable from divine power is insufficiently advanced.

    38. Re:Wait... by ultranova · · Score: 1

      Given an infinite amount of time, the Windows 95 source code could be spewed out perfectly in sequence from a true random number generator.

      Since Win95 source code likely consists of more than one file, one would hope that it comes as a gzipped tar archive or something similar. And, in fact, since a compressed archive is likely to be much shorter than the plain text version, the chances of the source coming out as an archive in a given amount of time are greater than it coming out as-is. In other words, random number generators support automatic transparent compression of all files where it saves space, and only for them :).

      Speaking of code generation, the Press Esc page linked from the summary has a Google ad for a J2EE code generator. Should I take this as a statement about the quality of the code it generates ?-)

      --

      Forget magic. Any technology distinguishable from divine power is insufficiently advanced.

    39. Re:Wait... by g0dsp33d · · Score: 2, Funny

      Besides, he made up half the words he used. :)

      --
      lol: You see no door there!
    40. Re:Wait... by vadim_t · · Score: 1

      Actually, cat typing is quite predictable.

      See http://www.bitboost.com/pawsense/

    41. Re:Wait... by garlicbready · · Score: 1

      you're forgetting that at least one of those monkey's would be sat next to Hamlet looking over his shoulder, copying word for word

    42. Re:Wait... by ioshhdflwuegfh · · Score: 1
      Ok, so one of your monkeys could definitely type the following characters:

      To be or not to be
    43. Re:Wait... by Mutant321 · · Score: 1

      I've read that one, it sucked. The butler did it and they catch him in the end. Dammit! You could've put in a spoiler warning! :/
    44. Re:Wait... by ioshhdflwuegfh · · Score: 1

      The number Pi already contains all the works of Shakespeare, along with all other works. It's an infinite, non-repeating series of digits. well not really, Pi is not a random real umber...
    45. Re:Wait... by JuanCarlosII · · Score: 1

      I'm not altogether convince that being an irrational number necessarily inplies that the number contains all possibkle strings of integers (although I am pretty sure of the converse) but I can't think of a decent counterexample.

      I'm going to try the sum from 1 to inifinty of P(n)*10^(-n) where P(n) is the nth prime mod 10. This will never contain a 4, but them I think if you disregard the initial 2 and 5 and then map 1,3,7,9 onto 0,1,2,3 and change to a quaternary expansion then you may well have an isomorphism onto something which does satisfy the above so I'm not sure.

      If anyone less mathmematically rusty than myself would like to help me out...

      And just in case nobody else has: http://xkcd.com/c221.html

    46. Re:Wait... by Rixel · · Score: 1

      So, approximately the same chance that Duke Nuke 'em Forever will be released.

      (I'm assuming that a developer is working on it, and not an actual monkey...which, for all probabilities would be faster).

      --
      Never play chicken with a passive aggressive.
    47. Re:Wait... by Lord+Ender · · Score: 1

      Or maybe the same number of giant unobservable overlapping monkeys?
      Hey, my ex-wife is a giant observable overlapping monkey, you insensitive clod!
      --
      A slashdotter who didn't build his own computer is like a Jedi who didn't build his own lightsaber.
    48. Re:Wait... by kalirion · · Score: 1

      Nonsense. Million-to-one chances occur nine times out of ten!

      Only if the odds are exactly million-to-one. If it's million-and-one-to-one or nine-hundred-ninety-nine-thousand-nine-hundred-nin ety-nine-to-one, you're screwed.

    49. Re:Wait... by Just+because+I'm+an · · Score: 1

      I have analysed your cat's gait and I'm a little concerned. You should take it to the vet immediately.

    50. Re:Wait... by leonem · · Score: 1

      Well, in this instance, at least one of the monkeys would immediately type the complete works of Shakepseare in their entirety. In fact, I reckon an infinite number of them might do it. Also, an infinite number of monkeys would come up with better versions of the complete works of Shakespeare and, sadly, an infinite number of worse versions of the complete novels of Jeffrey Archer.

    51. Re:Wait... by fendragon · · Score: 1

      As Kittel and Kroemer put it, "The probability of Hamlet is therefore zero in any operational sense of an event...",>

      But... on the timescales you are looking at, they may have forgotten to take into account the probability of the monkeys evolving into Shakespeare.

    52. Re:Wait... by Dread_ed · · Score: 1

      Ok, well then what are the chances that they would generate something BETTER than Shakespeare?

      --
      When the only tool you have is a claw hammer every problem starts to look like the back of someone's skull.
    53. Re:Wait... by IpalindromeI · · Score: 1

      It actually doesn't matter how many monkeys there are.

      As long as it is given an infinite amount of time, eventually all of Shakespeare's plays will be produced. Even further, all of Shakespeare's plays will be produced in every possible order. Further still, all of human literature will be produced in every possible order. Given an infinite amount of time generating random sequences of letters and punctuation, anything that is possible to write will be written, even if you have only one generator.

      --

      --
      Promoting critical thinking since 1994.
    54. Re:Wait... by BigAssRat · · Score: 1

      The text of Hamlet, even stripped of punctuation, contains well over 130,000 letters which would lead to a probability of one in 3.4×10^183946.

      "The probability of Hamlet is therefore zero in any operational sense of an event...", and the statement that the monkeys must eventually succeed "gives a misleading conclusion about very, very large numbers."

      I don't know, last I checked, Infinity was bigger than 3.4×10^183946.

    55. Re:Wait... by Aladrin · · Score: 1

      Yes, but that has absolutely nothing to do with the possibility that the monkey might hit the letter A a thousand times in a row. (The statement used in the post you replied to was 'Actually, a random number generator isn't really random unless it is possible for it to generate the number 42 a thousand times in a row...') In a -truly random- sequence, it's possible.

      Monkeys aren't really random, though. They use at least a small bit of logic, and lose that true randomness.

      I'm not denying how correct you are for what you stated, it just has absolutely nothing to do with the post you replied to.

      --
      "If you make people think they're thinking, they'll love you; But if you really make them think, they'll hate you." - DM
    56. Re:Wait... by squidfood · · Score: 1
      I'm not entirely sure if exponentiating two random numbers is random, as the resulting distribution...

      It's still random, it's just random with a different distribution from 50-50.

    57. Re:Wait... by Anonymous Coward · · Score: 0

      It would be interesting to take into account the number of possible languages that Hamlet could be translated into. Then also take into account the ways that the text could be compressed. I'd definately be more impressed if the monkeys produced a .rar-file of Hamlet, than just Hamlet. Especially since the argument is based on that an 'intelligent' text is further from "just random".

    58. Re:Wait... by ajs · · Score: 1

      Your range theory is a misunderstanding of RNG (true or pseudo). To restrict the range of values output is simply a matter of interpreting the bitsream in whatever way you choose. You're approaching this from a computer science standpoint, where fundamentally all values are bit-strings. Granted, in that environment, you can discount the bits that you don't want and call the rest the random value. In that case, you will always have a value between 0 and 2**bits-1. However, in a purely mathematical sense, and a sense which has tremendously important application in the real world, a random value is a value with the properties I described. There is no restriction on the definition of a random number that indicates that its range must intersect any point including the origin, that it must be contiguous or any other property of the sort. For practical application, these ranges are often mapped to a contiguous space which either begins at 0 or whose mid-point is 0. That's all well and good, but you're placing that restriction on the generation and not the mapping, incorrectly.

      There is only one universal restriction on the range of a random number generation function: it may not be infinite. Any generator with an infinite range has an expected value of infinity, no matter what the distribution is, and that's highly problematic in terms of the statistical properties of the function. When we say "random", we imply a finite, but sometimes not a countable, range.

      This is all as I understand it, but feel free to point me to a reference that disagrees.

    59. Re:Wait... by HaMMeReD3 · · Score: 1

      That is depending that the monkey is actually random, he may be throwing feces at the keyboard in a biased way. Monkeys may also try to eat the keys.

    60. Re:Wait... by An+Onerous+Coward · · Score: 1

      Your calculations fail to account for the possibility of subatomic monkeys.

      --

      You want the truthiness? You can't handle the truthiness!

    61. Re:Wait... by mudshark · · Score: 1

      I'd say you need PawSense.

      --
      In other news, astrophysicists have announced that they now know what all that dark matter is: it's stupidity.
    62. Re:Wait... by PingPongBoy · · Score: 1

      However, what is to say we cannot give the monkey purpose? Suppose all the keys of the typewriter are not QWERTY but rather BER[SPACE]WHO'S[SPACE]THERE?[CARRIAGE RETURN]FRAN[SPACE]NAY,[SPACE]ANSWER[SPACE]ME:[SPAC E]STAND,[SPACE]AND[SPACE]UNFOLD[SPACE]YOURSELF?[CA RRIAGE RETURN]BER[SPACE]LONG[SPACE]LIVE[SPACE]THE[SPACE]K ING!

      Shakespeare had purpose and he probably did a good deal of top down design. If a monkey had a language for expressing the fetching of a banana and sticking it in his ear, Shakespeare on a keyboard couldn't reproduce what the monkey would tell us.

      Just because no human can reproduce Hamlet from scratch, and even Shakespeare couldn't do it, doesn't mean Shakespeare isn't Shakespeare or monkeys are stupid.

      What makes Hamlet so unreproducible might be it contains a quantity of randomness.

      In conclusion, to quote completely out of context,

      And there assume some other horrible form
      Which might deprive your sovereignty of reason,
      And draw you into madness? think of it:
      The very place puts toys of desperation,
      Without more motive, into every brain

      Yeah I thought so.

      --
      Know your pads. One time pad: good for cryptography. Two timing pad: where to take your mistress.
    63. Re:Wait... by PingPongBoy · · Score: 1

      Pi already contains all the works of Shakespeare, along with all other works. It's an infinite, non-repeating series of digits

      Suppose Pi contains some works past, present, and future along with a lot of crap. Now just copy Pi to another number Qi, which has the same digits but with all the recognizable works cut out. Qi is still an infinite non-repeating sequence of digits. How do you know Pi has any works of value? The opposite direction is if Pi contains no works of value, insert works of value to obtain a new number Oi.

      It comes down to the encoding then. But by this argument, I could encode the number 42 to represent the movie The Godfather--as long as I enter 42 into the movie software, the movie plays and what do I care how large the movie file is (2 bytes)? There probably is a 4 followed by a 2 in the digits of Pi.

      Can anyone tell us if Pi contains every arbitrary finite permutation of digits? Somehow I doubt it. If there is a quiescent period of say 5 minutes in a movie represented by 3 Mb of all zeros with a few ones sprinkled about, Pi would have to contain this flatline in order for the theory to be universally applicable. Also, scenery is full of bland shades and very regular patterns. That would be encoded with a long substring of repetition.

      --
      Know your pads. One time pad: good for cryptography. Two timing pad: where to take your mistress.
    64. Re:Wait... by xenocide2 · · Score: 1

      Which violates the princple put forth earlier in the conversation. I thought it sounded a bit bogus, but who am I to argue with definitions?

      --
      I Browse at +4 Flamebait

      Open Source Sysadmin

    65. Re:Wait... by Anonymous Coward · · Score: 0

      Well, everybody knows he was a Klingon.

  6. lava lamps at SGI by TheGratefulNet · · Score: 5, Interesting

    when I think of random numbers, I can't help but remember the 'fishbowl' that had at SGI (mtn view) where an indycam was photo'ing some lavalamps and creating random seeds based on those images.

    ah, SGI....

    --

    --
    "It is now safe to switch off your computer."
    1. Re:lava lamps at SGI by Digitus1337 · · Score: 0, Redundant

      SGI? Sorry I don't know what it stands for but I do remember reading about said lamps and the same thought occured to me upon reading this article.

    2. Re:lava lamps at SGI by Richard+W.M.+Jones · · Score: 5, Informative

      That would be Lavarand from, oh, just 10 years ago.

      Rich

    3. Re:lava lamps at SGI by Anonymous Coward · · Score: 0

      sILICON gRAPHICS (INC.)

    4. Re:lava lamps at SGI by Anonymous Coward · · Score: 0

      Digitus1337? Sorry I don't know what it stands for but after reading your comment the thought that you're a total fucking douchebag occurred to me.

  7. It works in binary by Anonymous Coward · · Score: 0

    If you're able to connect to the server, that's a 1. If you're not able to connect, that's a 0. It's a long string of 0's for me.

  8. random.org ? by Anonymous Coward · · Score: 5, Informative

    Hasn't random.org done this for a while already? Perhaps they don't have academic backing, but I do believe they use numbers generated by atomic decay.

    1. Re:random.org ? by Neil+Blender · · Score: 1

      Well, this one has more than a shitty http interface as an API.

    2. Re:random.org ? by stinerman · · Score: 5, Informative

      Indeed. First page:

      RANDOM.ORG offers true random numbers to anyone on the Internet. The randomness comes from atmospheric noise, which for many purposes is better than the pseudo-random number algorithms typically used in computer programs. ...

      The service has been operating since 1998 and was built and is being maintained by Mads Haahr who is a Lecturer in the School of Computer Science and Statistics at Trinity College, Dublin in Ireland.

    3. Re:random.org ? by lawpoop · · Score: 4, Interesting

      I do believe they use numbers generated by atomic decay. The site claims that

      The randomness comes from atmospheric noise... I wonder, how could you know that their numbers are truly random, as they claim?
      --
      Computers are useless. They can only give you answers.
      -- Pablo Picasso
    4. Re:random.org ? by desenz · · Score: 1

      Everyone post one, and we'll see if we get collisions! Brilliant!

    5. Re:random.org ? by psu_whammy · · Score: 5, Informative

      You could, say, read up on the statistics they give you. The site has all sorts of fun info on exactly how their RNG works, and daily stats on the randomness of the numbers presented.

    6. Re:random.org ? by wizzard2k · · Score: 1

      Collisions are fine, as long as they happen randomly...

    7. Re:random.org ? by owlstead · · Score: 1

      Ok, this seems to be a good litmus test, so let me be the first one to respond (text typed to avoid lameness filter) 1

    8. Re:random.org ? by AutumnLeaf · · Score: 4, Informative

      I wonder, how could you know that their numbers are truly random, as they claim?

      You can never know that. You can test "properties of randomness" and conclude "it looks random." But you have no way of knowing if that hopefully random sequence cross-correlates to a non-random sequence you haven't found, but that passes all of the tests.

      On the other hand, there is no randomness like quantum randomness. So if you believe their bit-stream faithfully represents the source, then in this case you can feel pretty good about it.

    9. Re: random.org ? by Black+Parrot · · Score: 1

      Hasn't random.org done this for a while already?

      If you subtract one site's numbers from the other, is all the randomness gone from the difference?
      --
      Sheesh, evil *and* a jerk. -- Jade
    10. Re:random.org ? by gfody · · Score: 1

      simple! just try to predict what numbers it will give you. the effective randomness of their numbers is inversely proportional to the success rate of your predictions.

      --

      bite my glorious golden ass.
    11. Re:random.org ? by Anonymous Coward · · Score: 0

      > I wonder, how could you know that their numbers are truly random, as they claim?

      That's the problem with randomness. You can never really be sure.

    12. Re:random.org ? by lawpoop · · Score: 1

      Won't my measurement of the randomness of their numbers depend on the randomness of my guesses?

      --
      Computers are useless. They can only give you answers.
      -- Pablo Picasso
    13. Re:random.org ? by WK2 · · Score: 1

      No. You can guess 5 every time, and if you are correct or incorrect a disproportionate amount, it is not random. However, the test that the GP suggests only weeds out the low hanging bad fruit, such as the not so random numbers used in many MMORPGs.

      There are better, more sophisticated tests. You can learn more about these tests at www.random.org. To the best of my knowledge, every test that someone has done on their numbers suggests that they are completely random.

      --
      Write your own Choose Your Own Adventure. http://www.freegameengines.org/gamebook-engine/
    14. Re:random.org ? by TheVelvetFlamebait · · Score: 1

      So if you believe their bit-stream faithfully represents the source, then in this case you can feel pretty good about it.
      Bah. I'm too old for feel-good mathematics.
      --
      You know, there is a difference between trolling and pointing out the flaws in your reasoning. Just saying.
    15. Re:random.org ? by noidentity · · Score: 1

      On the other hand, there is no randomness like quantum randomness. So if you believe their bit-stream faithfully represents the source, then in this case you can feel pretty good about it.

      Pet peeve: just because we don't currently grasp any pattern or cause for quantum "randomness" doesn't mean it's truely random.

    16. Re:random.org ? by sohare · · Score: 1

      On the other hand, there is no randomness like quantum randomness. So if you believe their bit-stream faithfully represents the source, then in this case you can feel pretty good about it.

      How about mathematical randomness? Let's face it, natural sciences are just the ugly red-headed step-daughter of mathematics ;).
    17. Re:random.org ? by Eighty7 · · Score: 1

      There are a number of tests that'll tell you how random the numbers are.

      http://en.wikipedia.org/wiki/Diehard_tests

    18. Re:random.org ? by Synonymous+Dastard · · Score: 1

      What do you have against plain text?
      What is the use of having an html page generated, and then having to parse the page to analyze the tags and get the relevant part when you can have it directly in plain text?

      Your url, with s/html/plain :

      http://www.random.org/strings/?num=10&len=10&digit s=on&unique=on&format=plain&rnd=new

    19. Re:random.org ? by drerwk · · Score: 1

      You are not the only one bothered by the randomness of QM. Some Physicists feel that QM is just hiding variables that are not in fact random, but they are currently a minority. The current majority view of QM is that measurements are fact random and no hidden information would explain away the randomness. See http://en.wikipedia.org/wiki/Hidden_variables for more info. I personally found it difficult when learning QM to just trust the math, but this trust is analogous to just trusting the data when you have an experiment that returns results you did not expect.

    20. Re:random.org ? by kalirion · · Score: 1

      From the linked wikipedia article: Physicists such as Alain Aspect and Paul Kwiat have performed experiments that have found violations of these inequalities up 242 standard deviations[3](excellent scientific certainty). This rules out local hidden variable theories, but does not rule out non local ones. In addition, recently, the Bell theorem itself is criticized because of the Bell test loopholes.

    21. Re:random.org ? by extern_void · · Score: 0

      I tried http://www.random.org/ and got http://ye6ts.78sy37.akiw92is/

      What is going on?

    22. Re:random.org ? by drerwk · · Score: 1

      I understand non local hidden variables to imply information traveling faster than light. And another /. article talks about an experiment along those lines. But today based on what I know, I'll say that information doesn't travel faster than light, and that quantum events are in fact truly random and not based on hidden variables. I'd need something stronger than 'does not rule out' to change my view.

    23. Re:random.org ? by kalirion · · Score: 1

      I understand what you're saying. But to me personally, determinism makes far more sense than true randomness, and if it means FTL communication, so be it. I also have full confidence that FTL communication and even travel are possible, whether through entanglement or wormholes or whatever. Maybe I'm just an optimist :)

    24. Re:random.org ? by Anonymous Coward · · Score: 0
    25. Re:random.org ? by AutumnLeaf · · Score: 1

      Interesting assertion given that the true insights into reality come from mathematical models that exactly describe natural process. :)

  9. W00T! by eviloverlordx · · Score: 1

    I feel more random already.

    --
    'Loose' is when your pants are three sizes too big. 'Lose' is when you misuse 'loose'.
  10. I cannot wait by Normal+Dan · · Score: 1

    for the day when we will have a QRBG in every computer.

    --
    A unique way to learn a language: http://languageloom.com
  11. random.org by Xionn · · Score: 1

    Isn't that what random.org have been doing for some time now?

  12. Don't misunderstand by Icarus1919 · · Score: 4, Informative

    True random number generators have been around in hardware form for a while based on a number of different processes, not quantum only. But this is being offered to the community at large, who may not have the means to procure or pay for a hardware solution.

    1. Re:Don't misunderstand by HomelessInLaJolla · · Score: 1

      relies on the unpredictable quantum process of photon emission It's 50/50. Either it happens, or it doesn't.

      Maybe they mean the unpredictable set of environmental conditions which surrounds the tipping point between "doesn't happen" and "does happen".
      --
      the NPG electrode was replaced with carbon blac
    2. Re:Don't misunderstand by Urusai · · Score: 2, Funny

      Finally, something to make the OLPC useful.

    3. Re:Don't misunderstand by TheRaven64 · · Score: 4, Interesting

      Don't Via C3 chips have a hardware random number generator, that uses quantum-level fluctuations in the chip (i.e. the kind of noise that most of the rest of the chip is specifically designed to try to avoid) to produce noise as output? Since these cost under $100, I can't see a researcher not being able to afford one. You obviously can't use this service for cryptography, since relying on someone else for your entropy is just asking for trouble.

      --
      I am TheRaven on Soylent News
    4. Re:Don't misunderstand by Anonymous Coward · · Score: 0

      I believe the operand here is "when" X will happen...not if.

    5. Re:Don't misunderstand by Original+Replica · · Score: 1

      I wonder if this be subject to Benford's Law? http://www.damninteresting.com/?p=210 Namely that the most common first digit will be one, two will be the next most common first digit, then three and so on. Apparently this happens with random numbers pulled from real life.

      --
      We are all just people.
    6. Re:Don't misunderstand by Abcd1234 · · Score: 1
      Apparently this happens with random numbers pulled from real life.

      No, it doesn't. To quote the article you linked to:

      In a highly variable set of numbers such as those found in taxes, one would think that the leading digits would all be equally common. One would expect to find roughly the same amount of numbers starting with a 1 as, say, an 8. In a set of totally random numbers such as the lottery, that is exactly what one would discover; but when it comes to non-random real-life numbers, unless the data set is too constrained, a lot more numbers start with a one than any other digit.


      Given that this device is intended to produce "totally random numbers", I'd say it's output most certainly *won't* follow Benford's Law.
    7. Re:Don't misunderstand by owlstead · · Score: 1

      I'm posting this using a VIA C7 x86 compatible processor which has a nice whitened true random generator build in. It wasn't that costly. Most smart cards have RNG's build in, to give you an idea of the costs. Having a rng online is kind of defeating the purpose. I would like to see more processors include random number generators (and other cryptographic primitives). They do not rely on outside data (a keyboard or HDD will not be part of my flash based, headless server), provide good randoms at great speeds, and they are not that difficult to implement. The randomness of these generators is good enough for 99% of the tasks - and even then I would primarily use it as a seed for a software based pseudo RNG, such as /dev/urandom.

    8. Re:Don't misunderstand by Xiph1980 · · Score: 1

      No. Benford's law doesn't apply to truely random numbers.

      --
      Manuals are your last resort only
    9. Re:Don't misunderstand by RealGrouchy · · Score: 1

      True random number generators have been around in hardware form for a while based on a number of different processes, not quantum only. Yes, and this one even reveals its source!

      - RG>
      --
      Hey pal, this isn't a pleasantforest, so don't waste my time with pleasantries!
    10. Re:Don't misunderstand by Anonymous Coward · · Score: 0

      Not suprising he didn't know that. His claims to being a chemist and expert on everything have no backing...

    11. Re:Don't misunderstand by abigor · · Score: 1

      Maybe you should learn about quantum electrodynamics sometime, as you seem to have a lot of time on your hands.

    12. Re:Don't misunderstand by HomelessInLaJolla · · Score: 1

      Because quantum electrodynamics is not a study which dictates the outcome of Schroedinger's cat. You can talk quantum electrodynamics all day long, until you're blue in the face, but the outcome is still 50/50, and it's still determined every bit as much by the surroundings as it is by the nuclei making the emission.

      --
      the NPG electrode was replaced with carbon blac
    13. Re:Don't misunderstand by kahanamoku · · Score: 1

      My thoughts exactly... If it's based on something (Anything!) then it isn't truly random.

      just because it is 'impossible to predict' doesn't mean there's not a pattern to it that humans are just too dumb to figure out!

      --
      ----- Concentrate on promoting more than demoting.
    14. Re:Don't misunderstand by HomelessInLaJolla · · Score: 1
      I always thought that the perfect random number generator would be the interval between prime numbers. If we can't predict whether or not a number will be prime then, by definition, the interval between one prime and the next should be random.

      Graphing various mathematical transformations of a sequence of prime numbers (take, for example, the first ten thousand and do crazy things with interval, logarithms, and statistical analyses) leads me to lend plenty of credibility to what you've said:

      just because it is 'impossible to predict' doesn't mean there's not a pattern to it that humans are just too dumb to figure out! That's bordering on conspiracy theory. :)
      --
      the NPG electrode was replaced with carbon blac
    15. Re:Don't misunderstand by ZombieWomble · · Score: 1

      It's 50/50. Either it happens, or it doesn't. Saying this is "50/50" is like saying you have a 50-50 chance of getting struck by lightning every time you go out. I mean, either you can get struck by lightning or not, right?

      (At least, that's the reason I've been using for hiding in this basement...)

    16. Re:Don't misunderstand by nuzak · · Score: 2, Insightful

      > Having a rng online is kind of defeating the purpose.

      Tell that to online RPG dice rollers. A true and trustworthy online RNG service can also be non-repudiable, instead of having everyone needing to trust that you didn't rig the RNG algorithm on your side. An online Nomic I play uses the cents digit of the opening price of publicly traded stocks as a random digit (the sample is typically once a month, so it's chaotic enough). Random.org has a daily log of its numbers. I'd really love an online RNG that logged in realtime so that I could pick them more-or-less on demand.

      --
      Done with slashdot, done with nerds, getting a life.
    17. Re:Don't misunderstand by ZombieWomble · · Score: 1
      This line of reasoning (specifically, that all processes are in fact determined by some obfuscated "hidden variables" which are unobservable in a conventional sense) suffered a pretty big setback after some of the experimental tests of Bell's Inequality - without going into too much detail, if these processes did indeed depend on some hidden values which decide the result of an interaction in a deterministic fashion, you would expect to see certain correlations between entangled particles in various situations, which can differ quite significantly from that expected by the probabilistic approach.

      Tests of this theorem indicate that the particles are not carrying along these hidden variables, but that the results of their interactions do indeed correspond to the probabilistic case. (To be fair, a theory can be constructed which retains hidden variables as a factor and matches these observations, but these tend to be something of a stretch and involve abandoning some fairly basic concepts)

    18. Re:Don't misunderstand by Hotawa+Hawk-eye · · Score: 1

      I always thought that the perfect random number generator would be the interval between prime numbers. If we can't predict whether or not a number will be prime then, by definition, the interval between one prime and the next should be random.
      No, I don't think it would be a good generator. The vast majority of intervals between primes are of even length, and there is at most 1 interval for each odd length (1 interval of length n if 2+n is prime, and 0 if 2+n is composite, since the sum of two odd numbers is even.)
    19. Re:Don't misunderstand by Attila+the+Bun · · Score: 1

      What would be a truly-random non-quantum process? Come to think of it, what would a non-quantum process be?

    20. Re:Don't misunderstand by smellotron · · Score: 1

      just because it is 'impossible to predict' doesn't mean there's not a pattern to it that humans are just too dumb to figure out!
      Actually, "impossible to predict" is precisely what random is. "Very hard to predict" is rather different from "impossible to predict" in the same way that md5 hash collisions are rare, but possible.

      If it's based on something (Anything!) then it isn't truly random.
      What if it's a random stream based on another random stream? It's possible to make the output impossible to predict (though in reality you're far better off using the original stream).
    21. Re:Don't misunderstand by HomelessInLaJolla · · Score: 1

      The vast majority of intervals between primes are of even length, Since all the primes after 2 are odd, why yes, the intervals between all prime(x) and prime(y), after 2, are of even length. Have you tried dividing by 2 and graphing again?
      --
      the NPG electrode was replaced with carbon blac
    22. Re:Don't misunderstand by E++99 · · Score: 2, Informative

      Given that this device is intended to produce "totally random numbers", I'd say it's output most certainly *won't* follow Benford's Law.


      In most cases it would, depending on the random distribution you're getting. Eg, in a random 8-bit number, you have 0-255. 111 of those start with 1, which is 43%; 67 start with 2, which is 26%; 11 each start with 3 through 9, which is 4% each.
    23. Re:Don't misunderstand by Firehed · · Score: 1

      As far as I'm aware, they only offer hardware-level encryption and decryption (and, as such, kick the pants off of Intel and AMD in tests that take advantage of that hardware). But it's been a while since I looked into Via chips so I could well be outdated or flatly wrong.

      --
      How are sites slashdotted when nobody reads TFAs?
    24. Re:Don't misunderstand by owlstead · · Score: 1

      Interesting. They should sign them as well including date, name and sequence number. Then you can say that you've got login name , sequence number 5, and work with next consecutive numbers - you would be able to distribute the number so you can show that you are not cheating.

    25. Re:Don't misunderstand by Anonymous Coward · · Score: 0

      There's no such thing as a "random number." There are, however, (pseudo) random number sequences. Which is defined by the inability to predict the next number.

    26. Re:Don't misunderstand by larry+bagina · · Score: 1

      You could use intel's floating point math unit as a random number generator.

      --
      Do you even lift?

      These aren't the 'roids you're looking for.

    27. Re:Don't misunderstand by MoxFulder · · Score: 1

      You can talk quantum electrodynamics all day long, until you're blue in the face, but the outcome is still 50/50, and it's still determined every bit as much by the surroundings as it is by the nuclei making the emission. Incorrect! Such quantum phenomena are not "determined" by the state of the nuclei even on a theoretical level. It is a common misconception that quantum mechanics gives probabilistic results only because the experimenters are unable to measure the "underlying" phenomena accurately (known as the hidden variables).

      In fact, this has been essentially disproved by experimental verification of (building on the earlier Einstein-Podolsky-Rosen paradox).

      Bell's theorem states that "No physical theory of local hidden variables can ever reproduce all of the predictions of quantum mechanics." In other words, no underlying mechanism could possibly produce the same results as quantum mechanics. I feel that this is the most elegant and fundamentally significant result of quantum mechanics.

      So if random numbers are generated through quantum mechanical processes, their origin is in a very real sense not only unknown but truly unknowable.

      (PS- I should mention that Bell's Theorem makes certain assumptions about locality, which is intimately related to general relativity. Both quantum mechanics and general relativity have been extremely well-tested, but it is known that they can't both be right in all circumstances... but to make a long story short, if you're not right next to a black hole then both quantum mechanics and general relativity should make sense.)
    28. Re:Don't misunderstand by MoxFulder · · Score: 1

      Correction: that was supposed to read "In fact, this has been essentially disproved by experimental verification of Bell's theorem ..."

    29. Re:Don't misunderstand by MoxFulder · · Score: 1

      As far as I know, these cheap hardware RNGs use random fluctuations of thermal noise... meaning they basically sample the voltage across a little resistor and record the random fluctuations.

      This is cheap and effective, but is vulnerable to a particularly nasty attack: cooling down the temperature. Imagine you have a data center cranking out random numbers using a thermal RNG. The FBI/CIA/MI5/Mossad/KGB/Elvis could pump in liquid nitrogen overnight until it's cold enough that the range of fluctuations is reduced to the point that they're no longer random enough... for example, if the RNG is designed to spit out numbers between 0 and 1.0 at room temperature, it might most only produce numbers between 0 and 0.25 at the temperature of liquid nitrogen. This could be enough to completely subvert some cryptographic systems.

    30. Re:Don't misunderstand by izomiac · · Score: 1

      Couldn't that vulnerability be solved by including a thermometer? I.e. if the temperature is outside of the designed operational range then the RNG doesn't return anything.

    31. Re:Don't misunderstand by senatorpjt · · Score: 1

      If the FBI/CIA/MI5/Mossad/KGB/Elvis has physically broken into your data center, it really doesn't matter how random your numbers are...

    32. Re:Don't misunderstand by Strilanc · · Score: 1

      That would be easy to defeat: ignore 11 and 00, count 01 as a 1, count 10 as a 0. There's a name for this, but I don't remember it. At the very least it turns liquid nitrogen into a DOS instead of a break.

    33. Re:Don't misunderstand by mithluin · · Score: 1

      Since all the primes after 2 are odd, why yes, the intervals between all prime(x) and prime(y), after 2, are of even length. And this doesn't suggest to you that perhaps there are similar patterns present that aren't quite as blindingly obvious?

      I always thought that the perfect random number generator would be the interval between prime numbers. If we can't predict whether or not a number will be prime then, by definition, the interval between one prime and the next should be random. Of course we can predict whether a number will be prime. It's a lot easier than finding the interval to the next prime, too. That's a somewhat tongue-in-cheek response, but primes are important, and the ways in which their distribution is nonrandom are important (for example: the probability that N is prime is about 1/ln(N) for large N); so on the face of it this seems like a fairly poor way to start trying to make a pseudorandom number generator.
    34. Re:Don't misunderstand by damium · · Score: 1

      Actually, "impossible to predict" is precisely what random is.

      Not quite. Random needs to be impossible to predict, statistically uniform and capable of producing any number. If it is not statistically uniform then it is not random only unpredictable.

    35. Re:Don't misunderstand by Nazlfrag · · Score: 1
      Bedfords law doesn't apply when you are comparing less than an order of magnitude. You are artificially overrepresenting 1 and 2 by limiting at 255. The law is also invariant of base, so in hex those bits would range from 0x00 to 0xff, with the digits 0-f represented equally in a truly random distribution.

      The law is based on non-random numbers to start with, and is due to the fact that the logarithms of these collected samples tend to have an even distribution, giving a skewed distribution of first digits.

    36. Re:Don't misunderstand by kju · · Score: 1

      Maybe you should not only link to Wikipedia, but also read the linked article at least once. What you assumed (VIA C3 using thermal noise for random) is wrong. From the article:

      All VIA C3 microprocessors have included a hardware RNG on the processor chip since 2003. Instead of using thermal noise, raw bits are generated by using four freerunning oscillators which are designed to run at different rates.

    37. Re:Don't misunderstand by gomoX · · Score: 1

      I think you are referring to Manchester encoding. It halves the bandwidth, though.

      --
      My english is sow-sow. Sowhat?
    38. Re:Don't misunderstand by lhorn · · Score: 1

      A variation on this measures the time output is in one state and compares it to previous/next period.
      If the next 1 appears sooner than the last 1 appears output 1, else 0. ( If time is equal or too long output nothing. )

      --
      accept no limits but time
    39. Re:Don't misunderstand by ultranova · · Score: 1

      It's 50/50. Either it happens, or it doesn't.

      Either you'll be hit by lighting, or you won't, but that doesn't mean that the chances of it happening are 50/50.

      --

      Forget magic. Any technology distinguishable from divine power is insufficiently advanced.

    40. Re:Don't misunderstand by smellotron · · Score: 1

      Random needs to be impossible to predict, statistically uniform and capable of producing any number
      I believe you mean uniform random. In any case, a non-uniform distribution would allow prediction, so my original statement (unintentionally) implies uniform.
    41. Re:Don't misunderstand by ioshhdflwuegfh · · Score: 1

      What would be a truly-random non-quantum process? Come to think of it, what would a non-quantum process be? Flipping the coin is an answer to both of your questions.
    42. Re:Don't misunderstand by mollymoo · · Score: 1

      Bell's theorem states that "No physical theory of local hidden variables can ever reproduce all of the predictions of quantum mechanics." In other words, no underlying mechanism could possibly produce the same results as quantum mechanics.

      Except for non-local hidden variable theories.

      --
      Chernobyl 'not a wildlife haven' - BBC News
    43. Re:Don't misunderstand by Agripa · · Score: 1

      Intel included hardware random number generation in their 82802 firmware hub used in some of the 8xx series chipsets. I never understood why they discontinued that feature.

    44. Re:Don't misunderstand by Anonymous Coward · · Score: 0

      You're posting in a quantum mechanical topic and you still have no clue what the basic premise of quantum mechanics is.

      The probability that any given number will be prime is 50/50. The statistical occurence is 1/ln(N) for large N.

      And, yes, the interval between any two primes, most concisely illustrated by consecutive primes, is a perfect way to generate a random number because, especially for large N, the statistical occurence of an interval of 2 is the same as the statistical occurence of an interval of 204378518. Even better, especially for very large n, the statistical occurence of an interval of 2 for prime(n-1) and prime(n) is the same as the statistical occurence of an interval of 204378518 for prime(n) and prime(n+1).

      And, just as RNG in BASIC v2 on a C=64 (RND(1) and RND(0)) taught us 25 years ago, if you are unhappy with the set of raw prime numbers generated you have simply to apply a mathematical transform. In the case of intervals, if you wish your random number to be odd, divide by 2.

    45. Re:Don't misunderstand by owlstead · · Score: 1

      According to their site, they use free running oscillators. The output of these oscillators is then whitened, and become the random number. The random number generation is quite fast. I've got one of these processors here and it should be able to perform SHA1 & 2 hashing, AES and have a montgommery multiplier that speeds up RSA (and probably DSA and Elliptic curve, if programmed correctly).

  13. Yeah, right. by Anonymous Coward · · Score: 0

    I bet they just couldn't be arsed and linked a CGI script to /dev/urandom.

    </cynic>

    1. Re:Yeah, right. by JoeInnes · · Score: 1

      Tinfoil hats aside, there is, as mentioned above, a serious security risk with connecting to the internet to fetch a seed. I'd be happier to see a tiny hardware RNG built into every computer. I can't imagine it would be that difficult to implement.

  14. Hopefully by markov_chain · · Score: 1

    it works faster than /dev/random. I'm tired of having to perturb the mouse every time I make a damn ssh connection!

    --
    Tsunami -- You can't bring a good wave down!
    1. Re:Hopefully by ThisNukes4u · · Score: 1

      That's what /dev/urandom is for. Unless you've symlinked /dev/urandom to /dev/random, in which case, I don't know what you're trying to achieve, /dev/urandom is supposed to be cryptographically secure afaik.

      --
      thisnukes4u.net
  15. uh oh by Anonymous Coward · · Score: 0

    Don't tell my GM about this. He may require me to use it in place of my 'lucky dice'.

  16. Brilliant! by Anonymous Coward · · Score: 0

    Doing crypto using a random number I obtain over the internet.. nah I don't see a problem there

    1. Re:Brilliant! by Goaway · · Score: 1

      Oh, it's perfectly safe as long as you keep the crypto algorithm secret!

  17. quantum random number generators by Wise+Dragon · · Score: 5, Informative

    This is neat but there have been other quantum random number generators online for years. This one by id Quantique springs to mind... I'm not sure what this new service provides that others don't. If you REALLY want secure random numbers you should buy a QRNG PCI card and make them yourself so you're the only one with a copy.

    1. Re:quantum random number generators by BlueParrot · · Score: 1

      Actually, making random numbers good enough for encryption isn't all that difficult. For most applications you only need to generate a few thousand bits that are difficult for a third party to predict. The real problem with random numbers comes when you want a gigabyte [per second] of good random numbers for a scientific simulation, and the margin of error of your experiment needs to be a couple of orders of magnitudes bellow the output.

      Heck, if you really wanted to you could generate a relatively strong private key using pen and paper and a set of scrabble tiles. You probably don't want to do that for a computer simulation running at a few ghz thou.

    2. Re:quantum random number generators by Rakishi · · Score: 4, Funny

      You probably don't want to do that for a computer simulation running at a few ghz thou. That's what grad students are for.
    3. Re:quantum random number generators by Wise+Dragon · · Score: 1

      The nice thing about quantum random numbers is that they are future-proof. If someone cracks your PRNG in the future, all your old data is vulnerable, but if you used a QRNG, its encrypted for all time unless someone steals your key.

    4. Re:quantum random number generators by megaditto · · Score: 1

      This depends on the encryption algorithm. If you can brute-force it, then it doesn't matter how random your key is.

      --
      Obama likes poor people so much, he wants to make more of them.
    5. Re:quantum random number generators by Wise+Dragon · · Score: 1

      Yeah you're right, but using a QRN as the key removes that possible weakness. Also if you use one time pads, its theoretically impossible to break, no matter how much processing power and time you devote to it.

    6. Re:quantum random number generators by kilraid · · Score: 1

      I have used numbers from them in lottery for half a year now. In one branch of the universe, I have already won. In this one, unfortunately not...

  18. Yawn... by justasecond · · Score: 2, Interesting

    John Walker (AutoDesk founder) has had a true random number generator available for web access for quite a long time. Looks like his site's currently down, but check out www.fourmilab.ch when it's sorted -- in addition to the random number generator he has a number of other cool gadgets and info. available.

    Oh, and this line from the FA is priceless: "...is connected to the internet through advanced computer technologies such as computer clusters and GRID network." Don't get too technical on me...

    1. Re: Yawn... by Black+Parrot · · Score: 1

      John Walker (AutoDesk founder) has had a true random number generator available for web access for quite a long time. Looks like his site's currently down That's how you get your random bits: up = 1, down = 0.
      --
      Sheesh, evil *and* a jerk. -- Jade
  19. Random... or UNPREDICTABLE?! by Anonymous Coward · · Score: 0

    *Spooky Music*

  20. I, for one, welcome our... by Will+the+Chill · · Score: 0

    quantum-chaos-harnessing freely-distributing all-encrypting overlords!

    -WtC

    HE!!
    AHD!!!

    --
    Creator of RPerl, Scouter, Juggler, Mormon, Perl Monger, Serial Entrepreneur, Aspiring Astrophysicist, Community Organiz
  21. Re:ohw my god can it be true?? by Anonymous Coward · · Score: 0

    fail

  22. So what's not "random" about other processes? by tlhIngan · · Score: 1

    I mean, it's not the first RNG available on the Internet. There is, after all, HotBits and several other ones available. HotBits uses the simple decay of a radioactive element, while others rely on pure noise (I believe one uses a webcam trained at nothing and is just picking up noise).

    I believe there are even commercially available RNGs based on the same principles available at fairly low costs.

    Wasn't there also a project that tried to see if the scope of human consciousness could affect these random events?

    1. Re:So what's not "random" about other processes? by scapermoya · · Score: 1
      --
      Beware the Jubjub bird, and shun the frumious Bandersnatch.
    2. Re:So what's not "random" about other processes? by ParanoidJanitor · · Score: 1

      Inventgeek also has a nice tutorial on how to make your own alpha-decay RNG (for somewhere around US$90). The project you're thinking of is probably the Global Consciousness Project.

  23. Erm.. by Creepy+Crawler · · Score: 2, Funny

    Does anybody have a mirror?

    It keeps changing on me!

    --
  24. Other sources of true random numbers by i_like_spam · · Score: 4, Informative
    1. Re:Other sources of true random numbers by Anonymous Coward · · Score: 0

      None of those are truly random.
      All of them use a physical source to provide a seed for the random number generator.
      In theory you could rig the noise, lava lamp etc to affect the outcome.

      With a quantum random number generator, you cannot 'know' how to affect the outcome before you have seen the results.

    2. Re:Other sources of true random numbers by ArsonSmith · · Score: 2, Funny

      I'm a source too, and the first 5 are free:

      45
      7
      183
      33
      23

      send me $100 for each addition random number.

      ok bonus day

      44

      --
      Paying taxes to buy civilization is like paying a hooker to buy love.
    3. Re:Other sources of true random numbers by kmac06 · · Score: 1

      Radioactive decay would be a quantum RNG.

    4. Re:Other sources of true random numbers by zippthorne · · Score: 0

      Sort of, but you have to correct for the depletion of the radiation source. It's not precisely 50/50 because of the decay part of radioactive decay.

      --
      Can you be Even More Awesome?!
    5. Re:Other sources of true random numbers by Kidbro · · Score: 2, Funny

      More sources of true randomness:

      - Reasons for women to get upset
      - Promises from politicians
      - Patent applications
      - Marketing terminology

    6. Re:Other sources of true random numbers by Anonymous Coward · · Score: 0

      If we could know what was truly random, we would know if we have free will.

    7. Re:Other sources of true random numbers by Sara+Chan · · Score: 2, Informative

      HotBits is a true quantum-based Random Number Generator. For details, see How HotBits Works. Hotbits would seem to be at least as good as the RNG discussed in the Slashdot story, and it too is free and online; the main drawback is that you can only get 2k bits at a time.

    8. Re:Other sources of true random numbers by flok · · Score: 1

      audio-entropyd: get random data from an audio source
      videwo-entropyd: get random data from a video source (webcam, tv-card, etc.)

      --

      www.vanheusden.com - home of Multitail, HTTPing, CoffeeSaint, EntropyBroker, rsstail, bsod, listener, nagcon, nagi
    9. Re:Other sources of true random numbers by electronspiraltoroid · · Score: 1

      what about using a miniature tritium light, with a blue LED connected to an analogue amplifier and chopper? Totally random, and there is absolutely no detectable radiation leakage due to the "soft beta" emission.

      the other variant is a cheap camera (perhaps one from an optical mouse?) and an americium source, but there are issues with these being used in chips.

      (insert "$$$$$$$".c)

      -A

      --
      "Bother" said Pooh, as he was dipped in bees...
    10. Re:Other sources of true random numbers by john83 · · Score: 1

      That second one isn't truly random. It correlates with certain financial measures.

      --
      Strange women lying in ponds distributing swords is no basis for a system of government.
    11. Re:Other sources of true random numbers by Eravnrekaree · · Score: 1

      Random numbers can be quite useful for a variety of applications, for instance online games and encryption. I think it would be a great idea for a true RNG to be standard equipment on every computer. This would also improve encryption quality. Probably the most secure type of encryption is one time pads, and in order for that to be reliable you need a lot of random data. Since the algorithms used to create random data from keyboard input and other activity may create certain predictable patterns, this weakens the reliability of the encryption. WIth a lot of random data, you could give your friends CDs with random data on them, to use as the pad and never have to worry about the encryption being broken.

    12. Re:Other sources of true random numbers by zippthorne · · Score: 1

      That presupposes that your brain depends upon quantum effects.

      Consider that an asteroid is also a massive collection of probability distributions. But it's so very very massive. No one would argue that it has free will, and very few would argue that its trajectory is in any way chaotic.

      Consider a very small rock. It also is large enough that its collection of probability distributions is essentially "fixed." It has no free will, and it does not suddenly begin to move around either. Its trajectory is easily determined if you are aware of outside forces.

      Now, a duck on the other hand...

      --
      Can you be Even More Awesome?!
  25. I wonder by Normal+Dan · · Score: 1

    how random it truly is. That is, I wonder if it maybe favors 1's more than 0's. When dealing with the physical world, even on a quantum level, it is often hard to get a perfectly even probability split between two (or more) values.

    --
    A unique way to learn a language: http://languageloom.com
    1. Re:I wonder by JesseL · · Score: 2, Interesting

      These things usually use a natural noise source as a random seed and then mathematically normalize them to produce random numbers that are useful. It's pretty standard stuff.

      --
      "Prefiero morir de pie que vivir siempre arrodillado!"
    2. Re:I wonder by kasperd · · Score: 1

      When dealing with the physical world, even on a quantum level, it is often hard to get a perfectly even probability split between two (or more) values.
      That is actually not a problem, as long as you can repeat the meassurement and get independent equally distributed results. The simplest solution is the following: Take two bits from your source, if they are identical throw them away. If they are different, output the first and throw the second away. Your output will obviously be shorter, at least a factor of four, and even more on a skewed input. But the output will have ones and zeros with the same probability. The approach can be generalized to working with more bits at a time, but then gets more complicated.

      Decide on a fixed length of blocks to split your original bits into. When given a block of bits, compute the number of possible permutations of those exact bits, and use the binary representation to group the permutations into sets of sizes a power of two. Then by numbering the elements in this set you get the output bits to produce. It may be easier to follow from an example. I take groups of four input bits. If I happen to get something with two ones and two zeros, I compute that there are six possible permutations. That is 4+2 so I have one group of four equally likely permutations that will give me two output bits, and another of just two that will give me one output bit:
      • 0011 => 00
      • 0101 => 01
      • 0110 => 10
      • 1001 => 11
      • 1010 => 0
      • 1100 => 1
      OTOH if I got only a single one and three bits in the input there are exactly four distributions, and I always get two bits of output:
      • 0001 => 00
      • 0010 => 01
      • 0100 => 10
      • 1000 => 11
      Likewise if I got a single zero and three ones. If I were so unlucky to get four identical bits there is only a single permutation, which means I get zero output bits. So in the end if the input happened to have zero and one equally likely you would get 1.625 output bits for every four output bits, which is 62.5% better than with half the block size. Of course again, with a skewed input the gain will decrease. As the block size grows, your gain will converge towards the real entropy of your input (even if you don't know how large that is). But larger blocks means you'd have to do more computation or have larger lookup tables. So there may be a limit to how large blocks you can use. The block size does not change the quality of your result, only the quantity.
      --

      Do you care about the security of your wireless mouse?
  26. An external random number generator? by solevita · · Score: 5, Insightful

    Call me paranoid, but I think I'd rather use a local pseudo random number generator than an external true random generator. My security concerns associated with using a local pseudo random number generator are outweighed by my privacy concerns of contacting a third party every time I want to establish a SSH connection or use my credit card online.

    Great for research though, of course.

    1. Re:An external random number generator? by A+non-mouse+Coward · · Score: 1

      Agreed. Not only that, but what about the security concerns of authenticity? How do I know that I am talking to the real true random number generator and not some MITM? We could use HTTPS to get to the true random number generator web page, that way I can have authenticity, but ah, wait ... how do I know the private key in the SSL cert was truly randomly generated? And what about the SSL session keys, would they be randomly generated? I don't think I can trust that I am receiving truly random numbers from the truly random number generator. I think psuedo-random is about as good as it gets.

      --
      libertarian: (n) socially liberal, financially conservative; neither left, nor right.
    2. Re:An external random number generator? by spaceyhackerlady · · Score: 1

      So make your own. That's why I bought a geiger counter on EBay, though it was so much fun to play with I never got around to hooking it up to a computer as I had originally intended. I even have some nicely radioactive camera lenses.

      I'm not interested in SSH or https; I'm more interested in using random numbers for one-time pad encryption so my Mom and I can send unbreakably encrypted email and drive The Authorities nuts. :-)

      ...laura

    3. Re:An external random number generator? by Anonymous Coward · · Score: 0

      Paranoid.

    4. Re:An external random number generator? by noidentity · · Score: 1

      For someone paranoid, a third-party source that claims to be random should be assumed to be anything but.

  27. extremly high tech by Jookey · · Score: 1

    'Quantum Random Bit Generator' that relies on the unpredictable quantum process of photon emission.

    um... do you mean a webcam with the lense cap on.

  28. Link to the actual website. by monomania · · Score: 1

    The link in the summary is a news report that links to the site itself. The site itself is http://random.irb.hr/, is easily accessed directly, and requires a registration.

    1. Re:Link to the actual website. by freedom_india · · Score: 1

      Yes, and the registration question to verify you are a human requires you to find the smallest polynomial of a given equation !

      WTF?
      What the heck is a polynomial, and how does the page assume all nerds who hit the page know mathematics as well !
      Show Off !

      We should sue the website for discrimination !

      --
      "Doing what i can, with what i have." ~ Burt Gummer
    2. Re:Link to the actual website. by Peter+Mork · · Score: 1

      I realize you were (probably) being sarcastic. I enjoyed registering, just to solve their math captcha. So, for those not interesting in exerting the effort: username=qwerty, password=qwerty.

  29. wtf? by zCyl · · Score: 1

    Some article author doesn't know what he's talking about... I quote:

    "Ordinary random number generators found in most computers in use today are 'pseudo-random' numbers that use various algorithms to pick the numbers from large pre-compiled databases of numbers obtained by methods such as rolling the dice."

    In actuality, PRNGs typically operate based on a function with a very long periodicity, not a pre-compiled list of dice rolls. And what I consider to be a typical state-of-the-art contemporary random number generator is closer to /dev/random, which functions as a true random number generator on all standard Linux installations.

  30. Nice by Chutulu · · Score: 0

    now Aphex Twin can make truly random music

  31. Finally an improved software estimate methodology by JurassicPizza · · Score: 4, Funny

    I've been waiting on this for a long time.

    --
    --- JurassicPizza
  32. Umm.. by Anonymous Coward · · Score: 1, Interesting

    ..running a transistor "backwards" and capturing the noise via a sample-and-hold->A/D device is also entirely unpredictable, and has been used in computers long, long, long ago. Also, it can be done in very, very few components integrated in a circuit - can this monstrous quantum device be that? Soon they will call it a testament to science, I'm sure...

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

      You'll probably answer this better than google: is that electromagnetic or thermal noise, and is it unattackable as well as unpredictable?

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

      Using the radiation proof Silicon-on-Sapphire technique instead of plain silicon waffer, it can be made unattackable in certain sense. I guess with proper isolation using other metals it can also be electromagnetically isolated further - if even needed, considering the nature of Silicon-on-Sapphire.
      Whether the analogue noise produced by transistors this way is electromagnetic or thermal I really do not know as I'm not into physics this deep, but I do know that "plain" electromagnetism does not interfer with the operation of a transistor in this aspect.

  33. already discovered by d3l33t · · Score: 1, Funny

    int getRandomNumber(){ return 4; //chosen by fair dice roll //guarantees to be random }

    1. Re:already discovered by The+Anarchist+Avenge · · Score: 1

      At least link to http://www.xkcd.com/ if you use his jokes.

      --
      Today's lucky number is: 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
    2. Re:already discovered by RealGrouchy · · Score: 2, Informative

      That joke would have been a lot funnier if you had cited your source (which, by the way, is required by xkcd's cc license).

      - RG>

      --
      Hey pal, this isn't a pleasantforest, so don't waste my time with pleasantries!
  34. Patent by ehaggis · · Score: 1

    I patent it. All random numbers are mine, unless you pay me a random fee. And who is to say that all software which are 1s and 0s, are not really ripping me off by stealing my random numbers! How about mp3s - also just a bunch of numbers - there mine too! However you look at it - PAY ME! Thank you for your support.

    --
    One ring to bind them - should probably have more fiber and less rings in their diet.
    1. Re:Patent by Anonymous Coward · · Score: 0

      I think that's a very fair deal your offering up there, sign me up.

      BTW, when I randomly generated the fee to pay you, it came up $-62,952,306.71, so... when can I expect to complete this transaction with you?

    2. Re:Patent by Deathanatos · · Score: 1

      I patent it. All random numbers are mine, unless you pay me a random fee.
      But to pay a random fee, I must generate a random number to know how much to pay. Since I generated a random number, I must pay royalties for that one too, which entails generating a random number for the random number for the random number.
      You seemed to have reached step 3:
      PROFIT!!
  35. Captchas require calculus by poszi · · Score: 3, Interesting

    Look at the signup page. You not only need to prove that you are a human but also that you have elementary knowledge of calculus.

    --

    Save the bandwidth. Don't use sigs!

    1. Re:Captchas require calculus by Shados · · Score: 1

      An thus restrict it to the 0.1% "elite" part of the population!

    2. Re:Captchas require calculus by stinerman · · Score: 2, Funny

      I got the partial derivative of cos(4x) wrt x evaluated at 0. That's pretty trivial. You could guess at that and do well.

    3. Re:Captchas require calculus by Anonymous Coward · · Score: 0

      Welp, guess that rules me out from ever using it :D

    4. Re:Captchas require calculus by RuBLed · · Score: 1

      and the pr0n industry...

    5. Re:Captchas require calculus by E++99 · · Score: 4, Interesting

      Look at the signup page. You not only need to prove that you are a human but also that you have elementary knowledge of calculus.

      I propose adding this to the /. signup process.
    6. Re:Captchas require calculus by Anonymous Coward · · Score: 0

      Or you're a slashdot user and you just plug the question straight into your math software which gives you the answer straight away?

      Why take the hard approach of relearning calculus just to fill in a captcha? :)

    7. Re:Captchas require calculus by Aladrin · · Score: 2

      I felt compelled to sign up. Not because I needed truly random numbers, but because the captcha was a challenge to my geek-hood.

      --
      "If you make people think they're thinking, they'll love you; But if you really make them think, they'll hate you." - DM
    8. Re:Captchas require calculus by Tyler+Durden · · Score: 1

      Same here. I had to look up the chain rule and the derivative of cosine (it's been years), but it's good to know I'm not totally out of the loop. I still wish I was a lot more knowledgeable regarding calc, though.

      --
      Happy people make bad consumers.
    9. Re:Captchas require calculus by Anonymous Coward · · Score: 0

      > You not only need to prove that you are a human but also that you have elementary knowledge of calculus.

      I don't know about that, the first problem I got was 5 * (-1) * (-2) =

    10. Re:Captchas require calculus by jgoemat · · Score: 1

      Wow, mine was a simple first degree polynomial...

  36. Yeah, right. by Champ · · Score: 1

    I bet this is actually the CIA providing faux-random numbers in order to gain access to sensitive data encrypted using these numbers as seeds.

    Boy, this tinfoil hat sure is itchy.

  37. Weird... by patternmatch · · Score: 3, Funny

    I keep getting 09f911029d74e35bd84156c5635688c0...

  38. How's it better ? by Bugmaster · · Score: 0, Redundant

    How's it better than random.org or hotbits ?

    --
    >|<*:=
  39. But how does this compare to the classic by Anonymous Coward · · Score: 0

    ...madman with a bank of colored buttons?

    "what's the monkey wrench for, sir?"

    "That's to turn him off, Ensign."

  40. Only God by karlandtanya · · Score: 0, Troll

    can generate "truly" random numbers.

    --
    "Reality is that which, when you stop believing in it, it doesn't go away." - Philip K. Dick
    1. Re:Only God by ari_j · · Score: 1

      Are you saying he didn't make the things we're collecting random numbers from? I only object to this being called a random number generator - it's a random number collector.

    2. Re:Only God by DamnStupidElf · · Score: 2, Funny

      [Only God] can generate "truly" random numbers.

      Oh yeah? Being omniscient, wouldn't he know what number he'd generate before he generated it? Not too random, is it?

    3. Re:Only God by Ardeaem · · Score: 1

      [Only God] can generate "truly" random numbers. Too bad he doesn't play dice.
    4. Re:Only God by Anonymous Coward · · Score: 0

      He should stop the horsing around and tend to the suffering in the world. Oh, wait. He's responsible for that too.

    5. Re:Only God by CopaceticOpus · · Score: 1

      Oh, it's still random, but you don't want to use the data as it's subject to GITM attacks.

      (GITM = God in the middle)

  41. Page loading... ... ... by Anonymous Coward · · Score: 0

    True random number generator goes offline.

  42. Server Error by Anonymous Coward · · Score: 0
    I got this:

    function.mysql-connect: Too many connections in H:\Program Files\Apache Software Foundation\Apache2.2\www\random.irb.hr\db_connect. php on line 3

    Wow!

  43. Skeptical by Anonymous Coward · · Score: 0

    I must admit that I'm skeptical of this. The article states with a puzzling tone of certainty that this is a "non-deterministic" process. I highly doubt they can make that claim. I believe all aspects of physics is deterministic, even if we have no clue just yet as to how quantum events can be calculated precisely. It might appear random to us, since we're not even close to developing technology that can determine the outcome of a photon emission, but they're still driven by good ol' "cause and effect", in my humble opinion.

    1. Re:Skeptical by martin_henry · · Score: 1

      I must admit that I'm skeptical of this.
      That's a reasonable response from someone who isn't qualified to speak authoritatively.

      even if we have no clue just yet as to how quantum events can be calculated precisely.
      If we have "no clue" then I think it's fair to classify it as non-deterministic, unless you want to get specific and say that it's not-yet-deterministic...
      --
      www.purevolume.com/martyd
    2. Re:Skeptical by Anonymous Coward · · Score: 0

      People aren't allowed to be skeptical of things unless they hold a PhD in that field? Oh, I see. I'll try to remember that I have to be a sheep and believe everything I hear until I finish my degree.

      That's a silly thing to say. I merely stated that I'm not inclined to believe in "true" randomness while my previous experiences have alluded to a deterministic universe. Most likely, in my opinion, this mechanism for returning a random number is simply more sensitive/complicated than current alternatives, and so appears to be entirely unpredictable. The article, on the other hand, would have us believe that it's somehow tapping into the raw chaos of the quantum universe, which makes it an entirely new and almost supernatural machine.

      It's no more random than throwing a handful of dice into the grand canyon, the outcome of which would also be impossible to predict with our current technology, as there are just too many variables.

      Sorry for the long-winded response, but I thought my original post was pretty clear. In my personal view, this isn't truly random, and using the word "quantum" in every sentence (definitely a powerful buzzword) doesn't change that.

  44. Better quote from Fourmilab by TodMinuit · · Score: 2

    To crank up the bit generation rate to something usable for a server accessible on the Internet, we need a radiation source more intense than background radiation. Rummaging around in the well-endowed Fourmilab junk box turned up a 60 microcurie Jordan Nuclear Krypton-85 (85Kr) source capsule, model BB-0005.
    --
    I wonder if I use bold in my signature, people will notice my posts.
    1. Re:Better quote from Fourmilab by bcat24 · · Score: 1

      Hey man, I noticed your post!

  45. Done my part - slashdotted by Anonymous Coward · · Score: 0

    Ha!

  46. I suppose it doesn't really matter... by do_kev · · Score: 1

    ...but unpredictable does NOT equal random.

    1. Re:I suppose it doesn't really matter... by smellotron · · Score: 1

      Actually, unpredictability is what makes something random. If you could devise an algorithm to predict future bits in an infinite sequence, the success of that prediction would imply that the sequence lacks randomness. Randomness = Unpredictability = Incompressibility

  47. Improbability Drive by jhouserizer · · Score: 1

    One step closer to the Infinite Improbability Drive!

  48. d20? by kerashi · · Score: 1

    I want to use this thing to roll my d20's.

  49. Not exactly rocket science. by Ancient_Hacker · · Score: 1

    Whopdee doo. You can do the same thing by tuning your FM radio to an unused spot.
    The hiss you get is the amplified QUANTUM NOISE of the first RF amplifier stage.

    If you need more bandwidth, tune your TV card to an unused channel. That'll give you about six megabits per second of really good noise.

    1. Re:Not exactly rocket science. by Welshalian · · Score: 1

      If you need more bandwidth, tune your TV card to an unused channel. That'll give you about six megabits per second of really good noise.
      That's MTV Base you're talking about. Now get off my lawn, you %$£%£! kids!
  50. Shoot by sven_kirk · · Score: 1

    I keep getting 12345

    1. Re:Shoot by joe_bruin · · Score: 1

      That's the same combination I have on my luggage!

  51. Sources of not so random numbers by MrSquishy · · Score: 2, Funny

    Apathy:
    Use 123, what does it matter anyway.

  52. Why pseudo-random for research? Reproducibility! by edbaskerville · · Score: 3, Informative

    For scientific research, there's a very good reason to use pseudo-random numbers: reproducibility.

    If you're analyzing a stochastic model, you want to be able to generate lots of runs with different random sequences and gather statistics from the ensemble. But if you see interesting behavior in a particular run and want to take a closer look, you want to be able to go back and run it again, exactly as it happened the first time. In this case, you don't want real randomness, you want pseudo-randomness with good statistical properties. I'm currently checking through my code to make sure you can do just that when using this tool.

  53. close by geekoid · · Score: 4, Insightful

    "Random" is a word used when an event has too many unknowns to reasonably no the outcome.

    To use a very simple random event: Flipping a coin.

    If you know all the variables, you will know what the outcome will be.
    How heavy is the coin? what side is up at the moment of the flip? whats the air density? how hard was it flipped? etc. . .

    --
    The Kruger Dunning explains most post on /. http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
    1. Re:close by kv9 · · Score: 1

      professor Eppes, is that you?

    2. Re:close by sssssss27 · · Score: 1

      Reminds me of quote:

      "What we call chaos is just patterns we haven't recognized. What we call random is just patterns we cant decipher. What we can't understand we call nonsense. What we can't read we call gibberish. There is no free will. There are no variables. There is only the inevitable." -Chuck Palahniuk

    3. Re:close by rohitagarwaliitd · · Score: 1

      ya... nothing is really random.... everything that happens in this world happens because of the input variables and the current and previous state of the system..... if all these variables are ever repeated again.. then the same output will be produced.... same can be said for living beings too (a.k.a. humans) we just prefer to call it "random" or "probabilistic" because we don't know the exact relation between the inputs and the outputs...

    4. Re:close by Alsee · · Score: 1

      nothing is really random.... everything that happens in this world happens because of the input variables and the current and previous state of the system..... if all these variables are ever repeated again.. then the same output will be produced

      Quantum mechanics says you are wrong.

      -

      --
      - - You can't take something off the Internet! That's like trying to take pee out of a swimming pool.
    5. Re:close by rohitagarwaliitd · · Score: 1

      as of now may be... but wait for my theory to come out :D

  54. True RNG by Splab · · Score: 1

    int getRandomNumber()
    { //Rolled a dice, guarenteed to be random
        return 4;
    } /Think xkcd made this one

  55. XKCD - Guaranteed to be Random by TZapper · · Score: 2, Funny
  56. MPAA is on to you! by Aereus · · Score: 3, Informative

    Great, now you're going to get yourself sued by the MPAA for randomly guessing their new encryption key!

  57. lava lamps at SGI - lavarand by SpaceLifeForm · · Score: 3, Interesting
    More info for those unfamiliar with the lava lamps random number generator:

    lavarand

    A similar LGPL implementation: LavaRnd

    --
    You are being MICROattacked, from various angles, in a SOFT manner.
  58. Yes by robo_mojo · · Score: 1

    Yes

  59. I keep getting... by Anonymous Coward · · Score: 0

    1337, t/-/i$ ®a/\/|>0|\/| n(_)mZ g3N suxorz...

  60. Man in the middle by Secret+Rabbit · · Score: 1

    Am I the only one that thinks that a man in the middle attack could be successful here? I mean sure, assuming this is truly random, does it really matter if the protocol used to get the number is susceptible to a man in the middle attack. After all, something is only as secure as it's weakest link.

  61. But would you trust it? by Tracy+Reed · · Score: 1

    I considered setting up a site to do this a long time ago but then I figured nobody would ever trust me to generate their random numbers so why bother?

  62. Finally... by lordofthechia · · Score: 1

    .. I have a source for truly original program variable names!

    --
    Georgia Tech, the leader in Chia(tm) technology.
  63. Today's random number is... by justthinkit · · Score: 1

    09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0

    --
    I come here for the love
  64. state of sin by johnrpenner · · Score: 1


    Anyone who considers arithmetical methods of producing
    random digits is, of course, in a state of sin. (John Von Neumann)

  65. Is my intuition about the flaws correct? by Lethyos · · Score: 1

    I suspect this approach is weak (relatively speaking) as any time you use something like a camera to capture entropy, you are inherently causing collisions due to the limited and discrete precision of the medium. To clarify with a concrete example, it is possible (although unlikely) for multiple states of the lamp to result in the same colors at the same pixels in the captured digital image due to inadequate dynamic range.

    --
    Why bother.
    1. Re:Is my intuition about the flaws correct? by tepples · · Score: 1

      any time you use something like a camera to capture entropy, you are inherently causing collisions due to the limited and discrete precision of the medium. To clarify with a concrete example,it is possible (although unlikely) for multiple states of the lamp to result in the same colors at the same pixels in the captured digital image due to inadequate dynamic range. The point isn't to observe all entropy of the subject being photographed. It's to observe enough entropy to meet your application. Each image is probably hashed down to 128 bits anyway.
  66. pi is random by nloop · · Score: 1

    call me crazy, but couldn't you just call on a function that calculates pi to the next digit(s) whenever a random number is required? Pretty simple and random.

    1. Re:pi is random by verbatim_verbose · · Score: 1

      It would work for some things like games, etc., but is useless for secure random number generation. All anyone needs to do is discover that that's your method, and they will be able to predict your numbers.

    2. Re:pi is random by Anonymous Coward · · Score: 0

      Ok you're crazy

      You see the problem is that somebody else that knows where you started in the pi string can exactly reproduce your sequence of numbers...Unless you start at a random position within pi...erm

    3. Re:pi is random by krelian · · Score: 1

      Crazy.

  67. Re:Why pseudo-random for research? Reproducibility by gomiam · · Score: 1

    If you need to repeat the random series, why don't you just store the numbers in a file? It may make sense even if you use a pseudo-generator, so you save processor time that would be used to recalculate the series again and again.

  68. So it's running Apache on Windows.... by Chris+Brewer · · Score: 1

    I guess the randomness is somehow linked to the stability of Windows...

    --
    Consultancy: If you're not part of the solution, there's money to be made in prolonging the problem
  69. Re:Why pseudo-random for research? Reproducibility by AK+Marc · · Score: 3, Insightful

    If you need to repeat the random series, why don't you just store the numbers in a file?

    Because with pseudo-random seeds, I do. I store the 1000 seeds and run it 10,000 iterations on each run. If I were to store each random number, I'd have to store 10,000,000 numbers in my file rather than 1000. I'll always store them, but the question is whether it takes 1000 records or 10,000,000. For academic purposes, the results aren't statistically different, so why store more numbers?

  70. Re:Why pseudo-random for research? Reproducibility by edbaskerville · · Score: 2, Insightful

    You don't save them for the same reason that you don't necessarily save the state of the simulation after every state change. You're generating a lot of these things, conceivably billions and billions or more. Even if you do save that kind of data for the short term--be it the pseudorandom sequence or state changes or both--you may want to eventually delete it while still having the option of re-creating it at a later date. With a reproducible pseudo-random generator, you can do this by saving only the parameter settings and the seed value.

  71. 1000 years by Anonymous Coward · · Score: 0

    Nothing is random. give me 1000 years and a 100000000000000000000 gigamip system and I can predict the number given at anytime. Everything is related. -terlmann

  72. Personally, by Nikron · · Score: 0

    I just curl slashdot if I need random.

    --
    Disclaimer: Disregard the above post.
  73. Well guess which number I got... by Anonymous Coward · · Score: 0

    09F911029D74E35BD84156C5635688C0 :P

  74. Re:Here's what I do by slickwillie · · Score: 5, Funny

    I just checksum my Windows registry.

    It's random enough for my purposes.

  75. MOD PARENT UP WINDOWS BASHING by Anonymous Coward · · Score: 0

    mod parent up

    kthx

  76. wonky definition of pseudo-random by Baron+von+Leezard · · Score: 1
    Has anyone noticed the bizzaro definition of pseudo-random in the article:

    Ordinary random number generators found in most computers in use today are 'pseudo-random' numbers that use various algorithms to pick the numbers from large pre-compiled databases of numbers obtained by methods such as rolling the dice . Um, that's not how any pseudo-random number generator I know of works...

    [B.v.L]
    1. Re:wonky definition of pseudo-random by jdray · · Score: 2, Funny

      So, what is so hard about generating "truly random" numbers in a computer? I would think that a fairly simple grabbing of arbitrary chunks of memory and using the bytes as floats would produce something that's truly random. So long as your selection method for the bytes was sufficiently arbitrary, there should be no opportunity for pattern development. What am I missing?

      --
      The Spoon
      Updated 6/28/2011
    2. Re:wonky definition of pseudo-random by Baron+von+Leezard · · Score: 3, Informative

      The intuitive disconnect here is that humans have a well-documented inability to understand or true randomness. By true randomness, I mean in a mathematical sense: uniformly distributed values over some range, with each value independent from the next (uncorrelated). Just try it: whatever you come up with, whether it be some algorithm, hardware, whatever — it will probably fail all the statistical tests for true randomness. And if it can't pass those tests, then it will be useless for most of the applications that one needs random things for... simulations, encryption, authentication, etc. And mind you, even if one can pass all the existing tests with some method, it doesn't mean that someone will invent a new statistical test tomorrow that the method will fail spectacularly. Like many apparently simple problems, random number generation is surprisingly deep and very, very difficult to do right.

      [B.v.L]

    3. Re:wonky definition of pseudo-random by Nazlfrag · · Score: 1

      You missed the important "pick the numbers from large pre-compiled databases of numbers" part that makes it pseudo random. The database is a mere subset of purely random, and the picking method is still only pseudo random.

    4. Re:wonky definition of pseudo-random by Mathinker · · Score: 2, Interesting

      > What am I missing?

      I'll start to list some of the things you're assuming, that are wrong:

      (1) The probability distribution of the individual bytes of the memory of your computer is uniform;
      (2) The individual bytes of the memory of your computer are independently distributed (i.e., there is no correlation whatsoever between the value of a byte and the values of the surrounding bytes);
      (3) If you could invent a "sufficiently arbitrary" method for selecting the bytes, it wouldn't already pay to use the address itself as the random number;
      (4) If you construct a float from independently uniformly distributed bytes, the distribution of the value of the float would be the distribution you are interested in (see IEEE_754);

      On the other hand, you are correct that this announcement is mostly a big yawn because:

      (1) High quality truly random numbers have been available via the Internet a long time (just not from direct quantum sources)
      (2) Hardware for generating large quantities of truly random numbers from various noise sources has been available for a long time
      (3) Hardware for generating large quantities of truly random numbers directly from quantum sources is now available (Quantis)
      (4) A DIY solution for (2) was posted on Slashdot recently

    5. Re:wonky definition of pseudo-random by Baron+von+Leezard · · Score: 5, Insightful
      I'm not concerned that it's not pseudo-random. My point is that's not how any modern pseudo-random number generators actually work. Maybe during WWII, but not today. The common PRNG techniques are:
      1. linear congruential generators
      2. lagged Fibonacci generators
      3. linear feedback shift registers
      4. generalised feedback shift registers
      5. Mersenne twister
      6. Fortuna (if you need one that's cryptographically secure)
      7. Blum Blum Shub (likewise)

      These are all pure mathematical algorithms. Nowhere in any of these is there any sort of pre-generated random lookup tables. (Unless you count the S-boxes used in some block ciphers with Fortuna.) Pre-generated "random" lookup tables only hide poor randomness in the generation process and don't actually improve the situation cryptographically at all; I suspect that for most other applications there would be problems as well. If your generated numbers don't cover the entire domain space uniformly, then they still won't no matter how many lookup tables you use to transform them.

      According to the article, people are sitting around rolling dice to generate random number sequences. Really? REALLY?!? Who wrote this article?

      [BvL]
    6. Re:wonky definition of pseudo-random by caluml · · Score: 2, Informative

      So long as your selection method for the bytes was sufficiently arbitrary

      As long as it was fairly random, one might say...
      You see the problem?

    7. Re:wonky definition of pseudo-random by fbjon · · Score: 1

      I've rolled dice to generate small random numbers. See Diceware.

      --
      True confidence comes not from realising you are as good as your peers, but that your peers are as bad as you are.
    8. Re:wonky definition of pseudo-random by Stooshie · · Score: 1

      ... If your generated numbers don't cover the entire domain space uniformly ...

      I thought random numbers didn't necessarily distribute uniformly and that the mistake most people make (when asked to put random dots on paper, for instance) is that they are too uniformly distributed. In other words true randomness can, and does, form clusters.

      --
      America, Home of the Brave. ... .and the Squaw.
    9. Re:wonky definition of pseudo-random by freemywrld · · Score: 1

      It depends upon sample size. If you had 20 dots "randomly" generated on a page, then yes you would probably see some clumping. But when 200 dots are generated, or 2000, etc. then you start seeing more even distribution. This is shown under the Law of Large Numbers.

      If you flip a coin, initially you may see some bias towards heads or tails, but the more you flip, the closer to a 1:1 ratio you get.

    10. Re:wonky definition of pseudo-random by ioshhdflwuegfh · · Score: 1

      If you flip a coin, initially you may see some bias towards heads or tails, but the more you flip, the closer to a 1:1 ratio you get. I don't think so. this ratio for a random sequences of 0's and 1's should not converge to 1.
    11. Re:wonky definition of pseudo-random by jdray · · Score: 1

      Thank you for educating me without calling me stupid, and validating my confusion about the significance of the story.

      --
      The Spoon
      Updated 6/28/2011
    12. Re:wonky definition of pseudo-random by dannannan · · Score: 1

      With any pseudo-random number generator, choosing a seed is key. If someone else knows how you're choosing your seed values and can repeat it then they can repeat your sequence.

      Modern OSes like Linux and Windows actually have kernel support for random number generation. Certain devices -- e.g. disk, keyboard -- generate interrupts more or less randomly. The kernel buffers this "entropy". In Linux you can sample it from /dev/random. In Windows you can call into the CryptoAPI or use rand_s (pseudorandom number generation layered on top of Windows' kernel-based entropy).

      When used correctly, fancy pseudo-random number generation algorithms just help you generate more from a smaller amount of truly random bits. If you require a large volume of random data, you will either have to wait for the kernel to produce enough entropy (takes time) or you can use a pseudo-random algorithm. When you look at the bitrate vs. the amount of data you require, this can actually become very significant.

    13. Re:wonky definition of pseudo-random by Baron+von+Leezard · · Score: 1

      Very true. On the seeding issue, note that even for events with a substantial amount of randomness inherent, like key presses or other I/O events, the high-order bits are still quite predictable. For example, the intervals between keyboard events tend to follow a Pareto distribution (power law basically). That's why the kernel only uses the very lowest few bits of data from these sources to generate entropy.

      I may be wrong, but I believe that the difference between /dev/random and /dev/urandom is that the former only provides true hardware-generated entropy and blocks when that's not available, whereas the latter uses true entropy and cryptographically strong PRNG to generate stream of data that has a variable level of true entropy mixed into it over time. Can anyone corroborate that and/or refute that? (References a plus!)

      [B.v.L]

    14. Re:wonky definition of pseudo-random by mystran · · Score: 1

      That's the case, see linux manpage for random/urandom if you need a reference. ;)

      --
      Software should be free as in speech, but if we also get some free beer, all the better.
  77. Nothing is random to Bruce Schneier by hutman · · Score: 1
  78. RNG selects image on camera phone by DonZorro · · Score: 1

    There's a secure SMS/MMS app which allows the user to select an image for the RNG.
      CryptoGraf Messaging which supports N95, E65, N70, E61i...and many more phone models with Symbian.

    Among the features:
    - RSA Crypto Key size 1024 or 2048 bits for Encryption
    - AES Crypto Key size 256 bits for Encryption
    - SHA256 with RSA Digital Signature
    - X.509 Standard Secure Public Key Digital Certificate (Crypto Contacts)
    - P2P Secure Public Key (Crypto Contacts) Exchange
    - Exchange Crypto Contacts by bluetooth, sms or mms
    - Forward Crypto Contacts
    - Backup or Restore Crypto Contact
    - Export or Import X.509 Digital Certificates

    They also seem to have started a blog

  79. Book of random numbers by jimmux · · Score: 1

    Who needs this? We've had a convenient book of random numbers available from the RAND Corporation since 1955.

  80. Obligatory Dilbert Comic by Anonymous Coward · · Score: 3, Funny

    http://web.archive.org/web/20011027002011/http://d ilbert.com/comics/dilbert/archive/images/dilbert20 01182781025.gif

    [Tour of Accounting]
    Accounting Troll: "Over here we have our random number generator"

    Number Generator Troll: "Nine Nine Nine Nine Nine Nine"

    Dilbert: "Are you sure that's random?"

    Accounting Troll: "That's the problem with randomness: you can never be sure"

  81. Re:close -- Not really. by PSUspud · · Score: 2, Interesting

    Not really. Ever since Einstein's theory of stimulated emission, physicists have known that some events are really and truly random, and that it is not possible, even in theory, to predict when they will occur. A good example is radioactive decay. Some atoms, at exactly the same energy levels, will decay in multiple different ways, at a time that can not be predicted.

    Quantum scattering (i.e., what happens when really really small particles bounce off of each other) is also not a deterministic process: Identical particles, in exactly the same energy state, will often scatter differently. Looking at particles coming out of a Bose-Einstein condensate is a good example: they are all in exactly the ground state, but come out in random ways.

    Yeah, it's weird, and Einstein never got used to it, but his big paradox about it, the EPR paradox, has been shown to physically come down against determinism and hidden variables. So, like it or not, randomness is an inherent part of nature. Deal with it.

    --
    ----- Why sig when you can sign? PGP key id 7675D05E
  82. Web 2.0? monkeys!! by myowntrueself · · Score: 4, Funny

    As Kittel and Kroemer put it, "The probability of Hamlet is therefore zero in any operational sense of an event...", and the statement that the monkeys must eventually succeed "gives a misleading conclusion about very, very large numbers."

    So in other words there really is *no* hope that web 2.0 will actually produce anything truly outstanding?

    --
    In the free world the media isn't government run; the government is media run.
  83. What we don't know can't hurt by aleger · · Score: 1
    unpredictable quantum process

    Because one can't predict process at this juncture, does not make process unpredictable forever.

    /I'll have a piece of pi with that

  84. I got FC5052B792AB2455FE10422CA29C4933 by Joce640k · · Score: 3, Funny

    My number's bigger than your number...

    --
    No sig today...
  85. Truly random by Outsomniac · · Score: 0

    makes a poor wrapper. Madly random would be better, so long as it's sober.

    --
    Don't try time this is at light home, but.
  86. Surely they can make one small enough, so... by alhensel · · Score: 1

    Why isn't there a quantum random number generator built into our CPUs?

  87. Re:close -- Not really. by sssssss27 · · Score: 1

    You assume that we understand everything.

  88. Global ranomness by pentalive · · Score: 1

    Then there are these guys: http://noosphere.princeton.edu/ who have hardware random number devices placed all over, and purport to see non-randomness during major events.

  89. Ummm -- no by PSUspud · · Score: 2, Interesting

    No, that's not what I'm saying. I'm saying that experiments have been set up that have put particles into identical states, and then watched them evolve differently in time.

    When I say identical states, I mean identical states. In quantum mechanics, there is an underlying symmetry for exchange of particles. (Integer spin has no change in the wave function at all on particle exchange ==> Bose-Einstein statistics. Half-Integer spin has an inversion in the wave function on particle exchange ==> Fermi-Dirac statistics.) This is not marginal stuff -- it explains why lasers work (integer spin) and atoms have electrons with different energy levels (half integer spin). If we take an atom like Helium (even spin), and do experiments with it, we get the results from Bose-Einstein statistics, which means that the particles must be identical, since otherwise, we couldn't see those results.

    I think you are underestimating physics. In physics, we don't talk about something if we can't define what it means. The gold standard in physics is a tested prediction. Almost as good is the testable prediction. The minimum level for something to be called physics (rather than theology) is the thought experiment, which might someday be turned into a real experimental prediction. An affirmative statement in physics requires experimental proof, and disagreeing with an affirmative statement takes at least a prediction why. Gut feelings don't count, and I've got a feeling (this is slashdot, not physics, so I can say that) that a gut feeling is all you have.

    --
    ----- Why sig when you can sign? PGP key id 7675D05E
    1. Re:Ummm -- no by Raenex · · Score: 1

      Oh come off it. Physics has a history of changing the underlying model. The current theory states that randomness is inherent, but something may come along and invalidate that theory. It may seem extremely unlikely given the current understanding, but the idea of physics being turned on its head is not unprecedented.

    2. Re:Ummm -- no by ioshhdflwuegfh · · Score: 1

      Oh come off it. Physics has a history of changing the underlying model. The current theory states that randomness is inherent, but something may come along and invalidate that theory. It may seem extremely unlikely given the current understanding, but the idea of physics being turned on its head is not unprecedented. It all depends on how one interprets this "turning on its head": one could also say that physicists were only quantitatively refining their theories through changing the underlying model, no matter how "strange" "new" theories might seem. Like if one day new theory comes that says that all this randomness is not inherent, well, it better produce some of the randomness that the old physics produced, even if it is to be called non-inherently-random.
    3. Re:Ummm -- no by Hatta · · Score: 1

      No, that's not what I'm saying. I'm saying that experiments have been set up that have put particles into identical states, and then watched them evolve differently in time.

      Identical states, as far as we know. It's entirely possible that quantum particles have properties that we can't observe.

      --
      Give me Classic Slashdot or give me death!
    4. Re:Ummm -- no by PSUspud · · Score: 1

      If they had properties we didn't know of, then the situation would look different when we switched them. Since it looks the same, for any experiment, then they must not have any missing properties.

      Really, folks, this is well known physics. Look up Bell's Inequalities someday.

      --
      ----- Why sig when you can sign? PGP key id 7675D05E
    5. Re:Ummm -- no by Hatta · · Score: 1

      If they had properties we didn't know of, then the situation would look different when we switched them.

      What if the hidden properties don't affect the experiment you're performing? Suppose there's a hidden TTL associated with each radioactive nucleus. You can't know what this number is until it's zero. Swapping the nuclei isn't going to help, there's no way to know what to expect so you can't tell if there has been any change.

      Look up Bell's Inequalities someday.

      I have, I'm not convinced. You can't disprove the existence of the unobservable.

      --
      Give me Classic Slashdot or give me death!
  90. Why bother with optics? by Khashishi · · Score: 1

    Who needs photons? A simple resistor will do. Johnson noise is real random and easy to put on a circuit board. Is there some advantage of the optics that I'm not seeing?

  91. xkcd by laejoh · · Score: 0
  92. oblig by rootEToTheIPi · · Score: 1

    Kent: Mr. Simpson, how do you respond to the charges that petty vandalism such as graffiti is down eighty percent, while heavy sack-beatings are up a shocking nine hundred percent?

    Homer: Aw, people can come up with statistics to prove anything, Kent. Forfty percent of all people know that.

    --
    When it comes to pastry theft, I take the cake.
  93. WWVD by laejoh · · Score: 0

    What would Vroomfondel do?

  94. Already some 'entropy pool' public servers... by DamonHD · · Score: 1

    There are various 'entropy pool' based servers out there such as mine at http://random.hd.org/ and also see for example http://www.random.org/

    The existing public servers gather noise from various sources such as audio or radio or radioactive decay.

    Rgds

    Damon

    --
    http://m.earth.org.uk/
  95. Re:Why pseudo-random for research? Reproducibility by gomiam · · Score: 1

    Random numbers and reproducibility don't add up, IMO. If your simulation is good enough, having different random number sequences won't make a significative difference. As such, I can only find pseudoRNGs useful while testing for bugs, and marginally at that: a major flaw like getting out of whack because of a given series of numbers means something very wrong has happened while developing the simulation, and it's that process you should be checking, because checking the number sequence is just look at the symptoms.

  96. Noise should be random, right? by Yetihehe · · Score: 2, Insightful

    Compared to solid state photon detectors the PMT's have drastically superior signal to noise performance[...]
    Erm, funny, now the noise is not random enough?
    --
    Extreme Programming - Redundant Array of Inexpensive Developers
  97. For encryption use? by fuzzyf · · Score: 1

    Getting a random number from a central server that is connected to the internet doesn't seem like a terribly secure thing to do. What if someone breaks into it and there is a log of all the random numbers been provided?

  98. Cheapo version by Anonymous Coward · · Score: 1, Interesting

    Create your own RNG at home...

    1) Detune radio, turn up volume.
    2) Attach to audio-in of PC.
    3) Sample incoming audio to obtain true random numbers.

  99. dilbert.... by Anonymous Coward · · Score: 0

    Office Worker 1: Here's the output from our random number generator machine.
    Machine: 8, 8, 8, 8, 8,
    Office Worker 2: Umm.. are you sure it's really working and random?
    Office Worker 1: That's the problem with random machines, you can never be sure!

    (from a dilbert cartoon)

  100. Infinite monkeys, and maths vs. common sense by CarpetShark · · Score: 1

    I don't know why you're worrying about the odds, when the number of monkeys is infinite. Besides that, you're forgetting that monkeys are intelligent creatures, rather than random typing generators. Presumably, if someone actually cared that monkeys generated shakespeare, they'd reward the ones who did well (even unintentionally), and that would encourage them to find the solution. Mathematically, it would seem wiser to consider the number of neurons in generations between the monkeys', and shakespeare's evolutionary path, along with the difference in brain size. It's not such a big step between a monkey writing hamlet, and shakespeare writing hamlet.

  101. From a hardcore role player. by bestiarosa · · Score: 2, Funny
    Quick! Throw out those twenty-sided dice. That is the ultimate role playing tool!

    Game master: Well done! You've struck the dragon for 455FE10422CA29C4933F95052B792AB2 hit points with your enchanted sword! Too bad it's awake now and spits acid at you all, inflicting 09F911029D74E35BD84156C5635688C0 hit points! You still get half the damage if you roll more than 784A3827BC4832A2982FE3223C009821 with the quantum dice!
    --
    :(){ :|:& };:
  102. Re:Why pseudo-random for research? Reproducibility by Alsee · · Score: 1

    Why bother storing 1000 seeds? Just use 1 through 1000 as the seeds and don't store anything.

    -

    --
    - - You can't take something off the Internet! That's like trying to take pee out of a swimming pool.
  103. psst! by fmobus · · Score: 1

    or MPAA may find out our piracy source and ban this number!

  104. the nature of randomness by 0ptix · · Score: 1

    a random number generator (i.e. the random variable describing the output of the generator) does not have to be distributed with a uniform distribution in order to be random. It just implies that it is not deterministic. that is the entropy of the random variable is greater then 0. further randomness is really only well defined in relation to a view (information set). what appears random to you may not be random to me. (technically the entropy of a random variable may be non-zero on it's own however conditioned on some other information it may be 0).

    take a (probabilistic) turing machine which has an extra input tape with a sequence of uniformly and independently distributed bits on it (i.e. it's "random tape"). if the machine outputs this tape and you don't see the tape then the turing machine outputs a random sequence from your point of view. that is the random variable describing the next bit of output condition on all previously observered output has (min-)entropy 1. however if your are privy to the random tape of the machine then you can suddenly predict the output of the machine with probability 1. i.e. the entropy of the output is 0 and so the output of the machine is no longer random in any sense.

    another definition of randomness put forward by kolmogorov is that a random random string is one that can not be compressed. this relates closely to the algorithmic definition of randomness which states that a string is random iff it is shorter then any program which has the string as output.

  105. Geeks rejoice by Trent+Hawkins · · Score: 2, Funny

    Geeks rejoice - now you can prove that was a natural 20!

  106. Random numbers and human psychology by KingSkippus · · Score: 2, Informative

    Why use an algorithm? Can't it just pick a number from X to Y? i can pick a number.

    Because then your own psychology comes into play.

    If you ask people to pick a number between 1 and 10, the vast majority of them won't pick 1 or 10. People just don't like the edges. I think that they avoid 5, too, because it's right smack in the middle. For a number between 1 and 10 to be random, most people subconsciously want to make it not stand out and will pick something like 3, 6, or 8, thus not making it even random enough for gaming.

    Also, in the same vein of not standing out, if you ask people to pick multiple numbers between 1 and 10, most won't allow there to be any patterns in them in the attempt to make them more random, thus actually making them less random. For example, if you ask people to pick five numbers, most won't pick something like 4, 4, 4, 4, and 4, even though it's a legitimate combination that's just as likely as something like 7, 3, 1, 1, 9.

    Another example. When I was in high school, I used to play $5 in the lottery once a week, figuring that it sure would be convenient if I never had to bother going to college and get a job and so on. I usually just selected the quick pick and let the machine pick my numbers. Once, though, I manually picked 1, 2, 3, 4, 5, and 6 for the first ticket, 7, 8, 9, 10, 11, 12 for the second, and so on. My dad basically said, "You're an idiot. Those numbers will never come up, and you just wasted five dollars!" He never quite got it that, aside from the lottery being a colossal waste of money to begin with, it didn't matter what numbers I picked; any given set was just as likely to come up as any other given set. Not having six consecutive numbers is merely imposing human psychology on the random numbers, which could have very well been consecutive numbers.

    If I'm not mistaken, several years ago, someone proved that the digits of pi are random. That if you expand it out to a bazillion decimal places, you'll eventually run across patterns like 0123456789 and such. As humans, with brains that are designed to seek out patterns, it strikes us as interesting, perhaps even as some sort of sign that the numbers aren't random. Nothing is further from the truth, though; the lack of such patterns would be a sure sign that the numbers aren't random.

    1. Re:Random numbers and human psychology by AP31R0N · · Score: 1

      Thanks guys. It's making sense.

      --
      Utilizing the synergization of benchmark e-solutions to pre-workaround action items!
    2. Re:Random numbers and human psychology by seaturnip · · Score: 1

      Picking 1,2,3,4,5,6 is stupid. Thousands of people choose those numbers, so if they come up the winnings are going to be a tiny fraction of what you'd normally get.

    3. Re:Random numbers and human psychology by Anonymous Coward · · Score: 0

      ...but if those numbers come up, you'll get more than you would get if you chose something else. ;-)

    4. Re:Random numbers and human psychology by seaturnip · · Score: 1

      The point is that the expected winnings are even further in the negative than usual. It's a bad choice.

    5. Re:Random numbers and human psychology by networkBoy · · Score: 1

      If his dad had said that then his dad would have been right...

      But to say "you're stupid 'cause those numbers won't come up" is quite wrong.

      Besides I would *pay* to see 1000 people win on the same suite of numbers, it's be a real life "Bruce Almighty" moment and really quite funny. On an aside, whenever I buy a lotto ticket, I see it as a license to let my mind wander off and dream about buying enigma machines on e-bay (that and old Merc diesels).

      --
      whois gawk date unzip strip find touch finger mount join nice man top fsck grep eject more yes exit umount sleep dump
    6. Re:Random numbers and human psychology by internewt · · Score: 2, Insightful

      Picking 1,2,3,4,5,6 is stupid. Thousands of people choose those numbers, so if they come up the winnings are going to be a tiny fraction of what you'd normally get.

      Lets be realistic(ish): If the numbers 1,2,3,4,5 and 6 were drawn as winning lottery numbers, the press would be in uproar about the seeming lack of randomness. They'd be screaming that the machine was flawed, and maybe even the draw would be ruled as invalid (by clueless management at the lottery company).

      If you had a winning lottery ticket with that same sequence, assuming you were the only person who had picked those numbers, accusations would fly that you had hacked the lottery machine! I can guarentee that this would be the case in the UK, with our excellent mainstream journalism!

      --
      Car analogies break down.
    7. Re:Random numbers and human psychology by KingSkippus · · Score: 1

      Picking 1,2,3,4,5,6 is stupid. Thousands of people choose those numbers

      You're kidding, right?

    8. Re:Random numbers and human psychology by capnchicken · · Score: 1

      He's not. There was a site on lottery strategy I read some time ago (it was on the internet so it must be true!!) about maximizing your winnings basing it on picking numbers that people pick the least, given that any sequence of numbers has the same chance. 1 2 3 4 5 is picked more often then one would expect, it's that whole "no one is going to pick this so I am going to mentality" kind of like the whole "I liked it before it was cool".

      --
      A libertarian shat on my carpet once. Claimed the free market would sort it out. -Ford Prefect(8777)
    9. Re:Random numbers and human psychology by rev063 · · Score: 1

      Besides I would *pay* to see 1000 people win on the same suite of numbers, it's be a real life "Bruce Almighty" moment and really quite funny.
      It's happened before. 109 people won the Powerball second prize in May 2005, when usually only 5 or so winners are expected. Turns out they'd all eaten from the same batch of fortune cookies. :)
    10. Re:Random numbers and human psychology by seaturnip · · Score: 1

      Ask any lottery clerk. They see it all the time. You think the above poster is the only one who thinks, "I'm so clever, I'll pick 1-2-3-4-5-6 because it has the same chance of turning up as anything else"?

    11. Re:Random numbers and human psychology by An+Onerous+Coward · · Score: 1

      I have to object to your lottery picking technique. While any combination of numbers is as likely to come up as any other combination of numbers, not every combination of numbers is equally likely to be picked by the population at large.

      By using a strategy that makes it very likely that you'll choose numbers that others have selected, you decrease your eventual payoff in the event that you win.

      Example: The numbers 4 8 15 16 23 42 are no more and no less likely than any other set of numbers, but if you pick them, you'll probably end up splitting your winnings a hundred ways.

      --

      You want the truthiness? You can't handle the truthiness!

    12. Re:Random numbers and human psychology by sasdrtx · · Score: 1

      Well your dad was, of course, absolutely correct. But he should have said that every time you bought a lottery ticket, regardless of what numbers were on it.

      --
      Most people don't even think inside the box.
  107. How do they know? by Eightyford · · Score: 1

    Something isn't random just because a pattern hasn't yet been recognized.

  108. Patterns will emerge by chord.wav · · Score: 1

    Sooner or later, patterns will emerge.

  109. White noise is cheap by ishmalius · · Score: 1

    The pink noise from your FM receiver's discriminator or PLL when not tuned to a station is a great generator of medium-quality random numbers. In fact, a lot of military radios use this as a source of temporary keys. A reverse-biased zener diode is a great generator of white noise, too. And there is also the tunnel diode, the poor man's source of quantum effects.

  110. you better believe it! by dollargonzo · · Score: 1

    When I was in college, my roommate was doing neuro-bio research and needed a bunch of random numbers. One day, I saw him sitting around and rolling dice for over two hours. Naturally, I thought he was sort of nuts, but he informed me that the professor whose project this was had told him to do it that way because it's the only way to get true random numbers. I offered him access to a variety of random number sources and even offered to generate the range he want with a simple program, but he refused nevertheless. So yeah, there are definitely still people rolling dice to generate random numbers, as crazy as that might seem for us Comp-Sci types. *shrug*

    --
    BSD is for people who love UNIX. Linux is for those who hate Microsoft.
  111. infinate amount of monkey shit by daninaustin · · Score: 1

    If we have an infinite amount of monkeys, doesn't that mean we have an infinite amount of monkey shit? Therefore, all monkey produced Shakespeare would be buried in monkey shit.

  112. The new CAPTCHA by Anonymous Coward · · Score: 0

    If they made something based on integration like that it would be cool, though then only nerds would be able to access most regestration only sites...

  113. The Ratio does converge to 1:1 by paladinwannabe2 · · Score: 1

    Think of it this way: if you flip 10 coins, and get a 6:4 ration, that's normal.

    If you flip 1000 coins, and get 600 heads to 400 tails, a 6:4 ratio, that's exceedingly abnormal. You'd expect something like 525:475. (5.25:4.75)

    If you flip 100,000 coins, and get 52500 heads to 47500 tails, that's also abnormal. You'd expect a something like 50125 to 49875. (5.0125:4.9875).

    You may notice that as the number of coins flips increases, the observed ratios get closer to 5:5 (which is the same as 1:1).

    --
    You are reading a copy of my copyrighted post.
    1. Re:The Ratio does converge to 1:1 by Stooshie · · Score: 1

      ... If you flip 1000 coins, and get 600 heads to 400 tails, a 6:4 ratio, that's exceedingly abnormal ...

      True, but entirely possible. In fact a 1:0 ratio is entirely possible (although, admitedly improbable). But that's my point. If a random number generator comes up with the same 128 digit number 3 times in a row, it doesn't mean it's faulty. Random numbers are entirely un-predictable.

      And that's the thing about computer generated random numbers. They are, by definition, predictable. They use a formula which I can simulate on my computer. The seed could even be simulated with some effort. They are formulaic (which I suggest is the opposite of random).

      --
      America, Home of the Brave. ... .and the Squaw.
    2. Re:The Ratio does converge to 1:1 by ioshhdflwuegfh · · Score: 1

      [...]
      You may notice that as the number of coins flips increases, the observed ratios get closer to 5:5 (which is the same as 1:1). ok, I agree. Now, if you make an odd number of throws, you can't possibly get the ratio exactly equal to 1 after no matter how many throws (which of course does not imply that the ratio won't converge to 1).
      Then, if you make even number of throws, and make a list of all outcomes after n throws, there will be many with the ratio different than 1.

      Let's now suppose that we calculate some nontrivial bound on how the ratio should approach 1 as n increases: well, then, in order to keep the ratio of what we get from the throws within this bound, we will have to juice the coin to keep the outcomes from not being as you call them "abnormal", i.e to keep the ratio from getting outside the calculated bound.

      In other words: There will always be some sequences that are "abnormal", and we might just as well call these random, exactly because they are hard to predict from the purely convergence-type argumentation; they may even have the ratio approaching 1, but not converging to it.

      In other words: the probability of such sequences, whose ratio is outside the bound required from the criterion of converge, might even go to zero as n goes to infinity, but will always be strictly greater than zero for any n.
  114. UhOh.. Bush is gonna close down the site! by MrJerryNormandinSir · · Score: 1

    Don't you know random number generators are weapons of mass destruction?

    Hmm... crazy president.

  115. No such thing as a random number generator by FunkyELF · · Score: 1

    A true random number generator would produce numbers between negative infinity and infinity. This just randomly produces 0's and 1's.

    Computers by them selves are deterministic. To get random behaviour out of them you can't just have an algorithm because it will loop. You need external input. Maybe you can use CPU temp or fan RPM and consider that external input.

    I've seen things before where people point web cams at lava lamps take the resulting image in whatever format and do an md5 or some other hash on it. I would bet that this new method isn't any stronger than the webcam/lavalamp implementation and a whole lot more expensive.

    1. Re:No such thing as a random number generator by posys · · Score: 1

      You truly are a smart person my friend and the method you suggest is most likely as good as theirs if not better, and cheaper !! Have you ever considered the difference between "all inclusive" and infinite ? There are in infinite number of odd numbers, yet the odd numbers do not include all numbers. We talk about this here: http://teaminfinity.com/writings/UniversalDNA.txt We talk about the push to have our "LEADERSHIP" accelerate the deployment of Robotics and AI/Computers to transform to a ROBOTIC WAGELESS ECONOMY in our lifetime. http://teaminfinity.com/robo_wageless_random Please let us know what you think smart person: sysop@TeamInfinity.com

      --
      The Future is already here, just unevenly distributed... THE ROBOTIC WAGELESS ECONOMY NOW! http://RoboEco.com/slash
  116. it's been done by zcv · · Score: 2, Interesting

    Fourmilab's been doing this for years with HotBits. I remember writing an atomic-powered band name generator that used it.

  117. Shockingly Funny... by mathmatt · · Score: 1

    photons give us random numbers "free of charge."

  118. Random & quite normal, what more could you ask by mathmatt · · Score: 1

    In MATLAB:

    >> mean(mean(qrand(1000,100)))

    ans =

    0.4996

  119. Everyone already has a random number generator. by SETIGuy · · Score: 1
    You don't need a network connection to get truly random numbers...
    • Without a connected read your computer's audio input device with the input gain turned up. High pass filter it to remove low frequency components and the DC offset, if the filtered value is positive put a 1 bit into the output stream, if it is negative put a zero in the output stream. Compress the data stream with a lossless compressor, dropping the header info. Compress again with a second algorithm, dropping the header info.
    • If that doesn't give you enough bits per second, attach a microphone.
    • If that still doesn't do it, attach an op amp and greatly amplify the noise across a resistor. Or hook up a radio, tune away from a channel and turn up the volume.
    • If 20kbps of randomness isn't fast enough, you'll need to sample at higher speed. You can attach a comparator to a bit of a parallel port, or 8 comparators to a bits of a parallel port. You'll need to tune your trigger levels to get the optimum triggering on resistor noise. Then you can sample at whatever rate your parallel port can handle.
  120. To put it into perspective... by cmburns69 · · Score: 1

    Here are some funny web comics that might put this whole debate into perspective:

    http://xkcd.com/c221.html

    Dilbert (from 2001)

    --
    Online Starcraft RPG? At
    Dietary fiber is like asynchronous IO-- Non-blocking!
  121. Re:Why pseudo-random for research? Reproducibility by AK+Marc · · Score: 1

    because checking the number sequence is just look at the symptoms.

    And it would be completely stupid to look at the symptoms. That's why doctors like to diagnose people over the phone. You call up, and before you even speak they shout out a diagnosis. Oh wait, you mean actually knowing what the symptoms are is useful? Well, then why are you complaining that seed storage helps you look at the symptoms? Studying the failure mode helps, and knowing what the inputs were, exactly, helps determination of the failure and reproducibility of any such failure.

  122. SSL encryption? by davitf · · Score: 1
    From the page:

    To enable high security, in future, SSL protocol shall be supported, i.e. all data shall be encrypted, at users request, with user/service certificates. The only application I can see for this is if someone wants to use the random output to generate an encryption key, but in this case, the random data will be only as secure as the SSL protocol encryption. The only way not to reduce the security of the data is to use a key as big as the data itself, but that's impractical.

    Any security gains using SSL encryption could provide can be just as easily obtained by simply encrypting the random stream yourself with a key generated from a local random source before using the data.

  123. Or.... by jgoemat · · Score: 1

    Depending on how large a list of random numbers you need, just download 512 mb and use a 32 bit pseudo-random integer as the bit offset in the file for your random series. That'll produce 4 billion "true" random bits with the ability to reproduce the same list.

  124. Seventeen by Anonymous Coward · · Score: 0

    Long ago, MIT proved that 17 is the most random number in mathematics. It's the only random number you'll ever need.

  125. Apparently it is a quantum signup form too by rk · · Score: 2, Funny

    Because I got this:

    "Quantum Random Bit Generator Service: Sign up failed
    Congratulations! You have successfully registered for QRBG Service.

    Now, you can log in and check your quota and usage statistics, or just start using the Service."

    I guess I have to stuff a cat in a box to see if my account actually works now.

  126. Who is Jon? by cyberstealth1024 · · Score: 1

    Oh wow! You must be friends with Bruce and Jon. I'm guessing that "Bruce" is Bruce Schneier...but who is Jon?
    1. Re:Who is Jon? by Anonymous Coward · · Score: 0

      I'm guessing Jon Lech Johansen, aka "DVD Jon".

  127. Oblig. by pjt33 · · Score: 1

    According to the article, people are sitting around rolling dice to generate random number sequences. Really? REALLY?!? Who wrote this article?
    It's true. Evidence.
  128. Here's the answer by Okian+Warrior · · Score: 1

    It's a captcha, and so I got a different one. But...

    The equation I got had an "evaluated at x=4*pi" tacked onto the end. Substituting 4*pi before the partial derivitive results in zero, which can be easily done in one's head.

    Do they all have an "evaluated at" tacked on the end?