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

[shard_number, primary_id_number, timestamp]
But then why not just arbitrary text?