Archive for November, 2008

At 10:00 o’clock this morning, I was sitting at my computer watching it snow. It was supposed to get up to 37°F today, but it was hovering around 30 and snowing pretty hard. I hunted down my cell phone and discovered that Dan had left a message on it – the canal by his house was frozen, so instead of meeting at his place at the usual 12:30, he was going to paddle at the Genesee Waterway Center (GWC) at 1pm, and he wanted to know if I was coming. Of course I’m coming. I quickly phoned him back.

When I showed up at GWC, the others weren’t there yet. It was bitter cold and the wind was blowing straight down the river. I added a t-shirt and windbreaker to my polartherm and wore my PFD, which I haven’t been wearing on the canal. The river is deep and wide, and if I went in there I couldn’t be out in seconds like I could in the canal. Unfortunately I haven’t worn the PFD over all that clothing in a while, and while it felt fine on land when I tried paddling it restricted my ability to breathe. It’s amazing how tired you feel when you can’t breathe.

Second to arrive was Jim Mallory, and then Dan. While Jim and I were getting in our kayaks, Steve showed up. So far I think Steve is the only other person as crazy as me about showing up no matter what the weather. While Dan and Steve were getting ready is when I discovered the problem with the PFD, and took steps to loosen it up. Once that was taken care of, it wasn’t so bad – both in terms of being able to paddle well, and also being comfortable with the temperature.

Having the four of us was great. Dan stayed with me and worked on my technique, while Steve couldn’t possibly outrun former Olympian Jim Mallory. Jim’s technique is every bit as good as Dan’s, if not better, and he’s a professor at NTID, so he can teach as well.

I had a very satisfying work out. The only problem is that once I finished, the sweat condensed and cooled down, my hands were no longer protected by my pogies, and it was *cold*. Colder than I’ve been since last winter. I got my kayak up on my roof rack as quickly as I could and headed home. But I’m sure glad I went.

I went kayaking at Dan’s again. We were joined by Paul D, Doug, and Dan. We were briefly joined by Jim Mallory, a former Olympic kayaker and a colleague of Vicki’s – but he had to leave when the kayak he was paddling filled up with water up to … the top of his seat, and it got too uncomfortable to continue. The kayak he was paddling looked ratty and was patched with tape in multiple places, so it was no wonder it leaked. I think he said he bought it used for a few hundred bucks. Cheap at half the price.

It was 39°F and breezy. I debated wearing a windbreaker, but I’d worn one last week and was too warm. So I decided to suffer until I warmed up a bit. We found a nice stretch of the canal without much wind and paddled up and down that 1000-1500 metres. The first time up, the four of us cut through a bit of ice, but we didn’t see it again so it must have broken up and drifted aside.

It was an exhausting work-out. I think I’m getting better at keeping up with the rest of them, but it’s still extremely tiring. I pooped out before the other guys, so I headed back to the dock alone. And that’s when my troubles started.

You see, since getting my Looksha, last Sunday was the first and so far only time I’ve managed to get out of it alone at Dan’s dock. Dan’s dock is too high up for me to do the standard paddle across the back of the cockpit brace. Every other time I’ve either had somebody else to help stabilize the boat, or I’ve given up and gone to the rocky shore to brace with the paddle. Because last time I managed to actually get out alone, I thought I’d be ok. But I don’t know if it’s because I was tired, or because there was a strong wind blowing that caused me to drift away from the dock as soon as I tried to put both hands on the back of the cockpit. But after a lot of struggle, I gave up and went over to the rocks again. That works, but of course I end up putting my feet down in the water. Woo, that was cold.

Gay marriage: the database engineering perspective @ Things Of Interest.

This morning I went flying. First time since I got back from Oshkosh. I had to take the club’s Dakota out to Batavia for its annual. It reminded me what I loved and everything I hated about flying. It took an hour to scrape the snow and ice off the wings, and then it took most of the way to Batavia to get my toes to stop freezing. I made a couple of rookie mistakes on the departure, including making a wrong turn on the taxiway and actually forgetting to push the push-to-talk at one point. But by the time I got to Batavia things were going pretty good, and I made three perfect landings. I definitely need to squeeze in some time to do this more often.

This afternoon I went paddling. It was even colder than last week, but it wasn’t windy at all and it wasn’t snowing and blowing like last week. I wore an anorak over the wet suit and polytherm I wore last week, and it was too much – I actually ended up taking off my toque for much of the time. As well as Dan and Steven, we also had Doug along. He hasn’t been out for a while, and his boat still has his race number for the Long Lake race on it. Steven was trying a different boat, the KayakPro Marlin that I kept asking Ken to try all year but the rudder wasn’t working. And sure enough, half way through it the rudder broke again. Doug and I paddled on ahead while Dan and Steven worked on the boat, and next time we saw them Dan was in the KayakPro Marlin and Steven was in the Epic 18X that he’d been trying last week.

