TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Noprocrast (2010)

155 pointsby ChankeyPathakalmost 5 years ago

35 comments

TeMPOraLalmost 5 years ago
I&#x27;ve been trying various &quot;noprocrast&quot; approaches over the years, including &#x2F;etc&#x2F;hosts and HN&#x27;s own noprocrast settings. The one that finally worked for me was disabling distractions directly on the router - it covers all my computers, as well as my phone. I set it so that distracting sites are disabled during work hours (Monday-Friday, 08:00 - 18:00).<p>More details about implementation: <a href="http:&#x2F;&#x2F;jacek.zlydach.pl&#x2F;blog&#x2F;2020-05-25-blocking-distractions-with-mikrotik-router.html" rel="nofollow">http:&#x2F;&#x2F;jacek.zlydach.pl&#x2F;blog&#x2F;2020-05-25-blocking-distraction...</a>.
评论 #23951492 未加载
评论 #23952068 未加载
jgiliasalmost 5 years ago
Fwiw, I&#x27;ve found that the inversion approach of fighting procrastination works considerably better for me. So, instead of trying to not do something I try to do something instead. In more detail this means focusing on achieving a certain amount of deep work hours per day. First this means that I have to condition myself to want to do deep work in the first place. Rereading the first few pages of the book from time to time helps with this part.<p>Also, if the last thing I think about before falling asleep is about what it is that I wanted to do next, then the next day starting to do meaningful work is a lot easier, as I actually feel like I want to try this thing I thought about. Keeping a work logbook is another good method in being able to start up easier, as you can just pick the easiest item in the list and do that. Once the ball starts rolling and you get deeper in the zone, then procrastination is rarely much of a problem.
评论 #23952517 未加载
评论 #23953144 未加载
Apocryphonalmost 5 years ago
I don’t know if the OP is even on Facebook, but I it noteworthy that it’s not on their list of sample blocked sites. I don’t find FB to be addictive either, unlike a lot of people. Usually when I check it, I find myself a quick skim of notifications and the newsfeed to be sufficient, really just a minute or two a day. It runs counter to the popular narrative of Facebook addiction.<p>Anyone else feel that way? I wonder if it’s because Facebook has no longer become a place for novel content, and there’s an aversion to lingering on it. Of course this is my personal opinion, but I do think it’s easier to find topical content on Twitter and HN, and so they’re more distracting and worth blocking.
评论 #23950823 未加载
评论 #23951924 未加载
评论 #23951604 未加载
评论 #23950926 未加载
评论 #23951002 未加载
pandatigoxalmost 5 years ago
There are also the apps, Self Control available for MacOS[1] and Cold Turkey[2], which is an universal app.<p>[1]: <a href="https:&#x2F;&#x2F;selfcontrolapp.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;selfcontrolapp.com&#x2F;</a> [2]: <a href="http:&#x2F;&#x2F;getcoldturkey.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;getcoldturkey.com&#x2F;</a>
评论 #23950902 未加载
评论 #23953332 未加载
sirodohtalmost 5 years ago
Disabling access from &#x2F;etc&#x2F;hosts has been very useful for me, though my similar [1] productivity script did not work as well as I wanted it.<p>For quite some time I had been using hostess [2] to enable&#x2F;disable specific websites, yet this too had a couple of problems.<p>1. Docker Desktop (macOS) keeps appending on my &#x2F;etc&#x2F;hosts without asking me when I start it. This requires usage of `hostess fix` to remove duplicate entries.<p>2. Changing &#x2F;etc&#x2F;hosts requires sudo access, which means I have to keep inputting it when I need to make any changes.<p>Eventually I just `vim &#x2F;etc&#x2F;hosts` instead of `sudo hostess fix &amp;&amp; sudo hostess on news.ycombinator.com`<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;sirodoht&#x2F;productivity.sh" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;sirodoht&#x2F;productivity.sh</a><p>[2] <a href="https:&#x2F;&#x2F;github.com&#x2F;cbednarski&#x2F;hostess" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;cbednarski&#x2F;hostess</a>
评论 #23950493 未加载
评论 #23950471 未加载
ausbahalmost 5 years ago
a side note, but a dimple but effective strategy I use for getting of time consuming websites is to just use a password manager for all my accounts on those sites. logging out of those accounts, and having the password only be accessible via another long and complicated password (to access the password vault) is usually enough of a barrier in the moment
评论 #23949937 未加载
评论 #23950984 未加载
puttycatalmost 5 years ago
The only no-procrast tool that is absolute and unforgiving enough to actually stop me from procrastinating is Self Control [1] (MacOS only afaik). Anything else which offers an escape hatch will always be useless for professional procrastinators.<p>[1] <a href="https:&#x2F;&#x2F;selfcontrolapp.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;selfcontrolapp.com&#x2F;</a>
评论 #23951951 未加载
mnd999almost 5 years ago
Do you have a script to stop you procrastinating by writing scripts though?
评论 #23951432 未加载
评论 #23950988 未加载
nojsalmost 5 years ago
The problem with this approach is HN, reddit are necessary for work. I search HN all the time for technical info to avoid the blogspam and SEO marketing crap on Google. For me, the key to managing procrastination has been accountability - tracking my time and making myself radically accountable to friends I respect.
saagarjhaalmost 5 years ago
Hacker News also has a noprocrast feature that’s designed to keep you away from the site for a while if you’ve been using the site for too long. It’s a little buggy with how it does detection, though, so I have it turned off.
评论 #23950670 未加载
评论 #23951701 未加载
raldialmost 5 years ago
<p><pre><code> echo `date` </code></pre> could be expressed as just<p><pre><code> date</code></pre>
thomalmost 5 years ago
I have found few things as effective as shutting down my X server and just working in Emacs in the console. Obviously less useful if you&#x27;re doing web stuff (although NetSurf exists).
评论 #23950179 未加载
danicgrossalmost 5 years ago
I used to have script that would gradually dim my display unless I typed.<p>The broader issue for me isn’t a particular website. It’s brain-dead consumption of feeds. Typing guarantees that you’re thinking a little.<p>Even with email, it made me less likely to overthink things. It gave a bias to action. Keep moving, keep typing.<p>I had a whitelist of exceptions (IntelliJ, Terminal, etc).<p>Unfortunately the script broke a few years ago. I keep on meaning to fix it but I’ve been too busy reading feeds.
评论 #23951163 未加载
ISLalmost 5 years ago
Thanks for the catalyst to re-enable my &#x2F;etc&#x2F;hosts approach to simplifying my life.<p>I&#x27;m surprised to see that adding:<p><pre><code> 127.0.0.1 youtube.com www.youtube.com </code></pre> to &#x2F;etc&#x2F;hosts doesn&#x27;t seem to block youtube, but every other line I added blocked&#x2F;routed as expected. Is there something special about youtube and chromium?
评论 #23950875 未加载
评论 #23950664 未加载
评论 #23950349 未加载
zitterbewegungalmost 5 years ago
I&#x27;ve tried various versions of Noprocrast as a chrome and safari extensions.<p>I feel like that it falls into the category of that it will be 50&#x2F;50 that it will work for you or not.<p>For me I would eventually circumvent the whole thing anyways. You may also want to think about why you are procrastinating? Then figure out how to alleviate that.
kissgyorgyalmost 5 years ago
You can do this with Pihole blacklist, which not only apply this to your current machine, but your whole network.
CodeWriter23almost 5 years ago
SelfControl is a free hosts file based blocker with some added features that prevent you from undoing your own blocks until the specified time period has elapsed.<p><a href="https:&#x2F;&#x2F;selfcontrolapp.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;selfcontrolapp.com&#x2F;</a>
ashton314almost 5 years ago
This is great. I might start using this.<p>I really appreciate that HN has a noprocrast tool. I’ve also used Apple’s Screen Time feature to help me break away from distractions. While I feel such tools are crutches for good self-control, <i>I</i> am not yet disciplined enough to not need them some times.<p>Facebook claims to care about its users. I think that’s hogwash. If FB <i>actually</i> cared I think they would have settings to enforce limits on engaging with their platform. But of course they have no incentive to do that because it cuts into their revenue stream. Apple has little problem putting limit tools in place because they get money just when you buy the device—not necessarily every time you use it.
idclipalmost 5 years ago
I too had my go at this, and it was very effective<p>Checkout these two files<p><a href="https:&#x2F;&#x2F;github.com&#x2F;Shokodemon&#x2F;smallhacks&#x2F;blob&#x2F;master&#x2F;sh&#x2F;deprocrast.sh" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Shokodemon&#x2F;smallhacks&#x2F;blob&#x2F;master&#x2F;sh&#x2F;depr...</a><p><a href="https:&#x2F;&#x2F;github.com&#x2F;Shokodemon&#x2F;smallhacks&#x2F;blob&#x2F;master&#x2F;sh&#x2F;procra_targets.txt" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Shokodemon&#x2F;smallhacks&#x2F;blob&#x2F;master&#x2F;sh&#x2F;proc...</a>
vsskanthalmost 5 years ago
Can someone please help me with how to achieve the same thing on windows that works on any browser ? I tried some DNS blocking programs and can&#x27;t get anything to work properly.
评论 #23950184 未加载
评论 #23950483 未加载
评论 #23951814 未加载
评论 #23950094 未加载
评论 #23950134 未加载
评论 #23950594 未加载
评论 #23950229 未加载
评论 #23951600 未加载
Darmodyalmost 5 years ago
I added Reddit and some other sites to my uBlock blacklist because most of the time I would end up there unwillingly.<p>Control + t (new tab), red (autocomplete to reddit) and enter. Muscular memory.<p>Now uBlock tells me that the site is locked, I realize what I&#x27;m doing and I close the tab. That muscle memory is now gone.<p>Sometimes duckduckgo returns me some useful reddit links and uBlock gives me the option to allow it temporally which is a few minutes. So even if I start messing around after a while it blocks me again.
评论 #23952431 未加载
评论 #23951760 未加载
henearkralmost 5 years ago
Anything requiring sudo or su is not enough: too easy to just take the habit to type the password very fast.<p>What I&#x27;ve found that works is using the command &quot;lockout&quot; with some weird modification of the sudoers file in order to allow only certain commands with sudo (or other commands with only certain arguments not matching forbidden patterns).
评论 #23950610 未加载
评论 #23951523 未加载
评论 #23952132 未加载
punnerudalmost 5 years ago
Run this on a Raspberry Pi in combination with DNSmasq, and point your routers DNS to Raspberry. Then you have a universal solution for all your devices at home, and that works for Chrome+Firefox. Most routers can have 2x different WiFi SSID with different DNS-settings, so you don’t get complains from your loved ones.
croutonwagonalmost 5 years ago
I messed around with the settings in HN the other day and managed to enable the procrastination settings. Was locked out for a couple hours....<p>That’s what I get for just toggling things. It’s been a habit since I was a child, if we visited a house or rented a car I would flip any switch or touch any button or knob I could reach.
评论 #23951175 未加载
zucker42almost 5 years ago
There&#x27;s a browser extension called &quot;Leechblock&quot; that I use and is good for this purpose.
chinathrowalmost 5 years ago
I have (had!) a similar setup via &#x2F;etc&#x2F;hosts blocking HN and other sites. Entering a quick sudo gedit &#x2F;etc&#x2F;hosts has been so common, that my plan utterly failed.<p>I then blocked some sites on the router. Too bad the cell phone has a decent 4G connection... oh well.
readarticlealmost 5 years ago
For a natural &amp; organic form of noprocrast, one can also try cultivating a crippling phone &#x2F; tablet addiction that reduces any device with a keyboard to “work”.<p>Actually works quite well provided you keep the drugs in another room, it’s a shame I’m an iOS developer.
gavrehalmost 5 years ago
Here are some good, maintained lists: <a href="https:&#x2F;&#x2F;github.com&#x2F;jmdugan&#x2F;blocklists" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jmdugan&#x2F;blocklists</a>
satvikpendemalmost 5 years ago
I&#x27;ve tried this but browsers like Chrome (and perhaps Firefox as well) will ignore the hosts file and use Google&#x27;s DNS servers to resolve sites that are blocked by hosts.
Funes-almost 5 years ago
Only a strong sense of purpose and an equally strong will to sacrifice everything we use to evade oursleves from our own lives will keep procrastination at bay. Nothing else creates deeply rooted meaning. Nothing else really works.<p>Putting hurdles between us and our distractions will, at worst, start a vicious cycle of circumventing them and putting them up again; at best, make us dependent on them so we resort back to our bad habits whenever we can&#x27;t make use of those mechanisms--back to square one.
darkhornalmost 5 years ago
Why 127.0.0.1? It shows my website.
tarulahsanalmost 5 years ago
Great tool. i think i can use it for my kids
chooseanamealmost 5 years ago
gasmask on mac allows you to swap &#x2F;etc&#x2F;host files also.
mmcgranaalmost 5 years ago
This post was scraped from my old technical blog: <a href="http:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20100423003857&#x2F;http:&#x2F;&#x2F;mmcgrana.github.com&#x2F;2010&#x2F;03&#x2F;noprocrast.html" rel="nofollow">http:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20100423003857&#x2F;http:&#x2F;&#x2F;mmcgrana.gi...</a><p>Looks like the site has a few other scraped posts as well.<p>FWIW I no longer use this exact noprocrast(1) approach to avoiding procrastination, but do apply the same basic idea.
评论 #23953488 未加载
评论 #23953581 未加载
tangoalphaalmost 5 years ago
Deleted
评论 #23950616 未加载