TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

3 点作者 jqueryin将近 11 年前
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 条评论

ryanthejuggler将近 11 年前
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.
SamReidHughes将近 11 年前
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_massa将近 11 年前
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.