Live data from Hacker News

Get-shit-done - Easy way to stop distractions

github.com

61–70 of 79 posts

Re: Get-shit-done - Easy way to stop distractions

#61
Use to use cumbersome hacks with block lists in routers, but I discovered the SiteBlock extension for Chrome: make a list of "dangerous" sites, and give yourself a fixed time per day to visit them. In my casa, one hour works fine (although I'd probably prefer 2 :p)

Address: https://chrome.google.com/webstore/detail/pfglnpdpgmecffbejl...

Website Blocker seems to be similar, but without a time limit: https://chrome.google.com/webstore/detail/hclgegipaehbigmbhd...

Re: Get-shit-done - Easy way to stop distractions

#63
i'm actually surprised at the amount of time people spend procrastinating on something to help them stop procrastinating...

or even more surprising might be the amount of time i've spent procrastinating by reading about people who've procrastinated by making tools to aid their procrastination...

...I'm going to get back to work :)

Re: Get-shit-done - Easy way to stop distractions

#64
post #32

Why such interest in this script? Besides being written in php, it's also a fairly kludgey approach to managing /etc/hosts. Is it the vulgarities? #!/bin/sh [ $UID -eq 0 ] || { echo "You're not root, asshole."; exit 1; } [ -f "/etc/hosts.$1" ] || { echo "/etc/hosts.$1 doesn't exist, asshole."; exit 1; } cat /etc/hosts.{$1,tail} > /etc/hosts ... sudo ~/bin/stopfuckingoff play

It was a sad day when Red Hat removed the insults from sudo.

Re: Get-shit-done - Easy way to stop distractions

#66
post #8

For Mac users, SelfControl is a GUI approach to this idea: http://visitsteve.com/made/selfcontrol/

One of the best features is that it runs on a timer and you can't cancel it prematurely. Even if you restart.

You can. It uses ipfw, and I think you can reset the rules. At least I managed when I tried it, but this was some 3 years ago.

Re: Get-shit-done - Easy way to stop distractions

#67
I do this, and my scripts have actually gotten kind of complicated.

To start, it's a command line utility. I need to answer the question "Do you want to waste your time?" with "yes" to turn off the filters.

Then I didn't bother running in a way that the script had permissions to edit /etc/hosts so I need to enter my system password every time I want to make a change.

I also automatically turn the filters on every hour.

I also log both the number of times I turn the filters off and whether the filter is on at about 1pm.

I'm running a test right now to not turn on the filters automatically every hour and there is already a noticeable decrease in productivity in my rescuetime.

I'm about to update the logger to use the google charts API to save a historic graph of performance to a directory that is used as my desktop background.

Re: Get-shit-done - Easy way to stop distractions

#68

I do this, although only by saying sudo cp hosts.play /etc/hosts or sudo cp hosts.work /etc/hosts It's simple, and surprisingly efficient.

Does this work with Chrome? I believe Chrome does it's own dns resolution and skips the host file. (I defiantly know it won't resolve localhost if you're offline)

Re: Get-shit-done - Easy way to stop distractions

#69
post #34

I once wrote a similar script which was configurable and it installed as a service. It would periodically scan /etc/hosts to check I wasn't cheating. $ sudo /etc/inid.d/procrastination-ctl start OK. $ sudo /etc/inid.d/procrastination-ctl stop You need to wait 59 minutes before you can stop. Managed to waste a whole day on that one.

> Managed to waste a whole day on that one I love the irony.

I always wanted to rename the script to "/etc/init.d/procrastination" whereby the command "stop" would start the service and vice-versa.

Re: Get-shit-done - Easy way to stop distractions

#70
post #39

Earlier quoted context omitted.

I don't even use bookmarks because it would take longer to click a bookmark than typing "n" for HN (or "r" for reddit or "f" for facebook) and letting Chrome auto-complete and pressing enter, so this wouldn't help me that much.

Oh, I guess I would call myself a "burst typer", so I usually find it faster to just type all or most of the domain than to type one letter and check to see if Chrome got the right thing. But of course that requires a little bit of effort, so it's still just enough to make me consider whether to go there or get some work done. I just subconsciously don't trust one-letter autocomplete I guess.

in firefox i have 'red' already ingrained for reddit, same with 'new' for HN ... it's automatic and you can't tell me typing it all out is faster :P
Post reply on HN