Thursday, August 31, 2006

September 23rd, Catherine and I will be doing the Parkinson's Superwalk at Rundle park here in Edmonton. I have been doing this walk for the past 3 years hoping that it is contributing to a finding a cure for Parkinson's.

Every year I do the walk for my Grandpa. This year is going to be tough because on my birthday this year my Grandpa was sent to the hospital suffering from the effects of Parkinson's and has not came out since.

This weekend, I am going back home to see him for what may be the last time so it would mean a lot to me if you could sponsor me (or if you don't like me sponsor Catherine) in this year's SuperWalk by clicking the link below:

Sponsor Me in the 2006 Parkinson's Superwalk

Thanks!

Update: I have been informed that people had problems with the previous link, I have updated the link but you will now have to put in the following information to sponsor me:

  • First Name: Steven
  • Last Name: Rockarts
  • Province: Alberta
  • City: Edmonton

Thursday, August 31, 2006 1:08:39 AM (GMT Standard Time, UTC+00:00)  #    Comments [0]  | 
Tuesday, August 29, 2006

I have been waiting for GeoTagging to come to Flickr for a long time and now it is finally here!

Here is the definition of GeoTagging from Wikipedia:

"GeoTagging, sometimes referred to as Geocoding, is the process of adding geographical identification metadata to various media such as websites, RSS feeds, or images. This data usually consists of latitude and longitude coordinates, though it can also include altitude and place names."

Basically, it maps the locations that you took your pictures so that you can give people a virtual tour of your trip, here is an example I made up tonight of our trip to Vancouver in 2005:

http://www.flickr.com/photos/stevenrockarts/map/

Adding the GeoTags to our pictures was fairly easy and will convince me to renew my Flickr pro account when it expires. I am also probably going to buy a GPS that I can bring along with me when Catherine and I go on vacation later this year.

One gripe that I do have with Flickr GeoTagging is that it uses Yahoo Maps for its map layer (since it is now own by Yahoo). The Yahoo maps don't have the level of detail that Google maps has and I found myself switching over to Google maps to get a better satellite view of Vancouver.

Tuesday, August 29, 2006 2:57:19 AM (GMT Standard Time, UTC+00:00)  #    Comments [0]  | 
Sunday, August 27, 2006

A couple of us geeks are getting together 7:30pm Thursday September 14th at Muddy Waters (8211 111 Street NW) to talk about Rails. It is a fairly unofficial meeting and definetly nothing like Edmug. This is probably the beginnings of a new Rails group in town, you can check it out at http://www.edmontonrails.org (site may be down)

The meeting is just going to be a bunch of people geeking out and talking about Ruby and Rails so if you are interested feel free to come out and grab a beer or coffee with us.

Sunday, August 27, 2006 6:19:49 PM (GMT Standard Time, UTC+00:00)  #    Comments [1]  | 
Saturday, August 26, 2006

This stop motion movie called Game Over has to be one of the coolest stop motion movies I have seen. It uses house hold items to recreate old school video games.

Chech out the other movies while you're there. They are pretty cool.

Fun
Saturday, August 26, 2006 7:31:27 PM (GMT Standard Time, UTC+00:00)  #    Comments [0]  | 

I was pretty impressed with my girl today. I came home from work and sitting there waiting for me to  install it on her computer was an extra gig of ram. :)

The reason for the upgrade, so she could play WoW. Does this make her geekier than me?

[ Currently Playing : Blackstar - Radiohead - The Bends ]

Saturday, August 26, 2006 1:24:10 AM (GMT Standard Time, UTC+00:00)  #    Comments [1]  | 
Friday, August 25, 2006

A lot of people want to use mock objects in their code, but have a hard time because of the steep  learning curve it takes to learn how to use mock objects.

Today at work, I accidentally stumbled upon an easy way to learn the syntax of Rhino Mocks. Keep in mind that this is not the proper way to do test driven development, this method should only be used to understand the Rhino Mocks way of doing things.

Say we have a presenter class which needs to call another layer in order to do it's work like so:

Public Sub Save() _task.UpdateSettings() End Sub

 This is a pretty contrived example but it helps get my point across. In order to see what Rhino Mocks is expecting to happen you can set up an empty test like this:

Dim _mockery As MockRepository = new MockRepository _task = CType(_mockery.CreateMock(GetType(ISettingsTask)), ISettingsTask) _mockery.ReplayAll() _presenter.Save()

Now when you run the tests, Rhino will tell you that it expected the task layer to get called when the save method in the presenter was invoked. You can satisfy Rhino with the following code:

Dim _mockery As MockRepository = new MockRepository _task = CType(_mockery.CreateMock(GetType(ISettingsTask)), ISettingsTask) _task.UpdateSettings() LastCall.IgnoreArguments() _mockery.ReplayAll() _presenter.Save() _mockery.VerifyAll()

Once you get the hang of Rhino's syntax and how it works you can change your mindset and do the code here in reverse with red, green refactor and you will reach mocking zen. If you have any questions please leave a comment or email me and I will try my best to answer it.

 Update: Mike, let me know this morning that I was missing a VerifyAll() after my _presenter.Save(). I take it for granted because I have it in my TearDown but I have added it for clarity.

[ Currently Playing : Oh, Me - Nirvana - MTV Unplugged in New York (03:26) ]

Friday, August 25, 2006 5:20:30 AM (GMT Standard Time, UTC+00:00)  #    Comments [2]  | 
Thursday, August 17, 2006

The latest Hanselminutes Dynamic vs Compiled Languages is a must listen for all software developers. Scott does a great job of breaking it down.

My favorite quote:

"Really awesome tests within an interpreted dynamic environment can actually take the place of the compiler...all that the compiler does is syntax check your intent, but a test is a really great way of expressing your intent."

To me, a test is a great way of expressing your intent in a very specific way that is applicable to your domain. The only compiler that I know of that can help can check that intent is the human pairing beside you.

In fact, the domain just happens to be the problem you are trying to solve in the first place. A client could care less how you convert a string to an integer, what they want to see is their business logic working.

Let me know your thoughts on Dynamic vs Compiled Languages.  I think it is an interesting conversation that requires an open mind.

Thursday, August 17, 2006 2:09:07 AM (GMT Standard Time, UTC+00:00)  #    Comments [4]  | 
Tuesday, August 15, 2006

I have a bunch of free code camp posters for anyone that would like one. If you would like to  put up a code camp poster at work contact me and I will get you one.

Alternatively, you can also download one from here.

Thanks to Justice for creating them

Tuesday, August 15, 2006 12:14:51 AM (GMT Standard Time, UTC+00:00)  #    Comments [0]  | 
Monday, August 14, 2006

I have been trying out Colibri for the last little while, it is a perfect companion to SlickRun. Both launchers have their strengths and weaknesses and if you combined them into one you would have a kick ass launcher.

Colibri is nice because it can automatically determine what programs you have installed, there is no need to setup tons of magic words like SlickRun. The downside to Colibri is that it can't replace Start->Run like SlickRun can and the default hotkey (Ctrl->Space) is not a good idea if you are a developer that uses Visual Studio.

Monday, August 14, 2006 4:49:40 PM (GMT Standard Time, UTC+00:00)  #    Comments [0]  | 

Theme design by Jelle Druyts

Pick a theme: