Archive for the ‘Rant’ Category

I was on a conference call, and I had to switch from my cell phone to Skype because the call was breaking up too much on the cell call. Yes, it’s a pretty incredibly sad state of affairs when Skype provides a clearer, less broken up signal than your cell phone!

Only 1 year and 6 months until this contract is over and we can switch to back to AT&T or over to Verizon.

If you use rsync to backup your system, and the system you’re backing up to has different uids for some userids, it converts them as it stores! I just found this out because after restoring my xen1 backup, I’ve discovered that all my postgres files belong to 114, which is the uid of postgres on my home server, not on xen1.

This is going to make restoring all the xen backups a royal pain in the ass.

I tried disabling the RAID controller, and when I go to boot it tells me that I don’t have any drives. So I re-enabled it, and it told me I didn’t have any logical drives. Also, sometimes when I boot the RAID controller BIOS tells me there are no drives, and sometimes it shows me the drives. I tried yanking the RAID daughter card entirely, but it’s got a couple of plastic offsets that it doesn’t want to come off of, and I’m reluctant to try anything that I can’t undo at this point. So I’m using the RAID controller to create 4 “Arrays” of 1 disk each. We’ll see how that goes.

I was trying to tar a bunch of stuff off a USB backup disk onto the new machine, and it suddenly started throwing all sorts of errors and couldn’t read any drives, not even the root drive to find the shutdown command.

First thing I’m going to check is moving the drives around, because I accidentally put the two new drives in the third and forth slots instead of one and two, so I’m going to fix that. If that doesn’t help, then I’m going to just turn of the Adaptec RAID controller and try a software RAID. If that doesn’t work, I don’t know what I’m going to do. Probably return the hardware and start again.

The GoogleBox lives!


Yes, after 4 days of downtime, my illustrious yellow 1U server has been revived from the dead. After it died, I asked the colo provider to power cycle it, and they said it didn’t come back up. I asked them to yank the box, and I picked it up and brought it home. Expecting a power problem, I first tried yanking all the hard drives and memory, but even then didn’t get any beeps or other activity. So then, I tried yanking one of the CPUs. I must have gotten lucky, because removing the #2 CPU got me a couple of POST beeps, and when I put back the memory and the hard drives, it booted just fine.

I’ve had this box since January 2007, and the CPUs are dated from 2001, so I guess it’s time to replace it. I ordered a slightly newer box off eBay that has twice as much memory and 4 SATA drive bays. With two 1Tb drives, it will have much more disk space, but more importantly the empty drive bays mean that if I need to expand, I can add newer bigger drives when they become available. I’m considering using software RAID to mirror the two drives, because even 1Tb is bigger than what I have now and I’m not hurting for space. And with lvm, I can plonk in two new 2Tb drives when the time comes, migrate the volume groups to the new drives, and yank the old ones. All the remains now is to decide whether to build a new OS and get everything working on it, or just restore from a backup and continue the upgrade path.

While I had the box home for a few days, I took the opportunity to do a long-delayed upgrade from Debian “etch” to Debian “lenny”. I didn’t want to tackle that remotely because there was a significant chance (and it happened several times) that I was going to get it into the situation where I needed to intervene at the Grub stage, and I couldn’t do that remotely (because the cheap colo facilities don’t give you remote boot consoles like the expensive ones do.) The biggest hassle of this upgrade was that I had to do some messing around to get a console to appear, changing the boot options on the box itself, and also the getty lines in inittab of each of the guest “domU”s. The second biggest hassle was that I had to install “udev” on all the guests so that ssh could work. Also while they were home I took the opportunity to make a backup of the whole thing, including the guests that don’t belong to me. Normally I just back up my own. That should make setting up a new box a lot easier.

I got all the fixing and upgrading and backing up done early this morning. I brought my box over to the colo company office at 10:15. And waited. And waited. And waited. I had a “ping -a” running so I’d know as soon as it came back. And I waited some more. The business office is the other side of town from the colo facility, so I figured there would be some delay. The company that used to own those racks would let me go out to the facility with them, but these guys bought the business from that company and they’re anal about security and won’t let me go. Well, it turns out that their scheduled visit to the colo facility was at 10pm – nobody told me that, of course, until after I’d started panicing that they’d all gone home for the weekend without racking my box. But here it is – they racked the box, phoned me to say it was powering up, and now I’m connected again. Hallelujah!

