Archive for September, 2007

The new version of this blog software, Wordpress 2.3, is out. And evidently it breaks some plugins. Many of the plugins I use haven’t been updated in years, and aren’t listed on the list of “known broken” or “known working” plugins. One I like a lot is listed as broken, and hasn’t been updated in a while, which makes me think that if I upgrade I’m going to have to do without it. Also, my theme is heavily customized, so I’m not sure if it will work.

So do I wait, or do I upgrade now and accept that lots of things are going to be broken?

On Monday night, I was supposed to have an MRI on my elbow. However, once they got me in the tube and took a series, they said that my elbow was too close to the edge of the tube and they couldn’t get a good image. So I was scheduled this morning for an “Open MRI”.

An Open MRI is a gigantic upright cylinder that looks like a Mayan ruin with a slot in the side that they slide you into like a pizza into an oven. There’s barely enough room for them to slide you into this slot – later on I discovered that I could get my good hand up to my face, but only just. But before they slid me in, they put your arm into a ring that is plugged into the device – I suspect that’s some sort of focusing magnet. The tech said “I need to open your elbow up”, and so she put me into an extremely uncomfortable position, and then put weights on my hands and arm to keep it in that position and filled the space in the ring with cushions “so you don’t move too much if you start spasming”. I should have taken the hint and left immediately.

Anyway, after they peg you down in this uncomfortable position, they said “ok, this is a 2 minute series”, and you hear some thumping and whirring noises and then some pulsating noises. Then it stops and before you can say “can I have a second?” they say “ok, this is a 2 and a half minute series” and it starts making noises again. Each series got progressively longer until the last one, but because there was no time to flex my arm in the interim my elbow was getting more and more painful, my hand was going numb, and my upper arm muscles were spasming after about the second series. Before the 4 minute one, I yelled out begging for a break, but they either don’t hear you or don’t care. By the end of it, I was crying. I tried pinching myself or biting my lip or anything to distract me from the pain in my elbow, but nothing worked. By the end of the 4.5 minute one I was ready to tell them anything they wanted to hear. By the end of the 5 minute one I was ready to swear there wasn’t anything wrong with my elbow any more, or ever if that would make them happier, so we might as well stop right now.

But it’s over now, and I might regain the use of that arm in a few hours. I hope it was worth it.

On the revelation that my boss had a skunk works project going to prototype a new client/server version of the user interface in Flash, I was appalled. So I suggested that he investigate Google Web Toolkit (GWT). I hadn’t actually done all that much reading about GWT, but it seemed like a really cool idea – you write both client and server side of your app in Java, test it in an Google Hosted Browser and debug it using your favourite Java debugger, and then when it’s ready, compile the client side to AJAXy Javascript.

My boss came back with a counter proposal – why don’t I investigate GWT, produce a small prototype, and he’ll evaluate it side by side with the Flash project. Of course, the person doing the Flash project has a 3 month lead on me, but hey, I’m up to a challenge.
Continue reading ‘Gwit? W00t!’ »

I discovered that I had just barely enough money in my Paypal account to afford to replace the two 512Mb RAM sticks on my Powerbook with two 1Gb RAM sticks. It sucks when you’re on the downside of the technology curve where memory is getting more expensive over time instead of less expensive.

Thanks to the new RAM, I can now have Firefox open AND other apps at the same time. So far I’ve only noticed two improvements – videos play better in iTunes, and I can actually open Eclipse without bogging the whole system down to unusability. I’m looking forward to firing up Photoshop some time and seeing what happens.

Anybody want a couple of PC2700 DDR333 CL2.5 512MB SO-DIMMs? One is Kingston brand, and the other, which came with the machine, is Micron branded.

I asked on the developer list why we’ve evidently decided to use Flash for the next version of the GUI, when we’re all Java Linux developers. I suggested that the powers that be have a look at Google Web Toolkit which would allow us to develop in Java and cross compile to AJAX-y Javascript. And it’s all free and open source and all that good stuff.

So the development lead who is pushing Flash today came to me with a challenge – produce a demo that does everything his Flash demo does and looks as pretty doing it using Google Web Toolkit. I’m sure I’m going to be judged on how good it looks and how long it takes me , so I’ve got to hit the books pretty hard and learn everything there is to know about this toolkit, Javascript, CSS, and maybe a few other Javascript libraries while I’m at it.

