Fixing a hole: Migrating a site structure with the Redirection plugin

Over the weekend, as previously noted, my hosting provider redirected two old versions of my blog to the new WordPress blog. When that change kicked in, it unleashed a storm of 404s as links pointing into the old site structure hit the new site structure.

There are a number of systematic changes from the old site to the new site:

  • Daily pages from my static site. These URLs look like /yyyy/mm/dd.html, and for whatever reason they weren’t redirecting to /yyyy/mm/dd/.
  • Category links from my dynamic site. This one was a mess, because there were at least two main ways of accessing my old category pages: /newsItems/department/n and /newsItems/viewDepartment$n.
  • RSS links. My old RSS link was at a different location, and apparently a lot of feed readers are still polling there.
  • Print-friendly links. Manila used to have a text-only print-friendly format; URLs with the ?print-friendly=true option were failing.
  • Differing site structures. Some of the changes were simply because I set up the new site differently.

Fortunately, most of the problems are easily solved with the help of regular expressions and the Redirection plug-in for WordPress. The redirect rules for the static date pages and the news item department pages were rewritten as follows:

  • ​/(d*)​/(d*)​/(d*).html –>/$1/$2/$3
  • ​/newsItems​/departments​/([a-zA-Z0-9]*) –> /category/$1/
  • ​/newsItems​/viewDepartment$([a-zA-Z0-9]*) –> /category/$1/

All made nice and straightforward, once you grok the syntax.

Of course, I could have used Apache’s .htaccess and these regex rules, but the big advantage of the Redirection plugin is that it counts how many times each rule is used, and links the 404 log into the rules writing engine in a very clever way. It’s very simple to find a 404, write a rule, test the rule to verify that the filter is working, and then go on your merry way.

I did have to make a decision to turn off some functionality. I don’t have mailto any more, my old sitemap is gone and not coming back, and some other odds & ends are not to return. I’ve enumerated those in my Blog Feature Graveyard.

Consolidation time

Just a quick housekeeping note–over the weekend my hosting provider finally consolidated my www, discuss, and wp.jarretthousenorth.com sites onto one machine. You can go ahead and head over to www.jarretthousenorth.com now.

With this consolidation, my Manila blog is finally no more. I cut my blogging teeth on Edit This Page and the other features which at the time were state of the art, but which didn’t move as fast as the revolution they spawned.

Jarrett House North became a WordPress site last year, but the old version of the site lived on at two different web addresses — which didn’t help my Google presence at all. Now, though, you can find me at www, discuss, or wp.jarretthousenorth.com and it will all be the same site.

I have a few broken links to fix, so bear with me. I have to mention in passing that I highly recommend the superb Redirection plugin for finding and fixing 404s on a WordPress site.

Virginia Glee Club history: Harrison Randolph

harrisonrandolphExploring some of Google’s new search options a week ago bore surprising fruit, as I discovered enough about the first named conductor of the Virginia Glee Club, Harrison Randolph, to write a Wikipedia article about him. There has long been little publicly available information about Randolph, aside from a mention in Philip Bruce’s 1921 five volume history of the University of Virginia and his presence in the archival 1893 Glee Club photo that also features the author of the “Good Old Song.” The liner notes to the Club’s 1972 recording A Shadow’s on the Sundial place him as the organist at the University Chapel, but otherwise he seemed doomed to fade into obscurity.

However, when I did a news timeline search for “virginia glee club”, I turned up some hits in the 1890s that I hadn’t seen before. In particular, one 1894 report in the Atlanta Constitution gave me quite a bit more information about Randolph and the boys of the Glee Club than I had seen previously. In this case, the description of Randolph as an “instructor of mathematics” made me go back and look deeper into his biography, and I turned up a fuller biography of him in a 1920-era volume that says that he left Virginia in 1895 to go to the University of Arkansas, and then in 1897 to the presidency of the College of Charleston, where he spent nearly the next 50 years.

It appears, despite his accomplishments, that the directorship of the Glee Club was not then without its perils; the Constitution gives a glowing description of his intellect, then drily notes, “To him has been allotted the awful task of directing the Glee Club.” Even allowing for the “amazing,” “awe-inspiring” sense of the word, one still feels the pressure of the world on Randolph’s young shoulders, particularly looking back at his 1893 photograph. Born the same year as the Glee Club itself, he looks at the age of 22 smaller and more exhausted than those around him in the publicity photo. Is it any wonder that only two short years later he fled to the relatively safer world of academia?

