News for hackers. Stuff that matters.
Re:Show HN: HNLive – Hacker News in Real Time by andrewstuart2 on Thursday January 21, 2016 @09:28PM (#10950369)
Especially when there's a fancy fully-real-time API provided for free by firebase. Not that it's the most efficient way to query all the top stories, but there's plenty that can be done with it.

https://hacker-news.firebaseio.com/v0/topstories

Re:Show HN: HNLive – Hacker News in Real Time by 2ton_jeff on Thursday January 21, 2016 @10:16PM (#10950530)
when I wrote hnwatch last year, there were some "issues" with the firebase feed, but for the most part the firebaseio goods are in fact realtime.
Re:Show HN: HNLive – Hacker News in Real Time by insin on Friday January 22, 2016 @07:09AM (#10952239)
It works pretty well, but there are still some "issues" you need to deal with:

- Items for users with a delay configured get posted to the API before their content is made available (if you go to the story id on HN proper, there's a * placeholder)

- The odd item will come back as `null` from the API for a while

As long as you deal going from not having content for an item to having content in an update, the API usually corrects itself eventually.

Here are live feeds of new stories and comments from the Firebase API in the client I wrote when it was announced:

http://insin.github.io/react-hn/#/newest

http://insin.github.io/react-hn/#/newcomments