TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Universe would die before monkey with keyboard writes Shakespeare, study finds

83 点作者 hackernj6 个月前

33 条评论

tombert6 个月前
What kind of &quot;study&quot; would this even be? I thought the point of the infinite monkey thing was to talk about regular distributions and eventualities of every possible string showing up. I don&#x27;t think anyone claimed that any relatively-long string would show up in any reasonable amount of time necessarily, but it&#x27;s kind of a bizarre assertion to make.<p>It&#x27;s sort of like stating the runtime efficiency of a Bogosort; the runtime efficiency is unbounded. Theoretically any list could be sorted on the first run, but it could also just keep sorting in an unbounded fashion for forever, though given enough time (which could be tens of trillions of years or longer), it will eventually be sorted if we assume regular distribution of random numbers.<p>ETA:<p>Ok, I read through the actual paper, and it&#x27;s clearly meant more as a joke, which I don&#x27;t think was made clear in this article: <a href="https:&#x2F;&#x2F;www.sciencedirect.com&#x2F;science&#x2F;article&#x2F;pii&#x2F;S2773186324001014" rel="nofollow">https:&#x2F;&#x2F;www.sciencedirect.com&#x2F;science&#x2F;article&#x2F;pii&#x2F;S277318632...</a>
评论 #42019704 未加载
Aardwolf6 个月前
The theorem is called &quot;infinite monkey theorem&quot;. That means infinite amount of time. A googol years is not infinite, it&#x27;s infinite times smaller than that. In an infinite amount of time they will write Shakespeare works (if they type randomly enough and not with some bias like never typing certain combinations of letters)<p>Also, at least the article could have said what the actual probability is then? Are we talking 1e-500, 1e-1000000, 1 &#x2F; googolplex, or what?<p>EDIT: of the above examples 1e-1000000 is the closest I think (in order of magnitude of exponent), based on something like 30^5000000 divided through some amount of years assuming ~5 characters per word. So perhaps &quot;If every atom in the universe was a universe in itself&quot; won&#x27;t get us there, but recursively repeat that process a million times and we do get there
评论 #42018272 未加载
评论 #42018003 未加载
评论 #42018745 未加载
评论 #42026566 未加载
评论 #42017865 未加载
netsharc6 个月前
Not the point of the article, but this got me curious...<p>&gt; Shakespeare’s canon includes 884,647 words – none of them banana.<p>If this article (1) is accurate, Shakespeare never even knew what a banana is, and he never tried it, since he died ~2 decades before they came to England:<p>&gt; England got its first glimpse of the banana when herbalist, botanist and merchant Thomas Johnson displayed a bunch in his shop in Holborn, in the City of London, on April 10, 1633.<p>(1) <a href="https:&#x2F;&#x2F;theconversation.com&#x2F;the-day-bananas-made-their-british-debut-94742" rel="nofollow">https:&#x2F;&#x2F;theconversation.com&#x2F;the-day-bananas-made-their-briti...</a>
soco6 个月前
A monkey with keyboard already wrote Shakespeare, duh. Other monkeys called it Shakespeare.
评论 #42015467 未加载
评论 #42015366 未加载
评论 #42015362 未加载
评论 #42015567 未加载
评论 #42018972 未加载
creativenolo6 个月前
They have arbitrarily shifted the goal posts to fit their conclusion:<p>&gt; working out that even if all the chimpanzees in the world were given the entire lifespan of the universe, they would “almost certainly” never<p>Who assumed the original adage had the constraint of the universe’s lifetime.
评论 #42018149 未加载
chasd006 个月前
I thought the saying was “infinite monkeys..” and in that case you would get the full works of Shakespeare immediately. With an infinite amount of time and one monkey you’d get the full works of Shakespeare in every language supported by the typewriter any number of times in a row you wished. In fact, you’d get anything you wanted as long as the probability was &gt; 0<p>Edit: after walking my dogs, isn’t the probability of the full works of Shakespeare never being typed out also &gt; 0? (I can’t believe I’m actually spending calories on this..)
评论 #42019045 未加载
评论 #42018865 未加载
评论 #42020308 未加载
qarl6 个月前
200,000 is quite a bit smaller than infinite.
评论 #42017682 未加载
评论 #42018406 未加载
jackstraw146 个月前
<a href="https:&#x2F;&#x2F;libraryofbabel.info&#x2F;" rel="nofollow">https:&#x2F;&#x2F;libraryofbabel.info&#x2F;</a><p>it&#x27;s all there regardless
v8xi6 个月前
In graduate school we had to answer this on a test question and it took all of 5 minutes...should have published it, I guess
评论 #42018872 未加载
umvi6 个月前
I am biased by my religious beliefs, but I&#x27;ve always struggled with the idea that abiogenesis could spontaneously occur in &quot;just&quot; a few billion years on earth. A few billion seems like not enough time. Even the simplest forms of life are mind bogglingly complex.<p>Of course, it&#x27;s a few billion years scaled across &gt;1 life-friendly planets (since it only has to happen on 1 of them), but still just seems like not enough monkeys and typewriters in the given timeframe to produce something as astonishingly complex as life, let alone Shakespeare.
评论 #42019330 未加载
评论 #42019293 未加载
评论 #42019120 未加载
评论 #42019594 未加载
评论 #42019022 未加载
评论 #42019498 未加载
评论 #42019063 未加载
calibas6 个月前
Actually, the study doesn&#x27;t say that it wont happen, but that there&#x27;s a 6.4 * 10^-7228454 chance of it happening before the Universe ends.<p>That&#x27;s an infinitely larger chance than 0!
innagadadavida6 个月前
Empirically a monkey did already creat the works of Shakespeare in a mere 13billion years. This is the time it took for the universe to form, earth to evolve to create a monkey that could write all those words down. The entire process from start to finish is way more complicated and random than anyone typing 26 character randomly into the keyboard. But I guess we are talking about uniform distributions here.
评论 #42018976 未加载
dijksterhuis6 个月前
link to paper: <a href="https:&#x2F;&#x2F;www.sciencedirect.com&#x2F;science&#x2F;article&#x2F;pii&#x2F;S2773186324001014" rel="nofollow">https:&#x2F;&#x2F;www.sciencedirect.com&#x2F;science&#x2F;article&#x2F;pii&#x2F;S277318632...</a>
评论 #42015300 未加载
The_Blade6 个月前
it was the best of times, it was the blurst of times!?!?!
评论 #42018072 未加载
评论 #42019004 未加载
评论 #42015442 未加载
jajko6 个月前
But universe as we understand it is endless &#x2F; infinite on time scale, no? [1] has some nice projections how even basic quantum stuff eventually breaks down, yet nothing is really ending, if you don&#x27;t count matter as we know it.<p>[1] <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Timeline_of_the_far_future" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Timeline_of_the_far_future</a>
thom6 个月前
What if something in monkey psychology causes them to hit the keyboard with their fist or palm every five minutes or so of typing? What if they regularly lapse into just pressing one key over and over? It seems very unlikely to me that even with infinite monkeys a work would be generated, because they&#x27;re not actually random number generators.
评论 #42018455 未加载
评论 #42018423 未加载
andrewstuart6 个月前
No-one ever said it would happen within a finite time period, only that it would happen given infinite time.<p>That’s the whole point.
评论 #42015313 未加载
评论 #42015450 未加载
评论 #42015367 未加载
评论 #42015449 未加载
评论 #42015285 未加载
GuB-426 个月前
If you take it literally, there is a non-zero chance that a monkey types the entire works of Shakespeare. I mean, it has already happened: who is Shakespeare but an intelligent monkey? (don&#x27;t tell the librarian...)<p>For that to happen again, a monkey has to evolve into an intelligent specie interested in human history, find the complete works of Shakespeare, and write it. It is more likely than using probabilistic arguments using letter frequencies, or actual monkeys[1].<p>[1] <a href="https:&#x2F;&#x2F;archive.org&#x2F;details&#x2F;NotesTowardsTheCompleteWorksOfShakespeare" rel="nofollow">https:&#x2F;&#x2F;archive.org&#x2F;details&#x2F;NotesTowardsTheCompleteWorksOfSh...</a>
minkeymaniac6 个月前
How long would it take a computer or set of computers to pick random characters and generate the complete work<p>how long for 1 paragraph how long for 1 page how long for 1 chapter<p>etc etc<p>Does it get harder&#x2F;slower by a factor?<p>would be an interesting exercise
评论 #42017987 未加载
评论 #42017911 未加载
eth0up6 个月前
Granted, the schedule is of maximum generosity. But does it not seem unfair to ask a monkey to compose the entire works of Shakespeare, considering Shakespeare himself might have been incapable of such a feat?<p>And while it may take an army of them, we know these creatures are at least capable, collectively, of operating the Daily Mail, which is still all pretty early given the time remaining.<p>My fingers are crossed and I still have hope
ribcage6 个月前
The universe would die of shame right now if it knew it&#x27;s humans are spending their time questioning garbage like this.
评论 #42018852 未加载
appden6 个月前
&gt; even if all the chimpanzees in the world were given the entire lifespan of the universe<p>Seems to me like a flawed “study” if the baseline assumption is that chimpanzees would type randomly even when given lifespans through the heat death of the universe, which is estimated at 10^100 (googol) years!
lindbergh6 个月前
More details on the math related to it than you&#x27;d like : <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=OjcacSB6_EE" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=OjcacSB6_EE</a>
hombre_fatal6 个月前
Relevant incremental game: <a href="https:&#x2F;&#x2F;www.danneu.com&#x2F;infinite-monkey-incremental&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.danneu.com&#x2F;infinite-monkey-incremental&#x2F;</a>
skybrian6 个月前
It can happen a lot faster with a rigged random number generator:<p><a href="https:&#x2F;&#x2F;www.pcg-random.org&#x2F;party-tricks.html" rel="nofollow">https:&#x2F;&#x2F;www.pcg-random.org&#x2F;party-tricks.html</a>
superjan6 个月前
I would argue it is conceivable that given enough time, a monkey or ape species can evolve that is intelligent enough to write Shakespeare’s full works.
nachox9996 个月前
we need more monkeys
评论 #42017882 未加载
anon2916 个月前
Was this seriously a question? I mean, this is something a college student or advanced high schooler could calculate.<p>The law of large numbers is still correct. Nowhere is there a requirement that the large numbers be smaller than the various physical constants of the universe.p
nopelynopington6 个月前
Surely it depends on the calibre of monkey we deploy
jjk1666 个月前
I mean this is a really simply thing to work out. There are 30^n strings of length n that can be made by mashing a 30 key keyboard. The time to the heat death of the universe is 10^100 years which is approximately 30^72 seconds. Your odds of getting a string of length n in the lifetime of the universe is<p>( number of monkeys * typing rate in characters per second * 30^72 ) &#x2F; 30^n<p>The authors plugged in 200,000 (=30^3.5) and 1, meaning their odds are 30^75.5 &#x2F; 30^n = 30^(75.5-n)<p>For a string of less than 69 characters, the odds are fantastic. For a string of more than 82 characters the odds are abysmal. At 69 the odds of the substring existing are roughly equivalent to losing the lottery, and at 82 the odds are equivalent to winning the lottery.<p>Shakespeare&#x27;s shortest sonnet, 126, is a string of 533 characters.
Iwan-Zotow6 个月前
Bring more monkeys!
th0masfrancis6 个月前
In other news - Life expectancy of the universe is finite
评论 #42018015 未加载
Fricken6 个月前
These Mathematicians are very selective about which aspects of the universe they want to regard and which aspects they want ignore. Like, yeah you can take an imaginary situation and imagine that it&#x27;s possible, or impossible. It can go any way because it&#x27;s imaginary. No need to waste time on math, you can just imagine any outcome you like.<p>In reality, however, I think if you had a system that feeds a monkey a treat every time it strikes a letter key that corresponds to the next letter in a Shakespere play displayed on a monitor, you would eventually have some Shakespeare typed out by a monkey.<p>One could also just have a monkey mash keys for a while, and then after removing all the unnecessary letters you&#x27;d be left with a Shakespearian play.<p>Or, with a group of monkeys and plenty of time one could use natural selection to evolve them into a literate species that could handle the task easily. This is the method currently in use for the typing of Shakespeare. It has already been done, many times over.
评论 #42015241 未加载
评论 #42015611 未加载