For those with patience, I’ve added the text of the original 1894 concert review article; it provides a rare glimpse at the mechanics of how the Glee, Banjo, and Mandolin clubs worked together and gives thumbnail biographies of each member.

The Forrester application survey: 62% hacked through apps

Last week I indulged in a little live tweeting of a webinar my firm, Veracode, did with Chanxi Wang of Forrester, following up on our recent announcement of an independent survey in which 62% of the respondents reported being breached through at least one application vulnerability in 2008.

I’ve reposted the substance of my tweets below, followed by my $0.02 on the survey:

  • (1) #Veracode & Forrester app risk mgmt survey: in 2008 62% of respondents were breached thru app vulns but don’t know their app risk.
  • (2) As Kaspersky breach shows, 3rd party code is a big blind spot for most orgs.
  • (3) open source, outsourced and off the shelf code used frequently but 59% don’t do anything to secure OSS.
  • (4) only 32% require security at all stages of sdlc.
  • (5) top training method in 37% of respondents is to learn on the job from experienced devs… who can’t be hired.
  • (6) False sense of security pervasive. 94% think they know security of app portfolio but 40% dont know COTS risk
  • (7) ease of use plus secure plus time saving is driving factor for third party assessments.
  • (8) if you outsource code, consider outsourcing security assessments too.

Bottom line: the survey results suggest that application vulnerabilities lead to real risk for a lot of companies, but most companies don’t have secure practices that cover their development or training adequately, to say nothing of the risk from third party code.

Season over

Tonight was the last concert of the regular Symphony Hall season for the Tanglewood Festival Chorus, with our final production of Berlioz’s Te Deum. (For those keeping track at home, that’s two seasons in a row that we’ve closed out with Berlioz, though the Te Deum is a different order of magnitude–literally–from Les Troyens.)

It was a good concert. Before the performance, our Fearless Leader shared a few quick thoughts about our Friday afternoon show, saying, “And second tenors! Your entrance at the beginning had real beauty! For the very first time!” Aside from being a great example of John Oliver’s wit, the comment was also 100% correct. I am slowly realizing that with this chorus I can bring every ounce of my musicianship to every entrance, bring my voice to its limits every time, and it will almost be enough.

One thing I like about how things are going with the TFC is that I still have my voice intact after this concert run. In the past, I would have bellowed my way through a concert and blown out my pipes. There’s something nice about (a) knowing one’s limits and (b) recognizing when you are surrounded by 139 other highly gifted voices that can also help carry intensity and passion in the climactic moments.

The wonderful thing about a TFC season “ending,” of course, is that we never really are done. I’ll be at Tanglewood in July for Wagner’s Die Meistersinger and a reprise of the Brahms Requiem, and we get to start all over again just a few months later. Right now that sounds pretty good. I’m looking forward to the next run already. I haven’t sung Wagner yet.

On the charts and on stage

Billboard Top Classical Charts, 2009-05-02
Billboard Top Classical Charts, 2009-05-02. See #3 and #8.

Last Friday’s Billboard classical chart featured the debut of the two BSO CDs on which I performed, the Brahms Requiem and Ravel Daphnis et Chloé. (A third BSO recording in which I participated, Bolcom’s Symphony No. 8, is only available as a download.) The Ravel was at number 8 on the top 10, and the Brahms was at number 3, behind The Priests and Amore Infinito: Songs inspired by the Poetry of John Paul II (Karol Wojtyla) by Placido Domingo.

The recordings are available digitally or physically from the BSO. I am still trying to see where the discs are distributed–they don’t appear to be on Amazon right now, but they are on CD Baby (Brahms, Ravel) and ArkivMusic (Brahms, Ravel) at the moment. That they are getting this kind of sales traction without Amazon’s presence is kind of impressive to me.

The charts are timely, because the Tanglewood Festival Chorus will be on stage again this week with the BSO, performing the Berlioz “Te Deum” along with the PALS children’s chorus. The work is massive, with two choirs (140 voices in our performance) plus the children, and full orchestra and organ. The BSO’s podcast last week gave a good introduction to the work.

