Hacker News new | ask | show | jobs
by hinkley 1567 days ago
Related to this but somewhat tangentially, I’ve been trying to figure out how I could programmatically determine if I look “busy” and engage Do Not Disturb for a period of time (roughly pomodoro interval) so that emails and alerts can’t distract me. The problem is that when I’m doing rudimentary code my interactions can be rather intense and obvious, but the more technical the problem the more I slow down, mulling things over in my head or wondering why we wrote code this bad and why it hasn’t broken before. I can be pretty deep in thought at this point and not showing my tools much to go off of.

In the end I think just making a pomodoro tool that automatically disables alerts until break is by far a simpler and more accurate prospect.

1 comments

I have tried a number of similar approaches (pomodoro etc) before which let us to create an extension to auto-toggle notifs when you focus on coding. Works for VS Code so far. Check out https://stateful.com/@sourishkrout & https://marketplace.visualstudio.com/items?itemName=stateful.... If you're on VS Code I'd love to hear what you think.