-
Stuff I learned - 1
2012-03-09
-
Mapping between random-looking and increasing IDs
2011-01-02
Sometimes it’s nice to have non-consecutive user-facing IDs. E.g. if you don’t want to show away how many items you have in your database. Common approaches are UUIDs or encoding random bytes as base64. The downside is that those need an extra database column. For example, map (0 -> 29319, 1 -> 58998, 2 -> 29598, …). …
-
Backing up from gmail