Ask HN: How to deal with internet addiction?

111 points by danr4 ↗ HN
I find it hard to keep off from mindlessly browsing the web because I'm so dependent on it as a web developer.

It's become second nature to Ctrl+T and 'fa' for facebook, 'news' for HackerNews, 'red' for reddit, etc. that I barely notice I'm doing it.

I also regularly stay up another hour instead of going to sleep, "to catch up" on things that really don't matter or I can view tomorrow.

80 comments

[ 4.4 ms ] story [ 150 ms ] thread
Try going on a "trip" away from the internet, while staying at home. I mean turning it off for a while, and making a little kind of ceremony about it. It's almost like meditation.

In fact I think temporary internet deprivation is a decent way to describe meditation to most people in this era. But it's not just a deprivation because you'll probably find it quite interesting.

Maybe you'll feel a bit restless, but then remember you're on a trip, it's like you're camping, you need to amuse yourself. Maybe have a bath. Tidy a bit. Maybe even clean your downloads folder. Light a candle. Sit on the floor for a while. See what happens.

Offline life is a pretty good place to enjoy some coziness. The internet usually isn't very cozy. And coziness is nice. It's not like without internet you'll be actually suffering. It's kinda nice.

And then it's "just" a matter of habits. Getting acquainted with the niceness of offline life seems like a necessary first step to start forming any kind of offline habit.

> The internet usually isn't very cozy.

I'm curious in what ways the internet could be made more cozy (?)

Maybe by having less of it shoved in your face in the form of endless lists of vaguely related content engineered to keep your attention.

In a sea of pushed content, I actually find harder to find things I'm genuinely interested in. This may have turned a generation of curious minds into passive consumers.

For example, the paginated list on HN's home page is great: I've never needed to move to page 2, whereas if it has been an infinite list, I'd probably spend way too long there.

That's honestly one thing I love about Wikipedia. It's so easy to just keep clicking links and going to new things.
I feel as though cozy on the internet is a place where things are right and people generally don't argue, they discuss (if that), where you're around people who know and appreciate you, or otherwise engaging in a community sharing the same jokes and knowledge. Where the technology just works and you don't have to mess with Javascript settings, and when you've helped someone out with an issue on your favorite language's IRC channel. Where you watch a wholesome cookery/historical/science video on Youtube...

I expect it varies from person to person.

I'd say arguing is a good thing as long as it's done in a polite and respectful manner.

Unfortunately the lack of context when using text-based communication leaves interpretation errors wide open, and with it come the emotional responses we know and loathe (from angry texting to trolls to flat earthers).

Therefore since the internet is mostly text-based, it's probably better to leave the arguing off it for the moment. But I think the problem is not limited to the internet.

(comment deleted)
Yeah... I think it’s hard. Instant access to global data just isn’t cozy, somehow. Coziness usually involves seclusion of some sort. (Gil Fronsdal talked nicely about this in the second part of his currently ongoing course on concentration in meditation.) McLuhan wrote that ever since the telegraph we’ve hooked up our nervous system to the global system in a way that creates dread.
I had the same issue. Being able to recognise it's a problem is already a big achievement, acting on it only follows naturally once you've realised how much time you waste.

For social networks, I blocked them at the DNS level in /etc/hosts (along with other annoyances) [1]. I've had the muscle memory to CMD+T , 'F', Enter for a few weeks after quitting cold turkey, but seeing the "Could not connect to host" message on the browser reminded me of why I did that.

A few months down the line, I don't regret my choice. Sure it's harder to keep up with friends, but it's a small step in making them realise what a social hazard those platforms are.

[1] https://gist.github.com/franky47/6835b4a7ca5c072e4b75efa08bc...

> Being able to recognise it's a problem is already a big achievement, acting on it only follows naturally once you've realised how much time you waste.

I suppose this means I might have bigger problems if I recognise how much of a waste of time it is but don't feel massively compelled to change behaviour.

I remove bookmarks, and obfuscate where things are on my phone to keep me from mindlessly opening another thing.
Altering a habit by means of will-force is not easy.

One simple route can be to make checking some sites more difficult, so that you need to make an effort to log into e.g. Facebook.

