Live data from Hacker News

Ask HN: How do I get fit and healthy as a software engineer?

news.ycombinator.com

41–50 of 213 posts

Re: Ask HN: How do I get fit and healthy as a software engineer?

#41
There's an exercise program called couch to 5k. Tons of people have used it, it's super easy to follow, and it works.

Download the first week podcast. Pick 3 days and times to exercise this week, 1/2 hour. Follow the program. In 9 weeks you will be able to run 5k.

Its basically music, with instruction to start running, or stop and start walking, over the top.

Theres loads of different podcasts that you can choose that implement it, here's one from the NHS:

https://www.nhs.uk/live-well/exercise/couch-to-5k-week-by-we...

This is how easy week 1 is:

For the runs in Week 1, you will begin with a brisk 5-minute warm-up walk, then you will alternate 60 seconds of running, with 90 seconds of walking, for a total of 20 minutes.

Once you can run 5k, pick a half-marathon 14 or so weeks out. Start a 12/14 week half marathon program. This will usually be 1 weekly 5k run, 1 weekly 20 minute other cardio, 1 weekly ever increasing distance run (5k, 6k, 7k, 8k, 9k, etc.) to the point where you'll run 20k the week before your half marathon.

Then run the half marathon.

Re: Ask HN: How do I get fit and healthy as a software engineer?

#42
Speaking from my own experience as software engineer with burnout and doing sport: do it slowly, everything else is an additional source of stress.

My take on exercise is the following:

- a baseline of pull-ups and push-ups. Doing them multiple times a day, basically every time I take a break. I don't do them until failure but just enough for them being taxing. I started out with 6 push-ups and 2 pull-ups in a row and increased them every one to two weeks. It takes 5 minutes and also helps me with concentration.

- I go bouldering 1-2 times a week because it's fun. Sometimes I'm motivated, sometimes not but that's fine. The boulder-hall has a rowing ergometer which I often use to counter the sitting in front of a computer lifestyle.

- I take the bike everywhere I can.

That said, it's all about consistency. It's amazing how fast one gets used to sport and doesn't want to miss it afterwards.

For diet, I just put a lot more veggies in there than before and adapted to interval fasting (meaning: skipping the breakfast). After a week, I stopped being hungry in the mornings and I lost around 6.5kg in 3 month. Now my weight is stable and I'm happy with it.

Re: Ask HN: How do I get fit and healthy as a software engineer?

#43
Before corona started, I walked to work every day (1.5 hours in total). It's a habit I've had since I was a student too poor to buy a bus card.

A few months after this I started noticing how just walking the stairs got me tired, and how my general well-being deterioated.

I've certainly never been "fit", but walking to work is a great start. It also does not require much dedication , something which is hard to spare if you have a busy career.

Re: Ask HN: How do I get fit and healthy as a software engineer?

#44
Quit the office job and work a fast paced physical labor job. You’ll lose weight and gain strength and stamina guaranteed. I mean this too I actually did it. I can’t do office jobs it’s hell to me. I lost 30 pounds in my first two years working at my factory job. I can eat nearly anything I want too without gaining weight.

Re: Ask HN: How do I get fit and healthy as a software engineer?

#45
This is how i did it:

1. Start with a morning walk, or jog or even run if/when you feel like it. Spend about 1h moving before work. Walking is great form of exercise as long as it gets your heart pumping. For me walking is plenty enough to get me on lower training heart rate zones, and that is where 90%-95% of all training should happen, no matter how fit one is.

2. Eat well. For me taking in about 1.6g of protein / kg of body weight works, as it keeps sugar cravings away. Although I've always been light/normal weight, the body composition has not been great.

3. Again, for me, a fitness tracker (fitbit) has been a great tool, as it has both motivates me (I have a step goal for a day) and the app helps me to count what I eat. I started by counting everything I eat, but found out that counting the protein has been enough, as I don't feel like eating junk after having enough protein (note: not excessive amount, just enough, or maybe even a little too much). I stopped counting when I became familiar with what works.

4. Start every meal with protein. Might be just a placebo effect, but I've seen studies that say eating protein first significantly decreases insulin spikes. So if I eat breakfast I start with something with protein in it and then eat the rest, and the coffee last. I believe this has had an effect on my diet, mood and again sugar cravings.

5. I am definitely performing better, have better stamina and brain fog is almost non existent. I think I've been in a denial about my actual shape and weight, as I'm almost back to high school weight now with absolutely no adverse effects, just better body composition and mood.

6. I think everyone has a way that suits them. I highly recommend walking, it is magical form of exercise that gets you 99% of the health benefits without demanding almost anything. All other forms of exercise are fine too, but walking is the king of low effort, high return exercises and is probably something even an avid gym goer or bicycler should do. Any human basically.

Being lighter than the average Joe is absolutely not a measurement of your health or fitness. I guess I've become "skinny fat" at some point without realizing it, and I absolutely don't care about being skinny or fat, it is just that the feeling I have now is so much better. All the best for you!

Re: Ask HN: How do I get fit and healthy as a software engineer?

#46
I replaced my desk and chair with a standing desk and a walking treadmill. I get at least 2 hours of walking per day out of it and it's benefited me a lot.

No longer have back pain and it just keeps the mind fresh throughout the day.

It took a bit of getting used to, but I can now type without making many errors. I walk at 2 km/h

Due to getting a bit of activity at the beginning of the day also makes me motivated to go out for a run in the evening.

you also need to take care of that burnout. Take a break, spend some time to recover and then get into the habit of moving throughout the day. Use a pomodoro timer to remind you of taking breaks

Re: Ask HN: How do I get fit and healthy as a software engineer?

#47
I'd say you can forget half marathons for this year, as normally you can increase your running distance by 1km per week. So if you can't do 5 today, you won't be able to do 20 until 15 weeks later.

Just start small and keep it consistent no matter what - like running 1-2km per day NO MATTER WHAT (rain, snow, cold, w/e). Just do it.

Re: Ask HN: How do I get fit and healthy as a software engineer?

#48
Whatever activity you decide to focus on, I highly recommend hiring a coach/trainer. Getting somebody else to make your plans significantly lowers the mental energy required to do the activity, and the feeling of expectation from them creates accountability you may not be able to replicate on your own. Mentally reframing the cost from “that’s a luxury / it’s too expensive” to “that’s a small price to pay for radically improved health” helped me overcome my initial hesitation. A few hundred dollars a month on coaching can make the difference between success and failure for many people.

At the end of the day of programming, the last thing I want to do is try to put together a workout plan. My trainer puts that on autopilot for me and I just have to commit to doing whatever they say.

Re: Ask HN: How do I get fit and healthy as a software engineer?

#49

In my opinion you're looking at the wrong problem. If you're burned out, you won't have spare energy for anything else, and however you approach it, fitness requires a minimum amount of energy to be sustainable, which you don't have. Technical solutions may lower the energy threshold, but they won't stick, as they won't lower the energy so much that you will stick to them long term, if you are mentally depleted. It's…

IMO the energy you expend doing exercise is coming from a completely different place than energy for knowledge work. On the contrary, doing exercise clears your mind and engages your body -- the opposite of sitting at a desk. In my experience you will feel your baseline "mental energy" also start to increase.

Re: Ask HN: How do I get fit and healthy as a software engineer?

#50
I built a home gym.

Over about a month I got the following equipment:

- power rack (and 1/2 squat rack)

- barbells x 2

- bumper plate 200kg

- dumbbells from 9kg -> 40kg

- SSB

- etc..

I put it all on my veranda and now it stares at me while a code, it's a powerful incentive to work out most days...I spent a bunch of moolah on this I want to get my monies worth.

And it's working....

Post reply on HN