Firstly, lets make sure you do your day job well, and then others will (hopefully) follow. I do this in two steps:
For interesting articles during work time I always save them for later. This is usually using Pocket (getPocket.com) but there are other tools. Later I read them when I am in the mood to read the interesting articles. This way, I try to limit wasted time.
For when I want to add a comment, I actually plan to only do it 2-3 times a day, and at most in 15 minute slots each time. This again puts an upper limit on my time on non-work tasks.
Once you do the above, you realize how much time you were wasting on non-essential things. And from there, you can take on other fun projects.