There was a ice on parts of the canal – for much of it there was ice up against one bank or the other coming out a few feet. It was thin enough that if you got into it you could paddle through it and it would break. But far more fun was to paddle along beside it, because as your wake flexed the ice sheet it made a sound very much like electrical wires twanging in the breeze. It was erie and cool.

Dan was in top form today, taking time to call out encouragement and advice to everybody about their strokes. He was really riding Stephen’s ass too – it seemed almost mean, but Stephen gives as good as he gets and still has that desire to start paddling like crazy when he should be slowing down and thinking. I was doing an ok job of hanging on to Doug when he was paddling at a moderate pace, which I thought was a sign how far I’d progressed. I still need to work on not letting my technique fall apart when I’m tired or when I’m thinking of other things.

Oh, and just to top a perfect day, I was able to get out of my kayak at Dan’s dock without help for the first time. Now if only I could get the spray skirt on without help.

It never fails that when on “FAA Data Reload Day” (which occurs every 56 days on the ICAO cycle), I manage to screw something up and end up staying up late. It doesn’t matter how early I start.

Today’s screw up was after loading the data, I realized that I’d done something wrong, and needed to restore the database to the state it was before I started the load. For reasons too complicated to go into here, I load the data on my home Linux box, and then scp it up to my colo box where the web site lives. The database that lives on my home box doesn’t have all the same tables as the one on my colo box, just the tables that are important to data loading.

So, I thought, the easiest way to get back to the data as it was before the data load is to upload the script I use to export the appropriate tables on the home box to the colo box, run it there, copy the file back to the home box and load it. Except after I loaded it, I noticed a distinct lack of data on my home box. As a matter of fact, it appears that the load went way too fast, like it had no data at all. A quick look at the export file confirmed that there wasn’t any data in it, just some table deletion and creation stuff. Oh oh.

That’s when I realized that one of the consequences of having different versions of PostgreSQL on the two boxes was that “pg_dump … -t waypoint -t comm_freqs -t runway…” works on my home box, but not on the colo. Not thinking too straight, I then used a ‘for table in …” command to run pg_dump on each table individually. When I copied them home, I discovered that this messed up the foreign keys rather badly. So I tried to manually stitch all the files together. That wasn’t working very well, because I had things in the wrong order and the foreign key stuff still wasn’t right.

That’s when it suddenly hit me. Duh. The whole reason I have an external drive on my machine is so that I can do hourly rsync backups. I have a copy of the postgis.dump file that I copied over 56 days ago. As a matter of fact, I have dozens of copies of it. The only reason I was avoiding it was because I had done a few small manual modifications to the database since then. But those were still in the history buffer of psql, and so they were easy to reproduce. I restored the backup, made the changes at around 10:45, ran the updates again, and now here it is at 11:30 and everything is finally done.

I just hope this doesn’t happen again in 56 days, although I’m sure it will.

Found this on StackOverflow:

Stony Brook Algorithm Repository

It’s 12:55. I’m dressed in a farmer-john wet suit, toque, and polar-therm long underwear. It’s 39°F and there is a hint of snow in the air. My hands are freezing and my feet are cold. And I’m putting my kayak on my roof rack in preparation for going paddling with Dan and some of the others.

It’s now 1:20. I’ve arrived at Dan’s house to find out that I’d gotten the time wrong, and I was supposed to be there at 12:30. But Ginny says that they only left a little while ago. If anything, it’s colder than it was at home, and it’s certainly windier. I have a perfect excuse to quit if I want. But instead I quickly load up. Ginny doesn’t know which way they went, but I assume they went upwind so they’d have the wind at their back on the way back.

It’s about 1:45. My shoulders are aching, and I’m spending more time resting than paddling. I’ve been weaving around the canal, trying to stay on the upwind side to stay out of the wind, which is bitter at times. It’s cutting through me – the wet suit certainly protects me, but the parts of my torso not covered by it are cold. At least my eyes have stopped streaming. I figure I’m not going to catch up to Dan’s group, but I’ll go to the “2 mile bridge” (a bridge which is, coincidentally enough, 2 miles from Dan’s dock) and back. 4 miles is a pretty decent work-out, even if I’m struggling as I am.

It’s about 1:50. I turn the last corner where I should be able to see the “2 mile bridge”, and there is Dan and Steve. Steve is paddling cross-ways across the canal, and Dan is watching them. I’m tucked in to the shore, between two docks, and I don’t think they can see me. I speed up to see if I can get closer without them seeing me. But Dan spots me. They’ve found a semi-sheltered part of the canal, and Steve has been trying to get used to a new boat he’s considering buying, an Epic 18X like Frank and Paul D paddle. Dan points out why my shoulders have been hurting – in my rush to catch up I’ve let my technique fall apart and I haven’t been pushing with my feet and getting good torso rotation. It’s like I have to learn that lesson over and over again. Frustrating. It starts to snow a bit. A man walking along the canal looks at us and shakes his head sadly.

It’s about 2:00. We’ve been heading home, and Dan has been trying to help Steve with his technique while I try to ride either Dan’s or Steve’s wake. I’m not having to stop to rest anywhere near as much as I had on the way up, as I’m using my legs and torso much better. Plus the tail wind is helping. When I’m trying to ride his wake, it’s obvious that Steve is having trouble with his rudder and he’s weaving around. It’s much easier to stay in Dan’s wake because he doesn’t weave from side to side. He brings the speed up and down, and I follow. And the snow stops, but we’ve in and out of the wind as the canal changes direction.

It’s about 2:15, and Steve has, as he so often does, gotten frustrated with himself and stopped listening to Dan and just plunged on ahead. Even I can see that his technique has fallen apart. On the other hand, Dan wants me to finish up on a high note so we slow down and work on getting a good catch, good rotation, and a good glide. With the technique still good, we brought the pace up slowly, and finished up with 10 good hard strokes. I’m tired, but proud of myself. I really did it.

I’m not sure if I pissed off somebody or what, but I’ve lost 80 reputation points in the last 10 minutes. I wonder what’s going on?

Much as I bitch and moan about my new job, I have to say that in spite of the extra work involved and the constant worrying about stains, I love the look and feel of a good dress shirt, especially those Joseph and Feiss no-iron ones. Dress pants I’m not so enamoured of, mostly because they feel tight around my thighs when I’m sitting down. And dress shoes should vanish off the face of the earth. Immediately.

I remember when I was at Gandalf I dressed up most of the time, except when I was either feeling pissed off about something, in which case I couldn’t be bothered to make the effort, or when I was anticipating spending time in the lab rewiring networks or upgrading computers. And that was with riding my bike to work in the morning, showering and changing there, and going for a long ride after work. My shirt and pants for the day were folded into a MountainSmiths backpack that I’d bought for doing the Silver Courier du Bois in the Canadian Ski Marathon, so they probably weren’t as unwrinkled as they should have been. Or as uncontaminated by ski wax.

I’ve been yelled at by English teachers, co-op work term report markers, and Microsoft Word for overuse of passive voice. Mostly I look at the sentence or paragraph they’re yelling about and say “what? I don’t see what’s wrong with it”. But even I recognize this as too much.

From a job ad on Monster.com:

System design, based on the requirements and the development of diagrams along with implementation of the computer language will be part of this Software Development position. Determining testing requirements followed by unit and regression testing will be performed in this role.

The culture here is in most ways much more stolid and constrained that at any other place I’ve worked at. The dress code is strict, the hours you can work are tightly controlled, etc. Maybe it’s the lack of other outlets, but one thing that’s curious here are how it seems like every day there is some excuse to have a pot-luck pile of food at somebody’s cubicle. Usually it’s a birthday, today it’s some student finishing his work-term and going back to school. It’s very odd. And fattening.

Is there any way to make Eclipse start up with the ‘Problems’ tab set to ‘Group by’ set to ‘Type’?

Oh man, it’s too bad my pay just went down a big chunk and I’ve had to swear off the impulse purchases. Because I just got my hands on my first G1 phone, and I like it. A lot. Not as sweet as a iPhone, but I love the keyboard and the fact that it has cut and paste. Unfortunately T-Mobile’s 3G network is pretty sparse compared to AT&T’s. And there aren’t as many cool apps for the G1 phone. Maybe that’s the incentive I need to wait for version 2 of the phone. Yeah, that’s it. I’m not stuck with my outmoded and obsolete Treo, I’m waiting for version 2.

I got a phone call from the NRA. They’ve been persistent about it – evidently they called a couple of times and asked for me when I wasn’t there, so somehow I got on their list as a gun owner, even though I haven’t owned a gun since long before I moved to this country. They made me listen to a recorded message from the president of the NRA with a bunch of bullshit about how Barack Obama wants to team up with Nancy Pelosi and Hillary Clinton to steal your guns. Then they asked me a couple of questions:

The first one was “Are you a proud gun owner” – I said yes, even though I’m not, just to see where they were going with this (as if I didn’t know).

The second one was an incredibly leading question about Obama, something about being worried about his “anti-gun ownership agenda”, and when I said “Absolutely not”, the questioner was utterly flat footed, like she’d never heard anybody answer the wrong way before. She thanked me for my time and hung up.