Ask HN: What do you do when you suddenly feel like not working anymore?

59 points by budhajeewa ↗ HN
1. It's Saturday morning.

2. You start coding in your side-project.

3. A couple of hours go by.

4. You feel like, "I'm tired. Let's do this tomorrow.".

5. You also would like to ship it ASAP too.

What do you do?

79 comments

[ 2.9 ms ] story [ 135 ms ] thread
Go run a quick 5K. Or 3K. Or brisk walk around the block. Get the blood pumping.

Make a to do list of the tasks you are attempting to achieve today. Do one thing only today. When it is all too overwhelming, break it down into tiny self-evident steps. Micromanage your brain.

Not too much coffee.

>> Not too much coffee

Or more coffee/caffeine if you have add/adhd. If you can drink a pot of coffee before bed and then go right to sleep, then caffeine might do the opposite to your brain chemistry and level you out. Talk to your doctor, as that you might need something more than caffeine to function. Think of your brain in the aspect of a cpu, where as some cpu’s natural clock speed is a little slower than the average, some are faster and easily distracted. So you might need to adjust something to not burn out a days energy to fast, and feel like the poster does.

Running releases different chemical compounds that affect the brain, so does smoking, eating, drinking caffeine, etc... you could be deficient on vitamins and it could be diet.

Everyone is different, and it will take trial and error until you find a working balance. Which means talking to your doctor about how you are feeling and, also taking the time to self-reflect on how you are actually feeling every day to gauge what’s working and what’s not.

Yeah coffee and sleep is the closest thing to artificial love in my experience.
I have exactly this with coffee.

I would even say that it makes me sleepy sometimes, and certainly never interfere with sleep or sleep patterns.

The kind or volume of coffee did not matter (some coffees I like, style other not but the lack of impact is the same).

Interestingly my brother is the same with coffee

Do something analog. Find something to do that is not with a computer until you get tired of that. Then build a balance chart, draw a circle, draw lines to quarter it, then lines between those. You should see a what looks like a wagon wheel. Each spoke is an aspect of your life. Label each spoke with the 8 important things in your life. This will show you the importance of keeping the spokes “8 things in balance. One spoke could be your job, another your side project, another your family, a hobby, social/friends, downtime, etc... the wheel represents you, giving to much time to a single spoke makes the wheel lopsided and it won’t turn. So as you devote your time to things, imagine which of the 8 is suffering and not getting your time. Try to devote equal time to each.

This is the best way I have found to get things done, and not get burned out/ or saying things like “my give a damn is busted.” It also gives you 7 other things to do when you feel like you do now. Then after you do one of the others see how you feel, go back to the one you didn’t feel like doing or do one of the other things until you feel like it.

Chop wood, carry water.

In other words, keep on keeping on. "A couple of hours" of focused work is actually fairly productive, more productive than most people get. It's like writing: do a little bit every day, pretty much no matter what, and it'll get done by accident.

My advice is identical to this.

However, it’s worth noting that you should expect to not want to do things sometimes. Often pushing past the first part is the key.

Set. Minimum amount to accomplish. Nothing ambitious but something you can easily do. (2 hours if you don’t have kids. 45 min if you do)

If you find yourself not wanting to do it week after week then you might consider changing your role. Partner with a CTO, raise money, write about it etc.

You don’t have to do what you love, but you should avoid what you hate.

I'd amend this--you cannot always avoid what you hate. You can try, but life often gets in the way (as do the dirty dishes).
I write code that generates music, controls external gear.

https://lowveld.bandcamp.com

Once I accomplish something that sounds good to me, I put it on and go back to my side project ;)

If it’s a side project, just stop and wait for when you feel like working again. For me, forcing myself to work on something that isn’t putting food on the table just builds resentment.
> For me, forcing myself to work on something that isn’t putting food on the table just builds resentment.

I know this feeling. A lot of people burn out quickly on Github when their shiny new toy fails to make money at every turn. Even with clear and adequate payment channels used (Patreon / Paypal / Gumroad), the feeling of financial failure (can be) enough to kill a project.

Sleep. Just finshed a long week. Slept from 9pm until 8am. When work is done: sleep. Eat. Exercise. Chores. Then "fun", if there is enough time sunday night.
That sounds so very sad - there is far more to life than work.
His health will be improving, sufficient sleep 8hrs+ and excessive. Very good in my mind. Sounds like a solid monk mode approach.
Work gets busy sometimes. We all go through periods of heavier work scheduals. Things will slow down in a couple months.
No solution here but I have been struggling with this for a couple of weeks now (5ish) but just in general, not only for side projects.

Thus I am quite interested in this thread myself :)

Pat yourself on the back for working a couple of hours then go online and write comments about lazy homeless people looking for handouts.
Don't forget to upvote any thoughts and prayers threads. Slacktivism at its finest.

