Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
nimish
4y ago
0 comments
Share
It's the german tank problem.
Serial IDs, with some light assumptions, leak information about the total count of items.
0 comments
default
newest
oldest
BenjiWiebe
4y ago
Just pick a random number at the beginning, and start incrementing IDs from there. Like personal checks starting at 1000 so they're always(ish) 4 digit. Of course, maybe pick another starting number that's less obvious.
sk5t
4y ago
That's not effective at all.
nimish
OP
4y ago
Still leaks count -- you do similar stuff to estimate the minimum and the maximum.
j
/
k
navigate · click thread line to collapse