Posts from January 29, 2007

aim for the stars

Meet Dan Morrison. His main aim in life is :-

Currently dedicated to linking all IT professionals together in one network so they can find each other and communicate.

Don't scoff. Dan already has 93,822 connections (including me) on ITtoolbox so he's very nearly half way there.

Dan - Let me know when you've finished and I'll have that list of email addresses in exchange for a box of vintage 1980's records.

how to rotate taglines on your WordPress blog

Another thing on my todo list was to learn PHP and write a WordPress plugin to randomly select quotes stored in the database to rotate the tagline.

An admin interface to create, modify and delete quotes was planned for Version 2.1 (beta) due Q4 2008.

Fortunately for me though, a helpful person called Zombie Robot (pseudonym ?) has already produced wp-quotes (and another kind person tweaked it to work properly for taglines).

All that remains is the interesting part - performance tuning. No - wait. Existing users have already identified this modification as efficiently fetching a single, random record. Horribly database specific of course but worth having when you have 2.4 million quotes.

    36c36
    < $sql = "select * from " . WP_QUOTES_TABLE . " where visible='yes'
    < order by rand() limit 1";
    ---
    > $sql = "select * from " . WP_QUOTES_TABLE . " where visible='yes'";

music for homesick people

Doug Burns has a new job and is spending some time in Canada, hugging his new colleagues. Like most roving consultants holed up in lonely, bland, nondescript hotel rooms with only an ironing board, TV and mini-bar for company (oh sorry that's me not Doug), Doug's thoughts inevitably starts to turn to loved ones back at home (including his cuddly toys and music collection).

Fed up with the banality of Radio Ottawa, Doug recently pleaded for suggestions and recommendations for new music. Unfortunately this desperate plea met with a deathly silence from Oracle types purely interested in his detailed investigations into the optimal degree of parallelism.

More recently, it would appear that homesickness coupled with the extreme cold is affecting his brain. He is now listening to 'The Proclaimers' and viewing questionable videos on YouTube.

So, to preserve poor Doug's sanity and seed some new ideas, I have painstakingly recorded full details of my vinyl record collection which was sold to a second hand record shop last January for £20.

Obviously, this eclectic collection merely reflects my antique collection of vinyl so I also resurrected my last.fm account in an effort to reflect more recent musical tastes.

Stay tuned for a complete listing of all my bootleg tapes in the next exciting edition.

Yawn.

Wayne Rooney - an apology

In recent weeks, this esteemed publication (Daily Excess) has been critical of Wayne Rooneys recent performances for Manchester United.

One article Rooney is finished questioned his future, his commitment, his mental state and his footballing ability. We ran a story that incorrectly claimed Rooney was 'furious and livid' at the amount of media attention, fulsome praise and PFA awards being given to his team-mate and rival, Cristiano Ronaldo.

After his performance and two wonder goals on Saturday, the Daily Excess is proud to announce an unreserved, unequivocal and heartfelt apology to Wayne (John, Paul, Ringo, George) Rooney of Wilmslow, Cheshire.

Wayne Rooney is the best footballer in ~~England~~ the world. Wayne Rooney is destined to enjoy a long and trophy-filled career for club and country. John Terry has a dodgy back so must be relieved of the England captaincy immediately and the honour bestowed on 'our Wayne'. Wayne Rooney will bring the World Cup back home in 2010.

Rival publications have compared Wayne to Eric Cantona. That comparison is grossly unfair. Wayne Rooney is infinitely better than that garlic smelling, poetry reading, snail eating, karate kicking Frenchman who can't even speak English proper.

Wayne Rooney is a fantastic footballer and an awesome young talent to be nurtured and savoured.

Until he next goes four games without a goal.