News for hackers. Stuff that matters.
Re:How does news.yc order comments? They seem to randomly re... by vlad on Tuesday April 10, 2007 @03:48PM (#11446)
Guys... it's very simple! For every level in the hierarchy, it ranks the posts in order of points, and randomizes the order for those that have the same points.
Re:How does news.yc order comments? They seem to randomly re... by timg on Wednesday April 11, 2007 @06:16AM (#11805)
Well that's an interesting approach.
Re:How does news.yc order comments? They seem to randomly re... by brlewis on Tuesday April 10, 2007 @01:38PM (#11366)
My unscientific impression is that it depends on recency, score, and author's karma, for each comment in the thread.
Re:How does news.yc order comments? They seem to randomly re... by nonrecursive on Tuesday April 10, 2007 @01:33PM (#11363)
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.

Re:How does news.yc order comments? They seem to randomly re... by randallsquared on Tuesday April 10, 2007 @02:42PM (#11417)
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.

Re:How does news.yc order comments? They seem to randomly re... by volida on Tuesday April 10, 2007 @01:11PM (#11342)
I noticed that too. Especially if you update 2-3 times your comment...Sometimes it goes on top, then lower...
Re:How does news.yc order comments? They seem to randomly re... by notabel on Tuesday April 10, 2007 @01:13PM (#11343)
I've always taken this to be a feature, to promote development of comment threads beyond just the first few.
Re:How does news.yc order comments? They seem to randomly re... by volida on Tuesday April 10, 2007 @01:23PM (#11353)
i agree, that was my thought too
Re:How does news.yc order comments? They seem to randomly re... by herdrick on Tuesday April 10, 2007 @02:26PM (#11402)
They do that to remove the natural voting bias that favors comments nearer to the top of the page.
Re:How does news.yc order comments? They seem to randomly re... by joshwa on Tuesday April 10, 2007 @01:26PM (#11356)
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...
Re:How does news.yc order comments? They seem to randomly re... by jey on Tuesday April 10, 2007 @01:44PM (#11371)
Nah, just right click the upvote link and click "Open Link in New Tab". (in firefox anyway)
Re:How does news.yc order comments? They seem to randomly re... by rms on Tuesday April 10, 2007 @02:25PM (#11401)
I use control click myself...
Re:How does news.yc order comments? They seem to randomly re... by imp on Tuesday April 10, 2007 @05:20PM (#11522)
I use the middle mouse button.
Re:How does news.yc order comments? They seem to randomly re... by rms on Tuesday April 10, 2007 @11:55PM (#11692)
I would but I'm on a laptop without any of those fancy third buttons.
Re:How does news.yc order comments? They seem to randomly re... by joshwa on Tuesday April 10, 2007 @01:53PM (#11379)
Thanks, that'll do for now. (why didn't I think of that?)