News for hackers. Stuff that matters.
Re:Show HN: Search HN for interesting comment sections by isoprophlex on Tuesday April 16, 2024 @09:19AM (#40051525)
I built this tool to help me find interesting discussions on Hacker News. I love reading HN discussions almost more than the articles themselves. However, I found that full text search, although highly performant, is not always good at surfacing interesting discussions on a certain topic -- especially if you don't know what to search for exactly.

I built this by scraping the most recent ~6 million posts (that's about 2 years of history) and putting the resulting posts and their vector embeddings into Postgres.

Let me know what could be improved, and if you'd like a more detailed writeup of how this was built :)

Re:Show HN: Search HN for interesting comment sections by RGamma on Tuesday April 16, 2024 @02:28PM (#40055502)
Ah so this is what we wrote about recently. Good job. Would be interested how you did it for sure :) It was really quick too!

Also, somehow this has a relatively big horizontal margin on mobile.

Re:Show HN: Search HN for interesting comment sections by isoprophlex on Tuesday April 16, 2024 @02:43PM (#40055682)
Yes, exactly! Your feedback prompted me to do a quick iteration into something good enough for a Show HN, so thanks :)

I see what you mean about the margin on mobile... note that I'm one of the most unqualified front end people I know and this was mostly done using github copilot, I might not be brainy enough to understand the intricacies of css responsive layouting ;)

I'll post a writeup sometime too!