An unofficial, read-only Hacker News reader. Join the beta →

Tell HN: Lots of Ask HNs again

411 points by dang 2 days ago | 155 comments on HN

View full thread · View on Hacker News

Comment thread (5)

  1. Good idea but #61 will often be the #60 you were just looking at.
    Replies (4)
    1. Oh I see the challenge. So because the ranking could’ve changed, there’s a chance anything on the current page could’ve slipped to the following page. So with my naive algorithm, you could even end up with the replacement for 60 matching the user’s stale 59. In that case I’d go one step further and say whatever is 61 or higher currently that isn’t shown on the user’s stale page. If they refresh or navigate the expectation is rankings could change so it seems like a reasonable compromise. Though I really don’t have strong opinions here and trust y’all to get it right.
    2. You could try cursor based pagination?
    3. This is true on the first page too.
    4. id say just dont load anything easiest and least error prone.