Live data from Hacker News

Ask HN/PG : Why are comments ordered like this?

news.ycombinator.com

21–28 of 28 posts

Re: Ask HN/PG : Why are comments ordered like this?

#23
post #15

Looking at the arc 3.1 source, I'm not sure why that's the case. The real work here is done by * frontpage-rank* . It's implemented as follows: (def frontpage-rank (s (o scorefn realscore) (o gravity gravity* )) (* (/ (let base (- (scorefn s) 1) (if (> base 0) (expt base .8) base)) (expt (/ (+ (item-age s) timebase* ) 60) gravity)) (if (no (in s!type 'story 'poll)) .5 (blank s!url) nourl-factor* (lightweight s) (min…

HN uses a modified algorithm to calculate the ranking. PG posted it on a story somewhere, but I can't seem to find it right now.

It takes the user's karma score into account in the ranking.

Re: Ask HN/PG : Why are comments ordered like this?

#24
post #11
post #6

Interestingly, the author of the 110 point comment has no submissions and only one comment - that one.

That reminds me so much of the article about the guy who fluked the highest ever recorded Scrabble score. Oddly enough, I THINK (I'm not looking it up, and if I'm wrong, let me believe the lie) the first word he dropped in that game was 110 points as well.

Here's the article: http://www.slate.com/id/2152255/

Fun stuff. Made me smile.

Re: Ask HN/PG : Why are comments ordered like this?

#25

Earlier quoted context omitted.

Slightly off topic, but do you have any idea how often the average is recalculated? I only ask because I've noticed that my average hasn't changed since it appeared in the top bar, yet I've doubled my total karma in the last two weeks. Based on the formula you just gave, my average should be 3.27, but it still shows 2.55. I realize it's a bit of a meaningless metric, but it's something I've been idly pondering for a…

A search at searchyc.com turned up: "There's a background process that runs every 45 seconds and picks a random loaded user to update the average of. Empirically, not more than every couple days, at best." http://news.ycombinator.com/item?id=1875738

I must be really unlucky, mine has been the same for a few weeks.

Re: Ask HN/PG : Why are comments ordered like this?

#27
post #15

Looking at the arc 3.1 source, I'm not sure why that's the case. The real work here is done by * frontpage-rank* . It's implemented as follows: (def frontpage-rank (s (o scorefn realscore) (o gravity gravity* )) (* (/ (let base (- (scorefn s) 1) (if (> base 0) (expt base .8) base)) (expt (/ (+ (item-age s) timebase* ) 60) gravity)) (if (no (in s!type 'story 'poll)) .5 (blank s!url) nourl-factor* (lightweight s) (min…

I want to point out that I have never looked at arc the language before, and yet the snippet above is very easy to quickly understand.

Re: Ask HN/PG : Why are comments ordered like this?

#28
post #25

Earlier quoted context omitted.

A search at searchyc.com turned up: "There's a background process that runs every 45 seconds and picks a random loaded user to update the average of. Empirically, not more than every couple days, at best." http://news.ycombinator.com/item?id=1875738

I must be really unlucky, mine has been the same for a few weeks.

mine too
Post reply on HN