Productivity++ or how I stopped bad browsing habits

Like anyone that works at their computer all day, I have to make a point of staying productive through periods of waiting. Waiting for an app to load, for a file to process, or anything else that takes me out of the Flow, and my habit is to reach for Firefox and pull up Facebook or Digg. These two sites really offer no value during the workday. Zero. Unfortunately they are horribly addictive.

Well, I’ve tried putting extensions on Firefox, but sometimes I’ll end up browsing with Chrome and BAM, before I know it I’m commenting on a photo of someone’s car or reading about the latest LOLCat to set the tubes on fire. Well my New Year’s Resolution was to put an end to this and at the very least start visiting sites that advance my life in some way.

So here’s what I’m doing and it’s working so far. See, most every computer nowadays has a “hosts” file, which takes precedence over  everything in determining how a URL gets mapped to an IP address. By editing it strategically, you can redirect any attempt to visit one site to another. Wikipedia has a nice article on hosts files and how they work, but their links to instructions are poor. Try these instead:

Windows XP/Vista/7: http://www.fpweb.net/support/managed-hosting/hostfile-editing-support.asp

Mac: http://ocaoimh.ie/mac-os-x-how-to-update-etchosts/

Neckbeard

Linux users already know this stuff.

So what you can do with your hosts file is map a site that you want to stop visiting to one that you want to start visiting. If you habitually type digg.com into your browser, then that will get remapped. Here’s what you need to do to map digg.com to answers.unity3d.com (because reading the Unity Answers site will certainly enrich you in some way)

  1. Open up your hosts file per the above instructions
  2. Get the IP address of answers.unity3d.com by opening up a command line/terminal and typing ‘ping answers.unity3d.com’ minus the quotes.  In this case it is 64.34.80.165
  3. In the hosts file, add a line that looks like this:       64.34.80.165   digg.com  #digg->answers.unity3d.com
  4. Then add a line that looks like this:       64.34.80.165   www.digg.com  #digg->answers.unity3d.com
  5. Save the hosts file
  6. Try visiting digg.com and enjoy your self-administered smackdown.

I’ve already found that this has helped me break some bad browsing habits.



One Thought

  1. Ben says:

    So, this hasn’t worked out as well as I’d hoped. Hosts just blocks the domain alone… if there’s anything additional in the URL, it lets it through!

    Luckily just knowing that I have the barrier there has gotten me to be more disciplined as I feel bad circumventing my own crappy system. :)

Your Thoughts...


All content © Copyright 2012 by Ben Throop.
Subscribe to RSS Feed – Posts or just Comments

Powered by WordPress
Based on a Theme by Graph Paper Press