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

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 ;)

Quickly Solving the “Instagram Engineering Challenge: The Unshredder”

Today I have read about the Instagram Engineering Challenge: The Unshredder, and decided to give it a try. The task is simple to explain: Create a program that can unshred this image (do not try the challenge on this image, try the original PNG source instead!):


I have postet here that I think I can solve it in 2 hours, and got some downvotes for that; so I have decided to really give it a try. Long story short, it took me about 2 hours and 35 minutes.

Before I started developing, I made some quick assumptions to simplify things:

  • I want to code it in Ruby, this is the language where I am most productive.
  • I can assume the size of the stripes is well known, and I have hardcoded this size.
  • The image can be converted to RAW with an external tool, and written into RAW.
While coding I timed myself, and created a little timeline of my trials and errors. Since I wanted to finish as quickly as possible, the code is very ugly: no tests, some hardcoded constants, etc.

Continue reading

Here is a quick list of application…

Here is a quick list of applications I regulary use just in case my computer crashes and I have to reinstall everything so I don’t have to find everything again.

Windows apps

Chrome Extensions

Development Helpers

Android