Sunday, October 01, 2006

I had a lot of fun presenting to everyone today but now that the presentation is complete I can point you to some good RubyCLR references!

The first site I recommend that you visit is the homepage for RubyCLR at http://www.rubyclr.com/ here you will find the RubyCLR download and instructions on how to install RubyCLR. I am going to make an additional screencast on how to install RubyCLR and post it on this blog so stay tuned!

I will also point you to John Lam's blog where he has a great article called Fun with const_missing and method_missing, this article explains the magic behind RubyCLR. I mentioned this in the presentation but I think I didn't emphasize how important this really  is!

Another good resource is John's presentation at the Lang.NET Symposium.

Here are the completed (and error free) code files and the screencasts for my part of the presentation: CollectionsDemo/CollectionsDemo Screencast  LinqExample/LinqExample Screencast. Please note that in the CollectionsDemo screencast it should be require 'rubyclr' not require 'rubclr'. If you are new to Ruby please watch my co-presenter Justice give an intro to the Ruby language beforehand.

I encourage you to check out the samples in the sample folder when you install RubyCLR. There are some great examples that show using WPF and ActiveRecord.

The other efforts to unite Ruby and .NET are IronRuby by Wilco Bauwer and Ruby.NET by the Queensland University.

And, last but not least is my powerpoint for the presentation. If you have any questions, my contact information is on the slides, feel free to give me a shout.

 

Technorati Tags: - - - - -

[ Currently Playing : Nothing Owed (live) - Bonobo - Live Sessions -EP (6:24) ]

Sunday, October 01, 2006 6:14:25 AM (GMT Standard Time, UTC+00:00)  #    Comments [0]  | 
Saturday, September 30, 2006

Tonight we put together the swag bags (hey that rhymes) for the Edmonton Code Camp. Some choice quotes:

"Hey, now that were done this, I can finish my presentation."

"I can't keep up to the guy in front of me, I am going to have to start eating the bags, like in I Love Lucy."

"Holy shit."

"Don't knock over the scotch with the swag."

"I need to spend some quality time with my wife."

In case you signed up and you were not planning on attending the code camp tomorrow, this is what you are missing (note the copious amount of swag):

Saturday, September 30, 2006 5:31:19 AM (GMT Standard Time, UTC+00:00)  #    Comments [1]  | 
Friday, September 29, 2006

Tonight at Edmug we had Jean-Paul Boodhoo give a talk about the MVP pattern. Although I voted for PEAA and because we use the MVP pattern  at work, I was a bit disappointed that MVP won, however I still found the presentation to be very informative.

There is always an opportunity to learn something new when JP presents, so if you are a user group he has recently been added to the MSDN speakers bureau so bring him to your group on MSDN's dime!

Friday, September 29, 2006 5:53:15 AM (GMT Standard Time, UTC+00:00)  #    Comments [1]  | 
Monday, September 25, 2006

This weekend, Catherine and I participated in 2 charity walks this weekend. The first one was the Superwalk for Parkinson's. The Parkinson's Superwalk was extra special because of the passing of my Grandpa last week.

DSCF0705

Thanks to everyone who was kind enough to donate, Catherine and I managed to raise over $1,000 for Parkinson's research, hopefully next year we wont have to! If you would still like to donate you can still sponsor me using the instructions here.

Today, Catherine and I also participated in the 15th Annual HIV/AIDS Walk for Life. We decided to bring along Daisy along for the walk and she got pretty tired after 1km so I ended up having to carry her for the rest (4km) of the walk.

 

 

Technorati Tags: - - - -

Monday, September 25, 2006 6:03:59 AM (GMT Standard Time, UTC+00:00)  #    Comments [1]  | 
Friday, September 22, 2006

Recently I installed Windows Vista and I noticed that after installing it all of my purchased music from  iTunes was gone (kind of). Normally this wouldn't be an issue but I had bought the entire U2 library and I can't lose that!

When you install Vista overtop of Windows XP, everything is moved to a folder named Windows.old. For some strange reason, the new search in Vista will not search Windows.old!

To restore your purchased music go to C:\Windows.old\Documents and Settings\Your Old UserName\My Documents\My Music\iTunes

Copy all of the folders in here to C:\Users\Your Username\Music\iTunes

Next in iTunes go to File->Add Folder to iTunes and select C:\Users\Your Username\Music\iTunes this will add all of the files to iTunes. You will have to re-authorize the files to play on your new installation of Vista. If there is an easier way please let me know! You only have to re-authorize it once.

 

[ Currently Playing : The Entire Purchased Library of U2]

Friday, September 22, 2006 2:21:13 AM (GMT Standard Time, UTC+00:00)  #    Comments [2]  | 
Friday, September 15, 2006

When my Grandpa was 17 he joined the Canadian Navy just for the free boots. Little did he know that during his service in the Navy he would meet Winston Churchill, become one of the first Candians to learn how to use radar, chase the Bismarck, ram a U-Boat and storm the beaches of Normandy on D-Day.

I loved hearing his stories about the war but despite the many adventures he had, he always spoke out against war. If you asked him, he would say that his greatest achievement was the family that he raised after the war.

My Grandpa passed away today. He was a great man who I respected a lot. The impact he had on my life will be carried with me until the day I die. I am not very good at putting it into words but I will miss him a lot.

Friday, September 15, 2006 4:36:52 AM (GMT Standard Time, UTC+00:00)  #    Comments [7]  | 

My friend and fellow team member at work Jonas is blogging. His stuff is definetly worth checking out.

NYAHHHH!

Friday, September 15, 2006 3:55:11 AM (GMT Standard Time, UTC+00:00)  #    Comments [1]  | 
Tuesday, September 12, 2006

I have to disagree with Don on the use of enums instead of booleans. Using an enum instead of a boolean may be more readable but you are bound to run into a true, false, maybe wtf.

Instead of a long parameter list I like to use a parameter object

So instead of:

string SomeStringManipulation(strInput, true, false, true, true, false)

I would use the following:

string SomeStringManipulation(StringManipulationArgs args)

Now if I want to change the number of arguments that are passed into the SomeStringManipulation function I only have to change it in one spot and the code is more maintainable.

Tuesday, September 12, 2006 6:26:38 PM (GMT Standard Time, UTC+00:00)  #    Comments [5]  | 

Tonight I finished my examples for the upcoming Edmonton code camp. I think that they really show the strengths of the effort that John Lam has been putting in to bridge Ruby and the CLR.

After the code camp, I think I will create a couple of screencasts showing how to setup the RubyCLR (something that I am going to skip in my presentation because it isn't easy) and I will also add my code samples to the code camp site for download.

I also spent a couple of hours on Saturday putting together the swag bags for code camp and I still have more swag to add to them. Just for showing up everyone is going to get some great stuff from our contributors. If you are reading this and you have not yet signed up, I suggest you head on over to http://registration.edmontoncodecamp.com and sign up because we are getting pretty close to being full.

Tuesday, September 12, 2006 4:58:16 AM (GMT Standard Time, UTC+00:00)  #    Comments [0]  | 
Monday, September 11, 2006

Last night I played poker with Catherine, my uncle and my cousin and I pulled off a Royal Flush with clubs!!!

For those that aren't familiar with it, a royal flush is the best hand in poker and the odds of getting one are about 650,000 to 1. Unfortunately, I didn't win much money off of it because everyone else had crap.

Fun
Monday, September 11, 2006 12:07:47 AM (GMT Standard Time, UTC+00:00)  #    Comments [0]  | 

Theme design by Jelle Druyts

Pick a theme: