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: I Can't See My House From Here

After nine days of driving, relaxing, hiking and driving some more today I reached what most certainly was the furthest point of the road trip. From Lower Beechmont I drove up the very long, extremely windy Lamington National Park Road to Green Mountains - an experience both twisty and magnificent.

Promoted Entry: Books of 2021

A review of all the books I gave 5 stars in 2021. In alphabetical order.


Enjoy what you've read? Want to receive updates and publishing news in your inbox? Sign up to the bradism mailing list. You'll also receive an ebook, free!