• Donkter@lemmy.world
      link
      fedilink
      English
      arrow-up
      39
      ·
      1 year ago

      It’s kind of an outdated now too since it was a thought experiment and the monkeys were a stand-in for an abstract concept of a machine that creates an infinite amount of text. We have proof that even a finite number of randomly generated words will produce at least the first 1,312,000 characters of Shakespeare.

      https://libraryofbabel.info/

    • RadicalEagle@lemmy.world
      link
      fedilink
      English
      arrow-up
      7
      ·
      1 year ago

      I don’t quite understand what you’re saying. You say “Hamlet was written with intention”, which in the case of that it was written by humans I agree with. But what about in the case of the monkeys?

      We know Hamlet can be written with intention, but do the monkeys with typewriters imply that it needs to be or not to be? That is my question.

      • Ð Greıt Þu̇mpkin@lemm.ee
        link
        fedilink
        English
        arrow-up
        10
        ·
        1 year ago

        The infinite monkeys with infinite typewriters schtick is about random output.

        Basically the monkeys don’t intend to write anything, it just happens that stuff gets written whenever they get bored and hit a key to hear the funny pinging noise.

        They’re an inefficient random text generator and the thesis of the thought experiment is that even given completely random outputs enough time to observe makes any possible specific string output a certain part of the complete output string, no matter how silly or absurd or improbable.

        A randomized system will produce all results over infinite time. All results of a random text generation includes the complete works of Shakespeare.

        • kryptonianCodeMonkey@lemmy.world
          link
          fedilink
          English
          arrow-up
          3
          ·
          1 year ago

          Right, the logic is this. First, out of 26 letters in both upper and lower cases, 10 Arabic numerals, whitespace and various common punctuation marks, there are dozens of symbols that can be typed at any time. Let’s call it a nice round number like 50.

          So when any of them has equal odds the likelihood that the next symbol you randomly type is any specific character, like the lowercase ‘g’, is 1 in 50. The liklihood that the letter after that is a lowercase ‘o’ is also 1 in 50. So the liklihood of both the ‘g’ and then the ‘o’ being pressed in succession to spell the work “go” is 1 in 50^2, i.e. 1 in 2,500. The liklihood of any specific 3, 4, and 5 characters would be 1 in 125,000, 1 in 6,250,000, and 1 in 312,500,000, respectively. As you can guess, to write a play like Hamlet with 130,000 letters in it, the odds would be astronomical. 1 in 50^130,000, to be specific.

          You can’t even comprehend how big a number 50^130,000 is. You can’t even conceive of something at that scale. When I say that that number is more than all of the nanoseconds since the big bang multiplied by the number of molecules in the observable universe, that is such an understatement that it is funny. That doesn’t actually even put a dent into how big that number is.

          So then the chances of writing Hamlet may feel, intuitively, like the odds are actually 0. Something with such unbelievably low odds simply cannot practically happen, right? But that is not the case and I can prove it. Imagine a random letter generator that puts out a random series of letters, numbers, whitespace and punctuation. Imagine it had to output a selection of 130,000 characters. What does the output look like in your head? Probably a random mess of gibberish, right? The odds are good of that, after all. But, wait. What are the odds that the SPECIFIC mess of gibberish, that specific set of letters, was selected? Well, obviously, it would be 1 in 50^130,000. The exact same odds as Hamlet. The thing that feels literally impossible. That exact string of meaningless nonsense and the masterpiece by Shakespeare have the exact same odds of happening, and one of them already did. If one can happen, so can the other.

          • funkless_eck@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 year ago

            I posted this in a different thread recently:

            =====

            it is to illustrate the vastness of infinity not the efficacy of monkeys

            assuming one infinite monkey:

            sonnet 18 has 592 characters- or a chance of 4.3x10^-848

            For scale - the universe is 1.3x10^10 years old.

            And the ^-848 was 14 lines, a onehundredth of a single percent of the complete works.

            However, it’s infinite monkeys, so the time it would take is effectively how every long it takes for one monkey to type that many lines. A few days? A week? In an infinite monkey cage it’s done at the first attempt: that’s the size of infinity.

            If you converted all the mass in the universe to energy, and all the time until it’s heat death and could combine them into one machine: probably not enough to clear Titus Andronicus.

        • RadicalEagle@lemmy.world
          link
          fedilink
          English
          arrow-up
          3
          ·
          1 year ago

          I guess I don’t think I see how that contradicts the initial post, but maybe that’s just because I’m reading the post as saying the same thing as “leave enough hydrogen alone for long enough and eventually it starts thinking”

            • RadicalEagle@lemmy.world
              link
              fedilink
              English
              arrow-up
              2
              ·
              1 year ago

              Gotcha gotcha. In other words: us being monkeys generating random output is an unfalsifiable hypothesis, so saying “it’s true” is unscientific. Yes, it could be true if free will didn’t exist, but since that’s not something that can be proven we shouldn’t use it as the basis for how we view reality. Something like that?

    • feedmecontent@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Yea but to offset that we set up the monkeys without typewriters and they gave us the typewriters, Hamlet, and the desire for both

    • fishos@lemmy.world
      link
      fedilink
      English
      arrow-up
      6
      arrow-down
      12
      ·
      1 year ago

      You assume intention. Fallacy of free will. Whoever wrote it, you would claim had “intention”. But given enough humans just faffing about randomly, one will eventually think up and write down “Hamlet”. It’s the same, you just want to ascribe higher meaning to it because it’s human.

        • fishos@lemmy.world
          link
          fedilink
          English
          arrow-up
          3
          arrow-down
          7
          ·
          1 year ago

          If no free will, no intention. It’s that simple. In strict determinism, every action, thought, feeling, whatever, was predetermined at the moment of the big bang by the starting state and physics.

          I’m absolutely saying that all of humanities creations are “coincidence”. Just because you don’t like what I have to say doesn’t make me stupid. I know what I was describing.

          • JackGreenEarth@lemm.ee
            link
            fedilink
            English
            arrow-up
            7
            ·
            1 year ago

            Why does intention have to be a nondeterministic thing? Can’t people indent to do something, even if they were determined to intend to choose it?

          • Ech@lemm.ee
            link
            fedilink
            English
            arrow-up
            2
            ·
            1 year ago

            But given enough humans just faffing about randomly, one will eventually think up and write down “Hamlet”.

            In strict determinism, every action, thought, feeling, whatever, was predetermined at the moment of the big bang by the starting state and physics.

            Determinism and randomness cannot coexist.

        • fishos@lemmy.world
          link
          fedilink
          English
          arrow-up
          4
          arrow-down
          5
          ·
          1 year ago

          We think we are able to. Prove we aren’t just fancy biological computers. No one has proven what consciousness really even is yet.

          If the quote was “a million microbes”, maybe you’d have a point. But it’s monkeys. Our closest ancestors. What we are one step removed from. And y’all trying to act like monkeys are robots and were transcendent beings made of energy or some shit. We’re animals, just like them. Slightly smarter, but animals. We are the monkeys.