Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
jsf01
· 3y ago · 0 comments
What’s the use case for passing in an array of numbers? Typically when generating an ID my input is either a single random number, a string that’s being hashed, or nothing at all.
Comments
[–]
4kimov
3y ago
[shard_number, primary_id_number, timestamp]
[–]
dumbo-octopus
3y ago
But then why not just arbitrary text?