Weird dream last night

I had a strange dream last night. Mostly it’s unusual because I still remember it – usually when I wake up, I can feel any memory of my dreams slipping away and by the time I stumble to the bathroom it’s totally forgotten. This time I remember the last part of it.

I was taking some sort of exam. For reasons I don’t remember, I showed up an hour or so after everybody started, but didn’t think that would be a big problem because I was so awesome. Anyway, they handed me an exam booklet and I went upstairs to do it because exam room was too dark. Again, they probably let me leave the room but not the other test takers because I’m so awesome. So I was sitting at an outdoor picnic table looking at this problem that shows two cartoon like IFR standard terminal arrival route (STAR) charts. The charts were all full of bright colours with different VORs and airways in different colours, and the runway shown was longer than most of the airways. The problem had something to do with if you exceeded the minimum crossing height on this one VOR by 1500 feet on the first chart, how much would you exceed it by on the second chart after they moved the VOR and changed the airways around. I don’t remember being puzzled by what sort of wierd problem it was, but I also don’t remember answering it. But just then a bright red two seat aircraft pulled up, and 6 people got out. Don’t ask me why, but in the dream the plane was a “Robin Reliant”, which if I recall correctly is a strange little three wheel car from England. I overheard one of the 6 people saying that next time they could bring along a seventh person. Then I looked down at the exam book and there was a question about how badly they’d exceeded the gross weight and center of gravity envelope for this Robin Reliant, and I’d realized that the plane taxiing in was actually part of the exam (no, I didn’t ask how they’d done that for me and not for the other people who were still downstairs as far as I knew – maybe only I got the demostration because I was so awesome?). So I started looking through the rest of the exam book. Most of the exam book looked like an issue of Trade-A-Plane, with hundreds of classified ads and a few display ads on each page. So I was scanning each ad in vain trying to find out information on the weight and balance envelope of this plane, plus how much each of these people had weighed.

I guess that’s when I woke up. I can sort of understand the weight and balance thing, because last night Vicki and I and our neighbors had been talking about taking a flight up to Ottawa and I had discovered that the president of my flying club has managed to book the Lance for every weekend between now and August, and doing the trip with the Dakota with 4 people means giving some thought to baggage weight. But I have no idea where the airway thing came from. It’s certainly nothing like real world IFR flying.

Update: I wrote “the runway shown was longer than most of the runways” when I obviously meant “longer than most of the airways”. That’s fixed. Also, I wonder if the “Robin Reliant” is a reference to Big Red, a large Stinson Reliant at the Pinckneyville fly-in. It’s no two seater, though.

Love: strace. Hate: RedHat

Well, thanks to my second favourite debugging tool (after System.out.println), strace, I figured out what was going wrong in Rants and Revelations » Today’s Java puzzlement.

(Short aside: CentOS is actually RedHat Enterprise Linux with the proprietary stuff filed off. So any changes between versions are RedHat’s fault, not CentOS’s.)

I had a short program I wrote some time ago to print out the names of all the fonts that Java knew about. Today I straced it on my CentOS 4.4 and my CentOS 5.0 machines to see what was the difference. Both machines opened up /usr/java/jdk1.5.0_11/jre/lib/fontconfig.RedHat.bfc just fine. And both started opening up various TrueType font files. But what’s that? On the CentOS 5.0 machine, I’m getting ENOENT (file not found) for /usr/share/fonts/ko/TrueType/gulim.ttf. Oh, that’s not good, since I know the installer installs the “fonts-korean” rpm, which is the CentOS 5.0 equivalent of “ttfonts-ko”, which is what I’ve got installed on CentOS 4.4. Oh, but when the geniuses at RedHat renamed the rpm, they also renamed the directory the directory that the TrueType font files go, from /usr/share/fonts/ko/TrueType to /usr/share/fonts/korean/TrueType. And when they did similar renaming with Japanese and Chinese fonts, at least they had the decency to put symlinks at the old locations.

After that, it was a simple matter to copy the /usr/java/jdk1.5.0_11/jre/lib/fontconfig.RedHat.properties.src to /usr/java/jdk1.5.0_11/jre/lib/fontconfig.RedHat.properties, fix the directory names, and voila, I have Korean fonts.

Now I just have to figure out how to get this into the delivery RPMs.

Today’s Java puzzlement

Does anybody know why my CentOS 4.4 desktop system shows Korean fonts in both native apps (like gvim) and our Java application, but our CentOS 5.0 Theatre Management Systems (TMS) will only display Korean fonts in native apps. Obviously the fact that the TMS displays Korean fonts in gvim proves that the fonts are installed. And the fact that my CentOS 4.4 desktop shows the Korean fonts in our application proves that Java 1.5_011 can do Korean. Although the rpm names have changed, as far as I can tell the same Korean fonts are installed.

Anybody have any clues?

Fuck pain

The pain in my knees is really getting out of hand. It’s been getting worse for decades, but for the last couple of weeks I’ve been getting a stabbing pain on top of the usual diffuse pain – I used to get that every few months and it would only last for a day or two. My tolerance for any sort of activity has gone way down, and Alieve isn’t doing as much as it used to.

I was planning to clean out the basement and my office this weekend, and hopefully get out kayaking for the first time of the season. Instead, all I managed to do was replace the locks on the garage and clear out the cardboard boxes that have been waiting to be flattened to go out to recycling for months. Oh, and walk around the block once looking at the garage sale. And for that, I’m paying in agony.

I guess if I recover enough, I’ll have to do the cleaning out in short chunks of time every evening instead of one big weekend project. And hopefully fit in the kayaking one of these days.

(And yes, I am going to talk to my doctor. Not that I have an iota of hope that he can do anything.)

Bleargh

Last night I attempted to do an IPC with the instructor (Lenny) who I did my instrument rating with.

I’d booked our club’s Dakota because we’d just upgraded our GPS from the 530 to the 530W and I wanted to try a LNAV+VNAV approach in it to see how it compares to an ILS.

Because I’m the sort of geek that I am, the first thing I did was download the new 530W manual and the 530W simulator, and read through the manual and try a couple of approaches in the simulator. The new upgrade gives the 530 significantly more information, especially guidance through approach holds and procedure turns, and turn anticipation, which is pretty cool. One thing I couldn’t find was information about doing ad-hoc holds, like at an en-route VOR. Unfortunately, the simulator simulates an HSI which our plane doesn’t have, so I wasn’t sure if the method I worked out to do them on the sim was going to work with the Dakota.
Continue reading “Bleargh”