4 ms·
Isn't it a similar observation, though? I've spent a lot of time thinking about random numbers, and how to pull random booleans out of pseudo-random numbers. N
by noduerme 3y ago
Isn't it a similar observation, though?
I've spent a lot of time thinking about random numbers, and how to pull random booleans out of pseudo-random numbers. No one would ever choose UUIDs to serve as a source of randomness. But the observation that "4" comes out really often in UUIDs is on par with the observation that you can't just take the first digit of a 32-bit unsigned, un-padded random number and expect it to be an equally weighted random between 1 and 9. Right? So doesn't that relate?
- cowsandmilk 3y agoNo it isn’t. This is that the standard says you will always have 4 in this position. Distribution of randomness has no involvement.
- noduerme 3y agooh. So if you always know there's a 4 there and then you can trigger infinite recursion based on that... what's the big insight here?