Update: A few hours after I wrote that, I decided to quit and restart Chrome to free up some memory, and now none of the extensions I installed are showing up.

A few weeks ago, I wrote about my experiences with Google Chrome on the Mac. At the time, Chrome on the Mac was lagging quite far behind the Windows version. Supposedly now it’s all caught up, and so I’m going to revisit my previous complaints:

  • It frequently lost the text cursor in text input fields, especially on GMail.
    • Still happens.
  • It seemed much slower and more likely to corrupt the display compared to Safari in Google Wave.
    • I haven’t been using Wave, so no comment.
  • It had a bad habit of undocking a tab on the slightest provocation.
    • Still happens.
  • The fact that the tabs take up space in the window frame means that you’d frequently undock a tab when you were trying to move the whole window.
    • Still happens. There is a tiny bit of real-estate near the “+” to open a new tab that is still available, but it’s a pain to grab.
  • It doesn’t have a “Reload all tabs” option. Supposedly there is an extension to that, but in order to use extensions I’d have to upgrade to the latest development build. That’s more work than I’m willing to do when it has all these other problems.
    • I found an extension that will reload individual tabs on a schedule rather than the whole window on demand. That’s actually nicer than having to reload everything manually. It’s not bad, except when your computer goes to sleep you have to restart it by reloading all the tabs individually. Plus when it reloads on a tab that is on a different Space than the one you’re on, it will switch back to that Space, but that’s a Spaces problem not a Chrome problem.
  • It doesn’t recognize or tell you about RSS feeds. In Safari or Firefox, any page that has an RSS feed displays an icon, and if you click it, the OS opens the feed in the currently configured RSS reader. The functionality is so ingrained in browsers that many pages don’t seem to have any other indication that they have RSS feeds. Once again, I’m told that Chrome has a plug in for that. Once again, too much trouble.
    • The only RSS plug ins I could find will add the RSS feed to a web based RSS reader like Google Reader. There is no support I can find anywhere for the OS-defined RSS reader. So I’m experimentally putting NetNewsWireLite out pasture in favour of Google Reader. Not bad, but not great.

So over-all, it’s got a few user interface annoyances, but the really big sticking points have been taken care of by plugins. And I was happy. Until today. And that’s when I discovered that Google Chrome is utterly useless for a web developer – there appears to be no way to make it reload your javascript file that you’ve just changed unless you go to “File->Clear Browsing Data”, uncheck everything except “Empty the cache”, click “Clear Browsing Data”, and wait, and wait, and wait. In normal web browsers, you just have to hit shift-reload on your page and it will reload that page and all the attendent files, including CSS and JavaScript files. That’s it, I’m switching back to Safari (or maybe Firefox) for the page I’m developing.

Oh, plus the built in “Developer Tools” in Chrome suck in comparison with Firebug, but that’s apples to oranges since Firebug is a plugin.

My colo box, which I bought used on 10 January 2007, hung last night and needed to be rebooted. That’s the second time in 3 months, after nearly two years of flawless service. I wonder if it’s time to replace the hardware?

And once I open the discussion about whether to replace the hardware, I open another discussion in my mind: is it time to go back to Linode or some other VPS provider? I left Linode years ago because they didn’t have enough RAM and hard disk for what I needed, but over the years what they provide for the same amount of money has been growing and growing. I currently pay $100 a month for my colo space – I subdivided the box into three Xen domUs, and of the two guys who rent the other domUs, one of them pays me pretty regularly and the other guy sometimes remembers to pay but usually forgets. I don’t think either of them are making very extensive use. So essentially I’m paying $70 a month for 1Gb of RAM and 100Gb of HD for apps, and 370Gb for a music collection. Well, the music collection isn’t all the important, and for $60 a month at Linode I could get 1Gb of RAM and 50Gb of hard disk. Evidently adding another 50Gb of disk would add another $25/month to that, which isn’t optimal. Anyway, I’ve got to consider my options here before spending another $500 on a used colo box.

The Facebook “Suggestions” box, which normally shows me people who know somebody I know or groups that a Facebook “friend” or two has joined, is currently suggesting “We can find 1,000,000 people who DO believe in Evolution before June”. There are only two problems with that:

