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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Hacker News Trends

24 点作者 karangoeluw超过 11 年前

7 条评论

sant0sk1超过 11 年前
Not sure what this is as it appears to be down at the moment, but I wrote an HN trends tool awhile back as well: <a href="http://hntrends.jerodsanto.net" rel="nofollow">http:&#x2F;&#x2F;hntrends.jerodsanto.net</a>
评论 #6953383 未加载
评论 #6953503 未加载
评论 #6953094 未加载
评论 #6953352 未加载
dylandrop超过 11 年前
Personally I&#x27;d make it not sample the same phrase within the same article title, or count subphrases as a different topic... In particular, there&#x27;s an article with &quot;China Mobile&quot; mentioned twice, and it seems to be counted twice for that subject, as well as the subphrase &quot;China&quot; and &quot;Mobile&quot; being counted twice, each as a separate topic.<p>To show you what I mean:<p>{ &quot;trends&quot;: [ { &quot;count&quot;: 2, &quot;phrase&quot;: &quot;China&quot; }, { &quot;count&quot;: 2, &quot;phrase&quot;: &quot;Hacker&quot; }, { &quot;count&quot;: 2, &quot;phrase&quot;: &quot;Redis&quot; }, { &quot;count&quot;: 2, &quot;phrase&quot;: &quot;Mobile&quot; }, { &quot;count&quot;: 2, &quot;phrase&quot;: &quot;China Mobile&quot; }, { &quot;count&quot;: 2, &quot;phrase&quot;: &quot;How To&quot; } ] }
评论 #6953228 未加载
karangoeluw超过 11 年前
Ok guys here&#x27;s the deal. Everything is back to normal now. However, you won&#x27;t get enough trends. I am now using just the front page to find trends. If you&#x27;d like more data, change the `page_limit` here <a href="https://github.com/karan/HNify/blob/master/app.py#L120" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;karan&#x2F;HNify&#x2F;blob&#x2F;master&#x2F;app.py#L120</a>
karangoeluw超过 11 年前
API source: <a href="https://github.com/karan/HNify" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;karan&#x2F;HNify</a>
评论 #6953140 未加载
kirtijthorat超过 11 年前
Upon clicking the link to your app it gives the following error: An error occurred in the application and your page could not be served. Please try again in a few moments. If you are the application owner, check your logs for details.
评论 #6953021 未加载
karangoeluw超过 11 年前
Sorry guys. You people sent so many requests that 1 dyno isn&#x27;t enough for it.
评论 #6953189 未加载
karangoeluw超过 11 年前
Alright. memcache is in place, and the performance is now phenomenal.