News for hackers. Stuff that matters.
Re:Ask HN: How to deal with internet addiction? by hannob on Sunday January 20, 2019 @12:00PM (#18954006)
I occasionally temporarily redirect certain sites (twitter, HN, reddit) to 127.0.0.1 via /etc/hosts.

This is helpful, though occasionally it creates conflicts when there's a mixup between "lazy pages" and things I want to get done (e.g. sometimes twitter DMs are the way I reach people).

Re:Ask HN: How to deal with internet addiction? by yzb on Sunday January 20, 2019 @12:03PM (#18954028)
Just put the domains in your ublock origin list. That way, if you visit those pages, you will be displayed a page that says that the site was blocked but you have a button to temporarily override the block.