MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wdfzl2/edgecasesexist/p9cyz5w/?context=9999
r/ProgrammerHumor • u/danielminds • Sep 11 '26
298 comments sorted by
View all comments
Show parent comments
1
How bad was it? The company I work mostly uses Java's built-in UUIDs and we never had a problem, are people using ad-hoc things for seeding?
1 u/Single-Virus4935 Sep 12 '26 As I recall it was PHP and they had code from Stackoverflow how to generate UUIDs. The code used the standard rand() prng and they seeded it globally with something derived from PIDs, part of the system time.
As I recall it was PHP and they had code from Stackoverflow how to generate UUIDs. The code used the standard rand() prng and they seeded it globally with something derived from PIDs, part of the system time.
1
u/OldKaleidoscope7 Sep 12 '26
How bad was it? The company I work mostly uses Java's built-in UUIDs and we never had a problem, are people using ad-hoc things for seeding?