<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sue445</author_name>
  <author_url>https://blog.hatena.ne.jp/sue445/</author_url>
  <blog_title>くりにっき</blog_title>
  <blog_url>https://sue445.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>Rubyで使用されている乱数は Mersenne Twister というもので、同じseedを与えれば同じ乱数を生成してくれます 1.9.3p429 :001 &gt; Random.new(445).rand =&gt; 0.6432614612049729 2.0.0-p195 :001 &gt; Random.new(445).rand =&gt; 0.6432614612049729 この間1.9系と2.0系に対応したライブラリを書いていたのですが、rubyのメジャーバージョン間でArray#shuffleの結果が変わっていたので戸惑いました 1.9.3p429 :002 &gt; [1, 2, 3, 4, 5, …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsue445.hatenablog.com%2Fentry%2F2013%2F06%2F23%2F222144&quot; title=&quot;Ruby 1.9と2.0でArray＃shuffleの結果を同じにしたかった - くりにっき&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>2013-06-23 22:21:44</published>
  <title>Ruby 1.9と2.0でArray＃shuffleの結果を同じにしたかった</title>
  <type>rich</type>
  <url>https://sue445.hatenablog.com/entry/2013/06/23/222144</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