For my preparation, I have been sweating the words. One doesn’t get to sing a Te Deum too often, and I haven’t done one with the TFC and didn’t memorize the traditional text when I last performed one (Arvo Pärt’s Te Deum with the Cascadian Chorale in Bellevue, Washington five years ago). But we have a few more rehearsals this week so I have time to get the text into my head, I think. Should be fun.

Requiem for a dying iPod?

I’ve had three iPod-like devices since 2001, four if you count my iPhone. The first one was the classic iPod 5GB with the mechanical clickwheel (that was a happy Christmas day). The FireWire port famously broke on it, and I picked up a 10GB model in time for my cross-country drive. I bought a 30GB fifth-generation model in late 2006 when the 10GB model stopped taking a battery charge and developed hard disk problems. The iPhone followed in late 2007 (I wasn’t an early adopter, but I did buy before the 3G model came out).

And now? Well, last night I tried to sync the 30GB iPod about four times. The first time it copied 200 songs, then I couldn’t eject it from the OS and had to reboot and grab it and go. And none of the new songs made it over. The second time it synced successfully but the songs still weren’t there. I rebuilt the smart playlist that had the songs in them, resynced, and this time the sync hung iTunes. Finally I restarted both the iPod and the machine, finished syncing–and again the iPod refused to eject because iTunes claimed that it had files that were open from another application. When I finally got it free, the songs still weren’t there.

Based on what I hear on the Apple support boards, I probably have a bad hard disk in the little bugger, which is consistent with the “clunking” sounds I occasionally hear while it’s trying to sync. So, it’s gone. Maybe tomorrow, maybe in a month, but it’s on its last legs, because replacing the hard drive is not a cost effective move.

So the question is, what do I do next? I can only get a fraction of my 475GB music library on it, but that’s more than I could get on the iPhone, so going to the iPhone alone isn’t an appealing option. And paying $399 for a 32GB iPod Touch isn’t going to happen right now, either, as much as I like the form factor. (I’m a big fan of the scroll wheel but would go to the Touch in a second if price weren’t a factor.)  I don’t know if I can swing $249 for the 120GB “classic” model either, but it’s the only model that has a fraction of the capacity I’m looking for. We’ll see what happens.

Meantime, anyone have a good project that involves rebuilding a 5th generation iPod with a bad hard drive?

Sweating off the gigabytes

Since my budget doesn’t move as fast as the hard disk industry increases capacity, I periodically use OmniDiskSweeper to go through and clean a few gigabytes of dross off my MacBook Pro’s 80 GB drive. It’s necessary, because without going through the exercise, I end up with less than a gig of free drive space and everything grinds to a halt.

I don’t always remember where I find the disk space hogs, so this time I’m writing them down:

  • A mail folder for the Blogcritics mailing list: 899 MB. (This one was a surprise, since I’ve been religiously deleting the mails since I stopped regularly writing for the site, but there was a ton of old mail in there.)
  • Four iPhone software updates—I kept the last two or three there, but didn’t see the need for the 1.x updates or the first 2.0 one—about 800 MB.
  • The ~/Library/Caches/Metadata/Delicious Library Items folder. Appears to date to Delicious Library 1.0, since there’s also a Delicious Library 2 folder: 220.6 MB.
  • ~/Library/Application Support/NetNewsWire/Backups: old subscription lists, 289 of them: 90.9 MB.
  • ~/Library/Application Support/NetNewsWire/SearchIndex: last updated in 2005. 146.3 MB.
  • ~/Music/iTunes/Previous iTunes Libraries: three old copies from last year. About 250 MB.

What’s interesting this time is how little of this was real content as opposed to just old cache files. My free disk space now, even before a reboot (to clean up the VM and flush various other system caches), is up from 80 MB (yeah, I know) to 3.28 GB. Every little bit helps.

Sammy’s Steak Den up in smoke

It’s a bad morning for old friends. It seems that Sammy’s Steak Den suffered a pretty bad fire this morning. A family lunch destination in Newport News when I was growing up for years, I remember the food almost as much as I do the waitresses and the clown painting on the wall. My dad had been going to it since before I was born.

It was a classic Greek burger and steak joint, with big burgers, mountains of fries, tasty (and cheap) steaks, and Greek salads (though honestly mostly I remember the burgers and the fries). I hope they’re able to rebuild; I was looking forward to taking my family some day.

