Enhance-athon Day 4
Created: 10 January 2007 Modified:Originally published on chrislynch.info website.
Today was bowling day and that sure causes a shortage in the number of hours I have left in the day. All I want to do is kick back and watch “Heroes”. I don’t have cable or an antennae but I do watch the shows online. Everything was more of a struggle today! I felt like I was learning “up hill”.
Today i studied sessions for the certification. How they are created and desroyed. How to set their lifespans. It covers how they work behind the scenes and what to do if cookies are disabled. Trying to handle sessions without cookies is a big pain in the keister. The text also covered how to create and use cookies. The book goes into great detail on the interactions of clients and servers. This book would be really an excellent choice for someone who has little or no web development experience. I on the otherhand can find it a little tedious.
I learned to use the “require statement” in Ruby today. Which I chose to learn so I could order my code a little better. The part of the book I covered today dealt with code blocks and closures. In many ways they are the same because they both deal in references to anonymous code blocks. The cool part is you can call methods of classes and pass code blocks to them that will be executed when “yield” in the method is executed. The bookd didn’t dwell on them long and I hope that the subject will be revisited later. I did my first bit of Unit Testing in Ruby as well. Todays code can be found here.
Guitar practice was fairly enjoyable today if a little monotonous. I spent the whole half hour trying to increase my fingering speed. I practiced going between D, C and G for the whole time. It is really to soon to tell if their has been any improvement. My finger tips are getting rather sore and I expect my wrist will be as well.
All in all I feel pretty good about today. I was concerned that I might wimp out on my bowling night. Since I didn’t I’ll give myself a big pat on the back!
tags: blog - old blog - News