TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: What to do with small units of time during the working day?

17 pointsby trwhiteover 1 year ago
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&#x27;s no workaround for it; there&#x27;s no other way to run the stack.<p>Starting this tool usually takes about 20 minutes on my M2 Mini. This isn&#x27;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&#x27;s completely ridiculous, I know.<p>What&#x27;s an activity I could do with this time?

18 comments

jurassicfoxyover 1 year ago
Pushups, air squats, DB military press, neck exercises, walk around the house, adjust your standing desk height for the next block of work.
hasolejuover 1 year ago
Once a day, just do nothing. Really nothing. Look at the blank wall for 15 minutes and let your mind wander.<p>I don&#x27;t do that every day, but if I find the time and discipline to do it I never regret it afterwards.
datadrivenangelover 1 year ago
Browse HN to stay informed on the state of the industry.
评论 #39186847 未加载
japhyrover 1 year ago
Are there any isolated parts of the system that you can work on outside of the fully-built system? Maybe there&#x27;s some refactoring that needs to be done, where you can do some of the work in isolation and then stage it for the next build?<p>Also, since nobody&#x27;s mentioning it, are you in a position to research&#x2F; prototype an alternative approach that doesn&#x27;t take so long to build?
tacostakohashiover 1 year ago
The basic strategy I use is to do multiple &#x2F; unrelated tasks or projects at once. Do some work on task A - check out a branch for it, make a change, push it to get build.... switch to a different branch for B, do some work on that, push it for a build... then go look at what happened with the build for task A while B is building, etc, etc.<p>It may require a few VMs, etc, but basically it&#x27;s worth having a good way of switching between several things on the boil at once. It&#x27;s not just slow builds, it&#x27;s also waiting for feedback from people, etc. that will get you in this situation.
shrimp_emojiover 1 year ago
I prefer to read programming books (which tend to also be part of, or contribute to, my annual &quot;work goals&quot;). Reading is perfect for my 20-30 minute &quot;dead zones&quot; since it&#x27;s pretty effortless, and I can start and stop quickly without paging too much into&#x2F;outof my brain. Meanwhile, doing any meaningful programming in that time would be almost impossible; it takes that long to get from 0 to 60 in the first place, and then I&#x27;d immediately have to stop anyway, so there&#x27;s no point.<p>Of course, there&#x27;s also HN. :devil_emoji:
brian-bkover 1 year ago
Could improve that crappy feedback loop :)<p>If the language runtimes are compiled you can&#x27;t do this, but if not, in theory you shouldn&#x27;t need such a stupidly long core development feedback loop.<p>I&#x27;m a huge fan of <a href="https:&#x2F;&#x2F;tilt.dev&#x2F;" rel="nofollow">https:&#x2F;&#x2F;tilt.dev&#x2F;</a> and the possibilities it unlocks for that pre-commit development.
comprevover 1 year ago
Compile a list of very low hanging fruit - tasks which might take a few minutes each. For example things like code linting, formatting or generating docs.<p>20mins is plenty of time to execute &quot;housekeeping&quot; tasks related to building software.<p>Alternatively do something physical - pull-ups, squats, push-ups, etc.
takinolaover 1 year ago
I keep a list of tasks that I need to accomplish each day. Some of these are very simple and easy to knock out. I use the time in between activities to knock off one or two each time.
qupover 1 year ago
You could work on improving the runtime of the script, or reducing the need to start it so many times.
raptorraverover 1 year ago
Have a nap, play a game, socialize with co-worker, learn a language, or just have some other kind of fun!
Desafinadoover 1 year ago
Depends on whether you&#x27;re asking 28 year old or 38 year old me.<p>Now? I&#x27;d go grab a hot beverage.
kevindammover 1 year ago
email upkeep, bug queue maintenance, documentation
throwaway4adayover 1 year ago
Do the One Punch Man routine minus the run.
roland35over 1 year ago
Drink tea
potta_coffeeover 1 year ago
Practice guitar.
ChiManover 1 year ago
Call your mom.
catchnear4321over 1 year ago
are you the only one with this issue?