Ask HN: I lost my ability to focus for hours on coding. How to regain?
51–60 of 127 posts
Re: Ask HN: I lost my ability to focus for hours on coding. How to regain?
#52This is a common problem. The book Deep Work goes into it in detail, and has some research-based techniques to fix it. Basically it boils down to removing distractions, and determination, gradually building up your brain's ability to focus again. https://www.amazon.com/dp/B00X47ZVXM
Re: Ask HN: I lost my ability to focus for hours on coding. How to regain?
#53Re: Ask HN: I lost my ability to focus for hours on coding. How to regain?
#54Earlier quoted context omitted.
Yep, good underground techno mixes at 125 or higher bpm can give you the drive and concentration you need for extended periods of time. My coworkers usually get a slight shock when they learn what kind of music I have in my headphones during work, being a 50 year old guy :)
Do you have a public playlist?
There may be a free trial, and I think there is a free tier with ads if you can tolerate them.
Re: Ask HN: I lost my ability to focus for hours on coding. How to regain?
#55Re: Ask HN: I lost my ability to focus for hours on coding. How to regain?
#56There's a lot of factors that might go into this. If you're hungry, sleepy, undersocialized, unkempt, unfit, depressed, in a loud, messy, and distracting office, with unclear and unexciting goals, large monolithic tasks without clear breakdowns on how to move forward, constrained by slow tools, management, or blocked on dependencies... well, it'd be no wonder you wouldn't want to work! Eat well. Sleep well. Exercise.…
Re: Ask HN: I lost my ability to focus for hours on coding. How to regain?
#57This is a common problem. The book Deep Work goes into it in detail, and has some research-based techniques to fix it. Basically it boils down to removing distractions, and determination, gradually building up your brain's ability to focus again. https://www.amazon.com/dp/B00X47ZVXM
If I try eliminating distractions, I just end up daydreaming. I spend most days at work just reading the same shit over and over with nothing sticking. I manage to get work done in rare bursts after exhausting my brain with distractions. Fwiw, I'm in my mid 40s and have less than a year of treating my sleep apnea. I'm pretty sure I've had ADHD my whole life but blamed other things until recently. I'm trying to resist…
Re: Ask HN: I lost my ability to focus for hours on coding. How to regain?
#58I wrote some things that help me focus here: https://wiki.nikitavoloboev.xyz/focusing Mostly it’s about practicing mindfulness throughout the day, setting goals, GTD approach of task management and using tools like Focus for automated Focus sessions throughout the day with breaks in which I am allowed to read news and relax.
Also, might give me some inspiration to make my own wiki ;)
Re: Ask HN: I lost my ability to focus for hours on coding. How to regain?
#59Things I did to get my focus back:
One is that I introduced sugar/caffeine back into my diet. Drinking a sugary, caffeinated beverage improves my ability to concentrate significantly. While this might not be right for you, you might find that some of your other dietary choices are affecting the supply of glucose to your brain.
Another is routine. If you had the ability before, you can get it back again. One thing that helped me return to my groove was listening to the same music I used to listen to while concentrating. Having an album in the background on repeat can work wonders. Maybe there are some other important concentration triggers that you need to tap into.
Lastly, maybe your work just isn't that interesting. Rediscover what things you actually want to be working on. Get excited about something again.
Re: Ask HN: I lost my ability to focus for hours on coding. How to regain?
#60This is a common problem. The book Deep Work goes into it in detail, and has some research-based techniques to fix it. Basically it boils down to removing distractions, and determination, gradually building up your brain's ability to focus again. https://www.amazon.com/dp/B00X47ZVXM
If I try eliminating distractions, I just end up daydreaming. I spend most days at work just reading the same shit over and over with nothing sticking. I manage to get work done in rare bursts after exhausting my brain with distractions. Fwiw, I'm in my mid 40s and have less than a year of treating my sleep apnea. I'm pretty sure I've had ADHD my whole life but blamed other things until recently. I'm trying to resist…