[Pharo-dev] WorkingSession UUID looks "sketchy"
wkassens at libello.com
Mon Feb 6 17:01:05 EST 2017
On 02/06/2017 09:00 PM, Sven Van Caekenberghe wrote:
> Regarding the poor seed at startup:
>> 1k outside runs of 'NeoUUIDGenerator new nextRandom16' (on a fresh image) gives me only 116 unique values, compared to the expected 990-1000
>> In the above it's already second run of the generator, for (random initial) counter, there was only 69 unique values out of 1000.
> But that is not proper use of a random generator, you create a new instance every time. You basically test seeding, which is different from random number generator proper.
Hi, isnt it that, what the thread originally was about? as far as i
understand it, it started with yuriy saying:
The idea is that each time an image is started a new session is created and assigned a new UUID...
More information about the Pharo-dev