But seriously although I hate to delve too deeply into stereotypes the fact of the matter is many people like me on HN and elsewhere may be somewhat introverted by nature. And yet to answer the original poster's question I find volunteering or otherwise doing something to get me out of my shell invigorating when taken in small doses.

This is something I never would have discovered on my own: my wife's crowbaring me out of my comfort zone is the only reason I know.

But even volunteering aside there are many things you can do that (stereotype again, sorry) satisfy our predilection to learn new things and if not solve problems then learn how others solve problems. For instance two of my favorite things I've done were taking Citizen's Fire Academy and Citizen's Police Academy put on by the City of Houston. I don't want to be a firefighter or policeman. But getting to see the behind-the-scenes view into their world was fascinating. And when else will you get to go up in a ladder truck, ride in a police helicopter or put on bunker gear and watch as flames roar by a few inches over your head?

They actually present what they do in great amount of detail and are happy to take questions and even demonstrate their equipment and techniques. For a nerd like me it's damn entertaining.

It made me better appreciate what those people do for a living and and very thankful for the opportunities IT afforded me. It's a little more concrete for me that I'm very unlikely to be set on fire or shot while learning how to integrate CEPH and Kubenetes.

Tl;Dr: If you're bored or unmotivated with a side project do something completely different and outside your comfort zone to get perspective.

No objections to this! As a very introverted person myself and clearly not against posting comments on the Internet, my intentions here are merely to inspire consideration of challenges in overcoming prejudice.

I love the HN community but I doubt the HN community loves me back. I really struggle with the libertarian Darwinism so popular here. This thread concerns what it might call a weakness but I would call a necessary element in beauty.

It’s like ‘negative space’ in motivation. If we were always inspired, we might not be any different than drones. To lack a sense of purpose or connection with a task is useful to society. It makes a space for connection. When we engage with new things, it can improve our society. But it can also do the opposite; particularly when resources don’t allow for new engagements. Such is the case for homeless people!

Humor is not always funny, and I know my kidding here is not entertaining. I just hope for a better world for my children and I believe in the people of HN to make that possible. I just fear them missing the opportunities to do so in the name of pride and self-justification.

This post gives me hope. And your comment as well, although I know it was meant as a lesson. And to be certain, it was that too.

Play guitar to backing tracks on youtube. Plan my next workout.
I do chores - it's a great tool for gauging how unwilling you are to code at the moment.

Yesterday my bathroom sink received some much needed care.

Also eventually you'll get so fed up with this that you'll gladly return to your side project.

Conversely guilting yourself into programming when you really don't want to is one way to abandon any after-hours work altogether.

This is one of my favorites, especially if the chore has been ignored for a while.
chores are my best thinking time! I can't recommend doing the chores for restoring intellectual productivity plus the very probable (if you're not living alone, but satisfaction either way) boost from doing good by your roommates.

I am certain that the benefits of doing chores for intellectual stimulation arise from the very familiar, routine like properties of most household chores.

Chop wood, carry water, as excellently pointed out below, is the most demonstrative chore I can think of right now: some task that's manual, involves a element of physical labor, and repetitive.

I began to notice my attention and motivation becoming more pronounced in cycles, when I began writing in languages that are heavily defined as boiler plate syntax and library based languages. Somehow the repetition, but with a small amount of variation in eg the cell of a array being addressed, dulled my personal flow of thought. Because I was spared from having to think beyond my immediate line's purpose, because all kinds of detail from memory management to types was sweetly abstracted away, I became more disengaged from the very process of thought involved in what I am writing. Even on the 3460 where

