Skip to main content

A Practical Programmers Guide to Weight Loss

Today at work I'm trying to encourage someone to recursively call design patterns. If you have no idea what I'm talking about, you are not alone. Many people will be happy to never learn highly adaptable application strategies.

It honestly can provoke headaches just from thinking about it.

I find the same about health and nutrition. People get a headache just thinking about it. There's just so much info and half of it contradicts the other. Which end is up? Just tell me what to EAT!


But once you break through the terminology and get your hands dirty, you realize it really isn't that hard. It's just accounting for your variables and tracking them for a while.

Manipulate Your Variables

Once you know what to expect, you make minor manipulations to aforementioned variables. Record the new values and verify they are heading toward the right direction.

So many times in programming and in weight loss, people are trying to write one application that covers everything the first time. Then they wonder why their weight is out of bounds and their energy is null.

It doesn't work like that.

Track your variables and try to account for exceptions as they occur. Break complex functions or strategies down to simplistic tasks and look for ways to replicate them.

When something isn't working as anticipated, debug the process. Locate where the natural stream diverges and work on that aspect until the natural flow leads to where you want it to go. Sure, there are so fringe cases which will still throw you for a loop but don't let it crash your entire application.

Handle it. Debug it. Squash the bugs you find. Carry on.

Post a Comment

Popular posts from this blog

Crazy Comparison

Last month I was doing an amazing job on keto.
I lowered my weekly average of carbohydrates from the first month. I raised fat up to where my protein level was and eventually surpassed it
It was a great time and I could tell it was working for me.
Little did I know what was going to happen in month 3.
Month 3
For month 3, I decided to trust fat more.
I did that by keeping carbohydrates around 20.Limiting protein to around 70g.And relying on fat to get me through the rest.
I soon realized I was going to need to supplement fat so I decided to do this with Bullet Proofing Coffee and Tea
In the beginning, it was a rocky start. I wasn't so sure I could pull this off. My first Bullet Proofing ended up a failure. I wrote about it here.
But I didn't give up
As a result, I now have two recipes Morning Proof CoffeeOffice Proof Coffee
I also have some interesting pictures to share. 
This is month 2

Notice the calorie restriction?
This is month 3

Note the uptick in calories? 
I'm consuming …

True8 March

Recently I had the honor of joining Josiah Novak's True8 March. I want to share my experiences. But first, Let's back up. There's a super hero origin story in the works which puts the rest into perspective.
100 pounds ago (heavier), I was looking for ways to get my health under control. By chance, I'm came across The Model Health Show by Shawn Stevenson. It changed my life in many ways. Along the journey I was introduced to Larry Hagner. He runs the The Good Dad Project podcast. Another aspect in my life which needed work was my parenting skills. I started following Larry and joined his Dad's Edge group.
It was in that group I discovered Josiah Novak. 
Josiah Now Josiah's words resonated with me. Over the past year, I developed a relationship with health. I could tell he shared many of the same values I discovered. It was inspiring, because I could see myself in him in about a year. Father, friend of the community, passionate about health, fitness, life. We sy…

Stairs 2017

In the beginning of 2016, I had the crazy idea to get into shape.  So, since I didn't have any free time nor a place to spend the nonexistent time... I decided walking the stairs was a great idea. Coworkers were doing it, it'll be fun. We'll get to walk and talk, and bond. Maybe I could even make a friend or two! Until I realized I could climb 3 floors without wanting to fall over and pant for air. I was that out of shape.  I was so embarrassed. An Army Veteran, couldn't even scale 3 floors without needing a rest. 
In this post last year I get more into detail about the experience and how I overcame it. I want to say it was quick and easy but it took a lot of work.  But... the work was worth it because now I can do crazy cool things in the same stair well. 
I want to share one with you.