Ask HN: What to do with small units of time during the working day?
My company uses an internal build tool (like a set of bash scrips around docker) to orchestrate the various parts of the stack locally. There's no workaround for it; there's no other way to run the stack.
Starting this tool usually takes about 20 minutes on my M2 Mini. This isn't long enough to do any serious work but over the course of the day (and running this script a handful of times) adds up to 1-2 hours. Yes, it's completely ridiculous, I know.
What's an activity I could do with this time?
19 comments
[ 3.3 ms ] story [ 72.5 ms ] threadAlso, since nobody's mentioning it, are you in a position to research/ prototype an alternative approach that doesn't take so long to build?
I don't do that every day, but if I find the time and discipline to do it I never regret it afterwards.
20mins is plenty of time to execute "housekeeping" tasks related to building software.
Alternatively do something physical - pull-ups, squats, push-ups, etc.
If the language runtimes are compiled you can't do this, but if not, in theory you shouldn't need such a stupidly long core development feedback loop.
I'm a huge fan of https://tilt.dev/ and the possibilities it unlocks for that pre-commit development.
Now? I'd go grab a hot beverage.
It may require a few VMs, etc, but basically it's worth having a good way of switching between several things on the boil at once. It's not just slow builds, it's also waiting for feedback from people, etc. that will get you in this situation.
Of course, there's also HN. :devil_emoji: