Sunday, September 27, 2009

Nike + iPod

As I mentioned recently, I'll be running in the 5K Your Way run in October (feel free to sponsor me!) like I did last year. Last year I expected to walk and ended up running the entire thing, but I was in pain for several days afterwards, so this year I decided to train for it. I started in May, as soon as the weather got nice. I chose a path that's about 3-3½ km long, and started out by alternating walking and running – I would walk for 90 seconds and then run for 60. The idea was that you do this for a week or two, then gradually increase the amount of time you were running until you were finally running the whole thing. I found that this plan didn't work very well – I found that I hated the running part and while running, looked forward to when I could walk again. Then when my walking time was up, I though "Oh crap, I have to run again". One time when I was out, I decided "Ah screw it, I'll just run the whole thing" and I did. My legs hurt a little for a while afterwards, but I preferred just running to alternating, since I didn't have to keep checking my watch and I didn't have the dread of having to start running again. I took a break in July when we went to Scotland and then tried to get back into it when we came back, but was having trouble getting motivated. I was well into baseball season at that point, and I didn't want to run hard enough that I couldn't play my best. Not that I'm an all-star ball player or anything, but I wanted to contribute whatever I could to the team, and taking myself out of a game in the fifth inning because I couldn't run anymore wouldn't be much of a contribution. But then my birthday came, and everything changed.

I went up to my parents' place the weekend after my birthday, and when it came time to open my gifts, they gave me two little boxes and told me to open the top one first. I opened it and it was a thing called Nike + iPod, which is a little sensor that you put in your shoe that communicates with a thing you attach to your iPod, and it tracks how fast and far you run and uploads that data to the nikerunning.com website so you can keep track of your runs. Very cool, but right on the box, it said "Requires iPod Nano". My iPod is a 80 GB 5G, but I thought that maybe Trudy (who has an iPod Classic similar to mine) had done some research and found that it works with my iPod as well. Nicky, sitting beside me, grabbed the second gift box and said "Maybe this is an iPod Nano!"  I gave a little chuckle and said "maybe", not for an instant thinking he was right. Of course, he was – it was a beautiful silver Nano.

I don't wear Nike shoes. I've had Nikes before and they never seem to fit my feet properly. But the Nike+ sensor is supposed to go into a little cut-out inside some pairs of Nike shoes, so I had to improvise by stuffing it under the insole in my Reebok's. It was a little uncomfortable at first, but I got used to it pretty quickly. It's amazing how much this little thing has changed my workout patterns. I started running once or twice a week, and found that my legs quickly adapted, and while they would be sore for an hour or two after the runs, I was still able to play baseball and didn't suck any worse than I usually do. By the end of August, I was running at least twice a week, and my distances were growing as well. I don't think the sensor was completely accurate for me (perhaps it slides around under my foot and that affects its distance calculations) – Google Maps thinks my original route is about 3.9 km, but Nike+ has recorded it as anywhere between 4.3 and 5.48 km. I did run a little further than normal on the second one, but not a full kilometre and a half. I recently bought a Shoe Pouch for the sensor that fits on top of the shoe, which works very nicely. The distances are more consistent now so I end up trusting them more.

The device itself is very cool – you can tell it you want to work out over a predetermined distance or just keep running until you say stop. Then you pick a playlist and say "go", and it starts recording and playing the playlist. When you're done, it tells you how far you ran (or walked – it can tell the difference), how long it took, your average pace, and how many calories you burned. You can also choose a "power song", which it plays if you press and hold the center button down. The idea here is that if you need some inspiration, you can play your favourite pick-me-up song whenever you want. The next time you sync your iPod, it will update your Nike+ account.

The Nike+ site is pretty Flash-heavy but slick, showing each run you recorded, when it happened, and how long you went. It will also show you a graph of your pace throughout the run, with a little mark at each kilometre point, as well as whenever you pressed the centre button during the run (which updates you on how far you've gone and how long it's been) or played your power song. It keeps track of your fastest mile (7'30"), 5k (21'31" – though I think that was based on the 4+ km run I did that it recorded as 5.48, so it's unreasonably low), and 10k (none... yet), as well as your total number of workouts (15), kilometres (61.50), length of time (5:20:49), calories burned (4989), and average pace (5:13/km). You can set up goals (i.e. run 10 times within 4 weeks (which I just completed the other day! Yay me!), or run some number of total kilometres in so many weeks), or join challenges, which are competitions in which you join a team of people with something in common (could be men vs. woman, or something like fans of different baseball teams) and add to the total for your team.

I hooked up the Nike site with my facebook account so whenever I sync my iPod, it updates my facebook status with the results of my latest run (eg. "Graeme ran 4.41 km on 9/25/2009 at 11:37 AM with a pace of 5'20"/km"). I did this with the idea that if I broadcast to everyone whenever I run, I have some accountability. If I skip a week or run shorter than usual, everyone will notice. Of course nobody will really notice – nobody's paying that close attention to my running patterns. But it still sticks in my mind when I'm thinking of cutting a corner or taking the shorter path, "people are going to see 3.8 km instead of 4.4 and think I wimped out, so I'll take the longer route". And I do, and I end up glad that I did. Amazing, the power of peer pressure, even imagined peer pressure.

If you are a runner, or want to be, I highly recommend the Nike + iPod. Not only is the Nano a slick little piece of hardware, but the Nike+ part is very motivational. Well, not really motivational, but it certainly makes it more fun. I ran 5k once last year, and that afternoon I couldn't walk down a flight of stairs. The next day I had to work at home. I was in pain for three or four days. I've been training with this thing seriously for only about a month, and last week I came within 1 km (4.53, 5.2, and 4.4 km, a total of 14.13km) of doing the 5k run three times in five days.

Thursday, September 24, 2009

Help make cancer history

In October of last year, I participated in the 5K Your Way run, part of the Toronto Marathon, to raise money for cancer research at Princess Margaret hospital. Princess Margaret was where my sister Trudy went for her cancer surgery last year, and thanks to their early diagnosis and subsequent surgery, she is now cancer-free. Obviously this is a very important cause for me, so once again I'm looking for donations for this year's event. Last year, our team raised over $6000, of which I personally raised $480. My goal for this year is to surpass both the amount we raised and to beat my running time from last year. I have been training most of the summer, so I should be able to run the 5k race and climb up and down a set of stairs on the same day.

Any donation you can make is very much appreciated. Click here to visit my personal page where you can sponsor me. Don't forget to click "Go To Team Page" above the lovely picture of me and Trudy and check out the list of team members and a picture of all of us from last year's run – you can even sponsor my kids or Trudy directly if you'd prefer.

To those who do sponsor me and those have done so already, thank you very much for helping Princess Margaret hospital in their quest to eliminate cancer in our lifetime.

Tuesday, September 22, 2009

Alan Turing

Sorry, I'm a little late to the party on this one. After reading an article written by my colleague Glenn Paulley, I decided to write about it as well, mainly because Glenn's blog and mine have different audiences. The story he writes about (and I'm about to cover) is both tragic and infuriating; I wouldn't call the ending "happy", but it's certainly the best that could be expected under the circumstances. Note that this is not a technical article at all. It is about a computer scientist, but it's mainly the story of a man.

If you've never studied computer science or cryptography, you have likely never heard of Alan Turing. Computer Science students don't learn much about Turing the man, but you can't study computer science for long before coming across his name. He was a brilliant mathematician and cryptanalyst who not only developed some of the most basic fundamentals of computer science and artificial intelligence, but helped to end World War II. Turing was one of the scientists who worked at Bletchley Park, and was instrumental in breaking the German "Enigma" code, among others. Turing was awarded the OBE (Officer of the Order of the British Empire) for his work during the war.

Turing also happened to be gay, which was illegal in Britain at the time (and remained so until the late 60's). Only seven years after World War II ended, Turing was arrested, charged, and convicted of gross indecency. As a sentence, he was given a choice: chemical castration or prison. He chose the former, and was given estrogen treatments to attempt to kill his libido. This was successful, but also caused Turing to grow breasts. His security clearance was also revoked, thus ending his employment with the government. In 1954, two years after his conviction, Turing committed suicide by eating an apple laced with cyanide. There are some that say that his death was not a suicide at all, but accidental. Regardless, the death of this brilliant man at only 41 years of age was a tragedy.

In late July of this year, a British computer scientist named John Graham-Cumming started an online petition asking the British government to apologize for the treatment of Alan Turing. Within weeks he had several thousand signatures and on September 10th, British Prime Minister Gordon Brown issued an official apology to Turing.

Congratulations to John Graham-Cumming on getting this done, and kudos to Gordon Brown and the British government for doing the right thing and apologizing for the appalling treatment of Alan Turing.

Saturday, September 19, 2009

Balsillie vs. Bettman, Round Two

So it's down to the NHL vs. Jim Balsillie now. Should the NHL be allowed to own of one of its own teams? I would have imagined that the league owning a team would not be allowed, though I suppose MLB owned the Expos for a short while. The really weird thing about this – scratch that. One of the really weird things about this is that the NHL has publicly stated that if they win the auction, they will consider moving the Coyotes out of Phoenix.  I beg your pardon? Isn't that one of the main reasons that they refuse to let Balsillie into the club? They keep saying that an NHL team can be successful in Phoenix (despite the fact that it hasn't been in fourteen years), so why would they need to move them? And if they're not against moving them, what's the problem with letting Balsillie do it?

The NHL has stated that the other main reason that they're so dead set against Balsillie is because of his supposed "lack of integrity". Right. Because NHL owners are just packed to the gills with integrity. Here is an article listing five former NHL owners who have spent time in prison, and that doesn't include the recently-convicted Boots Del Biaggio.

But even if the NHL wins the auction, then what? The number of season tickets sold in Phoenix for this year is in the hundreds (compared to the twelve thousand plus for the Leafs), they'll have the same trouble finding sponsors and selling advertising that the previous owners had, and they've stated that they may move or sell the team. Jim Balsillie is the only one currently interested in buying the team. So the league will spend well over a hundred million to buy the team, lose millions of dollars operating the team, and then either move it anyway, or sell it at a loss. That's a lot of money to spend just to spite Jim Balsillie. And if they end up selling it to Balsillie anyway, it will all have been for nothing.

Stephen Brunt said on Prime Time Sports the other day that if the NHL loses this auction, Gary Bettman's days as commissioner are numbered, and he's probably right. Which means that Bettman is gambling not only hundreds of millions of dollars of the NHL's money, but his job as well. Is keeping Balsillie out of the ownership club really that important?

As much as I would love to see an NHL team in Hamilton, I can't say I support the way Jim Balsillie has done this. His tactics have been heavy-handed and he's certainly not making friends of the other owners nor the league executive. Would an NHL team work in Hamilton? I think so. There are enough hockey fans in this area, plus there would be lots of people from the Guelph-Cambridge-Kitchener-Waterloo area that would come, not to mention all the GTA people who can't get Leafs tickets. I found it amusing a couple of years ago when a group of people who wanted to bring an NHL team to Hamilton proposed boycotting pre-season NHL games in Hamilton to "send a message" to the NHL. Good thinking guys – show the NHL how wrong they were by allowing them to hold a pre-season game here to an empty arena. The next time they're considering expansion or moving a team, they're not going to remember a boycott, all they're going to remember is playing to an embarrassingly small crowd in Hamilton and quickly scratch the name off the list.

Opponents of an NHL team in Hamilton point to the lack of interest in the Hamilton Bulldogs as proof that the NHL won't work here. But that's a faulty argument, and here's why.

I am a Hamilton resident who would be interested in watching and supporting a Hamilton NHL team but isn't interested in the Bulldogs. I'm sure the Bulldogs are full of talented young players, but honestly, they're a farm team. The whole idea of the team (and the AHL in general) is to give the players experience and get them ready for the NHL. It's really hard to get pumped up for a team whose players would leave in a heartbeat if they get a call from the big club. You can't blame them for that – getting to the NHL has likely been a dream for every one of the Bulldogs players since they first laced up the skates as a child. The AHL is mainly made up of three types of players: those too young or inexperienced to be in the NHL, those who simply aren't good enough to be in the NHL, and those who have had a taste of the NHL but were the lowest on the totem pole when it came to sending someone down. But the NHL is the pinnacle of professional hockey, containing the best players in the world. Any way you slice it, the quality of players in the AHL is lower than in the NHL. Doesn't mean that AHL games can't be exciting – as long as two teams are roughly equivalent in skill level, you can have an exciting game at any level. But if you combine the lower skill level with what I said before about players bolting the second they get the chance at an NHL team, I cannot see how the argument can be made that a city that doesn't support the AHL won't support the NHL.

Thursday, September 17, 2009

Top Ten Rock Instrumental Songs

I'm only going to list instrumental songs by artists who primarily perform non-instrumental work, otherwise I could sit here all day listing Eric Johnson and Joe Satriani songs. There are in no particular order.

  1. Rush: YYZ – one of the first instrumental songs I remember from when I started really paying attention to music in the early 80's, and still stands to me as the quintessential rock instrumental song.
  2. Alice in Chains: Whale and Wasp - Combines a beautiful acoustic guitar (the "whale") with the occasional screeching electric guitar (the "wasp"). Listening to this song was the inspiration for this list.
  3. Triumph: Fingertalkin' - An outstanding acoustic guitar piece by Rik Emmett, one of the best guitarists in any genre. Too bad it's on what was probably Triumph's worst album, "Progressions of Power".
  4. Metallica: The Call of Ktulu – The opening sounds like two guitars playing together, but it's only one. If they replaced Orion (also an excellent song) and Leper Messiah on Master of Puppets with this song and Creeping Death, Puppets would be the perfect metal album.
  5. Linkin Park: Session – the sole "electronic" entry on this list, complete with record scratches. In general I'm not big on this kind of stuff, but this song is very cool.
  6. Rush: La Villa Strangiato – over nine minutes long, and features some amazing guitar work from Alex Lifeson. I still think he's the least musically talented member of Rush, but he ain't no slouch either.
  7. Steely Dan: East St. Louis Toodle-oo – Somebody cranked the wah-wah pedal up to eleven for this one.
  8. Pink Floyd: One of These Days – Technically shouldn't qualify because there are lyrics – right in the middle someone says in a very distorted voice "One of these days, I'm going to cut you into little pieces". But David Gilmour plays some pretty sweet slide guitar.
  9. The Tea Party: Winter Solstice – two acoustic guitars and someone tapping on what sounds like a wooden block. Some of the fastest strumming you'll ever hear.
  10. Porcupine Tree: Wedding Nails – Kick-ass guitar over a driving bass / drum beat.

Runners-up: Songs that I had listed originally but then I kept thinking of more.

  • Sarah McLachlan: Last Dance
  • Metallica: Orion
  • The Tea Party: The Badger
  • Yes: Mood For A Day

Monday, September 14, 2009

Not too distracting

We're having some work done on the building I work in. This was the view from my office for part of today.

WorkerOutsideWindow

Saturday, September 12, 2009

Useful Windows Tools

Every year, Scott Hanselman posts a list of tools that he uses. After reading this year's list, I decided to do my own. Why? Because I have many thousands of readers like he does? No. Because some of my readers are techies and would find the list useful? Well, maybe a couple of them. Because those readers who are not techies might find it interesting too? Not bloody likely. The real reason is the same as the reason for the majority of the rest of my postings: just 'cause.

Work Tools

  • 4NT – I use a zillion batch files at work for doing all kinds of repetitive tasks – anything I need to do more than once, I write a batch file for. The Windows batch file language is pretty lame, so Sybase has a site license for 4NT as a command shell replacement and it's so much more powerful than the Windows one. I don't think you can get 4NT anymore, but the latest version is called Take Command. Some people at work are using that but I'm still on 4NT. Not for any nostalgic reason, just because I can't be bothered to change it. Windows 7 will ship with a thing called Powershell which is supposed to be pretty good, but I can't imagine rewriting all the scripts I already have.
  • ActivePerl – I actually prefer writing python code to perl, but if you're doing anything involving string manipulation or regular expressions, you can't beat perl. Over the last couple of years I've rewritten a  lot of my 4NT batch files in perl.
  • ActivePython – One of our testing tools at work uses python so I've been writing a lot of python over the last few years. I thought the whole whitespace thing was crazy at first, but as long as you have a good editor (see emacs below) that knows about that stuff, it's not so bad.
  • emacs – We don't use an IDE at work, so most developers use either emacs or Watcom vi (since we used to be Watcom). Many are switching over to vim rather than vi. I can use vi and did for many years, but I usually use emacs.
  • Thunderbird for both email and news. Our company uses Lotus Notes, but I gave up on that years ago. I used Outlook for a number of years and it was OK, but now and again it would get into a state where it wouldn't download any emails but wouldn't give any errors either. I switched to Thunderbird and have been happy ever since. A few add-ons make it complete:
  • VMWare – we have a VMWare server set up on a big kick-ass machine in the lab, and I have a couple of VMs that are running 24/7 on that machine. One is running XP and I use it for network stuff as well as NetWare development (so I don't have to install all the NetWare stuff on my laptop), and the other runs 64-bit Vista. I used to use actual physical computers for this type of stuff, but this is just so much easier and more convenient. Even from home, I can remote desktop into them and even reboot them.
  • Remote Desktop – comes with Windows, but I had to mention it. I use this all the time for connecting to test machines, our build machines, and my VMWare VM's.
  • TightVNC for those older (Win 2000) machines that don't support Remote Desktop, we use VNC. I also have a VNC server set up on a unix machine, so I can use VNC to connect to that and get a Unix desktop on my Windows machine. There are lots of VNC clients / servers available, but I've found TightVNC gives pretty good performance, even when I'm at home (and therefore using wireless networking through a VPN).

Blogging

Web surfing and websites

  • Google Chrome – I've been using this pretty much exclusively since about May, and I still love it. Still fast, and it has a bookmark editor now. It periodically and silently updates itself so you always have the latest patches. Once XMarks is available for Chrome, it will be perfect.
  • Firefox – I still use Firefox now and again for sites that Chrome doesn't support. Actually, I can only think of one. We recently started using a tool at work for code reviews which has a web interface that doesn't play nicely with Chrome, so I use Firefox for that. Required add-ons:
    • XMarks for synchronizing bookmarks. I don't use bookmarks all that often anymore (I usually use delicious.com), but XMarks will also synchronize stored passwords, which is very useful.
    • AdBlock Plus
    • Gmail Notifier – puts an icon in the bottom corner of your browser with your current unread count.
    • NoScript
  • GMail is the best web-based email around. I get almost no spam that isn't marked as spam, and being able to tag messages with multiple tags (rather than put them into one and only one folder) is amazing. Being from Google, the search feature is also very good, and filters let you do clever things with messages as they arrive. For example, every time I publish a blog posting, I have it emailed to my gmail account. A filter then tags it with the "BlogArchive" tag and archives it without me even seeing it, so I have a backup of every article.
  • Google Reader for reading blogs and other RSS feeds.
  • StackOverflow – programming Q&A site. Very useful for learning stuff and getting questions answered, but it's fun to try and answer questions as well. Rather humbling sometimes, when I see a question and think "I know how to do that!" but before I post my brilliant solution, I read another answer saying "You could do this <my solution>, but that's inefficient (or slow or dangerous or...). Here's a better way" and proceeds to explain something that is clearly superior to my idea. There are also serverfault.com (for IT pros) and superuser.com (for general computer questions) as well as meta.stackoverflow.com (for questions about SO itself), but SO is still my favourite.
  • delicious.com – I rarely ever save bookmarks through the browser anymore, I just use delicious. Far easier to type now that it's delicious.com rather than del.icio.us.

Music and Video

  • iTunes – Gail has a Sony Walkman MP3 player and uses Windows Media Player to set up playlists and stuff. iTunes is just so much easier. It makes it easy to view any MP3 tags on your songs, and also makes it easy to select multiple songs and change attributes of all of them at once. You can set it up to detect a new CD being inserted in the drive, automatically rip it and add it to your library, and then eject it, so you can rip new CDs and sync them to your iPod just by putting the disk in the drive.
  • Videora iPod Converter converts (hence the name) video files from whatever format they're in into the appropriate format for your iPod, and automatically adds it to iTunes as well. Very handy for downloading TV shows that you missed. I have a dock for my iPod that connects to the TV, so we can watch stuff through the TV rather than on the iPod or computer.
  • CDBurnerXP – Windows Vista has built-in CD burning support, but I prefer CDBurnerXP. It gives you the whole drag-and-drop interface for selecting files, tells you how close you are to filling the disk as you add stuff, makes it easy to erase rewritable CDs / DVDs, writes both audio and data CDs as well as data DVDs, it does everything.

General Utilities

  • Jungle Disk – backs up all of our digital pictures and stuff online using Amazon's S3 service. I paid $20 for Jungle Disk originally, which gives me free upgrades for life, and I can install the software on as many machines as I want. I pay Amazon directly for the S3 storage, which for me is under $5 a month. (I wrote about this last summer.) The data is fully encrypted and the encryption key is not stored on the Amazon servers. Restoring is even easier – set up a network drive and just copy whatever files you want.
  • DropBox – you install the (free) software on multiple machines and point each of them at a directory on a local drive, and the software keeps the directories synchronized. To copy a file from one machine to another, just drop it into the DropBox directory and it's instantly copied to whatever other machines are synchronizing. Couldn't be simpler. There's even a web interface so you can access your data on a machine that doesn't have the DropBox software installed. I use this with...
  • KeePass – for storing and generating passwords. I created a KeePass database file in my DropBox directory on my work machine and it keeps track of my eBay, Paypal, Twitter, Linked In, banking etc. passwords, plus my router's WPA key. DropBox then syncs the file with my DropBox directory at home. I can change a password in either place and it gets synced with the other. When I set my password for a site, I use KeePass to generate a random password, then I modify it in a way that only I know and store that. I also have a text file in my DropBox directory that holds the unmodified passwords, in case I need a password in a place where I can't install KeePass. When I double click on the entry, KeePass copies the password into the clipboard so I can paste it into the browser. KeePass automatically clears the clipboard after 15 seconds so I don't accidentally paste it anywhere else later.
  • FileZilla – The best GUI FTP client I've used. I don't do much with FTP; updating my lacrosse pool website is about it, but FileZilla makes it easy.
  • Foxit Reader – got this one from Scott's list above. I got tired of Adobe Reader continually getting bigger and bigger. All I want to do is read PDF's, I shouldn't need tons of software to do this. Plus I kept hearing about security problems with Adobe.
  • µTorrent makes downloading torrents brain-dead easy. Set up the directory where the downloaded files should go, then whenever you click on a torrent, it just does the right thing. It even stays in the background and does everything silently.
  • Microsoft Money – Microsoft is killing this product, which sucks because the alternative is Quicken, which I tried earlier this year and wasn't too impressed. I have a pretty old version anyway, so as long as it keeps working, I'm fine.
  • IrfanView – the best application for image manipulation. Allows you to specify a directory full of image files and do a batch rename/conversion/both, which is useful for taking 10 MP images and scaling them down for displaying on a family website, for instance.
  • QuickTax – I buy this every year during tax season. Asks you all the relevant questions and fills in your forms for you, or you can enter stuff directly if you want. Gives you tips on saving tax, copies relevant data from last year's forms, can print out the forms, and can give you all the information you need to submit electronically. Well worth the $40.

Thursday, September 03, 2009

The Interview

I graduated from the University of Waterloo in 1992 with a BMath in computer science. During my last term at Waterloo, those who were graduating went through interviews for full-time jobs. I interviewed for several companies, but I was only really interested in two: Microsoft in Redmond, Washington and Corel in Ottawa. I did my sixth work term at Microsoft, and they flew me out there again for the grad interviews. Unfortunately, due to some administrative mix-up, they had set up interviews for me on the assumption that I was a co-op student looking for a four-month position, not a graduate looking for full-time work, so those interviews didn't amount to anything. I have no memory of flying or driving to Ottawa for the Corel interview, but I remember it taking place there, so I must have made my way there somehow.

I went through three interviews that day. The first was with the HR person (whose name, I believe, was Sandra Gibson – I have no idea why I remember that), telling me about compensation and benefits and such. The second was with the man who would be my boss if I got the job, Roger Bryanton, in which he told me about what their group did and the positions available. He asked me some technical questions as well as some more general ones like what I'd be interested in working on. Then came the third one, which is the only one I really remember. The interviewer was a man named Pat Beirne, who was Corel's chief engineer and the man who originally wrote much of their signature application, CorelDRAW. I didn't know it at the time, but the man was basically a living legend among Corel people. Roger brought me into Pat's office, introduced us and left. I knew this was going to be a technical interview, so I put on my virtual propeller hat and got ready for the questions. Pat stood up and walked over to the large whiteboard on the wall to my left. It's been over seventeen years since that interview, but I still clearly remember what he said next:

I'm here to find out if you know what you say you know.

I didn't lie on my resume. I didn't say I was an expert in anything. I didn't say I had extensive C experience when I really only had some C experience. I didn't say I was proficient in something I'd never used. But when the chief freakin' engineer of the company says something like that and you're twenty-two years old, even if you didn't lie, and regardless of your self-confidence level, you're gonna get nervous. And I was.

"Let's start with an algorithm," he said. I don't remember what it was for, but he asked me to write some C code that would solve some fairly simple problem. There was a loop and an array and some numbers, but that's all I remember. I wrote it up on the whiteboard in about 15-20 lines of code. "Great," he told me, and I finally breathed out. I'd done it – I'd proven that I knew what I said I knew! I'd gotten the job, right? Not quite yet – we weren't done. Not even close.

"Now make it faster."

"Ummmm... OK.... I guess there are a few things being done here that don't always need to be done, so you could add an if statement around them, and that would be a little faster."

"Good. Now instead of handling just ten values, make it handle any number of values."

"Oh... ummm... rather than using a static array here, you could dynamically allocate it."

"Excellent. Now make it use half as much memory."

"Uhhhhhh... you could.... ummmm....."

"Here's a hint: none of the numbers you're storing is bigger than 50,000."

"Oh, OK, you could use a short int rather than int and that would use half as much space."

"Very good. Now make it faster."

We went on like that for hours. Well, it felt like hours. "Make it faster." "Make the code smaller." "Make it handle negative numbers." "Make it faster again." By the time I was done, I'm sure I had three machine instructions that would handle an infinite number of values in a nanosecond using zero memory.

Of course even then I knew that he wasn't testing to see how small and fast I could make this particular algorithm. He was testing three things:

  1. How well I knew the C language, and programming concepts in general
  2. What kind of problem solving skills I had
  3. How I perform under pressure

These are in no particular order; in fact #1 was by far the least important of the three. If I had #1 but was short on #2 or #3, well thanks for coming in and we'll be in touch. Someone with #2 and #3 but was short on #1 – well, you can learn C. Which would you rather have on your team: A great C programmer who can only solve easy problems or falls apart under pressure, or a great problem solver who works well under pressure but doesn't know C very well? The first one is useless – in fact he's worse than useless, he's a hindrance to the team. You take the second guy, send him on a five-day C course, and you're all set. It doesn't mean that he's definitely going to turn into an awesome programmer, but he's certainly got a better shot than the first guy.

"But how does the story end?"

I got the job, and worked for Roger on CorelSCSI Pro from June 1992 until August 1993, when I left Ottawa to start grad school at Western. One of the pieces of software I worked on at Corel was a CD-ROM driver for Novell NetWare, which did not support CD-ROMs at the time. When I started at Sybase in 1997, I was hired to replace someone who happened to be the NetWare guy. My boss saw NetWare on my resume, and I became the new NetWare guy. Twelve years later, I'm still the NetWare guy.

(Geek alert: technophobes stop reading now) I learned something about the C language that day as well – if you have a pointer to type X, then incrementing the pointer by one does not advance the pointer by one byte, it advances it by sizeof(X) bytes. During the interview, that bit of knowledge allowed me to make the code just a little smaller, but it's such a fundamental part of how pointers work in C that I can't begin to count the number of times I've made use of it since then. And I can honestly say that I learned it from Pat Beirne.

Tuesday, September 01, 2009

Stick a fork in 'em

The Jays announced their September call-ups today: Dirk Hayhurst, Brian Wolfe, and Joe Inglett. That's it. Notably absent: Jeremy Accardo, who is 2-1 with a 3.10 ERA, 26 K's, and 12 saves in 29 innings in AAA. Kind of a lot of hits given up (32), but not terrible, and only 7 walks. At the major league level, Accardo has a 2.50 ERA with 14 K's in 18 innings. He missed most of 2008, but was awesome in 2007 and seems to be doing better than fine in Las Vegas this year. So given that this season is effectively over for the Jays, why is Accardo still in Vegas? I don't know, and neither does he.

I loved this quote from the article:

"There's really no rhyme or reason to some of the decisions that are made, and that's out of your hands as a player," Accardo said Saturday before the 51s' x-x win/loss over/to Reno at Cashman Field. "All you can do is pitch, and pretty much this whole year I've thrown well. I feel better than I ever have, and my stuff is as good as it's ever been."

Looks like somebody forgot to finish their research before publishing the story.

Anyway, the Jays will finish no better than fourth in the AL East this year, the eighth of Ricciardi's reign. In that time, they have never had a sniff of the postseason, and have only finished higher than third once – and that was when they grabbed second place on the last day of the 2006 season. They were never in contention that year either and finished 10 games back of first. Since Ricciardi was hired as Toronto's GM, every other team in MLB has either made the playoffs at least once or fired their GM. Now, I have questioned many of his moves, but to be fair, he's made some good ones too, and honestly, I think Ricciardi has proven that he's a decent baseball guy. He might have some success in a different division, but being in the same division as the Yanks and Red Sox, the Jays need either a decent baseball guy and bucketloads of money (i.e. $150-175 million), or a great baseball guy. Since they're not likely to get the bucketloads of money, they need to fire Ricciardi and begin the search for the great baseball guy. What's Pat Gillick up to these days?

Monday, August 31, 2009

Star Trek on the BIG screen

We went to see Star Trek at the Omnimax theatre at the Ontario Science Centre last night. (Luckily there was no line-up at the box-office to pick up our tickets or I would be forced to complain again.) We figured it would be very cool on the big screen and it was – the sound was particularly amazing. If you're going to see this at the Science Centre, a piece of advice: however far back you are sitting, you're not far enough back, so move back a row. Another row. Keep goin'. Keep goin'. Another row. What's that? You're at the back of the theatre? OK, well I guess that's far enough.

We got there early to make sure we got a good seat (general admission dontcha know), but it wasn't as full as we expected, so only two people entered the theatre before us. We sat about 3/4 of the way back but the screen is so big that trying to see everything happening on the screen was like watching a tennis match. The first five minutes of the movie were all but unwatchable because of all the on-screen action – there was so much going on that I couldn't focus on anything. After that, the movie slowed down a touch and I got more used to the big screen and from then on it was fine. During some of the faster scenes things got a bit more difficult again, but I got used to it pretty quickly.

The movie itself: amazing. I have always been more of a Next Generation guy – I was never much into the original series, though I liked some of the movies. But the casting on this was really good – it seemed that everyone except Kirk tried to match the speech patterns or mannerisms of the original actors, and I thought they all did a really good job of presenting the characters we know but giving them a slightly different interpretation (Karl Urban as McCoy and Zachary Quinto as Spock are particularly good). Even if you're not a huge Star Trek fan, William Shatner's portrayal of Kirk is very familiar, so it would be hard to play him without just doing a Shatner impersonation, but Chris Pine nailed it. In the very last scene of the film, Pine does channel Shatner to some extent, and Kirk starts to sound similar to the Kirk we all know and make fun of.

Spoiler warning: If you haven't seen the movie, don't read any further.

If they've truly rebooted the series and intend on making more movies following this timeline (and they apparently are), they'll have to be careful, because with the destruction of Vulcan, they've started down a path where no Star Trek series or movie has gone before. There are a lot of situations in the subsequent shows that either take place on Vulcan or assume its existence, and they're all invalid in the new universe. Plus the whole Uhura/Spock relationship thing is new. I guess doing this allows the writers to go off in any direction they want, without having to worry about what happened before / later. The only thing I really hope they don't do is bring Shatner in for a cameo. Nimoy's appearance in this movie was fine, but that should be it. Let's be done with the whole time travel stuff now and just move on from here.

Wednesday, August 26, 2009

Ted Kennedy is the new Sarah Connor

First former Maple Leaf Ted "Teeder" Kennedy died two weeks ago. Then Senator Ted Kennedy died yesterday. This has got to be more than just a coincidence. Someone should check the phone book for more Ted Kennedy's and warn them that some cyborg may have come from the future to kill them.

Tuesday, August 25, 2009

Fern 2009

We just returned from Fern Resort where we go every year, and once again, we had a fabulous week. (Here's last year's report.) Some highlights and lowlights:

Highlights

  • The food was very good, for the most part. The prime rib, pork tenderloin, and lamb medallions were amazing, but the leg of lamb on Wednesday night was just OK. I also had some tandoori salmon that was very good.
  • Jeff and I played tennis every day, and we even won a doubles tournament on Tuesday! Also, during the advanced lesson on Wednesday, we played a "survivor" game, and I won that. But then during the tournament right after that, we won our first match and then got smoked in the next three, mainly because I simply forgot how to hit the ball properly. Many of my shots went into the net or landed way out. Sorry Jeff.
  • Nicky ended up on stage again, playing Deal or No Deal. Last year he took the deal when we wanted him not to, while this year, he turned down every deal (including two that were quite generous) and ended up winning $30. Nothing to sneeze at, but he was offered $42.
  • Canadian children's TV star Daniel Cook was there with his family.
  • I got lots of exercise. Tennis for two hours on Monday, Tuesday, and Wednesday and one hour on Thursday, I ran 3.7 km on Monday and Wednesday, played beach volleyball, ten holes of golf (Hawk Ridge with Jeff and Jerry) on Tuesday and five (at Fern with Ryan, Jeff, and Jake) on Wednesday, rode pedal carts with Gail and the boys, and and a couple of innings of "mushball" (which is baseball with a soft mushy ball) - I even hit a home run! Oh, and swimming every day.
  • Golf at Hawk Ridge: Jeff, Jerry and I all shot 55 for nine holes. We were allowed to play the 18th hole on the way back to the clubhouse, and Jeff got a six while Jerry and I got sevens, so Jeff ended up the winner.

 

Lowlights

  • No Jamie Williams this year, as he played on Friday night while we were only there from Sunday to Friday morning.
  • Gail managed to miss archery again this year. No idea why, she just decided not to go. Last year she missed it because of a migraine.
  • I wanted to try water skiing, but never managed to find the time. Similarly, we didn't get out on Jeff's jet-ski either. Jeff did a little bit, but the water was pretty choppy.

We're already booked for next summer, and we're going back this fall too – we booked Hallowe'en weekend. We get 10% off because we're alumni, and they gave us an additional 10% off, plus both kids are free. Obviously the water sports and outdoor pools will be less fun at the end of October, but there will still be lots to do.

Friday, August 14, 2009

I want my ninety cents

The last time I posted about a problem I had with the Ontario Science Centre's web site, I got comments from the webmaster himself, and the problem was resolved quickly. So I'm trying again.

I just ordered tickets to see Star Trek at the Omnimax Theater at the Science Centre in a couple of weeks. The options for getting your tickets are: print the tickets yourself, with a service charge of $0.90, or have have them print the tickets for you and hold them at the will-call window for free. This of course makes no sense – somebody has to print the tickets, so either I pay for the privilege of doing the work myself (calling it a "service charge" when I'm the one doing the work is amusing), or I give them nothing to do the work for me. Anyway, I happen to be doing this at home on my work laptop, which means I can't get to the printer upstairs. (I'm sure there's a way to do it but I've never been able to figure it out. SuperUser.com, here I come!) So I decide to take the free option and have them print my tickets. When I get the final "this has been charged to your credit card" page, I see that I was charged the $0.90 anyway. Well, I'm against paying to print my own tickets on principle anyway, so I'm certainly not going to pay the fee to not have this service. So I decide to call the box office.

First off, they list the opening days and hours and website and stuff before listing the options. Advice: nuke that crap and have a "for opening hours, press 1" option. Secondly, the "stay on the line to speak to a representative" option punts you off to their directory, where the options are:

If you know the person's name or number, please press 1. For additional information, please press 9.

Pressing 9 boots you back out to the main recording, where you have to listen to the days and hours and website info again. Now, this is at 8:30 on a Friday night, so it's highly possible that the box office is closed (I don't know if the box office has the same hours as the Science Centre itself). But in that case, they should have a recording saying that the place is closed rather than pushing you off to another recording, especially since this was the "to speak to a representative" option. If there's no representative, don't list that option!

The original overcharge of 90 cents was likely a tiny oversight, no big deal. But someone designed that phone system, and that person needs to be punished – perhaps they should be forced to actually use it.

Update: Once again, the Science Centre people have responded quickly. Within a few days of originally posting this, I got a call from Bob, the customer service manager, who recognized the problem and told me that they are in the process of changing both their phone system and their ticket printing system. He told me that he would refund my ninety cents and assured me that with their new system, there would be no charge for printing tickets yourself. Again, major kudos to Bob and the Science Centre folks for responding to me directly and addressing the problems, however minor they may be.

Thursday, August 13, 2009

But I bet it's fast over a 2400 baud modem

I listen to TWiT every week and Jason Calacanis is a regular guest (though rarely when Chauncey John C. Dvorak is on). The guy knows the tech industry inside out and backwards and is an astute businessman, and he's not afraid to air his opinions on anything (which is probably why he and Dvorak don't seem to get along – they both have strong "I'm right and you're an idiot" beliefs). Calacanis seems to be one of those love-him-or-hate-him kind of guys, though I keep flip-flopping. He can sometimes be an annoying blowhard while other times be one of the most insightful tech guys around. I always enjoy TWiT when he's on though since he's always entertaining; he does a spot-on Christopher Walken impression.

He even showed up on a StackOverflow podcast a little while ago and spent the entire hour begin clever and insightful, so I'm wondering if the blowhard is kind of a persona that gets people talking about him – he certainly seems to subscribe to the old mantra "I don't care what you're saying about me, as long as you're saying something".

He posted something on Twitter the other day telling people about his email list. Forget the irony of one of the pioneers of blogging using a mailing list. The really ironic thing about this is that the page to sign up for his mailing list is so 1998. No Javascript, no Flash or Silverlight, no images, doesn't even use CSS. It's just a very basic HTML 3 page with a couple of basic forms. It even uses <FONT> and other UPPERCASE TAGS just like we did back in those early days of the web. Now granted, Jason didn't create the page himself or anything, it looks like he's just using some existing mailing list site to run things for him. This guy has his finger on the pulse of the technology industry – having him use a mailing list rather than a blog is a little confusing, but him agreeing to use this terribly dated web page to do it is completely inexplicable.

Technology in sports

There has been a lot of talk recently about the new swimsuits that are being used in the World Swimming Championships. They apparently make you more buoyant and therefore reduce drag, making you swim faster. An astonishing number of world records have been broken at these championships, and people are beating their own personal best times all over the place. In some cases, records are being beaten by a full second or more, in a sport where hundredths of seconds aren't always accurate enough to determine the winner (remember Michael Phelps in the 100m butterfly at the Beijing Olympics?) and I heard about one guy who broke his own personal best in one race by four seconds. Many swimming enthusiasts are going apeshit over this, saying that this is making a mockery of the sport. Why? If the suits are available to all of the swimmers, then why is this unfair? It's not like the suit has a motor on it, it's still the swimmer doing the work. If two swimmers both have the new suit on, then the suit helps them both equally and we're back to skill against skill. What's the problem here?

Technology improvements have affected every sport. Hockey players shoot the puck much faster with composite sticks than with the old wooden ones. The latest skate technology allows skaters (and hockey players) to skate faster. Skis are better. Baseball gloves and bats are better. Tennis racquets are better. Bicycles are better. Golf clubs (and balls) are better. Even shoes are better. Now we have better swimsuits that allow faster swimmers and just because these changes are more dramatic than in other sports, it's unfair?

Obviously I don't have a problem with using technology to your advantage in sport. But aren't pharmaceuticals a form of technology? What makes them different? Using a graphite oversized tennis racquet instead of an old wooden one allows you to hit the ball faster without working any harder, so what's wrong with using a chemical supplement to enhance your body to allow you to do the same thing? Perhaps it's the safety aspect – steroids in particular can cause all kinds of health problems if they are overused or misused. But performing in sports at a high level is not without risk anyway – baseball players get hit by 95 mph pitches all the time, cyclists ride at breakneck speeds down hills and crashes happen frequently, and concussions are commonplace throughout many contact sports. These are just risks that athletes implicitly agree to when they perform at that level.

I thought that maybe the fundamental difference is that in one case you're using technology to improve sports equipment, whereas in the other case you're using technology to improve the athlete. Well, there have been many advances in training, exercise, and nutrition over the last, say, fifty years that are being used to improve the athlete as well. Using a new training regimen and watching what you eat, an athlete could become stronger or more flexible or just fitter overall with less work than they could have fifty years ago, so we are using technology to improve the athlete. They say Babe Ruth lived on a diet of burgers and beer – just think of how he would have played if he'd hit the gym several times a week and worked with a personal trainer who kept him on a strict diet.

I can't explain why drugs seem to have different rules than other forms of technology when it comes to improving the performance of athletes. They just do.

Tuesday, August 11, 2009

We'll take Rios, do you want a ham sandwich in return? No thanks, I'm not hungry.

The Jays let Alex Rios go the other day, and by "let go", I mean "let go". They got nothing back for him, they just put this 28-year-old speedy power-hitting great defensive outfielder on waivers and watched Chicago pick him up. There are those who have said this is a great move because it frees up some money, but looking at the team now, what's the best thing they could do with that money? Find a young speedy power-hitting great defensive outfielder. Sorry José Bautista, but you're just not going to be the starting right fielder for the Jays World Series run next year.

J.P.'s strategy confuses me. He didn't trade Roy Halladay because the offers he got weren't enough, and he wants to keep him for the playoff run next year. Romero is blossoming nicely as is Brett Cecil, and if Marcum, Litch, and Janssen return from injury (from what I've heard, McGowan's return is unlikely, and it's possible he may never pitch again), we could have a seriously good pitching staff. Rolen wanted out so we got a couple of young pitchers for him – that's great, but now we need to find a full-time third baseman. Sorry Edwin Encarnación, but you're just not going to be the starting third baseman for the Jays World Series run next year. So if 2010 is the year of the World Series drive, why dump Rios now? Ricciardi has said that this was not a salary dump, but what other explanation is there? Sure Rios isn't having an MVP season, but he's not having a terrible year - it's not Vernon Wells bad. But instead of working on getting a third-baseman, Ricciardi dumps Rios, so now we need a third baseman and a right fielder. Rios was making some good coin (and yes, I agree he's overpaid given his performance this year and last), but can Ricciardi get a starting third baseman and an outfielder that's remotely comparable to Rios and pay both of them with Rios's salary? Perhaps Ricciardi believes Travis Snider will be ready next year and so all he needs is a 3rd baseman. So why is Snider still playing in Las Vegas? Shouldn't they be giving him as many major league at-bats as possible? Well, he has been injured for much of this season and so perhaps he needs the rehab. But then it's a bit risky to bet the farm on his being able to be a starting outfielder at the major league level next season. Plus he's a left fielder, as is Adam Lind. Who's playing right?

Some J.P. apologists on Twitter are saying that this is a good move because it gets rid of a bad contract. But didn't J.P. give Rios the contract in the first place? You bring a player through your minor league system, watch as he blossoms into a bona fide star player and give him a rich contract, then a couple of years later let him go for nothing because he's too expensive. And J.P. is hailed as a genius for getting out from under a contract that he created. I don't get it. J.P. said that he talked trade with Chicago for a while and couldn't come up with anything. I guess Chicago never considered "Tell you what - you give us Rios and we'll give you nothing. How's that?" Obviously Ricciardi would have jumped at that deal – and eventually did.

Update: The Jays called up Randy Ruiz from Syracuse Las Vegas to take Rios's spot and what does he do? Hits a home run in his second at-bat as a Blue Jay. Problem solved!

Saturday, August 08, 2009

UK 2009: Kudos and complaints

Similar to what I did for our trip to France, here are some positive and negative experiences:

Snaps to:

  • Toyota, for making the Avensis, which we drove around Scotland. It was big without feeling like a bus and was exceptionally comfortable. When we arrived home, I got in our 2007 Pontiac Montana SV6 with leather seats (which I've always thought was quite comfortable), and the first thing I thought was "I want my Toyota back". It was a pleasure to drive too – it had lots of power, handled very nicely, and had great brakes. A number of times I had to hit the brakes hard for an emergency "Oh crap I need to turn here" turn and despite being in rainy Scotland, I never skidded once. Only minor complaint: our particular vehicle didn't have cruise control, but with the windy roads, there were only a handful of places where I could have used it anyway.
  • our friends Sara and Jonathan, for lending us their GPS unit with UK maps. It was an absolute godsend and I will never ever ever ever ever rent a car again without a GPS.
  • The Original Tour, a open-top double-decker bus tour of London. We did this in Paris as well – once you have your ticket, you can get on and off the bus as much as you want for 24 hours. There are six different areas covered by busses, and each bus has headphone jacks where you can plug in headphones (supplied) to hear a recorded commentary in multiple languages. Some tours have a live tour guide giving commentary as well, and it goes pretty much everywhere.
  • Irn Bru – the most popular Scottish soft drink. Similar to cream soda but with a unique taste all its own. Yum.
  • The B&B's we stayed at, all of which were cute and welcoming: Dalshian House in Pitlochry, Dunlichity House near Inverness, and Kilmalyn Guest House near Fort William.
  • The Urquhart Caledonian hotel in Portree, which was a very nice place with very warm and friendly people.
  • The Royal Terrace Hotel in Edinburgh. Beautiful hotel, great location, huge comfortable room, reasonably priced.

 

No snaps to:

  • lovinglondonapartments.com – we tried to book an apartment in London through them. I booked the apartment through their web site on May 1, and got an email on May 2 saying that we were confirmed. Then on May 5, three days later, I got an email saying that my credit card had been declined. I immediately replied, telling them that I was going to call the bank to see what was going on. I couldn't remember whether I had use my card or Gail's, so I called them both to make sure everything was OK, and neither one had any record of a declined transaction. I figured that I must have made a typo when entering my credit card number, so I went back to the site and did everything again, double-checking all the card numbers. The next day, I was notified that the apartment I wanted was no longer available. Even though they knew that I wanted the apartment, they did not reserve it for me and someone else grabbed it.
  • Heathrow airport – things went generally pretty smoothly at Heathrow; I only had a couple of minor issues, efficiency being the main one. Without going into all the details here, we went through security a couple more times than I thought was necessary. Also, the things that they do and don't allow still baffles me. They tore Ryan's backpack apart because they saw something weird on the scanner, and it turned out to be the bottle containing his eyeglass cleaning solution. They also told Gail that her contact lens solution was not allowed because the bottle was too big. They let the glasses cleaner through in a separate bag, but Gail had to throw her contact solution out. This, however, was on our flight home, which means that both of these bottles had already flown, in carry-on bags, from Toronto to London, London to Edinburgh, and then Edinburgh back to London. Previous security people thought they were safe enough on those flights, but not the one from London back to Toronto. In the US, the FAA specifically exempts contact lens solution from the 100 mL restriction and as I said they allowed it on the other flights, so I don't understand.
  • North American car makers. Why is the "express down" feature only on the driver's window, and why is there no "express up" feature? On the Toyota we had this time and the Opel we had in France last year, all the windows have both express down and express up. Even the car we had in England nine years ago had this feature, though it was a Mercedes.
  • Roadchef restaurant next door to the Premier Inn in Hamilton. I wrote about this in the Larkhall entry, but in a nutshell: the food was decent but overpriced, the service was less than impressive, and the whole place could have used a serious clean. The Premier Inn itself was fine – the room wasn't gorgeous, but functional and very cheap, and the people were friendly. It was just the restaurant that was a hole.
  • Update: Driving home in the rain tonight reminded me of another one, this one also about North American car makers. Our car in the UK had three windshield wiper modes – I don't remember what they were called, but I'll call them Auto, Normal, and Fast. Normal and Fast are pretty self-explanatory, but Auto was awesome. It detected how wet your windshield was and adjusted the wiper frequency accordingly. The harder it rained, the more frequently they went. If the rain got lighter, the wipers went less often. If it stopped raining, the wipers stopped. If it started raining again an hour later, they started up again. I put the wipers on auto on our second day with the car and didn't touch them again for days, whether it was raining or not. More useful and proven technology that is inexplicably missing from North American cars.

UK 2009: By the numbers

KM flown 5730 Toronto to London,
535 London to Edinburgh,
12530 total
KM driven 1050
Different hotels 6
Nights on plane 1
Nights in hotels 17
Pictures taken 2201
Size of pictures taken 5.53 GB
Videos taken 82
Size of videos taken 6.75 GB
Number of aunts, uncles, and cousins of mine we saw 29

Amount we paid for parking at Dynamic Earth in Edinburgh

about £5 ($9)

Amount we paid for parking at all other attractions (castles, Falkirk wheel, Loch Ness exhibit, etc.) combined

£0

Amount we paid for ~7 hours public parking during the day in Edinburgh £19 ($34)
Number of times we did laundry 2
Amount we spent on laundry about £25 ($44)
Price for a litre of gas in Scotland about £1.05 (~$1.86)
Price for a litre of gas in Canada about $0.95
Number of sheep we saw countless
Number of highland cows we saw 1
Number of Loch Ness monsters we saw on T-shirts, key chains, pencils and other assorted trinkets countless
Number of actual Loch Ness monsters we saw 0

Friday, August 07, 2009

UK 2009: Larkhall and Edinburgh

This is the third of five articles I am writing about our UK trip. The first is here, and the second is here. As I mentioned before, I'm putting in a fair amount of detail, but I'm mainly doing it for my own reference in the future.

Note that if you're reading this through Facebook, you might want to click on the "View Original Post" link at the bottom to view it directly on my blog. Facebook messes up some of the formatting.

 

July 11

When I reserved the rooms at the Premier Inn (weeks before the trip), they gave me the option to buy breakfast at a discount as well. For £7.50 each, Gail and I got vouchers worth £10 each, and the kids each got a £10 voucher for free. This seemed kind of expensive (£15 = $30/day for breakfast), but I figured (a) it's a hotel so it's going to be expensive regardless, and (b) this will save us having to go searching for breakfast every morning. Breakfast wasn't actually at the hotel, it was at a place called Roadchef, right next door. It certainly ended up being convenient, but in retrospect, I'm not sure I'd do it again. Remember this the hotel/restaurant is at a service centre just off the motorway, so the vast majority of their business consists of travellers who may never set foot in the place again. They're not overly interested in repeat business, and it showed. The food was decent enough, though (not surprisingly) overpriced. They had a little serve-yourself cereal area, but three of the four mornings we ate there I had to ask for bowls because there were none there. Many of the staff acted as though our presence was pulling them away from something they'd rather be doing. The silverware was in little baskets and rather than just grabbing four forks and knives, I had to get them one at a time and make sure there was no food still stuck to them – much of the time, there was. The tables were all sticky but I figured they were just cheap and old... until we spilled something. Once I wiped up the spill with a napkin, that part of the table wasn't sticky anymore. Ewwww.

After breakfast, we went to see Aunt Sandra (my mother's sister, in case you're curious) again, and she led us out to her little "shop", Alexandra's, where she sells jewellery. It isn't really a shop at all but a booth in a garden centre, but she sells some pretty nice stuff and Gail had a blast looking over everything and deciding what to buy as gifts and what to buy for herself. Aunt Sandra wanted to give us a huge discount but Gail wouldn't hear of it, so they had a bit of a tussle over how much we were going to pay for everything. They eventually settled on a price, and we went back to her place for lunch. During lunch, Aunt Sandra got a call from her son Ian, who wanted to speak to me. He and his wife Lesley were heading out to the Hamilton Park Racecourse that evening for a special event, and they asked if Gail and I wanted to join them while Aunt Sandra watched the boys (as well as his two adorable daughters Alexis (5) and Zarah (2)). Nice of him to offer her babysitting services. Anyway, we decided it would be fun, and Aunt Sandra assured us that looking after our boys as well as Ian's girls would be no problem, so we said yes. We arranged to meet at our hotel in the afternoon.

After lunch, we called my Aunt Trudy (another of mom's sisters – she has three plus two brothers) in nearby Motherwell to make sure she was going to be home, and then went to visit her. While there we also saw my cousin Julie and her husband (Andy) and kids (Cameron and Sarah). Cameron wasn't much younger than Ryan, and the three boys had fun playing soccer football. After a couple of hours, we went back to Aunt Sandra's place and dropped the boys off for the evening, then went back to the hotel to change. Ian and Lesley arrived a little while later, and we all hopped in a cab to the track. The place was packed. We grabbed some drinks (the aforementioned John Smith's for me, a Foster's for Ian, a pint (!) of wine for Lesley, and just water for Gail) and a race program and attempted to figure out what we were going to bet on. We pooled our money on a handful of tickets where you pick horses in each race and if all of the ones you choose either win or place, you win a bunch of money. We decided that if any one of them was a winner we'd split the winnings, so we picked horses based on clever things like what their name was and what colour they wore. We followed those tickets until they were all wiped out (one ticket lasted until about the fifth race), and occasionally put additional bets on single horses. There were lots of different betting booths, and each was run by a different bookie – the booth had a big sign on top saying who was running it. But the bookies decide on the odds, so depending on where you went to bet, you might get slightly different odds on a particular horse than the guy in the next booth. So you'd see a horse with 6-1 odds at one booth, but the guy at the next booth was giving 7-1. And the odds changed while the bets were coming in, so if you bought your ticket ten minutes earlier than someone else, even if you bought at the same booth, you might have different odds on the same horse in the same race. Overall we won a few and lost more but had a lot of fun.

At the end of the night, I thought that perhaps my alcohol tolerance was increasing back to university levels, when we'd have a few beers and then go out to the bar – nowadays if I have more than one beer in a night I'm generally ready for bed. But I had five pints of John Smith's over the course of a few hours. Make no mistake, I was quite drunk, more so than I'd been in many years, but prior to that I would have guessed that five beers in one night would have completely wiped me out. It wasn't until the other day when I was writing the blog entry for the highlands and found the link for John Smith's that I figured it out – it's only 3.8% alcohol. Your average Canadian beer is 5%, and my personal favourite, Rickard's Red, is 5.2%. (Stupid Molson web site won't let me link to the miniscule amount of information on Rickard's Red.) I know American beer is generally beer-flavoured water, but I didn't realize Scottish beer was too. At least in Scotland you can get dark and good-tasting beer-flavoured water, unlike the American stuff.

We cabbed it back to the hotel around 9:30, and Aunt Sandra met us there with the boys. They had had fun at an Orange Walk parade going through Larkhall. I had never heard of such a thing (my knowledge of Irish history is woefully inadequate), and I guess it's mainly an Irish thing, but I guess it's a big deal in some parts of Scotland as well. Thankfully it seems nowadays to be more of a parade for the sake of having a parade rather than a "down with the Catholic bastards!" thing like it might have been in the past. Anyway, by 10:00 it was bedtime for everyone – late for the boys and early for us, but I'm pretty sure that thanks to my new friend John Smith, I was the first one asleep.

 

July 12

Luckily, I don't get hangovers.

After breakfast we drove to a very cool playground in Chatelherault park in nearby Ferniegair. Aunt Sandra arrived with Alexis and Zarah a little while later, and the four kids had a great time playing together. It was a bright Sunday morning but the park was empty. By the time we left a couple of hours later, there were two other families there, but we couldn't figure out why the place wasn't packed.

After lunch, we went to visit my Uncle David (my dad's brother) and Aunt Margaret who live just around the corner from Aunt Sandra. We had a bit of a Perrow family reunion there – Uncle David and Aunt Margaret, Aunt Betty (my dad's sister) and Uncle Charlie, and two of my cousins – David (with his wife Caroline and daughter Suzanne) and George (with his wife Liz and his kids Mandy and Jordan and Mandy's boyfriend Kevin). Seeing Aunt Betty and Uncle Charlie was a wonderful surprise – they live in Manchester, and we had spent a fair bit of time during the previous couple of weeks trying to figure out the best way to get down there to see them. We didn't want to come three thousand miles across the Atlantic and then not see them when they're only a three hour drive away. But before we could decide on when we were going to go, we talked to Aunt Margaret and found that they had already taken the bus up and were staying in Larkhall until the 14th, which was when we were also leaving.

Uncle David's house isn't very big, so it was quite packed with all those people, but we all had a great time catching up. Suzanne and Mandy are about the same age – early 20's - but Jordan is only 9, about a year younger than Ryan. The boys and Jordan played for quite a while together and got along very well. Uncle David and Aunt Betty both love trivia, as do I (and as it turns out, a number of other people in attendance as well), so we had a lot of fun answering trivia questions from a talking trivia game that Uncle David had. At one point, we mentioned that we were driving to Edinburgh in a couple of days and I was a little worried about where we were going to park, since I knew our hotel does not offer parking. My cousin David warned me that parking in Edinburgh was crazy expensive, and suggested that we take the car back early and make our way around Edinburgh without it. We considered this, but the next day, circumstances convinced us to keep the car, at least for one day. For the next day or two I was quote worried about the parking situation in Edinburgh but it turned out OK, as I will get to later.

We stayed at Uncle David's until the boys ran out of steam in the early evening.

 

July 13

Another delightful breakfast at the Roadchef. I ordered a "bacon roll" without knowing precisely what it was, though I had a pretty good guess. Turns out the name was almost too accurate – it was a roll with a couple of slices of bacon in it. No butter or margarine, no lettuce or tomato, no toppings or condiments of any kind, just a roll with bacon. Presentation, people! Even the month-old sandwiches you find in vending machines have a sprig of parsley in them.

After breakfast we went to visit yet another of my mother's sisters, Aunt Maxine. She promptly put me to work fixing her computer which hadn't been working properly for a while. There were a couple of problems – the keyboard and mouse plugs had been twisted, so the pins were bent all to hell. A couple of minutes with a pair of tweezers fixed that, and then the hard part – I plugged her cable modem into the wall. Turns out that without power, those things don't do much. It wasn't rocket science, but Aunt Maxine now thinks I'm a computer god, so all's well that ends well.

The two sides of my family collided to some extent for lunch, as we met Uncle David, Aunt Margaret, Aunt Betty, and Uncle Charlie at the cafe in the garden centre where Aunt Sandra's shop is. This seemed a little weird, but does make sense, since my parents have been married for 47 years and together for about fifty, and they and their siblings all grew up in the same small town where most of them still live, so the families are fairly well acquainted. Actually, Aunt Betty and Aunt Sandra used to play together as kids, long before my parents got together. Anyway, we had a wonderful lunch - I had steak and mushroom pie and an Irn Bru – does it get more Scottish than that? Well, I suppose there was no haggis.

After lunch and some wandering around the other shops in the garden centre, we attempted to go and visit my Uncle Billy (my mom's youngest brother), but he was not home and Aunt Sandra couldn't get hold of him. We made our way back to the hotel and the boys played some Harry Potter Scene It? (a gift from Aunt Sandra) while Gail and I packed for our journey to Edinburgh the next day.

 

July 14

The morning was spent touring around saying goodbye to people before heading east. We stopped at Uncle David's place, Aunt Sandra's shop (narrowly missing seeing my other Uncle David by minutes), and then Aunt Trudy's. We filled up with gas, grabbed some McLunch, and headed towards Falkirk, a little over halfway to Edinburgh.

Falkirk is home of the Falkirk Wheel, the only rotating boat lift in the world. It performs the same function as locks in a canal, except that it replaces about 15 locks and turns in about 4 minutes. There are big gondolas (I told the boys to think of them as swimming pools) at the top and bottom of the wheel, and boats enter the gondolas. The gondolas are then sealed off (so the water won't drain out), and the wheel turns, keeping the gondolas level the whole time. Four minutes later, the gondola from the bottom is at the top and vice versa, and the gondolas open allowing the boats to drive out. It's an amazing feat of engineering. We took a tour boat and rode the wheel – from the top, we could see approaching rain in the distance. We had time to get back to the bottom of the wheel before the rain hit. We waited (in the conveniently-located gift shop) for a slight break in the rain before racing back to the car and continuing on to Edinburgh.

The highway took us to the outskirts of Edinburgh, and then we had to take city streets into downtown. It took us a while to get through the city and once we got near our hotel, the Royal Terrace Hotel, we found that a couple of streets were closed so we had forgo the GPS temporarily and use an actual (gasp) map (like, made of paper and everything! How quaint!) to find an alternate route. After a couple of U-turns (some required, some not), we found the place and parked on the street. The hotel was quite posh compared to most hotels we've been to, but compared to the Premier Inn, it was the freakin' Ritz. We got the key to our room on the second first floor (the ground floor is floor 0 in the UK) and when I opened the door, my first words were "Oh my goodness". The room had what had to be 15 foot ceilings, a huge chandelier in the middle, two queen beds, a couch and two wingchairs, a desk, and two TVs. It had to be at least triple the size of the Premier Inn room and several orders of magnitude nicer. There were three floor-to-ceiling windows looking out over the street, and one of them had a view through the trees on the other side of the street to the Firth of Forth. It cost about double what the Premier Inn did, but was far bigger, far nicer, and had a far better location, so we were happy to pay it. At something like £110 a night, it was actually quite cheap for a beautiful place in downtown Edinburgh. Our first order of business was to find a local laundromat, and someone at the front desk told us about one just down the street. Unfortunately it was already closed, but opened early the next morning. On the way back, we found a pizza place and grabbed a couple of pizzas to take back to the room. The guy we ordered the pizzas from had a strong Italian accent (with hints of Scottish in it – very neat accent), which is always a good sign for a pizzeria, and we were not disappointed.

Shortly after returning with the pizza, we attempted to recharge the video camera, and as soon as I plugged in the power transformer (that we borrowed from Gail's dad), we heard a loud bang. I quickly unplugged it, noticing the black mark on both the plug and the wall. The plug adapter rattled a little and when I shook it, little tiny bits of a capacitor or resistor or something fell out. It had literally exploded. We asked at the front desk if they had power adapters that we could borrow, and they did but they were for European plugs, not North American ones. For the time being, we were out of power. Luckily the camera batteries still had some life left in them.

The parking thing wasn't as big a deal as we thought – overnight, anyway. Parking on the street in front of the hotel was plentiful and free from about 6:00pm to 8:00am, and the parking meters were smart – if you bought a two-hour ticket at 5:00pm, it didn't expire until 9:00am the next morning. During the day, however, parking was limited to four hours. This would prove somewhat expensive over the next few days but the fact that we didn't have to pay overnight saved us a bundle.

 

July 15

In the morning, we gathered up our dirty clothes and brought them down to the laundromat we had found the previous evening. Once the clothes were in the washer, we went across the street to a little cafe for breakfast. A couple of hours later, everything was done and we headed to the town of Kirkcaldy (the 'L' is silent, we found out later – it's pronounced "Ker-KAW-dee"), about an hour north of Edinburgh.

A couple of days before, we found out that my cousin Lesley's partner Wayne had just passed away. I had never met him, but he and Lesley had been together for several years. They had met through Lesley's work – in a nutshell, she helps to rehabilitate drug addicts, and Wayne was one. With Lesley's help, Wayne kicked the drugs and eventually joined her in helping others do the same. But many years of drug abuse had damaged his body, and at the age of 35, it gave out on him. I decided to attend the funeral since it was my only chance to see Lesley and I wanted to express my condolences. Gail took the boys down to the Kirkcaldy beach while I went with Aunt Sandra and my cousin Stuart (who also knew Wayne) to the funeral. It was a very nice service and I did get to see Lesley at the cemetery, though only for a few moments. She seemed happy to see me and grateful that I came, and so as much as I hate funerals (as most everyone does, I imagine), I'm glad I went.

After the burial, Aunt Sandra drove me back down to the beach, where we found Gail and the boys and had lunch. Aunt Sandra and Stuart headed back to Larkhall while we continued north to Dundee for our last family visit. My mom's second-youngest brother Allan is in Dundee, so we went to spend a few hours with him. We were surprised to find my cousin Hazel there as well. We thought she was on vacation in Egypt, so we were happy to see her, and to meet her children, Christopher (5) and William (2). The four boys got along very well and played (LOUDLY) the whole time. Hazel and her husband Wilson are considering immigrating to Canada at some point in the next few years (actually they're thinking about living in Hamilton, so we may end up being neighbours), so we tried to convince her that Canada is definitely the place to be.

 

July 16

We found a public parking garage around the corner from the hotel – we knew it would be expensive, but at least we wouldn't be ticketed or towed, so we bit the bullet and drove there. We had breakfast at a little cafe inside the mall next door, and then walked down Regent Street to The Palace of Holyroodhouse, the official Scottish home of the Royal Family. Mary, Queen of Scots once lived here and even witnessed her husband murder her secretary. Mary's son became King James VI of Scotland when he was a year old and about 35 years later when Elizabeth I died without children, he became James I of Great Britain, the first King of both Scotland and England, thus uniting the monarchies.

Anyway, enough of the history lesson. We enjoyed the tour of this "working palace", and were amazed to find that Princess Anne had stayed here just three days before our visit. Holyroodhouse is at the east end of the Royal Mile, with Edinburgh Castle at the other end. We walked the mile, stopping for lunch along the way, and then did the tour of the Castle, which was very cool. The views of the city and the Firth of Forth were amazing, and we could even see Kirkcaldy fairly easily across the Firth (though I don't remember being able to see Edinburgh from Kirkcaldy). The boys were very impressed with the castle, especially Mons Meg, the 500-year-old 15,000-pound cannon that could shoot a 400-pound cannonball over two miles, and the display of swords and shields. Basically, Gail and I appreciated the architecture and history, the boys liked the weapons.

After the Castle, we walked down to Princes Street, which is almost completely dug up to install a new tram line. While strolling around, we saw a store dedicated to travellers, mainly for hiking and camping, but I thought maybe we could find a new power adapter there, which we did. We ate at T.G.I. Friday's - after all the walking, everyone was hungry, and the boys devoured their meals. We walked back down Princes Street to pick up the car (parking cost: £19 = $34 - ouch) – while walking we heard the ominous sound of approaching thunder but managed to get to the parking garage before the rain started.

The new power adapter wasn't perfect because there are a number of different European plug formats. Our transformer kit had a number of adapters, and luckily it was only the UK plug adapter that blew, not the whole transformer. We plugged the transformer into a different adapter and then that adapter into the new one we bought, and then plugged that into the wall, and lo and behold, we had power again. It was a little wobbly and didn't look very safe, but it was only for one more day so we made it work.

 

July 17

The weather forecast for our last full day in Scotland was dreary and rainy, so we figured we'd have an indoor day. Luckily we'd seen the Castle and Royal Mile already. Around the corner from Holyroodhouse was a place called Our Dynamic Earth. It's similar to the Ontario Science Centre, but smaller and dedicated to the Earth itself: its geology, geography, climate, and animal life. There was a 360° movie (planetarium-style) called We Are Astronomers which the boys enjoyed and was probably pretty interesting, but I was so baked that the comfy reclining chairs and dark room got to me before the movie did, and I slept through it all.  RyanSpinning

After the movie, we went out front where they had a zero-gravity training thing, which was basically a chair in a hoop which spun in one direction within another hoop which spun in a different direction. Nicky was dying to try it, but Ryan kept saying he wasn't interested. Nicky went on and after seeing how much fun he had, Ryan decided to give it a try. The picture here shows how much he enjoyed it. Gail and I decided to pass.

After lunch, it was still raining, so we decided to stay downtown for the afternoon before heading back to the hotel to pack (again), so we went to the theatre and saw Ice Age 3: Dawn of the Dinosaurs. The boys loved it, and Gail and I thought it wasn't bad either.

The evening was spent trying to figure out the best way to pack all the stuff we had accumulated into the suitcases we'd brought – luckily we always pack an empty duffel bag for just such occasions, so we checked four bags on the way to Scotland and five on the way back. While Gail did the packing (as she always does), I took the boys down to the hotel's swimming pool, which was quite small – the whole pool would have easily fit in our hotel room. It was also rather cold, so the boys only swam for maybe half an hour before I took them and their blue lips back upstairs.

 

July 18

We checked out in the morning and drove to the airport, filling the gas tank along the way. Dropping off the car was easy, and we walked to the terminal. We were actually a little early for the flight to London, so we had to wait a little bit before we could check our bags (though once we did, they went right on through to Toronto – we didn't have to get them and then check them again in London). The gate must have changed after our boarding passes were printed, so we only knew which gate to go to when we heard "This is the final boarding call for flight <whatever> to London Heathrow. All passengers should now be boarding at gate 44K", while we were sitting at 44C. We zipped down to 44K and made it, all the while checking the boarding passes which said quite clearly "gate 44C". The flight to London was uneventful, though getting through Heathrow was a little silly. We got off the plane and into the terminal and immediately had to line up with most of the rest of the passengers who were connecting to other flights. One person checked everyone's tickets individually before allowing us through (I believe the name on his security card was "Mr. Bottleneck"), and we then boarded one of a number of shuttles going to various other terminals, depending on which airline we were on. At this point, however, we were no longer in a "secure" area, meaning that we were in the general access area of the terminal, so I'm not sure what purpose Mr. Bottleneck served. After checking in at the Air Canada counter, we found that they had assigned us two seats in one row and two seats in the row behind, but not together – we had seats H and K, with seat J in the middle. Duh. Gail sat with Nicky in one row, and the person assigned seat J had no problem switching with Gail, and I sat with Ryan behind them and nobody sat next to me until shortly before take-off, when someone moved to accommodate some other passengers. He was also happy to switch with me. Ryan played his DS and watched Race to Witch Mountain, while I read and watched Watchmen, which I will have to rent and watch again sometime, since it really deserves a bigger screen than the 6-inch one on the plane.

On arrival in Toronto, we picked up our luggage and took the Park 'n Fly bus over to pick up the van. Our first stop, as it always is, was the Tim Horton's across the street from Park 'n Fly. The flight landed at 5:30 and we were home by 7:30, which is pretty good considering it's a 45 minute drive.

 

And thus ends my very long-winded account of our UK vacation. We had an amazing time, and I have also enjoyed reliving some of it while writing all of this. I have two more posts coming about this trip, both based on posts I made about our trip to France last year: By the numbers and Kudos and complaints.

The only casualty of the trip was Nicky's Nintendo DS, which we have not seen since the flight to Toronto. Gail thinks that he must have put it in the back of the seat in front of him to watch a movie. Because the movie wasn't over when the flight landed, he watched until the very last moment and then grabbed his bag and left. We called Air Canada and they gave me a reference number and a promise to call me if they find it, but I'm not holding my breath.