How does news.yc order comments? They seem to randomly reorder themselves between reloads.
15 comments
My unscientific impression is that it depends on recency, score, and author's karma, for each comment in the thread.
it seems like, within "top level" comments with the same number of points, the comments switch between sorting ascending and descending by... a staggering of the time posted.
having more points puts you at the top of the comment list.
So, for example, this comment will have one point when i first post it. Since it's the latest comment, it will at first display topmost. When the next person posts a comment, my comment will display last and his will display first. Then when I refresh mine will display first and his last.
having more points puts you at the top of the comment list.
So, for example, this comment will have one point when i first post it. Since it's the latest comment, it will at first display topmost. When the next person posts a comment, my comment will display last and his will display first. Then when I refresh mine will display first and his last.
I'd assumed it was an artifact of the storage mechanism that pg didn't consider problematic enough to fix. PostgreSQL, for example, has no order guarantees unless you explicitly call for them, but seems to order by last update to the row.
Not that I'm suggesting that a SQL database backs news.yc; pg seems to have a preference for filesystems over databases.
Not that I'm suggesting that a SQL database backs news.yc; pg seems to have a preference for filesystems over databases.
They do that to remove the natural voting bias that favors comments nearer to the top of the page.
maybe after he's finished sending out the emails, we'll get ajax upvoting and commenting so it'll be easier to find your place again...