A Taste of the DNC on the 16th Street Mall

27 Aug 2008 In: Adventures, Family

Amy and I took the kids down to the 16th Street Mall last night to take in the sights and the chaos as people descend on our fair city for the Democratic national Convention.  For those of you that can’t be here, this is for you.

Oh, and I’m going to Mile High to see Obama speak tomorrow, are you?!?

Commiting to a new branch with Subversion

21 Aug 2008 In: Technobabble

UPDATE: Don’t follow this guide, look down in the comments and do what John suggested.  This totally screwed me up, as none of the changes I did before I created the branch came through in the merge.

I started working on a new feature for my product today, and realized after several hours that committing my code would be a bad idea.  The new feature is big enought that I should have started working on it in a branch, but I didn’t think of that early enough.  I thought there would be a simple way to “commit changes to a new branch”, but I wasn’t able to find any obvious way to do that.  Here are the steps I took to get this accomplished.

From trunk checkout with uncommitted files:

  • Copy current trunk to a new branch
    svn copy . /path/to/new/branch
  • Switch current working directory from trunk to new branch
    svn switch /path/to/new/branch
    This merged my current changes with the trunk
  • Mark new files to be commited|
    svn add /path/to/new/file
    For each file that needs to be added
  • Commit your new files
    svn commit
  • Switch current working directory back to trunk
    svn switch /path/to/trunk
  • Checkout your new branch to work in
    cd ..
    svn co /path/to/new/branch

That’s all there is to it.  If you know an easier way to do this, let me know.  I wonder if I had done the “svn add” commands before the switch if that step would have been unnecessary.

Tale of a Turtle

12 Aug 2008 In: Adventures, Family

On our recent trip to South Dakota, there were quite a few exciting moments. Bears brushed up against our car in Bear Country USA, the police came to visit us because someone thought they saw a “domestic disturbance” in our car and a hike to split rock resulted in our being covered with ticks. Despite all the excitement, there is one story that stands apart from the rest. This is that story. This, is Snappy’s story.

On our way out the door for one of three-or-so-a-day hike’s, the neighbor down he road from out cabin waved us over. When we got close, we found a very large turtle on the front lawn. It was big, green, cranky, and clearly out of place. There is a small pond behind this cabin, and sometimes when there is heavy rain one or two of these suckers will get washed downstream and end up there. It was a common snapping turtle, and they are very aggressive. The kids actually listened to me for once and observed it from a healthy distance.

Mason & Madeleine watch Snappy

Read the rest of this entry »

My New Garbage Disposal

4 Aug 2008 In: Family

This morning we awoke to find a little blood on the kitchen floor. It was coming from our now 11 week old puppy, Diablo. We took her to the vet and they kept her a while for some tests. When they finally called, some x-rays showed what looked like rocks in her stomach.

Uh oh.

On our trip to South Dakota we caught her chewing on rocks quite a few times and were, or so we thought, diligent about taking them away from her. The gave her some medicine that would force her to vomit in hopes that it would get them out, otherwise she would be going under the knife. It turns out the medicine was successful and got the rocks out. Oh, did I just say rocks? They found the following had been in her stomach:

  • A couple pieces of shale and some other unidentified yellow rock
  • A hairball
  • A yellow bead
  • Wood chips
  • A small piece of paper with the following writing: 24″ x 21″

Apparently my dog can no longer be left unsupervised with anything smaller than her head.

All silliness aside, this is quite dangerous. Unfortunately one small rock made into her intestinal track, but the vet feels comfortable that it will pass through with little trouble. Until then, I get to inspect dog poop!

Vitamin Water!

28 Jul 2008 In: Family, Miscellaneous

My cousin Josh works in the marketing department for Vitamin Water. When he was in town a few weeks ago I mentioned how much I loved his product, which I really do.

Read the rest of this entry »

I Can Do More Push Ups Than You

20 Jul 2008 In: Miscellaneous

OK, thats probably not true. It may come as a shock to many of you that the glamorous life of a software engineer/father doesn’t leave a lot of time for exercise. I wouldn’t call myself “fat”, but the Morgan from 8 years ago would have mocked me and called me lazy. On Friday my fellow platypus in arms told me about hundredpushups.com. The idea is simple, do a simple test to see how many push-ups you can do, then do push ups three times a week for six weeks and by the end you should be able to do 100.