1) Evolution is a fact. It doesn’t matter if you believe in it or not, it just is. The only people who are swayed by arguments about whether something is true or not by how many other people “believe” in it or not are idiots. The world didn’t suddenly start orbiting around the sun because a majority of people “believed” Galileo and Copernicus, it was always that way. And it didn’t stop doing so when Galileo renounced his theory under torture. And anthrogenic global climate change isn’t going to go away if you stick your fingers in your ears and go “LA LA LA I DON’T BELIEVE IN YOU”. (I’d say that idiots who can be swayed by majority belief arguments aren’t worth arguing with, but unfortunately they hold a lot of political power in this country.)

1a) As a scientific fact, I don’t think “evolution” deserves that magisterial capital letter.

2) The fan group, rather than presenting facts or arguments about evolution, is actually more about making fun of people who believe in one or more Gods, especially Christians. So maybe they should state that as their purpose, instead of making it about evolution, a scientific fact that many theists, even Christians, understand is true.

Is there anybody out here who knows anything about Subversion? I’m very new to it, and I think I might be used to better revision management systems like ClearCase and Git. Here’s the situation: My boss asked me to fix this project so that it could be built with Maven instead of Ant. One of the important things I had to do to was to move src/com to src/main/java/com, and move test/com to src/test/java/com, which I did using the “svn mv” command. I foolishly assumed that since I used Subversion commands to move the directories, that Subversion would then know that things had been moved. And when I merged my branch into the trunk, it appeared to work. But now somebody else just finished work on a branch that he branched off before my work. So we go to merge his stuff into trunk, and basically Subversion appears to think “ok, he made changes to src/com/foo/bar/baz.java, but that directory doesn’t exist any more, so it’s irrelevant, so discard it” instead of what I expected, which was “ok, he made changes to src/com/foo/bar/baz.java, but src/com has been moved, so I need to merge that into src/main/java/com/foo/bar/baz.java”.

Is there a way to make Subversion do the revision management, or am I going to be manually merging this guy’s changes for the next two days?

Here’s what I discovered after a day of using the current beta of Google Chrome for Mac:

  • It frequently lost the text cursor in text input fields, especially on GMail.
  • It seemed much slower and more likely to corrupt the display compared to Safari in Google Wave.
  • It had a bad habit of undocking a tab on the slightest provocation.
  • The fact that the tabs take up space in the window frame means that you’d frequently undock a tab when you were trying to move the whole window.
  • It doesn’t have a “Reload all tabs” option. Supposedly there is an extension to that, but in order to use extensions I’d have to upgrade to the latest development build. That’s more work than I’m willing to do when it has all these other problems.
  • It doesn’t recognize or tell you about RSS feeds. In Safari or Firefox, any page that has an RSS feed displays an icon, and if you click it, the OS opens the feed in the currently configured RSS reader. The functionality is so ingrained in browsers that many pages don’t seem to have any other indication that they have RSS feeds. Once again, I’m told that Chrome has a plug in for that. Once again, too much trouble.

About the only thing I liked about Chrome more than Safari is that when I restarted it, it would re-open the three pages with 15 or so tabs between them that I had open beforehand. Safari can be trained to open the one page with 10 tabs that is my main window, but then I have to manually fiddle with the other pages. Oh, and Chrome opens new links in a tab instead of a window – that’s nice that I don’t have to hold down command when I click.

The main reason I was tempted to use Chrome is that using a busy wave in Google Wave causes browsers to eat memory like crazy. In Safari, to recover that memory I have to close the whole browser. In Chrome, you can recover it by closing the tab. Nice, but I was closing the tab and re-opening it every few minutes because the “space to next unread blip” functionality would stop working. I have to restart Safari about once a week if I avoid Wave, and about once a day if I use Wave.

I find it deeply ironic that the two biggest problems I had with Chrome were with Google apps. Maybe I’ll come back to Chrome when it’s ready. But not now.

Start this off with a look back at last years, because for once I did a pretty fair job.

Here are my resolutions from last year:

