News for hackers. Stuff that matters.
Re:Numbers everyone should know by j_random_hacker on Sunday March 20, 2011 @10:07AM (#2346290)
I didn't like this idea at first, since it struck me that if for some reason you had to create many records in quick succession (e.g. some kind of bulk upload) they would essentially be placed in random order. But thinking about it, the only scenarios where you would need to do this and want to preserve the order exactly would be if all the records were coming from the same source -- in which case you could just choose a single UUID for the batch and append increasing values of a local counter to this.

TL;DR: This would actually work really well I think!

Re:Numbers everyone should know by bmm6o on Sunday March 20, 2011 @02:55PM (#2346987)
Isn't this exactly what the article suggests doing? Time stamp + user id + comment count.