Update: The original link is borked, but there are two follow-ups: it was an electrical fire sparked by a faulty outlet, and the structure has been condemned. So if they’re going to reopen it won’t be there. Waaaaaah, indeed.

Remembering Steve Bognaski

I learned this morning that a Virginia Glee Club friend, Steve Bognaski, died two months ago on Valentine’s Day of a heart attack. He was 38, and left a wife and two children.

I’m kind of flabbergasted. Steve always was one of the most bighearted guys I knew, full of life, a dedicated singer, and capable of highly vocal joy. It doesn’t seem fair that he’s gone.

I count myself fortunate that I was able to meet up with him when I was in Charlotte in September 2007 for the iTSMF show. He was excited about his family’s upcoming move to Suffolk, Virginia. I am sorry I didn’t see him more often in the time since graduation.

I’m alive

I apologize for the plethora of linkblog posts here over the past little bit, and for their relative paucity. It’s been a busy few months. I got a new boss and transitioned from a “second product manager” to more of a lead role, at about the same time that we launched a set of significant initiatives (c.f. press release if interested, if not, c.n.f.). We launched last night, a day after I got back from a holiday visit to my in-laws, and two days into the rehearsal cycle for the last Boston concert of the 2009-2009 Tanglewood Festival Chorus season, the Berlioz Te Deum.

Like I said: busy.

Not too terribly bad, though. I’m batching it for a few days and enjoying the ability to just sit and catch my breath. Did you know that there’s this thing called television? And that, mercifully, Google Reader maxes out at reporting “1000+” unread items?

Thank your local optometrist

I may owe my optometrist my vision.

I was running low on contacts and considered simply calling in an order, but thought maybe I should go and have my eyes checked. Normally I only change prescriptions every few years, but about a year ago I had an eye infection and a more indepth visit. While I wasn’t experiencing any real pain, I thought I should check in anyway.

It was a good thing I did. My optometrist used a number of diagnostic tools to check up on my eyes, concluding with anterior segment photography. She then said, “You have a corneal ulcer.” She went on to explain that my eye infection had recurred in my left eye, and that a slight cloudiness in my cornea was an indication that my white blood cells were fighting the infection and that the surface of the cornea was opened as a result.

She put me on aggressive antibiotics drops, told me not to wear my contacts, and asked me to come back in two days to check the progress. So I’m not out of the woods yet, but the prognosis is pretty good. On the other hand, if I had followed my first instinct and simply dialed in the order for the new contacts, I might have seriously damaged my eye.

If you wear contacts and you haven’t been to the optometrist in a while, you might want to schedule a visit–or at least write them a note. I think they’re underappreciated.

BSO: Brahms Requiem recording

I finally got around to ordering copies of the BSO’s Brahms Requiem recording (BSO Classics 0901); thanks to commenter SteelyTom for the prompt. I don’t, alas, have a SuperCD player or even good speakers at my disposal and am listening to it in my car and over headphones. But I’m enjoying it nonetheless.

As I wrote earlier, it’s a marathon of a piece, and the astonishing thing for me listening from the perspective of the audience is how little it sounds like a marathon. The opening is a little tricky: it’s a slow meditative movement, and there are distracting audience noises. But the second movement… I was listening in my car, which has superior sound reproduction (I love my Sennheisers, but with or without noise cancelling they trim off too many high frequencies), to this movement this morning, and had the volume cranked up to hear the quiet opening “Denn Alles Fleisch.” Brahms uses low strings and timpani to set the stage for the first statement of the theme by the chorus, then adds horns and an implacable crescendo underscored by the heartbeat of the timpani. When the chorus enters at forte it’s still a shock, a wall of sound that pushes the listener back, but is totally under control and comes back down to a simmer until it erupts again into another reprise, and then into the first fugue of the work. And I knew what was coming, and I had listened to the radio broadcasts, and I still had tears in my eyes.

I’m not an objective judge of the performance, so I’ll just note that despite some technical glitches, the final movement had me in tears again. Regarding the recording quality, I will say that if the rest of the work sounds like the first and second movements did in my car, this is to be listened to on good speakers turned up, where it will transport you squarely into Symphony Hall. If Maestro Levine’s goal was transparency, he got it: if you close your eyes, you can tell from the stereo imaging that the chorus was arranged soprano, bass, tenor, alto on the risers, and each of the instruments are clearly audible, yet there is still that fine sheen of ambience from the hall that places you precisely in the room. It’s a wonderful recording and a great souvenir for me, and I’m hoping to hear how it affects you.