break 20 minutes in the Baycreek time trial
I actually broke 19 minutes, so chalk that one up as a win.
finish the Long Lake Long Boat Regatta long race (9 miles)
I didn’t just finish, I came in 5 seconds behind Mike Finear, after dragging him in my wake for several miles. Another win.
figure out if I want to continue flying or not.
Gave up flying, didn’t really miss it. Found myself obsessing over every mistake I ever made in the air and about how blasé I was about the danger at the time. Trying to tell myself that’s because I was on my game back then so I could handle it, and now I’m out of practice I wouldn’t handle it so easily if it happened now. Can’t tell if that means I should never go back, or if I need to really practice a lot if I go back.
develop an ajax web site, using either GWT or jquery or ruby on rails or something
I started an iPhone app, but hit a snag and put it aside. Realized that the GWT web site would be a better help with my job search, and made some half decent progress on this before I actually got a job.
diet
That went pretty well. Between February and June I lost 40 pounds and then hit a plateau. Unfortunately it’s the same plateau I hit every time I go on a diet. Spend most of the fall still within spitting distance of being on the diet (it’s hard to be strict when you’re home all day) but not losing any weight. However, I think I was building some muscle mass in my arms and core, so maybe it wasn’t all that bad. Managed to gain 10 pounds of it back between Thanksgiving and now. Still a win, I think.
exercise
Yeah, pretty much. I started out the year being barely able to paddle 2 miles, and now a 10 mile workout holds no terror for me. Still trying to figure out how to keep that fitness over the off season. (Yeah, I know, “Off season? What’s that?” – getting out to paddle once in a blue moon is no substitute for paddling three or four times a week)
get a better job
Well, it took until a week before Christmas, but I got a decent contract job. Hopefully it will lead to more decent jobs.
once more subject myself to the psychological torture of trying to get more treatment for my pain
I didn’t actually do anything about this one. But between not having to sit at a desk, not having to drive much, losing weight and exercising more, my knees weren’t that bad. Of course after a week of driving 3 hours a day to my new job, my knees are now the worst they’ve been since back when I used to drive to Ottawa twice a month. Hopefully that will recover now that I’m working more from home.
1600×1200
How about 1920×1080 on the left, and 1920×1200 on the right. Now *that* is resolution, baby!

That was the year that was. This is my list for this year:

  • Break 17:30 in the Baycreek Time Trial. I’d like to break 17, but I think 17:30 is more attainable.
  • Join NYMCRA and start competing for points. I’d like to do at least 5 of the points races this year, but they haven’t put out the 2010 calendar yet so I don’t know which ones those will be. Last year I did Tupper Lake, Armond Bassett, and Long Lake, and I could easily extend that to 5 by doing Round The Mountain or Bear Mountain and the long course at the Rochester Open Water Challenge. I probably won’t get a lot of points, because unlike the other guys I don’t get any handicap points because I’m not over 50 and my Thunderbolt is Unlimited Class. If I’m reading the points system right, at Long Lake I would have gotten 85 points because although I was only 5 seconds behind Mike F, he got handicap time for being in an EFT, a Touring Class boat and time for being over 50, so his adjusted time is 3:34 ahead of me. Competing for points might add a new twist to races, but mostly I see it as a reason to go to more races.
  • Start building up my training volume. This year my GPS recorded 670 miles of kayaking, and that’s not including the early part of the season before I bought it, and the few times I forgot to charge the damn thing. I’d like to increase both the number of paddles and the length of them. If I can manage a few 20 mile plus days, I’d be slowly working towards doing the “90 Miler”, maybe in 2011 as a 50th birthday thing.
  • Get the diet back on track and try to break through this plateau I was stuck at this fall.
  • Finish revamping my navaid.com site into GWT so it doesn’t look like something designed in 1992, which it probably was.
  • Figure out the GRIB thing that Laurie wants me to do.
  • Hold onto this job, or find another one quickly when it ends.
  • And that’s about it for the public ones.

Hopefully I’ll do as well this year as I did last.

Spoiler alert: I’ve got a new job. Woo hoo! I start on Monday.

When I got my citizenship, they took away my high security Permanent Resident Card (“green card”) and gave me this fancy paper “Certificate of Naturalization”. At the ceremony, they told us that we should apply for passports immediately because the “Certificate of Naturalization” isn’t good for travel, but you had to send in the “Certificate of Naturalization” with the passport application as proof of citizenship and identity. Well, I had to travel to Ottawa for a kayak race the very next day, and so I kept it. And it worked for a couple of trips to Canada. I was expecting to get a new job any day now, so I kept the document so I’d have proof of citizenship when the time came.

