Hacker News new | ask | show | jobs
by adregan 1154 days ago
Wow! I just blocked Reddit at the router and that did the trick. HN is probably next, but every now and then there is a neat article about APL or Forth that I’m happy to have seen. I suppose I could just block the comments.
3 comments

If that is something that you're truly interested in doing - and are more after just the articles and links...

Current top stories: https://hacker-news.firebaseio.com/v0/topstories.json?print=...

which returns something that looks like:

    [ 35629127, 35627107, 35627790, 35628345, 35630681,  ... ]
And then grab the id's and feed them into https://hacker-news.firebaseio.com/v0/item/35627107.json?pri...

This will return:

    {
      "by" : "danieg",
      "descendants" : 168,
      "id" : 35627107,
      "kids" : [ 35627869, ... 35627413 ],
      "score" : 373,
      "time" : 1681905950,
      "title" : "Making a Linux home server sleep on idle and wake on demand – the simple way",
      "type" : "story",
      "url" : "https://dgross.ca/blog/linux-home-server-auto-sleep/"
    }
Grab the title and url and send 'em to yourself as a daily digest.
Have you tried "noprocrast" in the settings? It limits you to short intervals of activity.
hacker news has a noprocast setting that boots you off of the website if you hang out too long, maybe check that out