This is clownery, humanity is infinite monkeys, and we wrote Hamlet ages ago.
Everyone keeps forgetting that we're all just what monkeys evolved into...
Actually, both monkeys and us are what our common ancestors evolved into. Which was neither a human nor a monkey.
Lifetime of the universe is infinitely less than infinite time. So they solved for the wrong problem. Of course it may take longer than the life of the universe, or it may happen in a year. That's the whole point of the concepts of infinity and true randomness. Once you put a limit on time or a restriction on randomness, then the thought experiment is broken. You've totally changed the equation.
There's still a chance that a monkey will type it on the first attempt. It's just very small.
I've read there are so many permutations of a standard deck of 52 playing cards, that in all the times decks have been shuffled through history, there's almost no chance any given arrangement has ever been repeated. If we could teach monkeys to shuffle cards I wonder how long it would take them to do it.
There are 8.0658*10^67 orders you can shuffle a card deck in.
The math is easy. It's just 52! if your calculator has that function which is really 525150...32*1. There are 52 possibilities for the first card 51 for the second since you've already used one card and so on.
How many decks of cards have been shuffled over human history, or will be is beyond me.
For those who are confused, the comment meant to say
52*51*50*....*3*2*1
i.e. 52 × 51 × 50 × ... × 3 × 2 × 1
Markdown syntax screwed it up.
Fuuuuck there goes my plan to get this monkey to write Hamlet within the lifetime of the universe...
OK, what about 2 monkeys?
The whole point of the thought experiment is that you have infinite monkeys.
I don't think so, because if you had infinite monkeys an infinite number of them would get it on the first try.
Exactly. That's the point.
I don't think it works honestly. You'd need a monkey with a lasting and dutiful commitment to true randomness to ever get anything but a finite number of button mashing variations. Monkeys like that don't come cheaply.
Within that finite set, one combination is the complete text of Hamlet.
So... three monkeys?
At least
Ignoring the obvious flaw of throwing out the importance of infinity here, they would be exceedingly unlikely but technically not unable. A random occurrence is just as likely to happen on try number 1 as it is on try number 10 billion. It doesn't become any more or less likely as iterations occur. This is an all too common failure of understanding how probabilities work.
I get annoyed when websites say something like, ´Using a password of this strength will take a a hacker one million years to brute force.´
No, it’ll take a million years to try every combination and permutation of allowed characters. Chances are your password will be tried much sooner than that.
When they say such things, the are probably talking about the expected value, where those chances are taken into account, just like the number calculated in this article.
The results reveal that it is possible (around a 5% chance) for a single chimp to type the word "bananas" in its own lifetime.
That sounds a little low to me. B and N are right next to each other, so I'd expect them to mash left and right among similar keys a lot of the time. Then again, I think we're expecting some randomness here, not an actual chimp at a typewriter, but that's probably more likely to reproduce longer works than an actual chimp.
How is the infinite monkey theorum "misleading". It's got "infinite" in the name. If you're applying constraints based on the size or age of the universe, you are fundamentally misunderstanding the thought experiment.
Infinite monkeys would produce everything in the time that it would take to type it out as fast as anyone can type, infinite times. There would also be infinite variations of slower versions, including an infinite number of versions where everything but the final period is written, but it never gets added (same with every other permutation of missing characters and extra ones added).
There would be infinite monkeys that only type one of Shakespeare's plays or poems, and infinite monkeys that type some number greater than that, and even infinite monkeys that type out plays Shakespeare wanted to write but never got around to, plus infinite fan fictions about one or more of his plays.
Like infinite variations of plays where Juliette kills Hamlet, Ceasar puts on a miraculous defense and then divides Europe into the modern countries it's made up of today, Romeo falls in love with King Lear, and Transformers save the Thundercats from the Teenaged Mutant Ninja Turtles who were brainwashed to think they were ancient normal samurai lizards. Some variations having all of that in the same play.
That's the thing about infinity. If there's any chance of something happening at all, it happens infinite times.
Even meta variants would all happen. Like if there's any chance a group of monkeys typing randomly on typewriters could form a computer, there would be infinite variations of that computer in that infinite field of monkeys, including infinite ones that are trying to stimulate infinite monkeys making up a computer to verify that those monkeys make up a valid computer worth building and don't have some bug where the temperature gets too high and melts some of the monkeys or the food delivery system isn't fast enough to keep up and breaks down because monkeys get too tired to keep up with necessary timings.
BUT, even though all of these would exist in that infinite sea of monkeys, there would be far more monkeys just doing monkey things. So many more that you could spend your whole lifetime jumping to random locations within that sea of monkeys and never see any of the random organization popping out, despite an infinite number of monkeys and societies of monkeys dedicating their whole existence to making sure you, specifically, can find them (they might be too busy fighting off the infinite number of monkeys and societies of monkeys dedicating their lives to prevent you from ever finding non-noise in the sea of monkeys).
Yeah sure, they'll probably also have typed all posts on Lemmy, including those that have not been posted yet.
So the secret to this thought experiment is to understand that infinite is big. Really big. You just won't believe how vastly, hugely, mind-bogglingly big it is...
The lifespan of the universe from big bang to heat death (the longest scenario) is a blink of an eye to eternity. The breadth and size of the universe -- not just what we can see, but how big it is with all the inflation bits, even as its expanding faster than the speed of light -- just a mote in a sunbeam compared to infinity.
Infinity itself looks flat and uninteresting. Looking up into the night sky is looking into infinity – distance is incomprehensible and therefore meaningless. And thus we don't imagine just how vast and literally impossible infinity is.
With an infinite number of monkeys, not only will you get one that will write out a Hamlet script perfectly the first time, formatted exactly as you need it, but you'll have an infinite number of them. Yes, the percentage of the total will be very small (though not infinitesimally so), and even if you do a partial search you're going to get a lot of false hits. But 0.000001% of ∞ is still ∞. ∞ / [Graham's Number] = ∞
It's a lot of monkeys.
Now, because the monkeys and typewriters and Shakespeare thought experiment isn't super useful unless you're dealing with angels and devils (they get to play with infinities. The real world is all normal numbers) the model has been paired down in Dawkin's Weasel ( on Wikipedia ) and Weasel Programs which demonstrate how evolution (specifically biological evolution) isn't random rather has random features, but natural selection is informed by, well, selection. Specifically survivability in a harsh environment. When slow rabbits fail to breed, the rabbits will mutate to be faster over generations.
What caught me out recently was infinity minus infinity.
It does not equal zero. Instead it breaks your sorting algorithm.
It was the best of times, it was the blurst of times? You stupid monkey!
What if it's a smart monkey?
Of our sample size, 100% of “smart” (capable of symbolic language) monkey species have already written Hamlet.
So, while the Infinite Monkey Theorem is true, it is also somewhat misleading.
Is it though? The Monkey Theorem should make it understandable how long infinity really is. That the lifetime of the universe is not long enough is nothing unexpected IMHO, infinity is much (infinitely) longer. And that's what the theorem is about, isn't it?!
Well you're not supposed to just have one. It's supposed to be a thousand monkies at a thousand typewriters.
Now do the Mythbusters thing and figure out how many monkies and typewriters it would take for them to write Hamlet in just under a year. Don't just solve the myth; put it to the test!
How is this a study? It's just basic probability on a bogo sort style algorithm.
It’s not a “study”, it’s just 2 mathematicians having some fun. The paper is a good read, and as a math teacher I see a lot of pedagogical values in such publications.
The theorem holds true. The theorem states that the monkey has infinite time, not just the lifetime of our universe.
That's just lazy science to change the conditions to make sensational headlines. Bad scientists!
This just in: scientists disprove validity of thought experiment; philosophers remain concerned that they've missed the point.
The universe is the cage and we are the monkeys. We have already written Hamlet.
It was the best of times, it was the blurst of times??
You stupid monkey!
That's because they only considered one monkey.
You need a thousand monkeys working at a thousand typewriters.
They did not limit themselves to one monkey. From the article:
As well as a single monkey, they also did the calculations using the current global population of around 200,000 chimpanzees.
The whole study is trash. A chimpanzee is not a monkey.
But what if we had infinite monkeys 🤔
We have an infinite number of monkeys, one of them already wrote Hamlet.
The statement isn't about "A" monkey. It's about an infinite amount of monkeys.
And an infinite amount of time.
This "rebuttal" is forced contrarianism. It's embarrassing.
A thought experiment has rules, you can't just change them and say the experiment doesn't make sense...
There was a plank computer post here last couple of days. It showed an atomic sized computer performing one crack attempt every 10^-44 seconds would take a 95 character alphabet 100 years to crack a 121 character password.
Monkeys take up 1m^3. 10^105 bigger than a plank length. Typing 120wpm is 10^43 slower. Ignoring punctuation and spaces and capitalization, a 26 character alphabet allows for about 52 more characters than a 95 character alphabet.
Bottom line, monkeys can't come anywhere close to being able to crack a 100 character password from a 26 character alphabet.
Technology
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related content.
- Be excellent to each another!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, to ask if your bot can be added please contact us.
- Check for duplicates before posting, duplicates may be removed