Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Ask HN: How does post upvoting and sorting work in Hacker News?
1 point by oneturkmen on March 25, 2022 | hide | past | favorite | 3 comments


You write something worth upvoting and I upvote it.


I should have been more clear. What I meant is how the posts are sorted on the main page, because they are clearly not sorted by just upvotes (e.g., post A with 100 upvotes may be No. 1 post, while post B with 1500 upvotes may only be No. 5).


It is like many of the pages on sites like Reddit and danbooru where the ranking function is like

   votes / f(time since submission)
where f increases monotonically. A submission that was made ten minutes ago needs fewer votes to be at the #1 slot than one that was made ten hours ago.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: