Reversing the effects of long programming sessions

By PretzelFisch - 18 hours ago

Showing first level comment(s)

We need to restrict the amount of hours we spend in front of computers per day and take weekends completely off. There are so many downsides: blue light that damages your vision, lack of exercise, depression and other disorders, missing out on social life, etc.

There is a direct relation between productivity and having a life put together. Not taking care of ourselves (programmers) could have lead to disaster: mental disorders, burnout, leaving a well payed job, etc.

Lately I've stop giving a damn about deadlines like I used to. Money is nice but mental health does not has a price. The moment you enter the rabbit hole of antidepressants you're already ripping your soul.

mariopt - 17 hours ago

I hate talking to people after a long programming session. I simply can't do it, and I'm normally very social and outgoing. I just stand there and it probably looks like I'm gazing off at something; I'm just not there.

I've tried doing many things after a long session.. for me, the only remedy I've found is time. I just need a few hours.

I also produce music. This doesn't help because producing is very similar to programming in many ways. Puts me right back in the same state.

Having three+ drinks certainly helps... but not healthy nor sustainable on a daily basis.

Cshelton - 17 hours ago

But how do I deal with the fact that I always feel that there are people out there who are a lot better than me and a lot younger. I feel I am already wasting time doing daily chores...I feel the act of 'eating' is complete waste of time. You are doing nothing..just eating..

There is this constant thing in the back of my mind, that I need to improve. I stopped watching movies, stopping playing Dota (had played it 2000+ hours in total), stopped playing any musical instruments...

Day in and day out, I feel like the time I am spending not learning anything is a going to waste. I need to be productive everytime (atleast feel like being productive).

Even on youtube, I try to only watch technical talks as much as possible. If I stray away, for instance watch a VICE documentary, then I feel miserable as I just spent 45 minutes doing nothing.

Technically, I can see that I am improving. But when will this stop ? There are 15 year old kids who know more than me currently, then I will ever learn/know.

One would assume that, with this kind of daily life, one would be lot better "intellectually" or in some other sense. But I can assure you, I might be only slightly above average, but thats it. There is this constant thing inside me, that I am only slightly above average, not the best in anything.

The more I know, the more I find what I don't know. I guess it stems from the Dunning–Kruger effect.

But how do I deal with this ?

pulkitsh1234 - 6 hours ago

I've found that the most important thing is not engaging in marathon sessions, full stop. My code is better, I'm healthier, and I get more done per working minute.

Take a break every hour or so, minimum ten minutes, and step away. Make coffee, ponder the infinite, pet your cat, listen to some Chicago or Slayer, whatever suits your preferences.

jaggederest - 17 hours ago

In this last project I was in, which was a bit of a death march - we (Team) ALL got to the point of incurring bizarre sleep disturbances and other cognitive/emotional disturbances:

It would take 3-4 hours once home at our set stop time to "shut off" our brains from thinking about what we were working on - and switch over to "being home" mode and interacting with spouses etc. without being irritable.

We also all had disturbed sleep from "programming dreams" once we could shut our brains down and actually fall asleep.

This is nothing new, I know - but it was intriguing (and frightening) to see these effects manifested consistently across our entire team.

dfsegoat - 16 hours ago

"Personally I cannot listen to technical podcasts while I develop software"

What? I've never known anybody that could do that! Anyone that can do that meaningfully must be some kind of savant.

warent - 16 hours ago

When I played poker for a living I would sit for like 12-16hrs at a table glued in thinking in fractions and ratios. I couldn't even count the chips when I went to the cage after, it wasn't in ratios. I would meet friends at a bar/club and couldn't talk to anyone for at least an hour.

They should add:

- Weed - Drinking - Porn

There is no way I could play video games.

nacho2sweet - 14 hours ago

I have a timer app (RSIBreak) that forces me to take 20 second breaks every 10 minutes and 4 minute breaks every half hour; I usually get up and walk around or stretch a bit and look out the window for awhile. Works wonders for making me feel way better. I've improved my posture from doing it, as well as making my eyes feel way better after working a full day. I also use Redshift to tone down my screen; when I turn it off for certain things, my screen feels blue and bright in a weird way.

brobdingnagians - 3 hours ago

Here are a few other suggestions:-

- Playing video games

- Cooking

- Watching TV

- Listening to music

- Talking to non-technical friends

- Closing my eyes and slow your breathing

- Exercise

I can see all but video games and watching TV, where again you sit in front of a screen. Doesn’t help me. Instead, I’d add hiking in the hills, forest, mountains, being outside in nature in general. Nothing is more re-energizing for me than that.

baxtr - 16 hours ago

[ a pedantic corner of my mind insisted that the title should imply "deleting the code" as well ]

I found that doing Brazilian Jujitsu really helps with this; two or three minutes into a session and all other concerns are gone and the relaxation afterwards is great - the world takes a while to come flooding back.

I think TV and video games are a dodgy recommendation in that it's just more time in front of screens - itself not great. Unless you have a pretty wacky working environment you're sitting down or at best at a standing desk. So adding more sedentary activities as a way from unwinding from other sedentary activities is pretty questionable. Not everyone is going to love something as full-on as BJJ but surely 'go for a walk' should be way ahead of 'more screen stuff'.

glangdale - 9 hours ago