5 ms·
Hacker News Live Feed
- gregsadetsky 1y agoSource code: https://github.com/jerbear2008/hn-live https://github.com/jerbear2008/hn-live And live firebase source/api (run by HN) used for this: https://github.com/HackerNews/API https://github.com/HackerNews/API (just making sure it's obvious - I didn't create this site! all credits to @jerbear4328 who is here on HN - I'll email them to let them know it's trending) :-)
- toomuchtodo 1y agoVery cool! Thanks for sharing! (edit: terminal version available?)
- gregsadetsky 1y agoI'm not the author of this live feed site, but I did just find https://github.com/ggerganov/hnterm https://github.com/ggerganov/hnterm from the author of llama.cpp (!!). it also has a beautiful web version thanks to emscripten: https://hnterm.ggerganov.com/ https://hnterm.ggerganov.com/
- bigwheels 1y agoIt would be great to have the "on: x y z thread" field included. This is literally the only thing that seems missing- Stupendous work!
- jaytaylor 1y agohttps://jaytaylor.github.io/hn-live2 https://jaytaylor.github.io/hn-live2 Enjoy!
- jasonthorsness 1y agoHa amazing that this is just an HTML file
- insin 1y agoIf you want a live version of most of the site (including tracking new comments in items you've already looked at), I made this to improve my React skills when the HN API first came out: https://insin.github.io/react-hn https://insin.github.io/react-hn
- MrCzar 1y agoWow it looks really cool, I think I might enjoy actually using it as the main way to view the site
- Imustaskforhelp 1y agoI was going to say the same thing too! I just wish there was a dark mode.. Let me install night reader to see how well it looks :p Edit: would've loved if there was a way to sign up or make comments from there, oh well :< I wish there was, I am not sure if that's possible tho but I hope it could be.
- ranger_danger 1y agoBets on how overwhelmingly negative the comment sentiments are? Anyone got an LLM handy to analyze that
- AlecSchueler 1y agoIt's actually quite stark looking at it this way and makes me question how healthy it is to use this site as often as I do. Fully aware that we're also piling on the negative sentiment.
- fragmede 1y agoOkay, fine, let's inject some positivity: OMG! Yay, that's awesome and amazing! That's so wonderful and beautiful!!! Thank You! Kittens! Puppies! Rainbows! Unicorns!
- gregsadetsky 1y agoa very very quick copy/paste of 73 comments there - fed to claude with a basic "characterize+count comments" give me 70% neutral/technical, 14% positive, 16% negative. claude also said "The negative comments tend to be more substantive critiques of systems or research approaches rather than personal attacks." - so... that's good? :-)
- Karrot_Kream 1y agoI've done it before on large threads. Neutral sentiment tends to dominate at roughly 50% but negative sentiment is much higher than positive sentiment. Negative sentiment is also higher if you just take the highest ranked comments.
- Rendello 1y agoI often wonder if dang and tomhow have something like this running.
- poly2it 1y agoI wonder to what extent they read everything which is posted here.
- krapp 1y agoI know they get an alert whenever a comment is flagged. I assume they get an alert whenever certain "problematic" accounts post. Maybe they get an alert whenever the flamewar detector goes off? This forum is written in a Lisp so they can probably hotpatch whatever code they want and add whatever filters they want. But dang has said numerous times that he doesn't read everything, that would probably not even be feasible. The question is, YC being what it is, are they using LLMs to automate moderation or do sentiment analysis?
- dang 1y agoWe're working on the latter but it's not yet in production. We're only going to deploy it once it's clear that it significantly improves on what mods + the existing software are already doing. The hard part, of course, is how to evaluate that.
- dang 1y agoNot even close. https://news.ycombinator.com/item?id=20652157 https://news.ycombinator.com/item?id=20652157 https://hn.algolia.com/?dateRange=all&page=0&prefix=true&query=by%3Adang%20%22far%20too%20much%22%20read&sort=byDate&type=comment https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...
- Rendello 1y agoI moderated a few chat rooms and dreamed of all this complex tooling I could build to automate and help me fix issues right away. Of course, the tiny chat rooms didn't need any of that. The hard part is actually moderating fairly and trying to figure out where the boundaries are. I couldn't do it. Makes sense why pg said "don't start a forum".
- Descon 1y agoFun! A css animation would make the updates less jarring and the feed easier to read
- ChrisArchitect 1y ago(2024) Show HN from the dev https://news.ycombinator.com/item?id=39509910 https://news.ycombinator.com/item?id=39509910
- blinding-streak 1y agoCool! Would be slightly more contextual if the title of the original post was displayed.
- neom 1y agoI found it a fun game to guess what I thought the post was about.
- jkarneges 1y agoThe HN/Firebase API doesn't make this easy. For https://hnstream.com https://hnstream.com I ended up crawling items to find the article.
- esafak 1y agoThe comments don't even have a thread ID?
- zamadatix 1y agoComment items look like https://hacker-news.firebaseio.com/v0/item/45533616.json?print=pretty https://hacker-news.firebaseio.com/v0/item/45533616.json?pri...: { "by" : "jkarneges", "id" : 45533018, "kids" : [ 45533616 ], "parent" : 45532549, "text" : "The HN/Firebase API doesn't make this easy. For <a href=\"https://hnstream.com\" rel=\"nofollow\">https://hnstream.com</a> I ended up crawling items to find the article.", "time" : 1760043552, "type" : "comment" } "parent" can either be the actual parent comment or the parent article, depending where in the comment chain you are.
- esafak 1y agoPerhaps @kogir, who was active on https://github.com/HackerNews/API https://github.com/HackerNews/API could add the thread id.
- smusamashah 1y agohttps://jaytaylor.github.io/hn-live2 https://jaytaylor.github.io/hn-live2 is doing it though.
- 1zael 1y agoPretty cool! I must manually refresh to see new posts. Implementing real-time updates (e.x. via WebSocket or Server-Sent Events) would significantly improve usability.
- geuis 1y agoIt sounds cool, but for usability its not great. Think about how reddit recalculates the results order as you're paging through, and you see items from the previous page show up on the next. Now imagine that happening in realtime. Maybe there's a link you want to read, but you get pulled away for 10 minutes. By the time you get back the link is higher or lower, or may be completely missing. As a side feature, that would be neat though.
- 1zael 1y agoThat is a good point, however there are design solutions around it. For example: - Poll every X seconds instead of real-time - Enable user to toggle real-time mode - Load new posts in with a "+" button at the top to fetch the latest posts (like Twitter)
- 1718627440 1y agoThat's a good idea. Maybe bind that to a key (what about Ctrl-R). And maybe you can put this feature into UAs, since it would be useful for more websites.
- 1zael 1y agoThose are great ideas!
- geuis 1y agooh boy I wrote one of these many years ago for HN. Within like an hour or two pg emailed me asking me to stop. I didn't know it at the time, but HN was being run on a rusty potato and scraping the homepage every 5 or 10 seconds was causing significant load.
- wizzwizz4 1y agoAfaict, HN is still running on a rusty potato. The software's written well, so it doesn't need to run on more than that. (What's going to happen to it? Someone links to it from HN?)
- gregsadetsky 1y agoless rusty as of ~sep 2024 :-) https://news.ycombinator.com/item?id=44099006 https://news.ycombinator.com/item?id=44099006
- wizzwizz4 1y agoThey've upgraded to a multi-eye potato‽ Truly the wonders of modern technology have no bound.
- consumer451 1y agoI mean, I love what it says about the insanity of some of the tech stacks that we run these days. The potato with multiple eyes works to serve one of the more important and trafficked properties on the Internet.
- pinkmuffinere 1y ago> one of the more important and trafficked properties on the Internet. I like HN, but it's really only important within a very niche subset of the Internet, and it also doesn't have much traffic. There's like a single post submitted every two minutes. That's not much.
- deleted 1y ago[deleted]
- jasonthorsness 1y agoAnother great use of the HN API! It would be nice to filter it somehow to threads where I have commented, sometimes I don't notice until days later that someone replied to me. To shill my own use of the API: I did an animated "replay" view for historical threads like Rust 1.0 launch: https://hn.unlurker.com/replay?item=9551937 https://hn.unlurker.com/replay?item=9551937 And a (static, refreshable) view of recent activity grouped by topic: https://hn.unlurker.com https://hn.unlurker.com
- onli 1y agoYou know about https://www.hnreplies.com/ https://www.hnreplies.com/ ? Sends you a mail when someone replies to your comment.
- jasonthorsness 1y agoperfect, thanks
- Imustaskforhelp 1y agoDidn't know about this! Thanks, I just wish something like this was on signal or discord but maybe that's because I don't operate much mail and I really like signal... But anyways, just as a headsup for a moment I was confused that I wasn't getting the verification mail and I was literally going to comment it but then I got the mail just in time, so maybe to anyone out there, maybe be a bit patient as its worth it (or it could totally just be an issue from my side as I spammed it twice or maybe it got congested I am not sure) EDIT: It wasn't that they sent me 2 mails but rather that they sent me 1 mail and I clicked on it and then got another and I thought it was because of me spamming verification twice but it turns out that they sent me a mail because someone had responded to me :) Neato. I really like this.
- onli 1y agoYeah, you need to give it a moment. In active discussions I usually see the reply before getting the notification. I guess the service needs a bit to detect responses, and then each email need a bit of time as well.
- lovich 1y agoCool idea. Separately I didn’t know posts/submissions could be instantly flagged dead and I didn’t know there are decade+ old bots still configured to spam this site https://news.ycombinator.com/submitted?id=VivaTechnics https://news.ycombinator.com/submitted?id=VivaTechnics
- Retr0id 1y agoWriting this comment just to see how quickly it shows up Edit: Felt like it took almost a minute, I wasn't timing precisely because I didn't expect it to take so long!
- jerbear4328 1y agoIt (hopefully) took exactly 30 seconds, the page delays every item until 30 seconds after its posted date. It doesn't poll HN's server, it opens a websocket to the official HN Firebase, and without the delay, items appear in large chunks. I'm pretty sure the HN server syncs with Firebase every 30 seconds, so this is as fast as it can go while still being accurate.
- dzhiurgis 1y agoInterestingly some comments appear as [delayed].
- HotGarbage 1y agoI did this too: https://hn.hotgarba.ge/ https://hn.hotgarba.ge/ Edit: Through my own tool I see this comment got insta-marked as [dead], rude.
- lcnPylGDnU4H9OF 1y agoI wonder if the domain is banned for some reason. Another comment of yours is dead, which includes a link to the same domain. https://news.ycombinator.com/item?id=39669357 https://news.ycombinator.com/item?id=39669357 https://hotgarba.ge/ https://hotgarba.ge/ (Edit: Yep, this comment is dead on arrival.)
- nelsonfigueroa 1y agoLove the domain lol
- Imustaskforhelp 1y agoI checked the github repo and I found out that its a single static html page and ahh I forgot to see that its hosted on github.io as well because of their static hosting, somehow I didn't see it!! Static hosting is super cool and I am going to tinker with it to have monospace-web instead for something like this https://owickstrom.github.io/the-monospace-web/ https://owickstrom.github.io/the-monospace-web/ Thanks a lot for creating this! Appreciate it, I haven't read the source code but I am going to read it oneday (If I don't procastinate lol)! Have a nice day!
- tonetheman 1y ago[dead]
- deleted 1y ago[deleted]
- NetOpWibby 1y agoThis is pretty sweet
- citbl 1y agoIt works, but I'd advise about using the same branding. Consider making it significantly different than the website's comments page to avoid any issues, since it's not part of the webapp nor sanctioned.
- moralestapia 1y ago[flagged]
- citbl 1y agoOkay, maybe you could explain why copying the look of a product to look exactly like the said product, without it being warranted is a worth ignoring and funny?
- fragmede 1y agobecause of the size of the respective offerings. If I were to take someone else's hard work and stick my name on it with sticker big enough to cover their name, I'd be an asshole. But everyone here understands that's not what this is. No one's going to accidentally come across the live feed page, and , critically, give money to this guy when they were originally gonna give money to hacker news instead. So big picture, you're right, but this isn't that.
- sebmellen 1y agoThis is so cool. Waiting to see my own comment
- sebmellen 1y agoSaw it!
- pazimzadeh 1y agotest
- ferguu 1y agoThis is awesome!
- fragmede 1y agoOf course, the next thing is to watch for edits and deletes. What gets written and then gets thought better of. What does raw and unfiltered HN think?
- krapp 1y agoNothing actually gets deleted on HN, you can turn on "showdead" in your options to see flagged and dead comments. None of that gets sent with the API, though. There is an API endpoint called "updates" but it's incredibly vague about what it actually shows, or how persistent it is. It might show edits.
- deleted 1y ago[deleted]
- fragmede 1y agoif the user deletes their comment, its contents isn't saved