[edit, this wouldn't update on editing, I posted by accident before I was done]

...I needn't worry about anything much, I could inspect the stack and CLOS if i wanted. I learned professionally to chug out GUI work for PCs for the time very low level and hand tuned, but I feel like I'm still wrangling the small stuff with lots of the js framework interface I do now. It's more painstaking than it is seeking inspiration, and the feeling of immaturity I get, please don't take this to demean the code quality in terms of value, but I mean in the consistency and fluency of APIs, leads me to much faster "brain fade" during a coding stint, than if i was corralling a CLOS like system. Bottom line, I think this is all about the way you mentally engage with your program, and that huge productivity growth lurks somewhere in the real subject of my head scratching. I think our minds just need a fluency, like music, and I have to reread GEB sometime soon to reconnect with the feelings I have on the problem.

>5. You also would like to ship it ASAP too.

I suspect number 5 is a stress factor. I believe stress can cause fatigue and/or procrastination.

Try to accept the situation. Take your time and enjoy the task.

Time away from the keyboard makes you more effective at the keyboard.

Take a break, let your brain breathe. Do some other tasks, hobbies or chores and you'll find yourself thinking about code soon enough.

Write documentation. I know that sounds the same as "keep working on it", but it's surprising how often going through updating/fixing docs gets me unstuck. And if it doesn't, at least I've done something productive.

If the docs are fine, there are usually other things to improve or experiment with (file organization, build process, tests, editor plugins...etc).

hypothesis: Writing docs for your project helps because it leads you to clarify concepts in your mind and thereby reduces the cognitive cost of working with those concepts and thereby makes future work less hard.
On a Saturday? Come on. Point 5 can wait till Monday (yes, it can). I'd go outside and enjoy the sun.
A side project is usually something you work on outside of business hours. So weekend work isn't something that can wait until Monday, because Monday is back to real work.
If you feel like that constantly and it doesn't matter which side-project it is, you should consider that you may be going through a burnout. Only a long time away from the offending activities might restore your energy to do them again.
If you're asking on ways to combat the urge to stop, I'd create a Trello board, and split it into the smallest pieces possible. Even if you have to stop, perhaps you can work on a 10-minute piece. Typically, those small wins keep me going.
I think it’s probably important to figure out WHY #4 happens. If this is something you’re passionate about, or something that you need to pay the bills soon, I would think that your motivation or excitement level wouldn’t wane so quickly.

After those couple hours, if you stop working on it, what do you do? Do you take a break and get back at it? Or do you follow through on waiting til tomorrow?

I usually return to it an hour or two later.
I think that sounds like a pretty good "work" to "work break" ratio. 2 hours on, 2 hours off, and then maybe 2 on again? As long as you're feeling like you're flowing for the time that you're actually working, getting 2 solid hours of uninterrupted work in, followed by a couple more later in the day, is probably more productive than many devs!
It'd Saturday. I'll be doing stuff I enjoy, not working.
Some of us actually enjoy coding and love spending our free time on side projects. 'Work' is coding someone else's crap.
1) Assess I'm feeling any one of HALT - Hungry, Angry, Lonely, Tired.

If I'm feeling hungry, I'll make myself a healthy meal. Tired? Take a 20 minute nap, then do some jumping jacks and listen to up-tempo music. Lonely? Call it quits for the day and go find social interaction. Angry? Either I need to re-examine my expectations for myself, Take a step back and get a better understanding of my tools, or stop using selenium and switch to https://www.cypress.io/

----

> You also would like to ship it ASAP too.

Things take time. Either cut the scope of the project or work on accepting that things take time.

> HALT - Hungry, Angry, Lonely, Tired

Wow, that's a neat mnemonic! I had never thought about it much before, but those four categories definitely account for the vast majority of non-productivity for me. Did you get this from somewhere, like a book or something?

I don't know where OP got it, but it's a very common acronym among the addicted (alcoholics in particular).
Oh interesting! I'd honestly never heard of it, but it seems a useful way to analyze situations like this. Thanks for the info!
I agree with HLT, but your anger evaluation is too simple.

There are so many different things that can lead to anger. Many different causes which might have nothing to do with your expectation. Often it also happens that the first thing that comes to your mind that you think is making you angry is not the real reason. Builtup frustration and stress can lead to being angry at anything at anytime.

As you can see, always reexamining your expectations might not work.

True. Anger is a more complex emotion than it seems
I'd argue it's more complex than most others--it can be a "stand-alone" emotion, or an amalgamation of several others.
I go and do something non-tech. Shoot some hoops with my kids, groceries shopping, chores. Anything but tech. I find that it gives my brain a rest.
Exercise. Bike, blade, or run. I go and rollerblade the Embarcedero.

You get some sun, you tire yourself out in a different way, your eyes get to focus more than two feet in front of you. There are people around but you don’t have to be social if you don’t want - moving at a different speed means you can still think on your mental problem.

Finally, you work up an appetite that sitting at a computer just doesn’t give you, and you can reward yourself with some nice noms that you feel you’ve earned and will give you the energy to return to code work.

Edit: I forgot to mention podcasts or audiobooks. If you want some external input for your mental stimulation you can do that at the same time!

45 yr old developer here, been at this for a long time...

While it can be tempting to just push through, that can be dangerous. Sometimes that "meh" feeling is a symptom of burnout. Did you have a long week? Lots of hours? Put out some fires? Decompressing now will be better than fully burning out in a few months with some shoddily coded side project to show for it.

That said, it's also possible that you need to "chop wood, carry water" as mentioned by another poster, but if you do that, take a moment to look at your side project from another level. Are you slogging because of some architectural debt, or because you're just poking at the problem to see what works? Personally, I get bogged down when I haven't thought through the problem at a higher level. Sometimes I'll just write a series of steps to get from where I am, to where I need to be, and identify the thing I am dreading doing.

TL;DR: Sometimes you need a break, sometimes you need to step back and take a 10k foot view of what's bugging you, and sometimes you just need to push through. It depends ;)