2014-05-07 20:06 GMT+02:00 Adam Retter
adam(_dot_)retter(_at_)googlemail(_dot_)com <
xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com>:
[…]
Personally I would be more interested in having a good random number
source for generating strong UUIDs, at the moment we just have an
extension function which is a non-deterministic wrapper around some
Java -
http://www.exist-db.org/exist/apps/fundocs/index.html?action=search&type=name&q=uuid
Ah, yes, I forgot this use case.
It would be nice to have a way to generate UUID:
- in a predictabe way, with a controlled seed, to get reproducible UUIDs
in tests
- with a unique seed for real life usage
On 6 May 2014 18:51, Christian Grün
<christian(_dot_)gruen(_at_)gmail(_dot_)com> wrote:
[…] Is there any
particular reason why the official random functions need to be
deterministic?
Well, yes, having reproducible randomness is useful during development and
testing :)
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--