News for hackers. Stuff that matters.
Re:Why does HN generate unique URL's for the 'more' pages? by recursive on Wednesday February 22, 2012 @10:09PM (#3623616)
Reddit does not use a similar mechanism. Here's an example of one of their next page links: http://www.reddit.com/?count=100&after=t3_q1sxk

The count is the number of stories to skip, the after is the id of the last story on the previous page.

Re:Why does HN generate unique URL's for the 'more' pages? by tensor on Wednesday February 22, 2012 @10:57PM (#3623723)
I don't see how that improves anything. If you click that link, you still see "nothing here".
Re:Why does HN generate unique URL's for the 'more' pages? by notJim on Wednesday February 22, 2012 @11:03PM (#3623742)
The point isn't that it's an improvement, the point is that it's completely different. It's the "standard" way of doing pagination (limit + offset), not a continuation.
Re:Why does HN generate unique URL's for the 'more' pages? by bri3d on Thursday February 23, 2012 @12:26AM (#3623929)
That's not offset + limit; it's start ID + count, which is functionally very different from offset + limit.

If Reddit were to use offset + limit, one would frequently visit page 2 only to see the same articles they were reading on page 1 five minutes before. A good example of this issue with offset + limit based pagination is 4chan, which is basically impossible to read in a linear or sane manner.

Reddit somewhat alleviates the problem by ensuring that posts after the last one you read are displayed - you'll occasionally see some of the same posts you were reading on page one, and occasionally miss posts that "jump" to page one while you're reading it, but it'll at least be usable, unlike 4chan.

Re:Why does HN generate unique URL's for the 'more' pages? by notJim on Thursday February 23, 2012 @12:51AM (#3623979)
Yes, you are correct, I was merely being lazy in my description.
Re:Why does HN generate unique URL's for the 'more' pages? by recursive on Wednesday February 22, 2012 @11:07PM (#3623759)
I'm not claiming it's an improvement.
Re:Why does HN generate unique URL's for the 'more' pages? by jQueryIsAwesome on Wednesday February 22, 2012 @11:54PM (#3623852)
Strange... i clicked it and it works (and i do consider that an improvement).
Re:Why does HN generate unique URL's for the 'more' pages? by DrJokepu on Thursday February 23, 2012 @06:06AM (#3624510)
You're right, Reddit does not use a similar mechanism. My bad.