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: The Hidden Life of Trees

I love trees. They're tall and stoic, so I relate to them. I feel a sense of serenity and belonging when walking beneath an ancient forest canopy and that is not just because most ancient forest canopies I've walked under have been adjacent to a thriving craft beer industry

Promoted Entry: Le Petit Train

I did not put a lot of effort into planning my visit to Strasbourg. There was an Alltrails map that promised a thorough tour of this World Heritage district and I took it at its word.


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!