99 points · by quiet_light · 3y ago · 46 comments
Ironically, since this was the first time I built an extension chat-gpt helped build 90% of the extension since . Also once installed, this show hn will disappear from your feed too :)
Firefox : https://addons.mozilla.org/en-US/firefox/addon/hacker-news-f...
Github : https://github.com/prashantkhurana/Hacker-News-Filter-AI
People would speak of "the net" c. 1999 similarly, like it was this nebulous creature rising up off its operating table! I guess we say "cloud" now so maybe nothing's changed.
I find it a bit strange (although entirely predictable) that some people would try to forget about whole matter and hide from it as if it did not exist. The reality is that the IT world is going to go through some fundamental shifts in near future and very likely a lot of people will either lose jobs or do completely different work or do it with a completely different set of tools and skills.
We are now all trying to figure out what's in store for us and prepare for it, or be left out.
I find articles on HN actually pretty useful. And unlike some other hysterias, the whole preoccupation with AI to be healthy and useful.
We have been hearing this for a decade, that's why we are sick of hearing it again. Just do the fundamental shifts already.
But that's not true. What we have been seeing was attempts that looked marginally useful. Helpdesk chats that were only able to handle simplest problems and would respond with something stupid more often than not. Things that did not really look threatening to actual people doing their jobs well.
What I saw recently, on the other hand, is something that can actually perform useful, novel work and that can actually replace some marginally productive people. And this is very important difference.
It is much safer for the consumer as the browser extension will automatically update without ever notifying you, and can access everything on every page of every website. It just makes me uncomfortable.
I will port the code out tonight, but thanks very much for sharing!
EDIT: Here is the TamperMonkey script: https://pastebin.com/D555pGkj (sorry it's not installable in one click, I didn't want to share my GitHub account)
Just the other day I wanted to pick up where I left off on 'Crime and Punishment' but couldn't remember all the long russian names... So I asked ChatGPT to give me a non-spoiler short description of the main characters ONLY from the first half of the book, and it worked flawlessly.
(Nah, I see how clever this is :p Nice work!)
Here's an example of the filter:
hckrnews.com##.entry:has-text(/(orange|pineapple|kiwi)/i)
Or it could be written as multiple lines if that looks cleaner:
hckrnews.com##.entry:has-text(/orange/i)
hckrnews.com##.entry:has-text(/pineapple/i)
hckrnews.com##.entry:has-text(/kiwi/i)
Missing HN submissions about it won't leave me/you/anyone a barbarian. :)