Well, it wasn’t “any day now”, but I eventually got a job, and I had to fill out the I-9, which is your proof of eligibility for employment in the US. And that’s when I discovered that the list of documents that you’re allowed to use for proof of citizenship and/or identity doesn’t include the “Certificate of Naturalization”. I even downloaded the M-274, which is the guide for employers for filling out the I-9, hoping to find they just omitted it for brevity on the I-9 itself. No dice. And searching the Citizenship and Immigration Services web site shows that in 2007 they purposely disqualified this document because it wasn’t secure enough. For some strange reason, older citizenship documents, that unlike mine don’t even include photos and look like they were banged out on a crappy typewriter, are still valid. The document also said that you can use your Social Security card as proof of eligibility, but mine dates back from when I was here on a TN-1 temporary non-resident visa, and so it’s stamped on the front “Not Valid For Work Without INS Authorization”, so I figured it was not valid, and so I thought I was screwed.

After worrying about it all night, I had a meeting with the HR person at the company that placed me, and she basically said that the Social Security card would be valid, because the condition on it was no longer in force. So we filled out the I-9 and she thinks everything will be fine. But just in case, I sent off my passport application the very same day so I’ll have that if any questions are raised.

But here’s the thing that I think is really stupid: the Certificate of Naturalization isn’t a valid document for proving your citizenship to work even in conjunction with other documents, but it is valid for proving your citizenship and identity to get a passport, and a passport is a valid document for proving your citizenship and identity to work. Hopefully the reason is that the passport people do some sort of verification or validation that the people who process I-9s do not or cannot. Otherwise it’s just stupid. Coupled with the fact that a fairly fancy document like the Certificate of Naturalization has been disqualified because it’s not secure enough, while primitive documents like the Social Security card and older citizenship cards are still accepted, smacks of “Security Theatre”.

On the one hand, you have Jeff Atwood’s Coding Horror, a blog about programming read by thousands if not hundreds of thousands of people. And by the same guy, blog.stackoverflow.com. His backup strategy was to make copies of both blogs but leave them on his hosting site, and trust that when the ISP said they had it backed up, they really had it backed up. Of course, the ISP had some sort of hardware failure, and when they went to restore their backups, they found that they didn’t work. He’s now trying to reconstruct his articles (but of course not the comments, and some very few of the images that went along with them) from Google’s cache, the Wayback Machine, and the web caches of his readers.

On the other hand, you have this blog, which is about nothing in particular and read by probably 15 people tops. My backup strategy is this:

  1. Daily database dumps, copied to another file system on a different physical volume on the same box. That’s there mostly to quickly respond if I accidentally delete the database or an upgrade goes bad or something. If my blog got more traffic and more comments, I’d do those dumps more frequently.
  2. Another backup and a tar file just before I do an upgrade.
  3. Daily rsyncs back to my Linux server at home. I keep a week’s worth of those.
  4. Daily copies of that local copy to removable hard drives. I keep a month’s worth of those.
  5. Every week or so, I move one of those removable hard drives to a physically remote location.

And I did this when my blog was hosted on a VPS that the ISP claimed had some sort of backups and now when my blog is hosted on a 1u box that I bought on eBay and stuck in a local colo facility. As far as I’m concerned, you’re not backed up until the backup in your pocket.

Oh yeah, did I mention that some of those Coding Horror blog entries that went missing were about backups and how important they are?

I’m sorry, but the idiocy of this just leaves me shaking my head in wonder about why anybody ever believed anything he ever said about computers. On the other hand, it also makes me glad that I don’t have a huge audience hanging on my every word, because someday I might get something wrong (hey, I know, not likely, right?), and schadenfreude’s a bitch.

So I was reading a story in this month’s Analog magazine, and encountered the following paragraph:

“They company wantoffered me a promotions me to learn aboutlead a new technology group, something I saw in the Dakotas a few months ago,” Gus replied. “It’s a nice increase career move if I accept,” Gus offered.

I swear all spelling, punctuation and spacing is exactly as it is in the magazine. It’s almost as if somebody took the blue pencil markup version and put in all the new stuff without taking out the old stuff. And then later in the same story:

His The aesthetic principles approach would disappear be lost when Phil’s new technology was perfectedused.

Doesn’t Analog have proof readers for this sort of thing?

(What does it say about my age and penchant for trivial that I know this much about obsolete book and magazine editing even though I’m not a writer or an editor?)

After updating my resume on Monster the other day, I got an email today:

We found your resume and are very impressed! We believe you have the qualifications we’re looking for to fill our open insurance agent position.

Somehow I think they stopped reading my resume after they found my email address and postal address (because they did say they were representing the Rochester branch). Other than those two items, I can’t think of a single thing in that resume that would make some think I’d be willing to be an insurance agent. I think I’d rather live under a bridge.