4 ms·
This resonates. I usually wrap my long running commands in something that sends a push notification when they finish so that I don't jump around seeing if thing
by defer 5y ago
This resonates. I usually wrap my long running commands in something that sends a push notification when they finish so that I don't jump around seeing if things completed or failed. I find the distraction of the push notification less disrupting than continually checking for completeness.
- jfoutz 5y agoosx comes with a command "say" which is a text to speech tool. I'd do things like make && say "build complete" || say "compile failed" with different voices I thought were funny. generally worked great. One day, I stepped away and had a particularly intimidating voice say "your build has failed" and apparently knocked out my headphones. I came back just in time to hear that, and see a couple coworkers jump at the sound. After that, I was much more consistent at disabling sound when I stepped away. I got a little teasing about that day, but generally it worked great.
- spoiler 5y agoThis is actually a great idea. I've used from-cli-notifications for things that I knew would take hours, but for coding related stuff I always think "it's not that long." So, I would immediately go into "active attention multi-tasking" and then recheck if the compilation tab finished, and then decide from there where to shift my active attention, without giving it some breathing room. Lately I've actively tried not to do that (it's a hard habit to break, and I still feel guilt sometimes), though.