It was a very good weekend…

24 02 2009

This past weekend was big for me.  It marks two milestones for me that I’m very proud of being able to achieve and to have both of them occur on the same day just made it even better.  First I weighed in at less than 200lbs for the first time in several years.  Bringing my weight loss total to over 50lbs since I quit smoking.  I was on track last summer to hit this milestone, but got sidetracked with a 3 month contract away from home, and ended up gaining 20lbs back.  Somehow eating restaurant food 3 meals a day doesn’t gel well with a weight loss plan.

The other goal that I’m excited about is that I was able to run a 5K finally without walking.  I used to run 5 miles everyday in high school and when I was just out of high school, and was in pretty good shape back then.  As the years progressed, I got lazy and put on about 80lbs.  While I’m nowhere near the speed I was in high school, I’m pleased with my ~26:00 5K times that I’m running now.

Looks like I’m on track to hopefully be below 190lbs in time for the Yankee Spring Time Trial coming up in April.  Hopefully my weigh loss will help me to shave a couple of minutes of my race time this year.





EdgeCase’s RubyKoans as Kata

6 02 2009

Back in January at CodeMash 2009 I had the opportunity to attend a Ruby 101 session given by Jim Weirich Joe O’Brien from EdgeCase.  They decided to take a different approach to teaching the Ruby basics that I found to be very effective.  Their method was to provide a test suite full of TestUnit tests or Koans.  These Koans provided a vehicle for you to learn Ruby by making the tests in the TestCases pass, exploring the API in tests rather than trivial “Hello World” fashion.  Brilliant.  The intent was to have a take away that you could come back to time and time again and explore, and possibly even extend upon and further expand your Ruby-Fu.

Since then I’ve also had the pleasure of seeing Corey Haines speak on the importance of practicing your craft through the use of Kata, or an exercise that you repeat over and over again to help develop some muscle memory in the brain of sorts.  So as I’m trying to become more comfortable and familiar with Ruby, I’ve decided to adopt EdgeCase’s Ruby Koans as my Kata.  I have already been through them once and will continue to go through them until it becomes second nature.  EdgeCase has open-sourced these RubyKoans which can be obtained on GitHub here (http://github.com/edgecase/ruby_koans/tree/master).








Follow

Get every new post delivered to your Inbox.