Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Random numbers

Random numbers

Scheduled Pinned Locked Moved The Lounge
htmlcomquestionloungelearning
14 Posts 9 Posters 4 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H honey the codewitch

    I needed something like that some time ago. I found this RANDOM.ORG - HTTP Interface Description[^] It's pretty great.

    When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.

    J Offline
    J Offline
    Jorgen Andersson
    wrote on last edited by
    #3

    Yes, but with a quota of 200000 bits per day, it will take a while to do the tests. :)

    Wrong is evil and must be defeated. - Jeff Ello

    H 1 Reply Last reply
    0
    • J Jorgen Andersson

      Yes, but with a quota of 200000 bits per day, it will take a while to do the tests. :)

      Wrong is evil and must be defeated. - Jeff Ello

      H Offline
      H Offline
      honey the codewitch
      wrote on last edited by
      #4

      i was thinking you could download it in batches. They have a bulk generator.

      When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.

      J 1 Reply Last reply
      0
      • J Jorgen Andersson

        So I needed a function for creating a million random numbers, so I could test some statistic functions I'm building. But where do I find a reliable source of a million truly random numbers? On Amazon of course! A Million Random Digits With 100, 000 Normal Deviates: Rand Corporation: 9780029257906: Amazon.com: Books[^] Do read the comments! some are hilarious.

        Wrong is evil and must be defeated. - Jeff Ello

        R Offline
        R Offline
        Rick York
        wrote on last edited by
        #5

        Great comments ! I needed a bunch of random numbers once and I grabbed a WinAES wrapper class from here and used it. It worked out pretty well.

        "They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"

        J 1 Reply Last reply
        0
        • J Jorgen Andersson

          So I needed a function for creating a million random numbers, so I could test some statistic functions I'm building. But where do I find a reliable source of a million truly random numbers? On Amazon of course! A Million Random Digits With 100, 000 Normal Deviates: Rand Corporation: 9780029257906: Amazon.com: Books[^] Do read the comments! some are hilarious.

          Wrong is evil and must be defeated. - Jeff Ello

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #6

          Jörgen Andersson wrote:

          But where do I find a reliable source of a million truly random numbers?

          Using a search engine you should be able to find a hardware number generator that uses Cesium-137 or Potassium-40. The hardware coming out of Switzerland seems expensive at around €900. Best Wishes, -David Delaune

          1 Reply Last reply
          0
          • J Jorgen Andersson

            So I needed a function for creating a million random numbers, so I could test some statistic functions I'm building. But where do I find a reliable source of a million truly random numbers? On Amazon of course! A Million Random Digits With 100, 000 Normal Deviates: Rand Corporation: 9780029257906: Amazon.com: Books[^] Do read the comments! some are hilarious.

            Wrong is evil and must be defeated. - Jeff Ello

            M Offline
            M Offline
            maze3
            wrote on last edited by
            #7

            how many digits of a number?

            1 Reply Last reply
            0
            • J Jorgen Andersson

              So I needed a function for creating a million random numbers, so I could test some statistic functions I'm building. But where do I find a reliable source of a million truly random numbers? On Amazon of course! A Million Random Digits With 100, 000 Normal Deviates: Rand Corporation: 9780029257906: Amazon.com: Books[^] Do read the comments! some are hilarious.

              Wrong is evil and must be defeated. - Jeff Ello

              A Offline
              A Offline
              Amarnath S
              wrote on last edited by
              #8

              And this book is published in 1955. I wonder what computer they used.

              J 1 Reply Last reply
              0
              • J Jorgen Andersson

                So I needed a function for creating a million random numbers, so I could test some statistic functions I'm building. But where do I find a reliable source of a million truly random numbers? On Amazon of course! A Million Random Digits With 100, 000 Normal Deviates: Rand Corporation: 9780029257906: Amazon.com: Books[^] Do read the comments! some are hilarious.

                Wrong is evil and must be defeated. - Jeff Ello

                D Offline
                D Offline
                DerekT P
                wrote on last edited by
                #9

                My late Mum (a statistician) had a book of random numbers in the living room bookshelf. It was one of the most used books when I was a kid (if only because it was regularly taken out to show friends what a weirdo Mum was! :laugh: ;) ) It was a hardcover book, possibly the same as this one (same layout of the random numbers) but I think it just got put in a skip when she downsized in the 1980s. And this hardcover version is selling at $495 !! :doh: X|

                1 Reply Last reply
                0
                • A Amarnath S

                  And this book is published in 1955. I wonder what computer they used.

                  J Offline
                  J Offline
                  Jorgen Andersson
                  wrote on last edited by
                  #10

                  They didn't, they used an electronic roulette wheel and fed the numbers into an IBM punch during May-June 1947. It's in the introduction to the book.

                  Wrong is evil and must be defeated. - Jeff Ello

                  1 Reply Last reply
                  0
                  • H honey the codewitch

                    i was thinking you could download it in batches. They have a bulk generator.

                    When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.

                    J Offline
                    J Offline
                    Jorgen Andersson
                    wrote on last edited by
                    #11

                    Yes, but with a quota, if you want more you have to pay. And it costs a bit more than I want to pay just to test an idea I have.

                    Wrong is evil and must be defeated. - Jeff Ello

                    1 Reply Last reply
                    0
                    • R Rick York

                      Great comments ! I needed a bunch of random numbers once and I grabbed a WinAES wrapper class from here and used it. It worked out pretty well.

                      "They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"

                      J Offline
                      J Offline
                      Jorgen Andersson
                      wrote on last edited by
                      #12

                      Seems like the way to go for me. Everything truly random costs money, and I'm just testing something to disprove an idea I had.

                      Wrong is evil and must be defeated. - Jeff Ello

                      1 Reply Last reply
                      0
                      • J Jorgen Andersson

                        So I needed a function for creating a million random numbers, so I could test some statistic functions I'm building. But where do I find a reliable source of a million truly random numbers? On Amazon of course! A Million Random Digits With 100, 000 Normal Deviates: Rand Corporation: 9780029257906: Amazon.com: Books[^] Do read the comments! some are hilarious.

                        Wrong is evil and must be defeated. - Jeff Ello

                        C Offline
                        C Offline
                        carlospc1970
                        wrote on last edited by
                        #13

                        There should be a low-cost way of generating random numbers.

                        K 1 Reply Last reply
                        0
                        • C carlospc1970

                          There should be a low-cost way of generating random numbers.

                          K Offline
                          K Offline
                          k5054
                          wrote on last edited by
                          #14

                          Raspberry pi's come with a hardware RNG. I don't think they get much cheaper than that. See here: [Raspberry Pi internal hardware random number generator - A study of entropy](https://sites.google.com/site/astudyofentropy/project-definition/raspberry-pi-internal-hardware-random-number-generator)

                          1 Reply Last reply
                          0
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                          • Login

                          • Don't have an account? Register

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • World
                          • Users
                          • Groups