I recently built my own feed. On an Android phone, you can have an AI agent SSH in and make changes to it if you're rooted. I replaced the feed on my home screen with links my AI thinks I'd find interesting - it's pretty good!
This is awesome. But you won't believe what occurred after testing this: I went to the supermarket, bought new tech called a "tin can". I opened it, and it contained a ready made meal! What a time to be alive!
They should have have a section only for non entertainment stuff. I don't want to see memes, funny videos . unless im in the mood for it .. I just want things I can learn from most of the time.
They are in the dark UX pattern world, squeezing views per second, selling ads. That's all. The "we give our users something valuable and they will give us profit in return" approach is over since a long time.
HN's Firebase-based API (https://github.com/hackernews/api) makes that easy, until you want to reconstruct the threads (i.e. who replied to who) and then it's annoying.
For years* I've wanted to replace that API with one we operate ourselves, which will simply return a JSON version of any HN URL. I've finally started working on this! Perhaps my favorite thing about LLMs is how they make projects possible which would otherwise not have gotten started. Edit: perhaps I should explain what I mean by that last bit. The way I want this new API to work is (1) HN should use it internally to generate HTML pages, and (2) there can't be any regressions - nothing should change in the web version. This is a pain to get right, as it's easy subtly alter the details, and it's annoying to regression-test everything. Also, (3) with a design like this, it is easy—and critical not to—leak data that ought to remain private (e.g. people's IP addresses) This is the sort of pain and annoyance that LLMs are amazing at taking care of. I get to focus on the parts I want to think about—the design and (yes) the code—and have a tireless assistant do the gruntwork and review. Without this I don't think I'd have gotten around to working on it. * (edit: over a decade in fact - see collapsed reply)
Interesting - and timely! I've just started working on a HN client, and the Firebase API is very barebones (N^M calls to get all comments of a given story), while the Algolia API is unfortunately _almost_ good but the comments are not sorted by popularity (making it more or less useless for a client) (of course I realized that after having coded the client for it).
Now I'm in the middle of implementing scraping of the HTML to get all comments, sorted correctly, in one call... Not fun, needless to say. FWIW it looks like this is the approach taken by the "Hackers" iOS app [1]. I hope your modern API project will see the light of day soon-ish. [1] = https://github.com/weiran/Hackers/blob/master/Data/Sources/D...
Comments (646) 291 threads
Earlier commentsThey should have have a section only for non entertainment stuff. I don't want to see memes, funny videos . unless im in the mood for it .. I just want things I can learn from most of the time.
They are in the dark UX pattern world, squeezing views per second, selling ads. That's all.
The "we give our users something valuable and they will give us profit in return" approach is over since a long time.
I'm actually surprised this was that easy to do, ngl
For years* I've wanted to replace that API with one we operate ourselves, which will simply return a JSON version of any HN URL.
I've finally started working on this! Perhaps my favorite thing about LLMs is how they make projects possible which would otherwise not have gotten started.
Edit: perhaps I should explain what I mean by that last bit.
The way I want this new API to work is (1) HN should use it internally to generate HTML pages, and (2) there can't be any regressions - nothing should change in the web version. This is a pain to get right, as it's easy subtly alter the details, and it's annoying to regression-test everything. Also, (3) with a design like this, it is easy—and critical not to—leak data that ought to remain private (e.g. people's IP addresses)
This is the sort of pain and annoyance that LLMs are amazing at taking care of. I get to focus on the parts I want to think about—the design and (yes) the code—and have a tireless assistant do the gruntwork and review. Without this I don't think I'd have gotten around to working on it.
* (edit: over a decade in fact - see collapsed reply)
https://news.ycombinator.com/item?id=36363325 (June 2023)
https://news.ycombinator.com/item?id=32543023 (Aug 2022)
https://news.ycombinator.com/item?id=28715212 (Oct 2021)
https://news.ycombinator.com/item?id=22788526 (April 2020)
https://news.ycombinator.com/item?id=22496476 (March 2020)
https://news.ycombinator.com/item?id=21798422 (Dec 2019)
https://news.ycombinator.com/item?id=19231674 (Feb 2019)
https://news.ycombinator.com/item?id=19219923 (Feb 2019)
https://news.ycombinator.com/item?id=19058455 (Feb 2019)
https://news.ycombinator.com/item?id=16720397 (March 2018)
https://news.ycombinator.com/item?id=11718683 (May 2016)
Now I'm in the middle of implementing scraping of the HTML to get all comments, sorted correctly, in one call... Not fun, needless to say.
FWIW it looks like this is the approach taken by the "Hackers" iOS app [1].
I hope your modern API project will see the light of day soon-ish.
[1] = https://github.com/weiran/Hackers/blob/master/Data/Sources/D...
All comments shown.
Couldn't load more comments. Check your connection and try again.