For example, you can use Temporary Containers [1] so that all cookies are deleted when you close a tab. Hence, every time you open a new tab and go to facebook.com you will need to make the effort to log in. As a side effect, this approach reduces tracking by third parties.

[1] https://addons.mozilla.org/en-US/firefox/addon/temporary-con...

What worked for me: find things to do where you can't be on your phone / laptop, such as running (track your progress with a sports watch and get addicted to something worthwhile). Or find a job in Finland where it's mandatory to have sauna's.
I've yet to have a laptop/phone die in the sauna, sometimes they turn off/complain about the heat but that's about it.
(comment deleted)
Like all addictions you should look at the underlying causes for your behaviour. Are you procrastinating? Anxious? Compensating for something else?
I had same problem few years ago but after installing StayFocusd[1] plugin in chrome I solved this issue. I set allowed time per day to 40 minutes to visit such websites as: reddit, fb, 9gag, youtube. If I need to watch video related to work/studies I use viewpure[2] that way I only watch only that particular video and don't lose my binge time. I also communicate with my friends a lot using fb so I just use messenger website instead of having fb opened directly.

[1] https://chrome.google.com/webstore/detail/stayfocusd/laankej... [2] http://viewpure.com/

>> Reloads "How to deal with internet addiction?" story repeatedly to read new posts. <<
I have the same issue. I’ve installed a browser extension that allows me to set redirects for any url. I’ve setup Facebook to go to khanacademy.org (I’m trying to learn more about linear algebra/calc) and reddit to go to wikiroulette.co

So far it’s been working to stop my sub-awareness level typing of these URLs and wasting time.

Another approach would be to look into mindfulness so that you become more aware of your actions/habits.

As an aside, if interested in the topic of awareness/attention, I was just listening to a great podcast that’s sort of related to your question:

https://smartdrugsmarts.com/episodes/episode-123-consciousne...

My guess is that you're not busy enough or that you're not busy enough with rewarding work. Believe it or not, being happy and engaged is a lot of work. Write down a list of things you want to learn, try and/or do and just start doing them. Take a sailing class, get your motorcycle license, learn a new technology, build a workbench, start running. You don't have to have a hobby but the more things you try the more likely you are to find something you enjoy more than watching the world burn online. Building lego sets takes a ridiculous amount of time but the tactile response I get from putting blocks together is pretty fulfilling, more than sitting at a computer.

I am also a developer and I've found one thing that I've enjoyed recently is revisiting old projects where the client and I disagreed on the execution and building it out the way I wanted to. It's fun to test your assumptions and also gives you more perspective when you build things in the future.

If you use AWS, sign up to acloud.guru for a couple of months and get an AWS certification.

Bottom line is that change isn't easy. Just make a list, get dressed, leave the house and go do something. Eventually you'll see wasting time online as exactly that, wasting time.

I occasionally temporarily redirect certain sites (twitter, HN, reddit) to 127.0.0.1 via /etc/hosts.

This is helpful, though occasionally it creates conflicts when there's a mixup between "lazy pages" and things I want to get done (e.g. sometimes twitter DMs are the way I reach people).

Just put the domains in your ublock origin list. That way, if you visit those pages, you will be displayed a page that says that the site was blocked but you have a button to temporarily override the block.
For people who use YouTube and would like to remove distractions, I use the simple CSS script below along with the CSS styler extension Stylus to remove distractions and stop me from jumping mindlessly from video to video.

  /* Hide the Distracting Comments */
  #comments {
    display: none;
  }

  /* Hide Livestream Comments */
  #chat {
    display: none;
  }

  /* Hide Related Videos */
  #related {
    display: none;
  }
You'll quit Reddit when you begin getting annoyed with how predictable and repetitive it is.

I'm not kidding. People who got addicted to World of Warcraft and then quit it, recommend migrating to another server. It gets boring to grind again (or whatever happens, I'm not a player).

Back in mid-October I needed to make a drastic change in my life. I spent a lot of time doing the following:

  - Mindlessly browsing the internet (FB, YT, HN, Reddit)
  - Dating apps
  - Nintendo Switch online
