Y
Hacker News
new
|
ask
|
show
|
jobs
by
jsf01
936 days ago
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.
1 comments
4kimov
936 days ago
[shard_number, primary_id_number, timestamp]
link
dumbo-octopus
936 days ago
But then why not just arbitrary text?
link