How to read Hacker News threads with most recent comments first
til.simonwillison.net
til.simonwillison.net
I wanted something that allow me to read HN with oldest comments first (without being "manipulated" by the karma ranking), offline on my own machine, only updates the frontpage max once per hour and making it easy to follow along submission comments I'm really interested in to read everything in, so that's the goal with the client over. Using Tauri + ClojureScript (https://codeberg.org/ditzes/ditzes)
It's far from done, but felt relevant to this submission so figured I'd share it. To get the latest comments, go to the bottom and scroll up :)
Edit: A more exciting example as this submission doesn't have a lot of comments as of writing this comment, the "ChatGPT Plugins" story (730 comments), might take a bit longer to load the comments so you might have to be patient: https://ditzes.com/item/35277677
I like what you're making.
It'd be nice to have a hexchat script to insert your URLs into the ##hntop IRC channel, instead of the ycombinator links...
If I accidentally hit reload in my browser? Or Firefox unloads the tab and then I switch to it briefly before quitting the browser (which probably causes a re-fetch)?
Real newsreaders and mailreaders maintain their own "read-ness" bits and give you nice tools for manipulating them effortlessly. Stuff like "catch up" (mark everything read) or "mark subtree as read" or "mark subtree as ignored". Anybody who has used GNUS knows how nice this is.
Trying to shoehorn this into a browser worldview is a losing battle.
I then have a UserScript to make them more obvious:
window.setTimeout(() => document.querySelectorAll('.__rhn__new-comment-indent').forEach(it => it.style.backgroundColor='orange'), 1000)
Prior to that I had a UserScript that would actually parse the `document.querySelectorAll('.age[title]')` to highlight the "newer than what"Yes, even with that, sometimes a thread is so convoluted and so long, that is hard to follow. But we have “fold” and “next”, too ;)
javascript: (() => {
const id = window.location.href.match(/\d+$/g)[0];
window.open(`https://hn.algolia.com/?dateRange=all&page=0&prefix=false&query=story:${id}&sort=byDate&type=comment`)
})();What is a harder challenge is how to read the comments that are on topic whilst skipping those that derail the topic with a ranty tangent or bikeshedding, usually generating a mass of less valuable comments in reply.
(I'm aware there could be irony in me posting this at a tangent but I hope it's at least close enough and not ranting or arguing about an obscure aspect)
I enjoy HN enormously, both the articles and the comments but it does seem increasingly prone to derailing that often masks a load of interesting/valuable comments.
Of course one person's side issues is another person's central issue, so this may be somewhat intractable.
The best way I've seen see far is simply to close an entire branch of comments as soon as it's clear someone is derailing and then move down, hoping that the next set stay on topic.
As someone mentioned, one could also use the HN plugin on Steampipe[1] to query among other things, threads with comments sorted reverse chronologically. (Disclaimer: I work on a cloud-version of Steampipe)
lynx gopher://hngopher.com :pAnother option would be to improve the UX, with VS Code inspired vertical lines that make it easier to track indentation. Not as fancy though!