This is not going to fix the problem, but it might help some: install the ntfy.sh app on your phone and then add a Claude hook to curl a notification to ntfy when a command completes. It’s not a perfect solution but it helps avoid distraction to some extent.
Ask HN: Do you struggle with flow state when using AI assisted coding tools?
51–55 of 55 posts
Re: Ask HN: Do you struggle with flow state when using AI assisted coding tools?
#52If AI breaking flow is a problem for you, I'd suggest you're doing AI or flow incorrectly. Don't ever expect that AI will do anything other than disrupt you. Just ask yourself: would you be comfortable snapping off this task to a green intern while you stay in flow? Or would they need some level of your attention and supervision to not set the shop on fire? AI is not a tool to keep you in flow, it's a tool to help shorten the downtime between flow states.
I only ever use AI tools when flow state is light, or flow is hard blocked by something I can't immediately resolve on my own. Using AI tools in the middle of my flow sounds stupendously disruptive and counter-productive.
Re: Ask HN: Do you struggle with flow state when using AI assisted coding tools?
#53I think you need to let go of wanting to achieve a flow state if you're outsourcing the coding; you're a manager, product owner and code reviewer now, not a programmer yourself. Context switching and waiting for things are normal in those roles, flow state is not.
Re: Ask HN: Do you struggle with flow state when using AI assisted coding tools?
#54Re: Ask HN: Do you struggle with flow state when using AI assisted coding tools?
#55I had to turn that crap off because how are you supposed to concentrate on your code when the VS Code is incessantly throwing snippets at you?
It looks cool when you watch other people with it enabled but actually programming that way is like getting slapped in the face between each key stroke.
After fifteen minutes you realize that you spent all your time reading the opaque auto complete suggestions trying to figure out what they're doing and how they work, instead of actually getting any code committed.
I will tell ChatGPT what my context and situation is and review it's suggestions and then select the parts I want to copy paste in by hand and manually test. That's been pretty effective and it's basically a more effective drop in replacement for searching Stack Overflow for each code snippet you need. But putting the AI inside your editor is the biggest over hyped time waster I ever seen