Markup

Yesterday at work there was a call for a hero. There was a lot of unformatted, unordered data that needed parts of it stripped out and neatly arranged into the form of XML insert statements for a production system. Time was short.

When I was faced with this challenge I set to work using programming patterns I initially learned while working on this very journal. The year was 2006, a hard drive crash in a data-centre in Texas had taken with it five weeks of important journal entries. With no local backups the only method I had to resurrect them was to write a script that would churn through Google’s cache of the entries, rip the important HTML parts out, and then filter all the data into neat SQL insert statements.

I remember running that script on my journal. I’d tested it first, so I was confident it would work, but watching it run and re-create two dozen entries in the blink of an eye was a proud moment for me. I felt the same way yesterday as I watched six-hundred-thousand records zooming into a production data repository at the same sort of speed. I didn’t mention to anyone that my experience in doing this kind of thing came solely from bradism.coming using 0.00004% of the volume of data.
Now I know I'm ready though, ready for enterprise journalling.

Comments

Add Comment
Toggle Comments Form
Next Entry: Coastal Walk

On a nice sunny day Sunday we decided to wake up at 6am and walk 28kms over cliffs and beaches and through bushland. At 7:30am we left Otford station, at the southern end of Royal National Park and started our trek to Bundeena.

Promoted Entry: Chasing Waterfalls and Sunset Cows

While taking a holiday was supposed to be an escape from much of life's routines, I was not expecting to abstain from eating almonds for over a week. Finally this weekend I have resumed my almond and apple morning teas in the presences of some grand waterfalls in Springbrook and Lamington National Parks.

Promoted Entry: Sunrise

Today was always going to be the best day of the year to see a sunrise.


Not getting enough emails? Want to receive updates and publishing news in your inbox? Sign up to the bradism mailing list. You'll also receive an ebook, free!