TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Do HN comment display rankings utilize exponential decay?

3 pointsby jqueryinalmost 11 years ago
I'm asking this question because I've noticed over the years that (in my case) it's been extremely beneficial to be an early commenter on trending posts. This isn't to say you can or should post meaningless comments, but early contributive comments seem to fair far better than late contributions. My initial inclination is that comments do not appear to utilize a decay algorithm to the effect that stories do. If this isn't the case, it would appear as though I have spurts of insightfulness on rare occasions.

3 comments

ryanthejuggleralmost 11 years ago
I&#x27;d imagine it&#x27;s just because earlier comments have more time to gain points than later ones, and as a comment gains points it also gains visibility, which kind of snowballs.<p>If you think about it, it wouldn&#x27;t really make sense to have comment rankings decay. Breaking news is only breaking news for so long, so it works for the front page, but a valid, insightful comment on a particular story doesn&#x27;t lose value over time.<p>Side note... I might be wrong, but I think the stories use a rational decay (current point value divided by time since post) and not an exponential one.
SamReidHughesalmost 11 years ago
You can see comment order reshuffling in the seeming absence of votes so you can be pretty sure there&#x27;s not exponential decay, which would preserve order.
gus_massaalmost 11 years ago
The simplificated formula is:<p><pre><code> x = (points)&#x2F;(time_in_hours)^1.4 </code></pre> but the actual formula has a lot of secret sauce.