Ask HN: What helps you focus and get things done?

90 points by uptownfunk ↗ HN
Other than treating what is possibly ADD, what has helped you focus and just get your fingers on the keyboard?

Edit: perhaps I should add, I’m not really distracted by exernal things but perhaps the complexity of the problem / poorly engineered code just adds so much inertia to getting the fingers typing away. I’m a prototyping research scientist so producing well written code is not my strong suit, it’s more like let’s build something new and see if we can get it to work.

77 comments

[ 2.8 ms ] story [ 163 ms ] thread
Not a helpful answer since you have excluded seeking treatment- but putting it out there: Atomoxetine
no change

for long time ago and future

A special secure serene place

that's why library has such the special room of which some great scientist, inventor came out by its merit

Are you interrupted by your cat ? By noise ? Smells ? I discovered once that perceiving road traffic out of the corner of my eye shot my ability to focus. Whenever I needed to focus on a job I grabbed a windowless meeting room and worked there.

I suggest every time your focus is stolen by something you write down what the cause was. After a few days there should be repeat offender. Among these which one(s) can you change ?

Interestingly I get distracted by HN rabbit holes that I end up googling to death and that fool myself into thinking I'm learning something.
Very, very clear task descriptions with goals.
I am a pianist; so my work is with a different sort of keyboard but the issues are similar. Interruptions/distractions are of two types - external sensory distractions and my own internal thoughts. The former are more easily recognized and remedied. In my practice room there is a window off to the side where the flash of a passing car might distract me. Easy fix.

The internal tugs on my focus are harder to pin down. But one seminal observation is that thoughts that distract are often recurrent; so writing them down, along with a brief plan about when you will deal with that thought and how, can help. There is evidence that this reduces distraction.

Sorry to take this in the wrong direction but I don’t meet enough pro pianists.

Concert pianist, teacher, studio musician, what?

How much do you practice per week? Have you avoided repetitive stress injuries?

Are you a good enough site reader that you can always read through a piece fairly well are you a 2 measure-a-time grinder like me and almost every Chinese piano student?

Ooph, back when I was a pianist, I caught myself thinking random crap WHILE DOING A CONCERT all the time; then suddenly you think "dude wtf, you're in the middle of a concert, snap out of it", and then the shock from the context switch of going from autopilot to "shit where am I in the piece" always resulted in me messing the piece up ...
Earplugs. I didn't know how much sound bothered me until I tried them.
I completely disable wifi for most of the day :)
Loud techno music and noise cancelling headphones.
Any recommendations for music / playlist ?
Cercle has good sessions

https://youtube.com/@Cercle

Seconded.

Via cercle I was introduced to Miss Monique, whose wonderful progressive trance sets and amazingly infectious smile and joy has become my "right, time to do the work" background video.

https://youtube.com/@djmissmonique

Ahhh birds of a feather.. Huge fan of Cercle and Miss Monique.

Here's one I've been listening to - you may enjoy :)

https://www.youtube.com/watch?v=c0-hvjV2A5Y

On the classical I do enjoy Bach, cello concierto (Fournier recordings) and orchestral suites (Koln)

Cercle was a sanity saver during COVID times. I discovered a few different artists through that and am going to see some of them this year.
Many of the stations on SomaFM are full of great hacking music. No commercials either. And no forcing proprietary apps down your throat, play it with your favorite media player (I love streaming with reAmp on Mac and Audacity on Linux with classic WinAmp skins enabled). Simple shoutcast / http streaming FTW!
Reading Deep Work by Cal Newport helped me make changes to my daily routine so that it is easier to get started.
Honestly, pressure. Having time pressure or pressure to perform really gets me into gear. It's not always _healthy_, but it always works.

But an almost opposite thing that has been working in the last year or so in a way that seems more sustainable is accepting that I won't be 100% at the top of my game every minute of every day. Energy levels fluctuate. Some days I need to sleep in more and work a bit later. Sometimes I'm up and working by 6am and finish early (or try to) or take a longer lunch. Sometimes I just need to go for a walk. I realized I overwork by nature, so I don't need to be afraid of getting "lazy" or not being productive: the work always gets done. I realized that allowing myself to relax sometimes when my brain is just not feeling it and make that focus up later can be very effective and produce better output. Allowing this kind of fluctuation 90% of the time and going into high-pressure mode 10% of the time seems like a good balance that I can maintain.

