3 ms·
So... this is written in a coding language that I don't know or fully understand, but it looks like "frontpage-rank" is based upon "gravity" which is some kind
by cabaalis 9y ago
So... this is written in a coding language that I don't know or fully understand, but it looks like "frontpage-rank" is based upon "gravity" which is some kind of calculation on the number of upvotes per hour.
https://github.com/wting/hackernews/blob/master/news.arc https://github.com/wting/hackernews/blob/master/news.arc
I also have no idea if that codebase is the one used here. It says it is a copy, but several years old. So just my two cents trying to answer your question.
- pluma 9y agoNo, that's not how it works, sadly. HN is explicitly curated, so some posts get bumped/nerfed by moderators. Also the "natural" rank seems to be a lot more complicated than just upvotes over time. There are a lot of companies trying to game HN to get more eyeballs. If it were as simple as "number of upvotes per hour" HN would be full of blogspam. EDIT: Case in point: the link just dropped off the frontpage extremely quickly. I'm guessing a moderator penalised it.