Avoiding procrastination is about discipline - if it's a problem, address the root cause, don't just chop off the leaves (sorry for the terrible analogy).
Compare it to say, quitting smoking. If you want to quit smoking, do you ban yourself from entering all places that sell cigarettes, and cut off contact with all your friends who smoke? Of course not! If you truly want to quit you ought to be able to go anywhere, do anything, talk to anyone, and still not smoke. It may not be pleasant but being able to do that == being able to truly control the problem.
Yes, actually that's a great way to quit. Find out what triggers you and avoid it. Changing your environment is incredibly beneficial.
"It may not be pleasant but being able to do that == being able to truly control the problem"
Who cares about controlling the problem? It's not a drug addiction where a single relapse can ruin your life. If a simple environment change allows me to spend 2 hours learning each night instead of on hackernews... Well that's a win.
Well, if procrastination is liable to hinder you in buckling down to learn things, it's pretty important to find a way to really control it. Otherwise HN/the internet will be just be replaced by some other distraction offline.
How likely is it that your procrastination is really limited to whatever manifestations it currently has on the internet, rather than being a general problem you have to correct?
If it really is limited to certain sites, then getting offline or blocking those sites is a reasonable productivity hack, but otherwise you're just sidestepping the real issue and it'll only come back to bite you in other ways later, no matter how many times you change your environment.
I don't think procrastination is the problem with most people spending time on learning. Personally, I've found it is simply an issue with distraction/focus/energy/motivation like going to the gym.
I've spent an hour learning per work day for the last two years simply by going to the park after work and reading books/writing in my notebook. I've missed maybe a dozen days in the last year. Yet, if I get on my computer at home intending to study... i hardly ever end up doing anything useful.
Going without internet can be a great way to dim the lights and regain focus. It also eases your dependency on convenience and encourages you to plan ahead.
Just poison your whole pack! But seriously, for those who don't want to deal with fixing their lack of discipline right now, I highly recommend SelfControl and its counterparts on other platforms. Block the procrastination-inducing parts of the internet like reddit and HN, keep all the important parts it's impossible to learn without, like StackOverflow.
(Restrict it for less and less each day, and maybe you'll find yourself weaning yourself off like cigarettes. I haven't made it that far yet.)
This has worked out surprisingly well!
Every so often I plug in, download some pages, and then unplug and go sit down to read. If I get an idea while reading I jot it down and go back to my reading. The next time I get up to go plug in, half the things I thought I wanted to look at are no longer interesting.
At work, unplugging is not an option. I do all my work inside VMs. In my main work VM I've edited /etc/hosts to block HN, Reddit, and other distractions. I have a separate VM that I use for personal mail and leisure browsing. When I'm not using this VM I shut it down and if I want to browse the web I have to boot it up again.
All this has done wonders for my focus while not being quite as drastic as cutting the cable.
Maybe- maybe not. For me, it was getting a 'third' place- somewhere that isn't work and isn't home. Work is for work, and home is for play.
There's a nice 24 hour diner (sans wi-fi, so I'm kinda in accord with you here) between me and work where I can have a serving of toast while clacking away on my laptop.
So my M-F schedule is work from 8-5, personal work from 5-7ish, and then home (or bar staggering) from 7 on.
My comment was a bit of a knee-jerk reaction, I just wanted to present another option- especially for those that don't have the luxury of living alone like me!
If you're on a Mac, Dash.app is a great way to read documentation, distraction free. No internet required (after you downloaded the docs you need).
So brave, don't think I can ever do that, I just use browser extensions like Leechblock to block certain website after a period of time to fight procrastination
Some other ideas...have a pipeline and modest goals. Be happy if you read 45 minutes every day and don't think you need to read giant text books to learn. Find slim books! 150 pages max. But get really, really good books from the masters in your chosen field.