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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Realtime Hacker News

38 点作者 michaelhart超过 14 年前

13 条评论

tptacek超过 14 年前
I don't get it. Exactly why do I want the Hacker News front page to change out from under me while I read it?
评论 #1887361 未加载
vic_nyc超过 14 年前
Would be interesting if you could post the tech details about how you implemented it. I've been experimenting with websockets in Clojure, Ruby and Node and so far I have found that in practice it's harder to do than the simple tutorials would have make it seem. For example, I realized that due to the same origin policy, the client and server involved have to run on the same ports (not just same machine) which makes it seem that the same server has to serve them.
评论 #1888477 未加载
评论 #1887645 未加载
daleharvey超过 14 年前
This is a nice idea<p>I agree with the added spacing, also it doesnt matter if backgrounds are very opaque they are still distracting while they are visible.<p>I would prefer to not have both screens viewable, just the same interface by clicking new / home on the top navigation.<p>Thanks for doing this, looks like a fun experiment
CWIZO超过 14 年前
Add some spacing between items please. It's almost unreadable right now. Also the new/home text backgrounds interfere with the content.<p>It would also be nice if I could login somehow and vote/comment on your page (real time comments maybe?). Great stuff tho!<p>edit: just noticed that your version of the home page is completely different than the one here. Or am I missing something?<p>edit2: scratch that, you display items in reverse order. Why is that?
评论 #1887261 未加载
michaelhart超过 14 年前
I just significantly improved caching to further reduce the necessity of hitting Hacker News. This should fix a lot of performance issues as well as blank pages.<p>As for duplicates, I have tried to make that much less likely by putting the status closer to the update query. There are lot of hits per second, which causes that. (Queries take around 0.005s to perform; if 2 hits within that time period, then it could update the cache twice (or more)).
marcamillion超过 14 年前
This is actually pretty neat. It helps me discover new stories better than a static HN front-page.<p>I really like the layout and everything.
erikano超过 14 年前
Interesting. However, I get three duplicate entries. I'm using <i>Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.4) Gecko/20100630 Firefox/3.6.4</i>.<p>[1]: <a href="https://st.atic.co/screenshot/realtime_hn_duplicates.png" rel="nofollow">https://st.atic.co/screenshot/realtime_hn_duplicates.png</a>
评论 #1887443 未加载
adaml_623超过 14 年前
I'm assuming this shows me items that haven't made the front page? I think that's very useful.
评论 #1888225 未加载
wglb超过 14 年前
Really, let's not do this.
younata超过 14 年前
It's neat.<p>But, for me, I prefer the regular, static, interface. The main page doesn't change enough to warrant using a a realtime interface.
评论 #1887244 未加载
jeffmiller超过 14 年前
I shudder for the personal productivity of someone who needs a realtime version Hacker News.
评论 #1888235 未加载
acconrad超过 14 年前
It would be real time if it didn't take an eternity to load. Neat concept though.
评论 #1887301 未加载
nolite超过 14 年前
nice! maybe the new things could show up at the top though? so we wouldn't have to keep scrolling