I work with TODO-lists. I break every task into mini TODO-steps and tick them off as I go along. If new ideas pop into my head, I add them to the list.

Today my TODOs included items like “research how to stop writes to a postgres database” and “make a list of all the places where we use x database.”

My trick is to get outside my comfort zone when coding, but only just enough that's it's tolerable and not overwhelming. Most of the time, even as a seasoned coder, I should feel inadequate, yet still up to the task at hand. That's what flow is for me: pushing myself, but not too far that I end up falling off the proverbial cliff!
Music - most typically a random selection provided Spotify so that it a genre I enjoy, but not known.

Knowing the lyrics to a song is an instant distraction

I write down a bunch of very small 5-15 minute subtasks that I want to do - being very specific and including the estimated time to accomplish into a 1hr block.

Then I put on Brain.fm for 1hr.

That's it. Works really well for me. Rinse and repeat (I typically only have to do 2-3 one hour blocks per week for super annoying administrative tasks that I've been putting off)

I know you said "Other than treating what is possibly ADD" but I went down that road for decades and the only thing that _really_ ended up making a difference for me was Adderall.
Depends on what's going on.

Anxiety? Relaxation techniques.

Tedium? Find the interesting.

Something physical? Stand, change position, go for a run or walk. Eat. Take vitamin D in the cold dark winters.

Often, though, it's as simple as just... starting. One technique is to promise myself that I can stop after I go for a full 5 minutes. Usually, it's just enough to get started and then I'm in.

Once it was burnout though and nothing helped except fully not even looking at my computer for a good long time.

i’ve been using https://www.brain.fm for years now. when i really want to get stuff done, i put on headphones, play something from that website and set a timer for one hour. Then i take a break. repeat two or three times. Then take longer break.

not affiliated with the product. just a fan.

Doing small, easy things first. It's contrary to the common 'wisdom' of 'getting the hard stuff out of the way first' because doing small incremental steps keeps the small dopamine hits going and gives a sense of accomplishment to maintain motivation.

I also recognized that for me the chief motiations killers are all kinds of "security" measures being put in place by more and more tools, services and organizations. There is no better way for my flow to die than having to yak shave for three hours some kind of security token rigmarole before getting to the actual work. This is why I no longer work for a large company and don't want to be anywhere near the production systems. I'm happy to delegate that shit to people who thrive on this (and to my astonishment there really are people who get their kicks from configuring complex webs of scripts to keep the environments humming). So I guess, my other piece of advice is to figure out what saps yuor motivation and find roles and activities that don't involve doing a lot of that.

Right, getting into the groove by starting somewhere, it could even be unrelated such as doing the dishes and folding some laundry. Crossing that off the list gives enough dopamine to move on to other tasks. The trick is keeping the momentum and tempo so find ways to not allow yourself to be distracted once into the zone. At work I put on headphones on with some music. It's interesting that music is always never distracting me.
Deadlines / other people waiting on me.

Changing settings (can be as small as switching from couch to table).

If it's something boring, putting on YouTube at the same time so my whole "attention space" is filled despite the tediousness of the task.

Like a lot of the comments here, I respond to pressure and deadlines, but that's not everyday.

The way I see it is anyone who's hyper-productive and focused day in day out, is either lying or miserable and heading for burnout.

I work best in the mornings, so I do the harder stuff then. Afternoons are a grind, fortunately the way my schedule works out is that's usually when my meetings are.

I work best when I'm working with, rather than against my natural flow. I find in the long run, there are only so many productive hours in the day and pushing through that produces poor results slowly.

If I really need to get shit done and it's not happening, I find pomidoros work well for me, but only for a few cycles to get me moving.

I can also recommend turning off the computer. Some of my best work lately has come either after a huge walk, or from sitting down away from the screen with a pen and large sheet of paper.

People here have suggested starting with small/easy stuff to "get in the groove", I agree with this. Another thing is deliberately leaving syntax errors before leaving work for the day at the locations in the code where I'm supposed to start the day after.
I block certain sites like Hacker News in the Windows hosts file. I have to put in a little effort to undo it which provides just enough resistance to keep from it