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. Infinite Universe and random number generators.

Infinite Universe and random number generators.

Scheduled Pinned Locked Moved The Lounge
comquestionlounge
49 Posts 36 Posters 0 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.
  • A Andy Brummer

    That's true, and it's also true that situations that are arbitrarily similar to events that have happened will exist as well. You don't even need parallel universes to have alternate Earth's where you are super rich or the Nazi's won or all the Star Trek scenarios happen. You just need a truly infinite space.

    I can imagine the sinking feeling one would have after ordering my book, only to find a laughably ridiculous theory with demented logic once the book arrives - Mark McCutcheon

    R Offline
    R Offline
    RichardM1
    wrote on last edited by
    #17

    I read a Scientific American article saying that, given the number of quantum states used to fully represent the earth, there should be an exact replica every n cubic light years (n was large). But that does not mean the states leading up to it were the same, nor the following. For that, as you go further into the past or future, the average volume required would go to infinity, very quickly. One tick of quantum time would multiply the volume by the number of quantum states the earth has. One second is 10^44 units of Plank time. Think about how huge that gets for any appreciably large (measurable) amount of time. If kind of says that if there are parallel universes, we have 0 hope of getting to them.

    Opacity, the new Transparency.

    1 Reply Last reply
    0
    • L LloydA111

      I got this idea from the Infinite monkey theorem, which states that: "The infinite monkey theorem states that a monkey hitting keys at random on a typewriter keyboard for an infinite amount of time will almost surely type a given text, such as the complete works of William Shakespeare." On that basis, that means that if the Universe really is infinite, then somewhere there must be a random number generator that keeps producing the same number over and over again simply because in an infinite Universe, however small the chance/probability is, a random number generator that produces the same number every time must exist. My head hurts :) Does anyone understand what I'm trying to explain?

      I know you believe you understood what you think I said, but I am not sure you realize what you heard is not what I meant.

      My operating system kernel the first time it booted

      R Offline
      R Offline
      Roger Wright
      wrote on last edited by
      #18

      Yes.

      "A Journey of a Thousand Rest Stops Begins with a Single Movement"

      1 Reply Last reply
      0
      • K Keith Barrow

        Lloyd Atkinson☺ wrote:

        if the Universe really is infinite

        It isn't, more than likely.

        Lloyd Atkinson☺ wrote:

        there must be a random number generator that keeps producing the same number over and over again

        If you have an infinite number of [fair] generators, this is possible. The problem you are having is because of the way humans perceive probability. Think of a coin tossed three times. Three heads is just as likely as three tails, two heads with one tails and two tails with one heads. All possible outcome sets have equal probability, it is just psychologically more notable if the three heads come up. This principle extends to your number generator.

        Lloyd Atkinson☺ wrote:

        because in an infinite Universe, however small the chance/probability is, a random number generator that produces the same number every time must exist.

        Only if an infinite number if generators exist. The probability of a generator being created over a unit of space (and/or time) can change in such a way that even in an infinite universe an non-infinite number of generators exits. [edit] Wasn't this a Dilbert or XKCD cartoon? [Edit 2] Both! http://xkcd.com/221/[^] http://www.random.org/analysis/dilbert.jpg[^]

        Dalek Dave: There are many words that some find offensive, Homosexuality, Alcoholism, Religion, Visual Basic, Manchester United, Butter.

        modified on Saturday, February 27, 2010 1:07 PM

        M Offline
        M Offline
        Mustafa Ismail Mustafa
        wrote on last edited by
        #19

        Pedant alert!

        Keith Barrow wrote:

        Three heads is just as likely as three tails, two heads with one tails and two tails with one heads. All possible outcome sets have equal probability

        For each instance. In this particular example, you are 100% right because the probability of either is equivalent, namely 1/2, but imagine some other test where the probabilities are 1/4 and 1/4 and 1/2? You would need to qualify it :) Hey, don't look at me, its 9:30 and I've been up 6 and I've had 4 cups of coffee!

        If the post was helpful, please vote, eh! Current activities: Book: Devils by Fyodor Dostoyevsky Project: Hospital Automation, final stage Learning: Image analysis, LINQ Now and forever, defiant to the end. What is Multiple Sclerosis[^]?

        1 Reply Last reply
        0
        • L LloydA111

          I got this idea from the Infinite monkey theorem, which states that: "The infinite monkey theorem states that a monkey hitting keys at random on a typewriter keyboard for an infinite amount of time will almost surely type a given text, such as the complete works of William Shakespeare." On that basis, that means that if the Universe really is infinite, then somewhere there must be a random number generator that keeps producing the same number over and over again simply because in an infinite Universe, however small the chance/probability is, a random number generator that produces the same number every time must exist. My head hurts :) Does anyone understand what I'm trying to explain?

          I know you believe you understood what you think I said, but I am not sure you realize what you heard is not what I meant.

          My operating system kernel the first time it booted

          M Offline
          M Offline
          Mark_Wallace
          wrote on last edited by
          #20

          Lloyd Atkinson☺ wrote:

          My head hurts Does anyone understand what I'm trying to explain?

          You're trying to explain the Infinite Improbability Drive. It's been done.

          I wanna be a eunuchs developer! Pass me a bread knife!

          1 Reply Last reply
          0
          • L LloydA111

            I got this idea from the Infinite monkey theorem, which states that: "The infinite monkey theorem states that a monkey hitting keys at random on a typewriter keyboard for an infinite amount of time will almost surely type a given text, such as the complete works of William Shakespeare." On that basis, that means that if the Universe really is infinite, then somewhere there must be a random number generator that keeps producing the same number over and over again simply because in an infinite Universe, however small the chance/probability is, a random number generator that produces the same number every time must exist. My head hurts :) Does anyone understand what I'm trying to explain?

            I know you believe you understood what you think I said, but I am not sure you realize what you heard is not what I meant.

            My operating system kernel the first time it booted

            P Offline
            P Offline
            PIEBALDconsult
            wrote on last edited by
            #21

            Lloyd Atkinson☺ wrote:

            the Universe really is infinite

            But is it infinite enough? :-D

            1 Reply Last reply
            0
            • R Rocky Moore

              Of course that is assuming you have an infinite amount of time... I wonder if we truly understand the thought of "infinite" :)

              Rocky <>< Recent Blog Post: CubeTube – Power work are from ambient light!

              E Offline
              E Offline
              Euhemerus
              wrote on last edited by
              #22

              Rocky Moore wrote:

              I wonder if we truly understand the thought of "infinite"

              I very much doubt it. It's too much an unreal concept for the human brain to comprehend. Although, there was one particular mathematician on the recent Horizon program who vehemently dismissed the possibility of infinity because he couldn't get his head round the idea. His theory was, that if you kept adding one to a number you would eventually go full circle and end up at zero. Weird or what? But as it can't be proved that infinity actually exists, he might well be right.

              No trees were harmed in the posting of this missive; however, a large number of quantum states were changed.

              T L 2 Replies Last reply
              0
              • L LloydA111

                I got this idea from the Infinite monkey theorem, which states that: "The infinite monkey theorem states that a monkey hitting keys at random on a typewriter keyboard for an infinite amount of time will almost surely type a given text, such as the complete works of William Shakespeare." On that basis, that means that if the Universe really is infinite, then somewhere there must be a random number generator that keeps producing the same number over and over again simply because in an infinite Universe, however small the chance/probability is, a random number generator that produces the same number every time must exist. My head hurts :) Does anyone understand what I'm trying to explain?

                I know you believe you understood what you think I said, but I am not sure you realize what you heard is not what I meant.

                My operating system kernel the first time it booted

                T Offline
                T Offline
                the Kris
                wrote on last edited by
                #23

                There are more than a billion billion stars in the universe. It's more probable that someone or something out there asked that very same question on some forum-like thing. It's best to check there first if they got an answer...

                1 Reply Last reply
                0
                • K Keith Barrow

                  Lloyd Atkinson☺ wrote:

                  if the Universe really is infinite

                  It isn't, more than likely.

                  Lloyd Atkinson☺ wrote:

                  there must be a random number generator that keeps producing the same number over and over again

                  If you have an infinite number of [fair] generators, this is possible. The problem you are having is because of the way humans perceive probability. Think of a coin tossed three times. Three heads is just as likely as three tails, two heads with one tails and two tails with one heads. All possible outcome sets have equal probability, it is just psychologically more notable if the three heads come up. This principle extends to your number generator.

                  Lloyd Atkinson☺ wrote:

                  because in an infinite Universe, however small the chance/probability is, a random number generator that produces the same number every time must exist.

                  Only if an infinite number if generators exist. The probability of a generator being created over a unit of space (and/or time) can change in such a way that even in an infinite universe an non-infinite number of generators exits. [edit] Wasn't this a Dilbert or XKCD cartoon? [Edit 2] Both! http://xkcd.com/221/[^] http://www.random.org/analysis/dilbert.jpg[^]

                  Dalek Dave: There are many words that some find offensive, Homosexuality, Alcoholism, Religion, Visual Basic, Manchester United, Butter.

                  modified on Saturday, February 27, 2010 1:07 PM

                  D Offline
                  D Offline
                  Dave Gannon
                  wrote on last edited by
                  #24

                  Keith Barrow wrote:

                  The probability of a generator being created over a unit of space (and/or time) can change in such a way that even in an infinite universe an non-infinite number of generators exits.

                  if you're talking about a truly infinite universe then even considering varying probabilities of the existence of random number generators, you still end up with an infinite number of random number generators; it's just a smaller infinity than the size of the universe, but no less infinite.

                  S D 2 Replies Last reply
                  0
                  • L LloydA111

                    I got this idea from the Infinite monkey theorem, which states that: "The infinite monkey theorem states that a monkey hitting keys at random on a typewriter keyboard for an infinite amount of time will almost surely type a given text, such as the complete works of William Shakespeare." On that basis, that means that if the Universe really is infinite, then somewhere there must be a random number generator that keeps producing the same number over and over again simply because in an infinite Universe, however small the chance/probability is, a random number generator that produces the same number every time must exist. My head hurts :) Does anyone understand what I'm trying to explain?

                    I know you believe you understood what you think I said, but I am not sure you realize what you heard is not what I meant.

                    My operating system kernel the first time it booted

                    K Offline
                    K Offline
                    Karthik_Balaguru
                    wrote on last edited by
                    #25

                    :-) Interesting 'Infinite Monkey Theorem' :) . I think that it should be possible as few reverse engineering tools might use this concept. Karthik Balaguru

                    1 Reply Last reply
                    0
                    • D Dave Gannon

                      Keith Barrow wrote:

                      The probability of a generator being created over a unit of space (and/or time) can change in such a way that even in an infinite universe an non-infinite number of generators exits.

                      if you're talking about a truly infinite universe then even considering varying probabilities of the existence of random number generators, you still end up with an infinite number of random number generators; it's just a smaller infinity than the size of the universe, but no less infinite.

                      S Offline
                      S Offline
                      SimonRigby
                      wrote on last edited by
                      #26

                      That's not fair .. I was just starting to get a handle on this conversation .. just :)

                      The only thing unpredictable about me is just how predictable I'm going to be.

                      1 Reply Last reply
                      0
                      • L LloydA111

                        OriginalGriff wrote:

                        Didn't spot the little flaw in the idea too quickly...

                        Recently on the BBC's Horizon programme, they showed a computer program that generated random letters to type the works of Shakespeare... it had been running about two weeks and had managed to type the grand total of the first sentence of his works :-O

                        I know you believe you understood what you think I said, but I am not sure you realize what you heard is not what I meant.

                        My operating system kernel the first time it booted

                        S Offline
                        S Offline
                        Sterling Camden independent consultant
                        wrote on last edited by
                        #27

                        First Folio Edition? Original or modern spelling?

                        1 Reply Last reply
                        0
                        • L LloydA111

                          I got this idea from the Infinite monkey theorem, which states that: "The infinite monkey theorem states that a monkey hitting keys at random on a typewriter keyboard for an infinite amount of time will almost surely type a given text, such as the complete works of William Shakespeare." On that basis, that means that if the Universe really is infinite, then somewhere there must be a random number generator that keeps producing the same number over and over again simply because in an infinite Universe, however small the chance/probability is, a random number generator that produces the same number every time must exist. My head hurts :) Does anyone understand what I'm trying to explain?

                          I know you believe you understood what you think I said, but I am not sure you realize what you heard is not what I meant.

                          My operating system kernel the first time it booted

                          B Offline
                          B Offline
                          bwestrick
                          wrote on last edited by
                          #28

                          IMHO, No. I don't think you would ever have a fair random umber generator that would always produce the same number. You could have one that would produce a very very long sequence that was all that same. As the odds of this are very small but still greater than zero. But the odds that a single random number generator produces a specific infinite sequence, such as all the same number, is zero. So it doesn't matter how many generators you have the probability still approaches zero.

                          1 Reply Last reply
                          0
                          • L LloydA111

                            I got this idea from the Infinite monkey theorem, which states that: "The infinite monkey theorem states that a monkey hitting keys at random on a typewriter keyboard for an infinite amount of time will almost surely type a given text, such as the complete works of William Shakespeare." On that basis, that means that if the Universe really is infinite, then somewhere there must be a random number generator that keeps producing the same number over and over again simply because in an infinite Universe, however small the chance/probability is, a random number generator that produces the same number every time must exist. My head hurts :) Does anyone understand what I'm trying to explain?

                            I know you believe you understood what you think I said, but I am not sure you realize what you heard is not what I meant.

                            My operating system kernel the first time it booted

                            T Offline
                            T Offline
                            trshively
                            wrote on last edited by
                            #29

                            I recently read the book Programming the Universe, by Seth Lloyd. I think it was this book, that talked about the infinite monkey theorem. And the probability that the monkeys could write shakespear given a keyboard with only letters numbers and puncutation, would be (1/(number of keys on the keyboard)^(number of letters in a shakespear book)) which is an enourmously small chance. One is more likely to create a simulated Universe in a very powerfull computer that will be able to output a Universe the same as ours. and also, a random number generator that produces the same number every time, is not a random number generator at all, by the definition of random.

                            1 Reply Last reply
                            0
                            • L LloydA111

                              I got this idea from the Infinite monkey theorem, which states that: "The infinite monkey theorem states that a monkey hitting keys at random on a typewriter keyboard for an infinite amount of time will almost surely type a given text, such as the complete works of William Shakespeare." On that basis, that means that if the Universe really is infinite, then somewhere there must be a random number generator that keeps producing the same number over and over again simply because in an infinite Universe, however small the chance/probability is, a random number generator that produces the same number every time must exist. My head hurts :) Does anyone understand what I'm trying to explain?

                              I know you believe you understood what you think I said, but I am not sure you realize what you heard is not what I meant.

                              My operating system kernel the first time it booted

                              R Offline
                              R Offline
                              randomusic
                              wrote on last edited by
                              #30

                              Yes, that is what it means. A problem though with pseudo random number generators, I think, is that normally they don't produce such sequences. I think their internal structure simply prohibits that, which is not how it is supposed to be when you think of it from the perspective you describe. But, of course, in practical reality it does not matter, and they do produce at least relatively long unlikely such sequences, which is good enough. Another funny consequence of this perspective is that somewhere in Pi (at least if we can consider it a normal number (see http://en.wikipedia.org/wiki/Normal_number[^]) we will find encoded in say unicode the works of Shakespeare. We will also find mpeg4 encoded movies, very professionally made, of your life, even the part which has not yet happened. There will also be one such version of your life, but where you have a carrot instead of your normal nose. Somewhere there will also be found a perfect explanation of life, the universe, and everything. And so on and so forth. Magnus

                              1 Reply Last reply
                              0
                              • E Euhemerus

                                Rocky Moore wrote:

                                I wonder if we truly understand the thought of "infinite"

                                I very much doubt it. It's too much an unreal concept for the human brain to comprehend. Although, there was one particular mathematician on the recent Horizon program who vehemently dismissed the possibility of infinity because he couldn't get his head round the idea. His theory was, that if you kept adding one to a number you would eventually go full circle and end up at zero. Weird or what? But as it can't be proved that infinity actually exists, he might well be right.

                                No trees were harmed in the posting of this missive; however, a large number of quantum states were changed.

                                T Offline
                                T Offline
                                Thor Johnson
                                wrote on last edited by
                                #31

                                Digital Thunder wrote:

                                His theory was, that if you kept adding one to a number you would eventually go full circle and end up at zero. Weird or what?

                                When I do that, I get negative numbers first. I suppose I should use Unsigned types.

                                1 Reply Last reply
                                0
                                • D Dave Gannon

                                  Keith Barrow wrote:

                                  The probability of a generator being created over a unit of space (and/or time) can change in such a way that even in an infinite universe an non-infinite number of generators exits.

                                  if you're talking about a truly infinite universe then even considering varying probabilities of the existence of random number generators, you still end up with an infinite number of random number generators; it's just a smaller infinity than the size of the universe, but no less infinite.

                                  D Offline
                                  D Offline
                                  DragonsRightWing
                                  wrote on last edited by
                                  #32

                                  a "smaller infinity"??? Now my sides hurt!!! What do you get when two moron atoms are bonded to one oxygen atom? An oxymoron!

                                  L 1 Reply Last reply
                                  0
                                  • L LloydA111

                                    I got this idea from the Infinite monkey theorem, which states that: "The infinite monkey theorem states that a monkey hitting keys at random on a typewriter keyboard for an infinite amount of time will almost surely type a given text, such as the complete works of William Shakespeare." On that basis, that means that if the Universe really is infinite, then somewhere there must be a random number generator that keeps producing the same number over and over again simply because in an infinite Universe, however small the chance/probability is, a random number generator that produces the same number every time must exist. My head hurts :) Does anyone understand what I'm trying to explain?

                                    I know you believe you understood what you think I said, but I am not sure you realize what you heard is not what I meant.

                                    My operating system kernel the first time it booted

                                    R Offline
                                    R Offline
                                    Rick Shaub
                                    wrote on last edited by
                                    #33

                                    Here's the text version: http://thedailywtf.com/Articles/Quite-Contrary.aspx[^]

                                    1 Reply Last reply
                                    0
                                    • L LloydA111

                                      I got this idea from the Infinite monkey theorem, which states that: "The infinite monkey theorem states that a monkey hitting keys at random on a typewriter keyboard for an infinite amount of time will almost surely type a given text, such as the complete works of William Shakespeare." On that basis, that means that if the Universe really is infinite, then somewhere there must be a random number generator that keeps producing the same number over and over again simply because in an infinite Universe, however small the chance/probability is, a random number generator that produces the same number every time must exist. My head hurts :) Does anyone understand what I'm trying to explain?

                                      I know you believe you understood what you think I said, but I am not sure you realize what you heard is not what I meant.

                                      My operating system kernel the first time it booted

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

                                      Your reasoning is incorrect. First, the universe is REALLY big, but it is not infinite. So there can only be a finite number of random generators that we have to work with. Second: The probability of getting N heads in a row decreases exponentially with N. The probability of getting infinite heads in a row is exactly zero. If we allow an infinite number of random generators, then we still get zero probability. This is by L'Hopital's rule: the probability of successive heads decreases toward zero more quickly than number of generators increase toward infinity. I did not have time to read the other comments. My humble apologies if I am repeating something that has already been said.

                                      B M 2 Replies Last reply
                                      0
                                      • C Christian Graus

                                        I remember one april fools day seeing a site that had a new compression algorithm. Represent a file as binary. That's 1s and 0s. 0 means nothing, so throw them away. All you have are 1s, so just compress that, and you get a super small file. I spent a day arguing with a guy at work that this was awesome, b/c he was too dumb to see it was a joke.

                                        Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

                                        L Offline
                                        L Offline
                                        LloydA111
                                        wrote on last edited by
                                        #35

                                        :laugh: :thumbsup:

                                        I know you believe you understood what you think I said, but I am not sure you realize what you heard is not what I meant.

                                        My operating system kernel the first time it booted

                                        1 Reply Last reply
                                        0
                                        • D DragonsRightWing

                                          a "smaller infinity"??? Now my sides hurt!!! What do you get when two moron atoms are bonded to one oxygen atom? An oxymoron!

                                          L Offline
                                          L Offline
                                          LloydA111
                                          wrote on last edited by
                                          #36

                                          DragonsRightWing wrote:

                                          a "smaller infinity"??? Now my sides hurt!!!

                                          Whats infinity take one, infinity, or a different number? ;P

                                          I know you believe you understood what you think I said, but I am not sure you realize what you heard is not what I meant.

                                          My operating system kernel the first time it booted

                                          W 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