• (nodebb)

    There's almost certainly a "Things programmers don't understand about random numbers" compilation out there somewhere. Not gonna bother looking. But Rule 1 ought to be " 'Random' and 'unique' are two unrelated ideas. NEVER mix them up."

  • (nodebb)

    What's interesting is the answer to "if I used a sampler with replacement, how many for that 50% chance of duplicates?"...

    And that answer is "379, duh." Conclusion: it's still probably not enough to be "safe", unless it's for just a small handful of VMs.

  • Missing Semicolon (unregistered)

    Remember, one of the weaknesses of the Enigma Machine was that it never mapped a input character to itself. That hard-coded rule was the chink that let in the codebreakers.

  • Tim R (unregistered)

    what surprises me is that to get to this relatively esoteric function, they must have read past the documentation about plain old random value generation and thought to themselves 'no that's not what I want' !?!?

Leave a comment on “Plenty of IDs”

Log In or post as a guest

Replying to comment #:

« Return to Article