My wake up call happened when a few recruiters from big companies, that I'd love to work for, reached out to me about interviewing. It was then I realized how undisciplined I had been. I had no chance at either of these companies because I constantly wasted my free time instead of working on coding projects or bettering myself. So I made a change:

  - Added the Stayfocused browser extension and limited my internet wasting time to 30 min a day on weekdays
  - Deleted all my dating apps (this by far gave me the most sense of freedom and clarity which surprised me)
  - Stopped playing Switch altogether
That's it! My goal was not "go to the gym", "journal", "go on walks", "read more books"...but guess what...that's what happened! When I stopped/limited doing all of these time wasting activities I created a new void in my life. I suddenly had a lot more free time every day. My natural reaction was to go waste it, but now I could not...so I started going on walks instead. I started doing coding challenges and reading coding books on topics I knew I was weak in. I started journaling more and went to the gym 4 times a week.

Let me tell you, it has been an absolutely AMAZING life change. I highly recommend everyone take up this challenge for a month or two and see the difference in your life. If you're like me you'll never want to go back! Good luck out there!

PS. In case it helps motivate anyone, one of those companies was Google. I passed the phone screen :). I know that may be easy for some people here but I was completely unprepared when I was approached and I know this life change 3 months ago made the difference.

Like any addiction it might be a signal of deeper underlying problems - lack of meaning in your work, lack of feeling that it matters, general dissatisfaction with how your life is going.

One way to approach it could be a slow morning, as discussed on hn a few weeks ago - https://news.ycombinator.com/item?id=18857090 - take your time to arrive in the day, to remember what is important to you, and then do the most important things. If browsing the web is important to you, reserve a certain amount of time to do just that and stop once the time is up.

Environment plays a huge and under appreciated role in addiction. Try changing up your physical space: go to a coffee shop, a friend's house, the library, etc. and just observe if the same desires arise.

Also, it might help to know that your body is craving the immediate dopamine rush it gets from Facebook or news. The trick is to find something more rewarding and that usually comes from starting as small as possible. Try doing 1 pushup, reading 1 page of a book, taking a 5 min walk, etc. Sometimes these little pattern disruptions can be the spark that lights the fire.

It's not easy to change our behavior, but it is possible if you want to and it sounds like you do.

Here are some resources I found useful:

Wait But Why - https://waitbutwhy.com/2013/10/why-procrastinators-procrasti...

(visuals / cartoons)

Stoic Philosophy - https://youtube.com/watch?v=A0XxceO4qX0

(step by step process)

Speaking of environment.. in this case, computing environment should be considered as well.

If you're mindlessly switching to websites to browse them, it could be best to just block them on your work computer. If you really want to catch up with the news, use your phone or a different computer.

Separating the environments will help you keep your focus where you want it to be.

It might be worth mentioning that unblocking the sites should be setup to be difficult or bothersome. It probably wont help much if you just need to hit a shortcut key to unblock them or even just a command you can pull from history.

An idea to make it more difficult might be to setup a firewall on a separate device (that's linking your computer and your uplink) and maybe setup authentication to that device to require a yubikey or even just a flash drive with an key inside. That way you must do the physical act of pulling out that key if you want to unblock those sites.

Wherever you put that key, try to forbid yourself from reaching for it.

Some tools for doing this which you can install are SelfControl.app, Freedom.app, Forest, and ColdTurkey.

I use SelfControl and it is life-changing.

I employ various hacks:

- I permanently deleted my Facebook account

- I block certain sites in /etc/hosts. My /etc/hosts file also blocks several hundred Facebook tracking urls, and I scatter the “tempting” sites randomly throughout these so that unblocking them requires more than muscle memory

- I change the passwords on the tempting sites to random strings but don't save them so the only way in is to do a password reset

- I use content blockers

- I excoriate myself in a journal entry each day (this hasn't worked yet, but I keep on doing it)

These things sorta slightly work in that they slow me down for a second and give me a chance to consider whether I really want to visit [website]. However, my lizard brain tends to adapt pretty quickly, and disabling the blocks gets incorporated into muscle memory as well.

So I think my solution will have to involve zen-like self-discipline as opposed to hacks. I keep telling myself I want to give it all up for good, to become a person who makes things instead of a person who consumes things, who reads books instead of surfing the internet. My solution will have to be simply deciding to change.

> I excoriate myself in a journal entry each day

Fail to see how this will help

It doesn’t. I don’t recommend it.
Could you share your block list?
I’m on the go; will report back in a bit with the block list.
cold turkey was a rather good app for doing this on Windows (7) because it didn't allow you to reset your hosts file back until the timer was done (or at least made it really hard).

Rescuetime is also similar but I think it was more of a reporting app than blocking app.

Anyway my addiction was reddit (facebook, twitter never appealed to me in the first place) and my niravan was an openwrt router that my brother gifted me. It had a hosts blocker and i changed the password to unknown. Only way to get back was to do a hard reset and that meant doing umpteen setting up tasks like ppoe, adguard, hosts, etc which made it quite a friction. The only workaround was browsing on 4g and thankfully 4g here is very slow which made browsing ridiculous. Soon the addiction was cured.

Or a VPN would have been easier to get around the blocking? :)
yes i did that recently (got a windscribe lifetime account) but thankfully by then the bad habit had left me :)
(comment deleted)
Procrastination may be symptom of some deeper problem with motivation and planning. Maybe your tasks are too chunky, boring or too much undefined?