And here I was just the other day opining that one sign of my advancing age is not that I can’t pick up new languages and technologies, but I’m afraid to even try. One thing I took away from my Google interviews was that all these young punks expect you to have memorized every single class in the Java API document. I, on the other hand, am content to remember where in the document to find the sort of class I’m looking for. I think I have “multiple language syndrome” – I think that one of the languages I use regularly does NOT allow C-style

if (cond)
  statement;

statements and requires the “statement;” to be in braces, but I can’t remember which one it is so I use braces all the time. Whether that makes the Google geeks better coders than me is a subject for debate. I tend to think not, but I’m biased.

But with that aside, I need to come up with a nifty way to show the status of our file server, our management system (main computer) and a bunch of distributed computers that connect to the management one, with the status of each one visible and changing in real time. There is a variable number of distributed computers, so I’ll need to be able to dynamically place them. And he also wants some way to show (like by line thickness or whatever) if big file transfers are happening between the management system and the distributed computers. If anybody has any ideas on this or better ideas than this, please let me know.

My old computer has been sitting here for a little while, and I haven’t needed it for anything, so it’s probably time to sell it. It’s a pretty nice box for its age. Tyan motherboard, 2 AthlonMP1800+ processors, 1Gb of Registered RAM (either PC100 or PC133, can’t remember) (3 sticks, 1×512Mb and 2×256Mb). Nice full tower case, doesn’t require tools to open and the drives are on sleds and trays for easy access. There are two short white slots and 4 longer ones (all PCI, I think). There is also an AGP slot which probably isn’t one of the faster ones. The NIC is in one of the short slots, and the video card is some cheap-ass ATI AGP thing. The power supply is an Enermax 535W.

Back in 2003 I did a major upgrade of the cooling capacity, adding case fans, a hard drive fan, and these two beautiful copper heat sinks that weigh about a pound each. That’s also when I replaced the hard drive with a 160Gb one.

In the last couple of years I’ve added a PCI card with 4 USB 2.0 ports on the back, and then I added a PCI card with two more ATA-133 IDE ports (you can add 4 drives, master and slaves). In recent months the computer has gotten progressively more flakey. I suspect that either the power supply was getting old and losing “oomph”, or the extra load of the having three hard drives and two CDs and the IDE card were just too much for it. But also, several of the cooling fans have gotten full of dust and some of seized up. So it’s possible that was putting too much load on the power supply. I’d advise anybody buying this to give the thing a serious cleaning and be ready to replace some of the case fans and possibly the power supply. I’ll include the 160Gb hard drive and one of the CD-ROMs (I used the burner in another computer).

Anyway, anybody want this? Make an offer. The thing is big and heavy, so I’d prefer local, but will ship if the buyer pays.

(This might look familiar to some people)

Can somebody please shoot all the asshole software designers who make a splash screen that remains on top even if you switch to another application while it’s loading? I don’t want to fucking see the fucking credits for your software every time it loads, fuckers. I especially don’t want to see it blocking my view of what I’m working on in the interminable time it takes you to load your software. Adobe, I’m looking right at you.

As I wrote about in Rants and Revelations » Hey, Google, Google still hasn’t reimbursed me for my hotel, cab and food while I was in New York City. Today, I discovered why. Evidently when one of their recruiters leaves them, instead of arranging some sort of orderly transfer of her unfinished work to somebody else, they just throw all her email into the garbage and mark any mail that she hasn’t dealt with “Return to Sender” and send it back. I got my reciepts back, over a month and a half after I sent them, which means that undoubtedly they fished them out of her inbox rather than just refusing them at the front door. So I wrote to the only other recruiter there I have been in contact with, and he gave me the name of a third recruiter that I need to send all my stuff to, including the claim form that I’d emailed to the first recruiter on July 21st.

You know, if their tech departments were run as well as their recruiting organization, Microsoft could stop worrying about them.

(As the closest I’m going to come to acknowledging Talk Like a Pirate Day, I’m going to talk about blood.)

I had to have a 2 hour glucose tolerance test this morning. This involves a 12 hour fast, then taking some blood, then drinking some glucose drink, then coming back at 1 hour and 2 hours later to have some more blood drawn. Since that meant 14 hours between meals, and not being able to go to work in between the 0, 1 and 2 hour blood draws, I was anxious to get it over early as possible.
Continue reading ‘Blood.’ »