Persistence of memory: Lengacher’s Cheese House

I ran across a fabulous collection of old postcards from Lancaster County today–a bygone Lancaster County. Not the real Lancaster County that my distant Mennonite ancestors settled, fleeing persecution; nor the modern Lancaster County Route 30, home of strip malls, outlet malls, and the occasional Amish farm, but something in between. Yes, this is the Lancaster County Route 30 that I remember as a child through the 70s and early 80s–the National Wax Museum, Dutch Wonderland, the motels, the Willows (where my mother worked as a cook in the 1960s), the Dutch Haven. Even Miller’s Smorgasbord.

But the one that really hit me square between the ears with nostalgia was this:

Vintage Postcards from Cardcow.com

Lengacher’s Swiss Cheese, aka the Cheese House. You drove maybe 10 miles east on Route 30 from Dutch Wonderland, past Paradise, toward Gap, and it was on the top of a small hill on the left hand side. The office was at the left in the back. They made cheese on the right hand side, right behind those windows, in big stainless steel and copper vessels. The center part was the store, where they sold imported European treats (like Ricola–back in the late 70s they weren’t widely available–and Toblerone) alongside local food products like honey in plastic bears, and their cheeses.

And I can still remember the cheese. If you’ve ever had locally, freshly made “Swiss” cheese you know how good it can be, and this was outstanding stuff. We would stop at the beginning or end of a visit to my grandparents and stock up, and say hi–and frequently collect my grandmother, who worked behind the counter (I think she ran the register or maybe helped them with bookkeeping–my memory is a little shaky on this score see below). Sometimes during visits she would watch us at the store. I remember napping in the little office on the green couch, and playing with elaborate marble racetrack toys for hours there.

The store, alas, closed in the 1990s–Art and Martha Lengacher, the Helvetian founders, having retired around the same time that the cheese production was kiboshed by tighter Pennsylvania food regulations–and both founders are now gone (Martha passed away in 2002, and I don’t know about Art). But the place gave me a deep love for locally produced food and is an important part of my memory of my grandmother. I was thrilled to find the postcard; it’s the only photo I’ve seen of the place as I remember it.

Update: My mother, whose memory for this sort of detail is naturally better, corrects a few items in the post:

Your grandmother worked not only under the Lenachers but also the Laderachs who owned it first.  I went to school with their daugher Jane, and had my first pizza in their upstairs home (before they built the home to the west of the shop.) Your grandmother made sandwiches and served truckers and locals who came in for the signature ham and cheese sandwich. No one before or since has made such a big one!  The Lenacher’s son, Artie, did try to run the shop for awhile after Art and Martha retired, but soon gave it up.  Too bad!

The pictures of the Willows bring back many memories.  I started there in the summer of 1959 as a dish washer/ pot scrubber, and worked my way up from there…  I spent most of my time in the summers of ’60 – ’62 as a salad preparer. Only at the very end of my stay did I get to serve up orders from behind the steam table. Never was I a cook.  Mrs. Neuber would have a fit if she heard me called that as she was the cook. Your grandmother was the pastry chef for a time (cannot remember how long).  Yes, she did everything.

Open letter to President Obama on copyright treaties and “national security”

I just used the Contact form on whitehouse.gov to send the following to President Obama and am reposting it here. Please reach out to the White House with your own concerns on this matter.

Dear Mr. Obama:

As a supporter, I was surprised to see that Carmen Suro-Bredie, chief FOIA officer in the White House’s Office of the U.S. Trade Representative, rejected a FOIA request for the text of the Anti-Counterfeiting Trade Agreement by claiming that the proposed treaty was a “properly classified national security secret.”

My concern, as copyright extensions continue to eat away at the public domain, taking value from the public, is that worldwide negotiations about the future of copyright are being held in utter secrecy without any public input–without the public even being told what’s under consideration.

For an administration that pledged transparency and a reversal of your predecessor’s policy of putting things under the seal of “national security” to avoid scrutiny, this is upsetting and unbecoming. Why is this treaty considered a “national security secret”? Surely this would be a good opportunity to practice some of the transparency we were promised.

Sincerely
Tim Jarrett

I’m a little more optimistic than some of the BoingBoing commenters that this can be corrected.