logoalt Hacker News

lmzyesterday at 4:54 AM3 repliesview on HN

Offset / page index is not exactly stable especially for the most common case of newest-first.


Replies

DaiPlusPlusyesterday at 5:03 AM

“Anchor + Offset” is stable because the anchor param should uniquely identify a specific record from which the offset is applied; a sort-order, direction, and page-size may also be optimally specified.

show 1 reply
croteyesterday at 5:26 AM

It is when you do "?after=uuid" or "?after=timestamp".

raverbashingyesterday at 5:41 AM

Actually newest first shouldn't be a problem, you need only to point to "last seen date" (up to ms precision)

An algorithmically "curated" TL, yes that's harder