<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/lib/random, branch ruby_3_3</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>[ruby/securerandom] [DOC] Add documents of methods and constants</title>
<updated>2023-12-12T06:40:43+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2023-12-12T05:11:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=dbd704ae6f0e0fdcefa2007ce1c06f7021c8e830'/>
<id>dbd704ae6f0e0fdcefa2007ce1c06f7021c8e830</id>
<content type='text'>
https://github.com/ruby/securerandom/commit/9a99978135
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/securerandom/commit/9a99978135
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/securerandom] [DOC] Improve the document about reproducibility of uuid_v7</title>
<updated>2023-12-12T06:36:10+00:00</updated>
<author>
<name>Yusuke Endoh</name>
<email>mame@ruby-lang.org</email>
</author>
<published>2023-12-12T06:35:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=cb93d10ae559b0cf0f0935ddc1cc50dda65c6df8'/>
<id>cb93d10ae559b0cf0f0935ddc1cc50dda65c6df8</id>
<content type='text'>
https://github.com/ruby/securerandom/pull/19/files#r1329476195

https://github.com/ruby/securerandom/commit/156cbb8448
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/securerandom/pull/19/files#r1329476195

https://github.com/ruby/securerandom/commit/156cbb8448
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/securerandom] Add support for UUID version 7</title>
<updated>2023-09-19T01:55:27+00:00</updated>
<author>
<name>nick evans</name>
<email>nicholas.evans@gmail.com</email>
</author>
<published>2023-06-29T22:39:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=dfb2b4cbc9aa5edc315e210bf6bfd92fcf6e45de'/>
<id>dfb2b4cbc9aa5edc315e210bf6bfd92fcf6e45de</id>
<content type='text'>
Although the specification for UUIDv7 is still in draft, the UUIDv7
algorithm has been relatively stable as it progresses to completion.

Version 7 UUIDs can be very useful, because they are lexographically
sortable, which can improve e.g: database index locality.  See section
6.10 of the draft specification for further explanation:

  https://datatracker.ietf.org/doc/draft-ietf-uuidrev-rfc4122bis/

The specification allows up to 12 bits of extra timestamp precision, to
make UUID generation closer to monotonically increasing.  This provides
between 1ms and ~240ns of timestamp precision.  At the cost of some code
complexity and a small performance penalty, a kwarg may specify any
arbitrary precision between 0 and 12 extra bits.  Any stronger
guarantees of monotonicity have considerably larger tradeoffs, so
nothing more is implemented.  This limitation is documented.

Ruby issue: https://bugs.ruby-lang.org/issues/19735

https://github.com/ruby/securerandom/commit/34ed1a2ec3
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Although the specification for UUIDv7 is still in draft, the UUIDv7
algorithm has been relatively stable as it progresses to completion.

Version 7 UUIDs can be very useful, because they are lexographically
sortable, which can improve e.g: database index locality.  See section
6.10 of the draft specification for further explanation:

  https://datatracker.ietf.org/doc/draft-ietf-uuidrev-rfc4122bis/

The specification allows up to 12 bits of extra timestamp precision, to
make UUID generation closer to monotonically increasing.  This provides
between 1ms and ~240ns of timestamp precision.  At the cost of some code
complexity and a small performance penalty, a kwarg may specify any
arbitrary precision between 0 and 12 extra bits.  Any stronger
guarantees of monotonicity have considerably larger tradeoffs, so
nothing more is implemented.  This limitation is documented.

Ruby issue: https://bugs.ruby-lang.org/issues/19735

https://github.com/ruby/securerandom/commit/34ed1a2ec3
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix code example doc for Random.alphanumeric</title>
<updated>2023-08-29T10:48:28+00:00</updated>
<author>
<name>Petrik</name>
<email>petrik@deheus.net</email>
</author>
<published>2023-08-29T10:37:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=cfae3ed42224b3e59cd6a02bf25a1d820e3b2b36'/>
<id>cfae3ed42224b3e59cd6a02bf25a1d820e3b2b36</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[Feature #18183] Add `chars:` option to `Random#alphanumeric`</title>
<updated>2023-08-29T01:56:56+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2023-08-29T01:56:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=7e5c662a6f2e8435f8103bc16185bed6759cc557'/>
<id>7e5c662a6f2e8435f8103bc16185bed6759cc557</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[DOC] Improve Random::Formatter docs</title>
<updated>2022-12-11T16:49:56+00:00</updated>
<author>
<name>zverok</name>
<email>zverok.offline@gmail.com</email>
</author>
<published>2022-01-12T20:05:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=381a373ab92e2a5869e75f43815993cef39d32cf'/>
<id>381a373ab92e2a5869e75f43815993cef39d32cf</id>
<content type='text'>
* Make its usage more obvious (by providing more detailed
  examples);
* Include mention of it into Random itself;
* Small cleanups of docs.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Make its usage more obvious (by providing more detailed
  examples);
* Include mention of it into Random itself;
* Small cleanups of docs.
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/securerandom] Use String#unpack1</title>
<updated>2021-12-14T02:59:22+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2021-12-13T15:55:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=900e0c8c39fe3df72d7ce451e01c1add7b6f1647'/>
<id>900e0c8c39fe3df72d7ce451e01c1add7b6f1647</id>
<content type='text'>
https://github.com/ruby/securerandom/commit/5460a18c35
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/securerandom/commit/5460a18c35
</pre>
</div>
</content>
</entry>
<entry>
<title>[DOC] Fix a type [ci skip]</title>
<updated>2021-12-14T02:52:26+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2021-12-14T02:52:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=40b0d69dadfccd7271ec47f128b51184723a3e7a'/>
<id>40b0d69dadfccd7271ec47f128b51184723a3e7a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[DOC] Improve Random::Formatter description and example</title>
<updated>2021-12-13T10:55:44+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2021-12-13T10:54:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=dc490aced3fc62d7eaa10d2bfc2211da826ea538'/>
<id>dc490aced3fc62d7eaa10d2bfc2211da826ea538</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/securerandom] Split Random::Formatter from SecureRandom [Feature #18190]</title>
<updated>2021-12-09T11:26:44+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2021-12-05T12:53:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=12a0a89e22fbc312e4a95a7749bc153532daa855'/>
<id>12a0a89e22fbc312e4a95a7749bc153532daa855</id>
<content type='text'>
https://github.com/ruby/securerandom/commit/1e57277b9e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/securerandom/commit/1e57277b9e
</pre>
</div>
</content>
</entry>
</feed>