Once again, my blog becomes my own personal scratch pad for things I want to remember. In this case, what to do with Xen domUs that install udev:

- login to the VM using “xm console ID”
- edit /etc/udev/persistent-net-generator.rules
- insert the following at the top, just below the first comment block:

# No persistent interface names for Xen VMs.
KERNEL==”eth*”, GOTO=”persistent_net_generator_end”

- remove the existing persistence “database”:

rm /etc/udev/rules.d/z25_persistent-net.rules

You’re not expected to understand or care.

Is it really too much to ask that when somebody uses the contact email address on a web site to expect that they’ve actually read at least the first page of that web site? I just got an email to the address that is published on the Rochester Flying Club web site that asked a bunch of questions that prove categorically that the sender had not read the first page of the site, specifically the part that says “It is not a flying school, although we welcome student pilots”.

His second question was “Is Rochester Flying Club just a Pilot School, or it is a college too?”. Which part of “It is not a flying school” are you having trouble understanding there, sport? His other questions are just as oriented towards a full time flying school.

One thing that’s unusual, though. Normally I get these sorts of clueless emails from people in India or Pakistan – and indeed I found our club web site linked from an Indian site that claimed to be a list of flying schools in the US, but this time the guy claims to live in Rochester, although from his wording I’m not so sure. “I live in Rochester, NY which is 14 miles away from 1313 Scottsville Rd, Rochester, NY.” Doesn’t that sound like somebody who plugged two addresses into Google in order to provide some fake verisimilitude? Although I have trouble thinking of a part of Rochester that’s 14 miles away from the airport.

I made some changes to my FAA data loader script and ran it. Four days later it had finished running, I discovered a few bugs, and was getting ready to run it again, but I decided to see if I could improve the speed any. I’d already run the perl profiler and discovered that 95% of the time was spent in mysql. So I tried doing an “EXPLAIN” on all the queries. That’s when I discovered that one very common query was doing the dreaded “ALL” query on a 12,000 row table as step 1. Hmmm. That table isn’t even an important one, it was just table joined to the main “waypoint” table to get one field that was semi-useful. The query has a “waypoint.datasource_key = ?” in it, why isn’t it doing that first? “DESCRIBE TABLE waypoint;” showed me the error of my ways – I’d forgotten to put an index on “datasource_key”.

So I created the index and started the script before going to bed. I was astonished to discover that the script was done this morning. According to my Munin graphs, it had only taken about 6 hours to run. 96 hours down to 6 hours. Yeah, that’s a worthwhile optimization.

Discovered while trying to debug my nav data loading scripts: The Hendersonville Airport (0A7) and the “W.N.C. Museum Airport” (8NC9) are only 0.03 nautical miles apart, but they’re separate airports. I’m not sure if they’re the closest two ever, but they’re certainly pretty damn close. As a matter of fact, I think this picture Hendersonville Airport from the AirNav.com web site listing for Hendersonville shows both runways, the paved one for Hendersonville and the turf one for the museum. I bet there is a story why they didn’t just build a taxiway between them and call it one airport.

The founder of the flying club is not the sharpest knife in the drawer when it comes to using technology. He just sent an email to the entire club with the subject line “Advertising” and the text “$82,000″ followed by his name and a AOL banner. Now, unlike most of the club, I know he’s involved in trying to sell the club’s Lance, so I have a bare inkling of what he might possibly mean, but even I’m scratching my head wondering what the fuck he’s talking about. I wonder if that’s his asking price or an offer we’ve received or the reserve he’s going to eBay it under or what.

Personally, I think that there’s no way in hell we’ll get $82K for a 1977 Lance with a clapped out engine (2480 hours+) and prop and ancient avionics. But I suppose one can live in hope. Looking at Trade-a-Plane I can see a 1976 Lance with less TTAF (Total Time on Airframe) with only 875 hours on the engine and prop, and they’re asking $80K.

The mission was to get two planes back from Batavia, one of which was the Lance. We tried on Friday and Saturday and Sunday, but the weather didn’t cooperate. The weather was fine today, but only two of us could make it, so we only managed to bring back the Lance.
Continue reading ‘“Anticipated Separation”? I don’t like it.’ »