<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>owiewowe</author_name>
  <author_url>https://blog.hatena.ne.jp/owiewowe/</author_url>
  <blog_title>19日に更新してた</blog_title>
  <blog_url>https://owiewowe.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>「時間をしっかりかけてランダムに文字を作り続けることで、どんな文章でも多分作成できる。」というのが無限の猿定理らしいのですが、実際プログラムして動かしてみたらどれくらい時間がかかるのだろうかと試してみました。色々なページですとタイプライターのキーボードは約100とあるのですが、ascii コードで32( )から126(~)までの95キャラクターで組んでおります。見たまんまなのですが、monkey_aim に目標にする言葉 hamlet を入れていますので、適宜入れ替えてみてください。 import random import time from tqdm.notebook import tqd…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fowiewowe.hatenablog.com%2Fentry%2F2022%2F04%2F19%2F123000&quot; title=&quot;無限の猿定理を試してみた。 - 19日に更新してた&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-04-19 12:30:00</published>
  <title>無限の猿定理を試してみた。</title>
  <type>rich</type>
  <url>https://owiewowe.hatenablog.com/entry/2022/04/19/123000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
