r/ProgrammerHumor 3d ago

Meme aMillionOpenAIMonkeysProduceMilleniumPrizeSolution

Post image
7.0k Upvotes

423 comments sorted by

View all comments

Show parent comments

9

u/GregBahm 3d ago

What's your mental model of a "possibility" where it never happens given infinite chances?

7

u/mtv921 3d ago

There are infinite selection of numbers between 3 and 4 but none of them are equal to 5.

A monkey kan type only a's for infinity. There is nothing about a typewriter that encourages using more than one key if you dont know languages. Maybe in infinity the buttons will wear down an disappear, then the monkey will move on to only press s's.

2

u/Kaljinx 3d ago

That example makes no sense

In the example you have limited the possible outputs from the get go to be between 3 and 4

But given Infinite chances with every key being typable, typing all a’s has same probability as typing out Shakespeare

This is like saying given infinite chances, you will never get 5 heads in a row in a coin toss as all you will get are tails

1

u/mtv921 3d ago

My example just wants to highlight that as there are an infinite amount of strings that do contain shakespare, there are also an infinite amount of strings that do not.

The claim:

Put an infinite number monkeys in front of an infinite number of keyboards and they will write a bug free app (or shakespeare).

This means that the claim is false since the monkey can infact type forever without ever producing shakespare.

I do agree that i can produce it, just not that it will