I'm not sure if everyone noticed, but the primary interesting thing here is NOT that it blocks off domains at certain times (everyone and their dog wrote such scripts for themselves). The nice thing is that each rule is defined as a function, which means that you can put a bit more complex rules inside, or just add some logging and track every name resolution against given domain.
Which actually brings me to question: aren't domain-IP pairings cached by the browser?
Yes, but it modifies the response to have a very low TTL so that it's cached only for a show while (in as far as browser actually get the query response).
How is this at the top of HN? Apparently people that need this stuff sit on HN and vote it up. If you don't want to go to these sites I have some advice: Don't go to them.
Commenting online becomes addictive. It becomes a horrible time sink and a useless waste of time. Either arguing with people who don't understand anything, or endlessly circle-jerking with people who have the same viewpoint as you. Some even fall into the trap of believing their "karma" score somehow means something. All it means is how much time you waste online commenting.
Once you start commenting online, you can't easily stop. So it's not as simple as "Don't go to them".
It's strange how often comments like these crop up on various topics, because they're difficult to understand. The core of your argument is "I don't have this problem, so therefore no-one does". I mean, you are aware at at some base level that people are different right? They have different thoughts, weaknesses and so on.
If tools like this can help, then that can be nothing but a good thing, I don't think there is any need to be derisive about it.
And I suppose then that you are one of those people who believe that advertising does not work on them because they have made up their mind not to be affected by it?
Nice effort. Having tried RescueTime and more crazy tools last year, I realized it's in the doing. If you enjoy it nothing can distract you. If you really don't enjoy it from inside (i.e. if your ends are not aligned with the going), nothing can help you. It's better to alter your mindset about your work. Spending 3 days on that = lesser distractions for long time.
This, like other github themes, has bad CSS that makes the monospaced text come out as serif on Linux. I know the github crew uses Macs but it makes me a little sad to see they don't test on the system that spawned their namesake. :(
code {
font-family: "Lucida Sans", Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal;
}
Which is simply a poorly made rule, regardless of browser and OS. If you don’t have any of the specified fonts, your browser will use its general default font, which is usually either “serif” or “sans-serif”.
The font-family for the monospaced text is "monospace, serif". Any decent Linux system and/or browser would define "monospace" appropriately. Sounds like the problem's on your end.
It's amazing that we, who like to think of ourselves as do-ers, need tricks to keep us focused on the goal. Not that I'm criticizing: I use no less than 3 similar tools at the same time, and I still have trouble. What is wrong with us!
It's funny how a distracting website recommends you tools to avoid being distracted. Suppose I'm using this tool to block HN, now I feel like I'm missing out on a new tool! Geez.
I don't find HN distracting in the least, if anything the content here compared to sites like reddit is much more focused and often applicable for my startup.
I once spent a couple of hours writing a bash script that edited my /etc/hosts file (e.g. resolve facebook.com to 127.0.0.1), and then ran that using crontab to allow some breaks during the day.
It was fun, but then I had to go back to work. ;-)
On a similar note, can anyone suggest tools like rescuetime for firefox? The few apps that the Firefox Addons website suggests are all outdated (not compatible with ff4+).
Wouldn't a time tracker app with built-in pomodoro timer and website blocker be the ultimate tool? :) Maybe we could toss in functionality to take screenshots every few seconds and show it back to us at the end of the day.
"After you identify the process listening on port 53, run sudo kill -9 with the process id."
-9 as in KILL? I don't do Python, so I cannot comment on the quality of the project. But this FAQ should be changed. People that know how to stop a process don't need a FAQ entry. People that don't know how to do that shouldn't be trained to think that this is a sensible way to stop a program.
This is a great idea, BUT it'll slow your system so no thanks.
My tip to you guys is to turn off Internet access until you need it, close the browser. When you open Reddit, HN, Facebook or whatever - close it deliberately. Practice that. Move the cursor to the X, push it and MEAN IT.
Am not sure where to approach this question from. How come you don't have python? Surely the effort of installing python is less than the effort to precompile this package?
[+] [-] TeMPOraL|14 years ago|reply
Which actually brings me to question: aren't domain-IP pairings cached by the browser?
[+] [-] _ikke_|14 years ago|reply
[+] [-] drivingmenuts|14 years ago|reply
Question may be kind of silly - I admit, I am not a DNS expert.
[+] [-] spullara|14 years ago|reply
[+] [-] mibbitier|14 years ago|reply
Once you start commenting online, you can't easily stop. So it's not as simple as "Don't go to them".
</recovering addicts view>
[+] [-] JackdawX|14 years ago|reply
If tools like this can help, then that can be nothing but a good thing, I don't think there is any need to be derisive about it.
[+] [-] pbiggar|14 years ago|reply
[+] [-] zorbo|14 years ago|reply
[+] [-] hollerith|14 years ago|reply
[+] [-] ideamonk|14 years ago|reply
[+] [-] Arelius|14 years ago|reply
> It's better to alter your mindset about your work.
Elaboration on this would be interesting.
[+] [-] evmar|14 years ago|reply
[+] [-] demetris|14 years ago|reply
[+] [-] jfoucher|14 years ago|reply
[+] [-] readme|14 years ago|reply
[+] [-] taitems|14 years ago|reply
[+] [-] nooooooo|14 years ago|reply
[+] [-] eblume|14 years ago|reply
1: https://chrome.google.com/webstore/detail/cljcgchbnolheggdga...
[+] [-] DannoHung|14 years ago|reply
[+] [-] pbiggar|14 years ago|reply
[+] [-] pacomerh|14 years ago|reply
[+] [-] beilabs|14 years ago|reply
emacs /etc/hosts 127.0.0.1 reddit.com facebook.com
That has been in my host file for some time now on my work machine.
[+] [-] cdaven|14 years ago|reply
It was fun, but then I had to go back to work. ;-)
[+] [-] jeez|14 years ago|reply
Wouldn't a time tracker app with built-in pomodoro timer and website blocker be the ultimate tool? :) Maybe we could toss in functionality to take screenshots every few seconds and show it back to us at the end of the day.
[+] [-] darklajid|14 years ago|reply
-9 as in KILL? I don't do Python, so I cannot comment on the quality of the project. But this FAQ should be changed. People that know how to stop a process don't need a FAQ entry. People that don't know how to do that shouldn't be trained to think that this is a sensible way to stop a program.
[+] [-] eternauta3k|14 years ago|reply
Yes we do. Just because I know kill doesn't mean I want to run through the source code looking for the way to exit. Specially when there isn't one.
[+] [-] Bjoern|14 years ago|reply
https://github.com/rennhak/ProcrastinatorsHelp
But believe me, if you want to doodle there is nothing going to stop you.
[+] [-] toxik|14 years ago|reply
My tip to you guys is to turn off Internet access until you need it, close the browser. When you open Reddit, HN, Facebook or whatever - close it deliberately. Practice that. Move the cursor to the X, push it and MEAN IT.
[+] [-] fsckin|14 years ago|reply
[+] [-] Argorak|14 years ago|reply
[+] [-] user23409|14 years ago|reply
[+] [-] tferris|14 years ago|reply
[+] [-] pbiggar|14 years ago|reply
[+] [-] unknown|14 years ago|reply
[deleted]
[+] [-] haarts|14 years ago|reply
[+] [-] potomak|14 years ago|reply
[1] http://tomatoes.heroku.com
[+] [-] kmfrk|14 years ago|reply
Works really well: http://macfreedom.com/purchase.
[+] [-] yaix|14 years ago|reply
[+] [-] ya3r|14 years ago|reply