Also to spoil a procrastiation pattern a bit I use Leechblock NG on FF. Sure you can unlock pages pretty easily but that one obstacle makes you remind your resolution.

I share the same problem. I use SelfControl on MacOS to block all the distracting sites. I've configured my computer at work to start SelfControl on a schedule (9:00-18:00) so I have no choice over the block.

Still though, there are a lot of distracting ideas that come up as I work: what should I do for dinner? What's my routine for the gym tonight? What's the weather? How's the stock market today? I've started using a pomodoro app to make me psychologically less inclined to paying attention to distracting ideas as I work. Admittedly, depending on the difficulty of the task, it works more or less.

Part of the problem comes from not being completely motivated about my work. It's an issue that is hard to address, so I try to cope by increasing discipline.

Seconding all the call outs about focusing on changing environment rather than relying on will power. In general, I think people have a tendency to expect to much on simply "willing" themselves into doing something, then feel guilty when it doesn't work, which erodes the willpower they stared out with -- recurse down to giving up.

The specific thing I'd add to the comments already here is four things that have worked for me. These are more about phones specifically than internet addiction in general, but I think they help with that larger topic too:

1. I bought a travel alarm clock. At night, I leave my phone downstairs. Having an alarm clock means I can no longer use the excuse "I just need the alarm function on my phone." This also helps in the morning as I literally can't just wake up and go online.

2. I removed Facebook from my phone. If I were on twitter, etc I'd remove those too. Communication is better from a keyboard anyway -- I'm on social media less frequently, and when I'm on I have an input device that actually supports writing full thoughts and sentences.

3. For web sites, I stay logged off on my phone. Similar to above, though less drastic than making those sites completely inaccessible on my phone. I still browse, say, Hacker News, but there's now often a forced wait between reading and replying.

4. I have a small phone (iPhone SE). It feels "cozy" (to one commentor's point about making the internet a more cozy place) since it actually fits nicely in my hand and pockets.

I guess I'll throw in another point too -- I experiment with different ways to change my environment. I think that's the real trick, more so than even the above -- I came to those through trial and error. Try changing something, and use the results of that to inform what you try next. Recurse to improvement. Good luck.

what are some detailed changes that have worked for you?
If you work in an office, try to sit somewhere that others can see your screen(s). Knowing that my boss or co-worker will see me constantly re-opening obviously distracting sites is a big deterrent. This works better than blocking sites or using productivity apps personally, but others swear by them. You just have to find what works for you.
I find a simple interim/transition trick is to say: If I do x,y,z tasks then I can do web browsing (any habit). Just make those other tasks things you want to work on and the web stuff a reward for working on it.
Agreed! I often find this kind of self-bargaining helpful, but I would suggest that you start really small with the thing you agree to do. Otherwise it becomes just another set of tasks to avoid/procrastinate over.

I have used the Pomodoro technique on and off over the years, and I find it to be really useful for exactly what you suggested. I promise I will do just one Pomodoro, twenty minutes' of work, and then I can go do whatever. Twenty minutes is short enough to not trigger avoidance or distraction, but it's also long enough to really get rolling. Almost without exception, at the end of the twenty, I don't want to stop. I keep going and end up with a full set of four Pomodoros completed, and desire and energy to continue beyond that (if other responsibilities allow).