100 push ups? Dare I dream? Yes, why not. I did the test tonight and, being very careful not to cheat at all, I did 21 solid and respectable push ups. That puts me right in the middle of rank 3 (15-29 push ups). I will follow the plan, which is easy as it requires little time and no equipment, and let you all know how I do. If I can do it, I will make a donation to the hundred push ups program creator so he can get an old school Volkswagen bus.

Gender Bender

12 Jul 2008 In: Family

Amy took Diablo to puppy class the other day and found out that he… well, is a she. Oops. Something was mentioned at the Pet Store about the puppy being male, and I never bothered to look that closely. I respect her privacy.

A conversation from the movie Gross Pointe Blank:

Debi: So, is there a Mrs. Mysterio?
Martin Q. Blank: No, but I do have a very nice cat?
Debi: Not the same.
Martin Q. Blank: Well, you don’t know my cat, it’s very demanding.
Debi: It? You don’t know if it’s a boy or girl?
Martin Q. Blank: I respect its privacy.

After this discovery, we talked about whether or not “Diablo” was a good name for a girl. Amy says she wants to keep it, so we will. I am still not sure.

When I was young, my mom and I saw an adorable chocolate lab at a pet store and ended up convincing the rest of the family to get her. All of us came up with ideas for a name, but in the end the grown-ups decided to name her Tucker. Throughout the entire life of that dog, it slightly bothered me that she had what I considered to be a masculine name. For the record, my name for Tucker was “Mocha”.

The problem is we already have out puppy trained to the name Diablo, and the kids have bonded with her over that name. So, the name stays. If anyone asks, I’ll just tell them it’s because shes a little she-devil.

Rails Upgrade Woes

10 Jul 2008 In: Technobabble

The Ruby on Rails application that I work on uses a plugin called Hobo. We are using a fairly old version of Hobo, because upgrading has been difficult, but the recent security concerns prompted us to take a serious crack at it. It seems that every time I get close to pushing through, one of the three things in the stack (Ruby, Rails or Hobo) causes problems. If you are considering upgrading, keep the following in mind:

Ruby Version Rails Version Issues Links
1.8.7 2.0.2 Incompatible. Specifically, Rails extends the String class with several methods that call “char[]”, but the object that is returned doesn’t support/implement [], so you get undefined errors. Joy. Problem found in Tracks
1.8.6 p230 2.0.2 Got segmentation faults when running rake test. Rails unable to render any view that uses “form_for”, gives me the error “ActionView::TemplateError: wrong argument type FalseClass (expected Proc)”. Someone with problems

Rundown of Rubyspec problems with 1.8.7

1.8.7 2.1.0 Rails+Ruby seems OK here, but I found several problems with Hobo. Mostly around things in the Template classes. The Hobo templates seem to need a whole bunch of methods that aren’t defined. Couldn’t find anything.

Looking at the above, I think I have no choice but to choose Rails 2.1.0 and Ruby 1.8.7 and try to tackle the Hobo issues.

Also, looking at this post in my blog makes me woefully aware that the width of the content column isn’t sufficient for a lot of things. I have a custom thing I have worked on, and promised to develop earlier, maybe it’s time to look into that. Enjoy squishy table content during the interim.

Blue Sage Realty Sucks, Apparently

2 Jul 2008 In: Opinions

A coworker of mine has been looking to rent a new place in Colorado.  After a lot of searching they found a house they liked that is managed by Blue Sage Realty.  You can read for yourself, but he was treated horribly by them.  Despite the problems I am having with my house, I am glad to be an owner rather than a renter.  It means I don’t have to deal with petty, annoying, unprofessional people like that.

A Weekend in the Mountains

1 Jul 2008 In: Family

When Amy was a little girl, she and her family used to go up to these little cabins in the Poudre River Canyon. For a nostalgic adventure we loaded the kids and dogs up into the Subaru for a quick trip. The cabins were nice, but small. They had cold running water and a stove that was a wood burning/gas hybrid. There were shared restrooms, a little playground, and a fire pit. We spent the night there, and then on the way down the mountain the next morning we went for a hike on the Dadd Gulch trail. For me this hike was the highlight of the trip. The trail was beautiful, with lots of wild flowers, little streams for the dogs to cool off and a swarm of butterflies. I’ll let the pictures do the talking here.