News for hackers. Stuff that matters.
Re:Ask HN: Is it time to fork HN into AI/LLM and "Everything... by heavyset_go on Tuesday July 15, 2025 @11:21PM (#44578374)
Almost certain you can use the HN Algolia to do the same thing by excluding terms
Re:Ask HN: Is it time to fork HN into AI/LLM and "Everything... by simonw on Wednesday July 16, 2025 @01:19AM (#44578927)
I had to switch away from Algolia - the problem is they only model "show items on the homepage" using a tag that's automatically applied to exactly 30 items, which means any filtering knocks that down to eg 15.

I switched to using the older firebase API which can return up to 500 item IDs from the current (paginated) homepage - then I fetch and filter details of the first 200.

https://github.com/simonw/tools/commit/ccde4586a1d95ce9f5615...

Re:Ask HN: Is it time to fork HN into AI/LLM and "Everything... by heavyset_go on Wednesday July 16, 2025 @06:20PM (#44587441)
I should have looked at your source, I didn't realize you were using the Algolia API