Show HN: Display all stories and comments for a specific Hacker News user(simonpure.github.io)
simonpure.github.io
Show HN: Display all stories and comments for a specific Hacker News user
https://simonpure.github.io/?user=pg
6 comments
Here's a tip that I use a lot: if you want to follow the latest comments on Hacker News thread, you can do so by taking the ID of that thread (from the URL) and constructing a search query like this one:
https://hn.algolia.com/?dateRange=all&page=0&prefix=false&qu...
That's a search for "story:37804111" for type "comment" (as opposed to "story") ordered by date.
I use this all the time to follow long conversations here - order by most recent comment is a much better way than digging through a huge hierarchy every few minutes to try and figure out what's new.
Wrote this up as a TIL here: https://til.simonwillison.net/hacker-news/recent-comments
https://hn.algolia.com/?dateRange=all&page=0&prefix=false&qu...
That's a search for "story:37804111" for type "comment" (as opposed to "story") ordered by date.
I use this all the time to follow long conversations here - order by most recent comment is a much better way than digging through a huge hierarchy every few minutes to try and figure out what's new.
Wrote this up as a TIL here: https://til.simonwillison.net/hacker-news/recent-comments
You can see all of an HN user's stories and comments just by viewing their profile. Click on their user ID, or use a URL like this:
https://news.ycombinator.com/user?id=pg
Under that profile page, you'll find links for "submissions", "comments" and also "favorites".
You can also use HN search's (https://hn.algolia.com) advanced options to search by user:
https://hn.algolia.com/help
For example, searching for "california author:pg" gives you:
https://hn.algolia.com/?dateRange=all&page=0&prefix=false&qu...
https://news.ycombinator.com/user?id=pg
Under that profile page, you'll find links for "submissions", "comments" and also "favorites".
You can also use HN search's (https://hn.algolia.com) advanced options to search by user:
https://hn.algolia.com/help
For example, searching for "california author:pg" gives you:
https://hn.algolia.com/?dateRange=all&page=0&prefix=false&qu...
However, what I think is a mis-feature is that you can downvote the comments of that user in that view.
I've heard that in some systems, downvoting from this view does not affect karma. Does anyone know if that is the case for HN? Seems like it would be a simple experiment to carry out.
[deleted]
Cool! But can't you already via this from the HN ui?
I have been exploring the Hacker News API [0] a bit and came up with this simple way of exploring a user's past submissions including the comments [1].
It's been fun to dig through some of the old submissions and reading the comments, so I thought I'd share.
https://simonpure.github.io/?user=pg
Caveat: For accounts with a lot of submissions, it may take a while to load.
[0] https://github.com/HackerNews/API [1] https://github.com/simonpure/simonpure.github.io/blob/main/a...