https://github.com/ErikHarmon/hncleanse/blob/master/hncleans...
Mainly I filter by entire sites, which helps a lot. I won't miss many technical articles by filtering nytimes, and if I do, I can live with that.
I'll take PRs or suggestions, this was a ten minute project to scratch an itch.
'npr.org', // depressing
'nytimes.com', // will probably annoy me
This patch also makes for an amusing HN experience and might answers the inverse "Ask HN: Is there a way to see only non-technical posts?" --- a/hncleanse.user.js
+++ b/hncleanse.user.js
@@ -148,7 +148,7 @@ while ((elem = result.snapshotItem(i)) != null) {
if (shouldRemove || crap != null) {
var reason = shouldRemove?('site '+sitebit):('terms '+crap);
console.log(reason+': '+title);
-
+ } else {
var subtext = athing.nextSibling;
subtext.parentNode.removeChild(subtext);Odd, I was sure I had a lobste.rs account but it says my username is invalid. Do you have an invite available?
From there, you could blacklist the stories tagged with subject matters you dislike. Folksonomic tagging (https://en.wikipedia.org/wiki/Folksonomy) sounds complicated but when implemented as a wiki-style system, it can actually work quite well.
The Danbooru-like image board systems (e.g., http://danbooru.donmai.us) likely are the best examples of this approach.
EDIT: Let me elaborate: This use of flagging, like the suggested flagging of political articles is an abuse of the HN flagging system. If you do not feel that a story is upvote-worthy, don't upvote it. I, and most other users, have never flagged anything. Using flags as some sort of ersatz downvote to enforce your personal preferences is abuse of the system.
Off-Topic: Most stories about politics, or crime, or sports, unless they're evidence of some interesting new phenomenon. Videos of pratfalls or disasters, or cute animal pictures. If they'd cover it on TV news, it's probably off-topic.
Also even if 99% of political stories are off-topic that still leaves some gigantic number on-topic, and some handful of them are part of something more interesting that would gratify one's intellectual curiosity.
I think it would be more pragmatic to just submit stories you want to see and regularly read the New page to upvote stories you like.