Live data from Hacker News

Ask HN: How do you focus on work for long periods of time?

news.ycombinator.com

111–120 of 148 posts

Re: Ask HN: How do you focus on work for long periods of time?

#111
I might know I have to look at some code or something for a few hours, but looking at my day I know it will be interrupted by meetings and lunch, and that I will probably get Teams messages during the day as well. Even if I have a block of time free, if I know there's a 50% chance I will be interrupted with an issue I don't get started.

So in this scenario what I do working from home is spend a lot of the work day that day doing my laundry or whatnot. Then after 5 PM no one will be interrupting me so I then look at the code. I probably do this at least one day every week. Maybe I shift the schedule around - I work Tuesday night and do my laundry Wednesday afternoon. This is a scenario where the interruption is fully external.

If I am not being interrupted...some things I sometimes have to kick myself to do at first, but then I can go for an hour or more. This would include going to the gym, or, I don't know, studying what a monad is. I just have to determine I'll start doing, but once I am doing it I am not distracted.

The last thing that I have to kick myself doing even while doing it. I sometimes had to do this in college - I had to do a lot of studying for something which was not my major, which I did not care much about etc., and it was purely to pass the class and get a grade. Actually these things used to get a lot of other things on my things to do list done - I'd say, I will clean the living room tonight, not study Lewis structures or whatever. There's not much solution to this other than just kicking yourself back to the task.

While things being as they currently are we always have to kick ourselves a little to do some things the whole way through. At some level it becomes psychologically untenable and you just have to face the fact that you don't enjoy doing whatever. For example - at college I enjoyed most of my Computer Science classes, reading the material, doing the homework etc. I even enjoyed some of the books we'd be assigned in English classes and that sort of thing. Some classes I did not care about, and had to kick myself to study. But that is normal. However, if I was not interested in computer science and had to kick myself to study everything, it becomes more untenable. It's not going to work psychologically or in general. Although in retrospect, some things I didn't realize the use of until later. Like my graph theory class I generally found boring, but then my next class was a data structure class where I made use of nodes and trees and graphs, and the graph theory came in handy.

Also - as some other people here said - wake up after a good sleep, shower, have a clean environment around you, eat decent foods, get a good deal of cardiovascular exercise etc. Take at least one day a week to just relax.

Re: Ask HN: How do you focus on work for long periods of time?

#113

Earlier quoted context omitted.

Yes exactly. I was bad and abused them taking 10-20mg or more and that led to bad things, I struggled to control my usage. It's best to do it the way you are. The first side effects are mental, you also get physical side effects like body aches. I'd rather never experience that level of anxiety ever again.

At what rate of use did it become a problem? I'm basically asking, do you think once every 2-3 weeks will be an issue? I think something about relying on it, even at 2-3 weeks, might make it an issue long term. But I'm not sure. It doesn't affect me the same way as it did 10 years ago when i first tried. Back then it was euphoria and now it's just slight concentration. Which is ideal for working. But the euphoria is…

Yes the euphoria is the first thing to go, got to wait quite a while for that "magic" to come back.

I was using it daily for about a year or two, and it really helped but also caused issues with my personal life, relationship and so on.

I think you're probably ok, keep in mind it is a neurotoxic drug so you'll want to mitigate that, and your usage as much as possible, antioxidants, not overheating and that sort of thing.

Re: Ask HN: How do you focus on work for long periods of time?

#114

Wake up at 5:00AM. 5:15AM. Get in that ice bath. Fourty minutes or it's not worth it. 6:00AM. Write a C compiler. No help from internet. 7:15AM. Breakfast. Soylent and fifty pull-ups. 8:00AM. Enter the zone. Crush your work. 8:00PM. Exit the zone. Just kidding, idk you kinda just have to like the problem at hand, otherwise it's too easy to go distract yourself. Distraction isn't really an evil thing though, it's not…

You're wasting your time if you aren't writing the C compiler from the ice bath. Seriously, kids these days.

Re: Ask HN: How do you focus on work for long periods of time?

