YRS 2012 — Day One

I got up at 5 to 6. This is not a pretty time to awaken. But I did.

And I’m so glad I did. We had six young people show up, ages 8 or 9 to 17, and they were all very shy (as one might expect; I am shy and am 50) but willing to say something. We were meant to have 11 young people, and 6 showed up. Maybe more will arrive tomorrow (we’ll see).

Ideas flowed. Ardavan, our centre’s lead, asked what the participants wanted to do, and they had answers, which was lovely.

So we split into two teams, which wound up being the “older” young people and the “younger” ones, but I think that doesn’t really matter.

These guys are amazing, they are communicative, and they want to contribute. They are the kind of kids I wish I had known at their age.

Amen. :-)

Talk to you tomorrow.

Creating custom Workflow activities for TFS Build 2010

I have a meeting with a colleague later today to talk about creating custom TFS Build activities using Workflow. I always have to go looking for the posts I found on the internet when I was first using Workflow to create my own build activities, so I thought I’d go ahead and put them on here.

Ed Blankenship has done a round-up of the posts created by guys on the TFS Build team at Microsoft, including Jim Lamb’s very good introduction.

Ewald Hofman’s extensive 16-part series, Customize Team Build 2010, includes a good deal about creating custom workflow activities and adapting the default template.

Sunday with Ruby

Yesterday I attempted to put Mono and MonoDevelop on my MacBook Air, and I decided after twenty minutes that if I want to learn something new about .NET, I probably need to buy a PC (or use BootCamp to dual boot my iMac, which has more disc space).

Overnight, a friend on Twitter suggested Ruby, which I had never played with. So, today, I thought I’d give it a shot. I’m fairly comfortable with *nix and shell scripts, so I figured this would be fun.

First, I went to the Ruby website and used RVM to get the latest version down. This took a few minutes, but as with most packaging systems, RVM worked perfectly and downloaded all of the missing prerequisites that I needed for using Ruby as a shell programmer. We’ll worry about UI later, if I decide that it’s important enough.

The next step was to go through the Ruby in Twenty Minutes tutorial which really would take that short a time, if I were not the kind of coder who needs to type things in to understand them. Incidentally, I found that TextWrangler on the Mac, by my heroes at BareBones Software, is a perfect editor for Ruby on the Mac, with syntax highlighting and everything that makes you feel a bit more comfortable. I have got lazy with Intellisense and ReSharper in the .NET world.

Now I am starting to work my way, step-by-step, through Ruby using the RubyKoans website. I have got to the array slicing and array slicing with ranges bits, and I am finding it fascinating.

I’ll keep playing with it this week and (I hope) blog about it some more. If you’re out there, and you want to play along, go get Ruby and get learning something new.