Josh W Lewis

Josh W Lewis

/

Essays

/

Categories

/

science

Rails Unit Measurement Persistence

By Josh on March 9, 2014

I’ve worked on a few apps in the past that had some cumbersome constraints in regards to the units of measurement. Models needed to store heat transfer or fluid dynamics properties in either english or SI units. This is can be a bit of a pain, so I...

Unitwise: Ruby Unit Measurement Math and Conversion

By Josh on August 13, 2013

So, way back in Mechanical Engineering school, I learned that a very effective way to check my answers was to make sure the units worked out. For an example, consider a basic physics problem:

The average mass of an adult American male is 86 kilograms...