Tag Archives: Languages

Ruby Bootcamp Basics

I’ve been putting myself through a Ruby bootcamp.  Here’s are the steps of my training:

  1. Install Ruby and Rails on Mac OS X Snow Leopard
  2. Ruby Primer introduction to Ruby basics
  3. Quick Reference
  4. Ruby on Rails Tutorial comprehensive tutorial that goes through the complete setup from db to web application

While going through the tutorial I found a few issues that I wanted to highlight:

  1. The use of the start_form_tag has been deprecated, the correct tag to use is form_tag followed by do e.g. <%=start_form_tag :action=> ‘create’ %> becomes <% form_tag :action=> ‘create’ do %>
  2. The use of the end_form_tag has been deprecated, the correct tag to use is end.
  3. The error message: syntax error, unexpected kENSURE, expecting $end means that Ruby is trying to ensure that a keyword in this case ‘end’ is being used.
  4. redirects_to versus redirect_to the former is a class method and the later is an instance method.
Enhanced by Zemanta

Femgineer Goals for 2010

Every year I make the usual new year’s  resolutions to be healthier, friendlier, calmer, cheaper, smarter, and so forth.  But, I don’t actually set goals for how I want to become a better developer!  So I decided that I’d put together a list of skills I want to have, and goals I want to accomplish by the end of 2010.

I’m also going to post the best tutorials and troubleshooting tactics I come across while meeting my goals.

1. Learn Ruby on Rails

2. Learn Objective-C and Create an iPhone app

3. Learn Adobe Air

4. Read 3 books on software architecture

5. Attend at least 1 developer conference

Enhanced by Zemanta

My Favorite 4-Letter Words

A few months ago a friend from France stayed with me.  English was her third language, and she identified nuances in my manner of speaking that I  hadn’t ever thought about it.  There are words that I use consistently that I hadn’t even realized I use.
Here are the 4-letter words I use daily:
  1. Code
  2. Yoga
  3. Food
  4. Love
  5. F@c&

I’ve also been told that for someone of my stature I curse like a sailor.  But, I want to clear the air and set a standard.  My use of expletives is usually directed at my code or emotional response to a situation and never at someone.  For example:

  • f@c&” – bug in my code.
  • “wtf?!?” – what just happened here.
  • “that’s f@c&ing brilliant” – wow what a great idea.

Of course it depends on your environment and the attitudes of others around you.  I’ve cut down a lot over the years, and make attempt to curtail it in the presence of children.  But in the comfort of my own home and car I will let loose and exercise my 1st amendment right.

Just to add a little credibility to my claim the following articles show swearing reduces stress even in the workplace:

Enhanced by Zemanta