In addition to using Self Control, I also like to run a small local web server to display a page like http://phylab.mtu.edu/~nckelley/Focus/ whenever I try to visit a distracting website.
I plan on experimenting with some negative reinforcement by building an Arduino device that shocks me whenever I visit a distracting website when I should be working :D.
[1]
Last time I had this problem, I took a look at my Mac's firewall rules, using ipfw, and discovered that several of the IP addresses used in the block list belonged to popular CDNs (e.g., Akamai). This could explain why static assets (like images) on unblocked sites don't load, but I haven't gotten to the bottom of the other issues.
I think, in my case, anyway, a simple /etc/hosts solution would probably work better than Self Control. Anyone know of one, something more elegant than hacking the file by hand?
It's a chrome plugin that allows me block certain sites. I usually give myself about 10 minutes/day on all of my favorite news sites (including HN).
A browser profile with it's own bookmarks/extensions, a separate virtual desktop workspace, and perhaps launch a set of other apps with windows arranged to suit my multi-screen setup.
I'm sure it can be done, but it's not simple or intuitive.
I think also there is a balance to be had with browsing, often times I'll use ideas or projects I've heard of by looking through HN and other sites. If you factor in how much code you'd have to write if you didn't know about this project I think that a moderate amount of browsing improves productivity.
While easy and non time-consuming, it's powerful in a way that it creates a feedback process. Of course, there's bunch of different reward systems people use besides scoring high points, like earning oneself a cigar, for example. So you can develop one that suits you for more fun.
If you listen to metal, I would recommend Machine Head and Lamb of God as two excellent band for "work mode".
It is actually really good music to do work to, the kind of music that's best listened to when you need to focus and are just kind of tired.
Edit: Oh yeah, I can give a shoutout to Aaron Static though, I met him through EVE Online and he comes out with great new "Power Hour" mixes every month: http://aaronstatic.com/
That's a good way to describe it, I know exactly what you're talking about haha.
Here is the sequence I follow when I realize I've been up for 4 hours and still haven't gotten anything done yet:
- Eat something quick to prepare, if I haven't eaten yet. Watch Mixergy or something while I'm cooking/eating. This is the wind-down from "procrastination mode", and watching Mixergy reminds me that there are people out there busting their asses right now and taking all of my future customers or client dollars.
- Put on some good coding music. This puts my brain into "serious business" mode. I prefer energetic hip-hop or dubstep, something I can bop my head to and feel like a boss.
- Go through all my tabs, Pinboard and tag the ones I want to keep for later, and close all of the tabs that don't apply to what I should be working on.
- Take a post-it note and write down the 3 tasks I am going to accomplish today, come hell or high water.
- Get a coffee or energy drink, have a smoke (not recommended), and use the bathroom. Get my mental game plan together.
- Open Terminal and MacVim. This sets the stage.
- Pick a task that isn't on the post-it note (but needs to be done) that takes 10 minutes or less to bust out. Could be anything from a quick design fix to a wireframe or writing up a quick estimate. This is the warm-up.
- By this point, my brain is in full-on work mode. Jump in and tackle the work.
- Feel good. Eat dinner.
- Play Starcraft.