Optimized Approximative pow() in C / C++

Mostly thanks to this reddit discussion, I have updated my pow() approximation for C / C++. I have now two different versions:

Continue reading “Optimized Approximative pow() in C / C++”

Chunky bacon

Since I blog a mixture of health and programmnig, my old tagline May all your work reduce to O(1) just didn’t cut it any more. Fortunately I have a found a perfect replacement:

Chunky bacon!!

This is the perfect combination of both worlds. Unfortunately, only few readers will get that chunky bacon is actually good for your health. Even fewer readers will get that this is actually a famous programming reference. Even fewer readers will get that it is actually both…

Low Carb High Fat — Big Video Roundup

So you want to get healthy, lose weight, or both? Then the Low Carb High Fat diet might be for you, but please judge for yourself. This page is merely an attempt to collect the most important and interesting talks/presentations about this general topic. In a nutshell, it seems carbohydrates are bad for your body, and fats are good. If you think this is crazy, I invite you to do some research on your own. Educate yourself, your body will thank you.

If you find a video that you think belongs here, please post it here or at the reddit discussion! I will try to keep this page updated.

Shortlink for this page to send to your friends: http://j.mp/lchf

Continue reading “Low Carb High Fat — Big Video Roundup”

Relative Risk for Dummies

I read a lot of health related studies, and most contain in their conclusion a statistical description of the result. To be able to draw valid conclusions for oneself it is very important to understand what all the numbers mean. I have recently learned all that, so here is an example together with an explanation:

The multivariate relative risk of gout among men in the highest quintile of meat intake, as compared with those in the lowest quintile, was 1.41 (95 percent confidence interval, 1.07 to 1.86; P for trend=0.02)
— from Purine-rich foods, dairy and protein intake, and the risk of gout in men, 2004.

A more understandable translation of the above is this:
Continue reading “Relative Risk for Dummies”

Health & Software Engineering

One of my main interest apart from software development is health, mainly nutrition but also exercise. I will try to systematically collect my findings and write a health related blog post from time to time.

Keep in mind that I usually have no idea what I am talking about, I have not any medical background. I just try to collect and organize evidence that I am finding.

So, from now on expect some posts about stuff that might make you healthy, loose weight, gain weight, live longer, or die instantly 😉