#115
Search Jason Lewis Mind Amend, music on YouTube that I find really helps me focus. Working on something that's grabbed my attention, and understanding what it is that grabs my attention (stuff that is new, urgent, challenging, personally interesting)

However then I can forget about meals. Turn off autoplay so the track ends after 3 hours and it's easier to break away.

Re: Ask HN: How do you focus on work for long periods of time?

#116

Practice long periods of not having stimulating activities around you. Just sit and be bored for a few hours at the end of the day. This will increase your baseline dopamine for normal activities. When your baseline is too low, you self medicate by going on Reddit which spikes your dopamine for a while. Taking a break from stimulation lets your brain accumulate dopamine naturally

One of the many aspects of meditation is "sit and be bored". Of course the mind has a tendency to fill in the boredom with thoughts, ideas, worries, etc. Learning to notice those and return the attention to sitting is surprisingly difficult, and may take years of practice.

Re: Ask HN: How do you focus on work for long periods of time?

#117
post #54

Get tested for ADHD, even if you believe you might not have it. I'm in my mid-30s and been somewhat successful at work but my pattern has always been that I could hyperfocus on some projects for days on end and suddenly I would be bored out of my mind and not able to focus for more than 20 minutes at a time. I've blamed and shamed myself for years, thinking I was being lazy, that my work ethic sometimes was poor/lack…

What were the side effects that were no joke after so long? I started taking Wellbutrin recently.

Re: Ask HN: How do you focus on work for long periods of time?

#119
Programming is a type work that invites distraction. A lot of Googling, so much advice exist on Reddit/HN which are filled with distractions, countless rabbit holes in every language and libraries, fractions of free time during compilation, etc.

I can easily read, play sports, or practice instrument for a full hours without a single moment of interruption, but it's much more difficult for programming.

To mitigate that, I've employed the following tactics:

1. A browser plugin called Intention, which gently reminds me when I visit one of the sites. I love that it is a gentle reminder, because sometimes the answer I seek is on HN/Reddit. It just makes sure that I'm browsing with deliberation.

2. I have a list of stuff (relevant to the current project) to do always ready by my side. When compilation takes place, rather than context-switching to an entirely different activity, I deal with those small tasks that are still in the same project. If there's nothing else to do, I start writing notes about my current work. I find that keeping such a logbook very helpful, both in maintaining concentration, and in organizing my thoughts. Regardless of what project I'm working on, there's almost always something to work on or think about, anyway.

3. I have dedicated news-reading time where I browse my RSS feeds and HN, and stuff. It reassures my lizard brain that I'm not "missing anything". (And I'm genuinely interested in reading news, and HN). Avoid drama.

4. Physical exercise intermittently. I do a five-minute HIIT every half an hour or so. The adrenaline keeps me mentally refreshed.

5. Ultimately, it's better if you are into the thing you are working on. If you are just not interested at all, it's very difficult to force yourself to concentrate.

Re: Ask HN: How do you focus on work for long periods of time?

#120

When I used amphetamine salts I had a few rules for myself: Don't overdose, keep to low, clincally useful doses. Don't drink coffee and take amphetamine at the same time - too much stimulation, plus I don't eat breakfast. Try to eat and sleep, it's very important for your brain functioning. Stay disciplined, if you find yourself distracted try to calm down. A lower dose often helps me focus. I couldn't do work on mor…

Someone who isn't me occasionally found it funny to add a microdose of amphetamine to an energy drink at lunch. But, yeah, long-term side effects can easily overweight any additional focus. Plus I'd say that what you gain in focus you can easily lose in creativity (possibly more a side effect of sleep deprivation than substances). On the other hand, microdosing psychodelics can sometimes generate a lot of creative energy (some of it even remains long-term) at the price of being slightly distracted for a while on the days when you dose. Also, getting stoned after work but way before going to sleep can work well for getting enough rest and getting your mind of the need to be focused. In general, I'd recommend the last part plus good dinner to everyone and also be more chill, work is not the whole of your life, go kiss girls or something.
Post reply on HN