Anything requiring sudo or su is not enough: too easy to just take the habit to type the password very fast. What I've found that works is using the command "lockout" 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).
Another approach is to block the websites in your router settings and to make that password very long, assuming you don't need to access it as often as sudo.
Noprocrast (2010)
91–100 of 108 posts
Re: Noprocrast (2010)
#92Checkout these two files
https://github.com/Shokodemon/smallhacks/blob/master/sh/depr...
https://github.com/Shokodemon/smallhacks/blob/master/sh/proc...
Re: Noprocrast (2010)
#93I added Reddit and some other sites to my uBlock blacklist because most of the time I would end up there unwillingly. Control + t (new tab), red (autocomplete to reddit) and enter. Muscular memory. Now uBlock tells me that the site is locked, I realize what I'm doing and I close the tab. That muscle memory is now gone. Sometimes duckduckgo returns me some useful reddit links and uBlock gives me the option to allow it…
So what I did then was blocking specific subs (well, one actually, my national sub) in which I felt compelled to correct people all the time. On each browser on each computer I use, I installed an extension like "Silent Block" which allows to blacklist the URL you want with a regex (".* reddit.com/r/yourmostlovedandhatedsub.* "). Unlike /etc/hosts and similar methods, you don't have to block a whole domain, the control is finer.
So I can still freely view technical or whatever subs with which I don't feel engaged, and follow links to Reddit from search engine or other sites.
It's been over 1 year that I set up this system, and I never bypassed it. It's working fine for me.
Or perhaps Ublock blacklist allows this kind of 'fine grain' blocking too?
Re: Noprocrast (2010)
#94Fwiw, I'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…
That said, I also do something like OP to block out some sites, but that really only is important as I “get the ball rolling”. I noticed myself habitually tabbing to twitter or something whenever I got to a “hard part”
Re: Noprocrast (2010)
#95Re: Noprocrast (2010)
#96Earlier quoted context omitted.
You could still change to LTE on your phone. Just sayin...
I find some phone use to be fine, the worst productivity breaker is tabbing to Reddit/HN/etc when you were focusing. Switching to your phone is already enough to a break from focusing where it's not a big deal. Plus you could just leave it in another room. It's like what doctors recommend for bad sleep habits is to keep the bedroom/bed for sleeping only - don't spend hours using screens or eating in bed, then your bo…
Re: Noprocrast (2010)
#97I've been trying various "noprocrast" approaches over the years, including /etc/hosts and HN'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). More details about implementation: http://jacek.zlydach.pl/blog/20…
Doesn't that break with DNS over HTTPS (default on Firefox these days)?
Re: Noprocrast (2010)
#98Putting 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't make use of those mechanisms--back to square one.
Re: Noprocrast (2010)
#99I added Reddit and some other sites to my uBlock blacklist because most of the time I would end up there unwillingly. Control + t (new tab), red (autocomplete to reddit) and enter. Muscular memory. Now uBlock tells me that the site is locked, I realize what I'm doing and I close the tab. That muscle memory is now gone. Sometimes duckduckgo returns me some useful reddit links and uBlock gives me the option to allow it…
That method didn't work for me (if I am thinking of the same thing you are describing, not sure). I would soon routinely unblock Reddit, so the block would become useless in achieving its purpose and become just an annoying extra layer. So what I did then was blocking specific subs (well, one actually, my national sub) in which I felt compelled to correct people all the time. On each browser on each computer I use, I…
Re: Noprocrast (2010)
#100I added Reddit and some other sites to my uBlock blacklist because most of the time I would end up there unwillingly. Control + t (new tab), red (autocomplete to reddit) and enter. Muscular memory. Now uBlock tells me that the site is locked, I realize what I'm doing and I close the tab. That muscle memory is now gone. Sometimes duckduckgo returns me some useful reddit links and uBlock gives me the option to allow it…
I had to do the same with a number of my favorite news sites, including hacker news, while I’m working. It was shocking how many times I would open the browser to Google something and find myself reading stupid political news instead of working. I also installed a cli google searcher. That was helpful too.