Skydiving: 'A' License in a Week

This is what happens when I don't post for a while, my family has no idea what I'm up to. I got a birthday call this morning (I'm 25 today!) from my aunt who was shocked to hear that I'm out at Skydive Chicago this week going through their 'A' License in a Week course. Not much time to write today, I'm busy "jumping out of a perfectly good airplane," but I will have pictures and video up here later.

Blue Skies

Busy Summer

Wow, it has been a busy summer so far... And things don't look to be slowing down any time soon. In the past two weeks, Stephanie and I have been:

  • Camping with friends in WI (8/1 - 8/3)
  • Celebrating our First Year Anniversary! (8/4)
  • Working out project details at Skydive Chicago (8/5)
  • In MN for Megan and Matt's Wedding (8/6 - 8/9)
  • Attending Mayhem Fest at First Midwest Bank Amphitheater (8/10)

And that is only the first half of August... We begin moving into our new condo on Friday (8/15), Stephanie starts grad school at UIC next week, and if everything works out, I will be getting my Skydiving License in September!

Camping in WI

Stephanie and I went camping at Lake in the Woods in WI with friends Angela and Ryan. Angela and Ryan are getting married next August and Steph and I are both going to be in the wedding party. Lake in the Woods was a nice area... it is mainly a resort with a bunch of people who own trailers, not too many people camping out in tents like we were. That was the first time I've been camping since I was little and I had a good time. I wouldn't mind going up there again and getting in some Mini-Golf :-)

First Anniversary

The 4th of August, 2008, marked the one year anniversary of our marriage! Stephanie and I spent most of the day walking around and shopping in downtown Chicago. Since we had honeymooned in Hawaii, we ate at a Hawaiian restaurant called "Aloha" for lunch and tried to imagine an empty beach instead of cars speeding down Clark St. Dinner was pretty uneventful, but for dessert, Stephanie had made chocolate-dipped strawberries, marshmallows, and graham crackers, while I had brought home aHearts and Berries fruit basket from Edible Arrangements.

Skydive Chicago

Rob, Kamil, and I are working on a project at Skydive Chicago, more details to come later :-)

Megan and Matt's Wedding

A big "Congratulations!" to Megan and Matt on their marriage. Stephanie and I went up to MN on Wednesday to help them with the finishing touches for their wedding. I got my hair cut on Friday (first time in a year!!) and proceeded to fry myself from chest to toe in a tanning bed while waiting to be picked up. A fun time was had by all at the Rehearsal Dinner and the Wedding, pictures coming soon!

Mayhem Fest

After a brief rest following the reception (4 hours at the most) Stephanie, my Dad, and I loaded up into my Mustang and headed off to Tinely Park, IL to catch Mayhem Fest. We got to the fest around 3p.m., missing The Red Chord (opening act for the fest), but caught the end of Soil's set (they were the Jäger Band and sound good with their new singer). They had the two smaller stages set up side-by-side, so when one band finished, the next band started. They also had a small BMX-like thing going on occasionally during the sets that was pretty distracting, especially when the music they were playing over the loudspeakers interfered with the bands on stage. A band that really surprised me on stage was Black Tide, I'm looking forward to picking up their album when I get a chance. Since the fest was on a Sunday night, they pushed up the show times for the main stage and I missed all but Through the Fire and Flames from Dragonforce (we purposely skipped Mastodon in favor of seeing Walls of Jericho, Underoath, and Machine Head). Disturbed and Slipknot put on one hell of a show. I love the new Disturbed album and the new Slipknot is due out at the end of the month. Steph and I had PIT passes, while my dad and cousin sat center stage right behind the pit for the show - could not have had better seats! Is this the new Ozzfest? Could be...

Next big show I know of coming up is Metallica with Machine Head in January...

Countdown to Second Skydive

After reading a few skydiving books*, I have been itching to jump out of a plane again. Well, the date has finally been set, the weekend of July 18th I will be performing my second tandem skydive. After I complete my second tandem jump, I will be eligible to enroll in the A-License In A Week course at Skydive Chicago! I really want to be able to get my Class A Skydiving License this Summer...

* List of skydiving books I've read so far:

Custom Subversion Rake Task, Part 2

In this long overdue follow up to Custom Subversion Rake Tasks, Part I, I will guide you through the remainder of my custom Subversion Rake Tasks (svn:add,svn:delete, svn:update, svn:commit, and svn:status).

rake snv:add

task :add do
  files = `svn status`.split("\n").find_all{ |f| f =~ /^\?/ }.collect { |f| f.split()[1] }
  puts `svn add #{files.join(" ")} --force` unless files.empty?
end

Add new files (svn status of ‘?’) to the Subversion repository. We perform an svn status call, split the response string into an array and search the array for any line that starts with a ‘?’. For each line that we find, we split the string to store only the filename. To perform the svn add in one line, we join all of our filenames with a space.

rake svn:commit

task :commit => [:add, :delete, :update] do
  comment = ENV['comment'] || ENV['m']
  comment = '[rake svn:commit with no comment]' if not comment or '' == comment
  puts `svn commit -m '#{comment}'`
end

Commit files to the Subversion repository. To add comments to our commit we use rake svn:commit m="message" or more detailed, rake svn:commit comment="message". This task will perform svn:add and svn:delete to get a complete commit, and svn:update to get the latest code, check for conflicts, and run our rake tests to ensure a clean commit.

rake svn:delete

task :delete do
  files = `svn status`.split("\n").find_all{ |f| f =~ /^\!/ }.collect { |f| f.split()[1] }
  puts `svn delete #{files.join(" ")} --force` unless files.empty?
end

Remove deleted files (svn status of ‘!’) from the Subversion repository. Implementation is the same as svn:add above.

rake svn:status

task :status do
  files = `svn status`.split("\n")
  
  modified = files.grep /^M/
  puts "", "Changed Files", "-------------------------", modified unless modified.empty?
  files = files - modified
  
  added = files.grep /^(A|\?)/
  puts "", "Files to Add", "-------------------------", added unless added.empty?
  files = files - added
  
  deleted = files.grep /^(D|!)/
  puts "", "Files to Delete", "-------------------------", deleted unless deleted.empty?
  files = files - deleted
  
  puts "", "UNKNOWN ACTION", "-------------------------", files unless files.empty?
  puts ""
end

Show the status of your local files as compared to the Subversion repository, grouped by Modified, Added, Deleted, and Unknown. An example of ‘unknown’ is svn externals (svn status ‘X’), where we just let svn do it’s thing.

rake svn:updat

task :update do
  files = `svn up`
  puts files
  raise "One or more conflicts found." unless files.grep(/^C/).empty?
  Rake::Task["db:migrate"].invoke
  Rake::Task[:test].invoke
end

Update files from the Subversion repository, raises an error if conflicts (svn status ‘C’) were found that could not be merged (svn status ‘G’). If the svn up goes well, we rake the database if needed and run our test suite to ensure everything is kosher.

Wheh! That wasn’t so bad, I don’t know why it took me over a month to get this out. Well, I’m off to RailsConf 2008 tomorrow. Going to try to take in some of the city (Portand, Oregon) tomorrow night, before all of the Rails madness starts in with the Tutorial Sessions on Thursday :)