News for hackers. Stuff that matters.
Re:Ask HN: How can I remedy scatter brain and information ov... by brm on Saturday December 06, 2014 @04:31PM (#8710284)
It's an app that doesn't work in the specific way that you wish, but I have found leechblock to be a wonderful addition to my internet life: http://www.proginosko.com/leechblock.html

You can eliminate large swaths of the internet from loading in your browser and control what sets of sites are blocked when.

Re:Ask HN: How can I remedy scatter brain and information ov... by wicker on Saturday December 06, 2014 @05:52PM (#8710512)
I was having trouble with Leechblock until I realized I could redirect the page to something like a static image. I often find myself blinking and staring at a Leechblocked result without quite knowing how I got there, particularly from the middle of a flow state. (I'll be hacking on something and randomly open browser, ctrl+l, "reddit.com" without conscious thought.)

I change up the image every few days but I try to have it point to something like the recent Orion launch or a trip photo from the Portland Hikers Field Guide. Instead of redirecting to Google's homepage (which is what I did at first), seeing the image gives me positive reinforcement to pause and be more mindful about what I'm doing, where my head is at, etc.

It's been an enormous help in instilling my habit to stay focused.

Re:Ask HN: How can I remedy scatter brain and information ov... by javajosh on Saturday December 06, 2014 @04:37PM (#8710303)
On osx and linux, you can edit your /etc/hosts file to "uninstall" domains (e.g. reroute them to localhost). The barrier-to-edit is involved enough (prompt for root password, invoking an editor, etc) to at least slow you down before you undo the block.
Re:Ask HN: How can I remedy scatter brain and information ov... by el_benhameen on Saturday December 06, 2014 @05:21PM (#8710413)
I set a simple cron job to do just this. Weekdays from 9-5, Facebook, Reddit, and a few other sites are routed to localhost. Getting around it is more of a pain than just opening an Incognito tab, which is all that's required to get around a blocking browser extension.

Just having that schedule imposed on me for a few days was all it took for me to get out of the habit of opening a new tab and heading to one of the aforementioned sites any time I ran into a difficult problem. I've noticed an increase in my productivity, and I don't really even feel the need to twiddle away that time anymore.

Re:Ask HN: How can I remedy scatter brain and information ov... by ozim on Sunday December 07, 2014 @02:05PM (#8713170)
There is hosts file on windows as well and you can do same thing ;)