Category: general

Quotations, One Liners and a Birthday

I have whipped up a couple of new pages. These take advantage of content I already have in my database which currently is used on the homepage. First, the quotes which are randomly selected at the top of the page are now available as a list of quotations. Second, the one liner jokes right at the bottom of the page – careful, some are quite crude – are available as a list of one liners. Enjoy.

In other news, Nathan – my son – is five years old today. You can read the post on the day after his birth, or spin back two years to see his third birthday post. Happy Birthday Nathan.

Sitting in the Salon
Originally uploaded by simon_music

Troubleshooting WordPress Canonical

I have been wondering for a while why my jokes pages don’t list in search engines. They are WordPress pages which have some PHP in them to read from a separate database table containing my jokes. Every now and then I’ve tried to fix the problem, and I think I’ve finally found the issue. I’d like to explain how I didn’t solve the problem too, so you can see the troubleshooting steps I took.

First of all, I wondered if the content on the pages was too similar. I have a page that lists the categories for jokes, and for each link on that there is a page with a list of jokes in that category. I thought maybe the list of links wasn’t search engine friendly enough. So I added a bit of introductory text, and changed the <title> of each category list page to include the name of the category. I also added links to the next joke in the category on each joke page and changed the position of the breadcrumbs (e.g. Jokes by Category > True Stories jokes) to after the joke so the top of the page wouldn’t always contain very similar data. That didn’t work, but the pages are now a bit better to read and each joke in a category links to another joke which allows for better navigation. Perhaps people will read two or three jokes rather than being stuck in a dead end especially if they land on the site on a specific joke page.

Continue reading

New Workspace

Yasmina spent all today rearranging the stuff in the office at home. Interior decoration is a passion and an art, but it’s also a lot of hard work :). The simple idea of dropping the shelf down almost to the same level as the desk magically creates a nice huge L shaped desk. Stuff on the shelves has been re-arranged and a little bit of light deco added. Now it’s much nicer sitting surfing and working.

Maybe we should move the laptop to the right so that the two of us can be online at the same time in the same room. Or perhaps not. The laptop in the mezzanine has its advantages, including it being home to my vinyl collection.

New Workspace
Originally uploaded by simon_music

A Farmer Has Got a Song For You

Lycée Hilaire de Chardonnet

Recent reminiscence with friends on Facebook led me to dig out an old CD. The music on it is older than the CD itself, which was burned after copying tapes over from old recording sessions.

The story of this song began some time in 94-95 in Chalon sur Sa̫ne, where I lived for a year as an English assistant in a French lyc̩e (pictured). We did some busking there. I had a small room in an outbuilding of the school and we often jammed there, usually playing blues and making up words. The songs were full of private jokes and pointless Рoften lewd Рlyrics, improvised on the spot and recorded onto an old CD/tape combo box I had at the time. One or two songs survived those sessions and were revived in a later session, back in Letchworth, UK, probably in the summer of 95. The lyrics for this one had, for some reason, stuck around in our heads.

The track was put together with a keyboard backing, with a nice kind of fairground / harmonium organ sound playing cheesy thirds up and down. Paul played a rhythm guitar stab overdub and on the last chorus a second clean guitar was added while I randomly added a manual chorus/vibrato in real time with the tremolo arm a.k.a. “whammy bar” – you can hear it’s way out of tune at the end. We then overdubbed the solo – Paul playing incongruous distorted electric guitar – then each took turns layering in animal sounds (ahem) in the “farmyard break” before coming back to the chorus at the end. I sing the verses and Paul the chorus.

It’s not exactly a musical masterpiece, but it still makes me laugh. Friends at the time found it quite funny too, but then they were easily amused. Click the play button / song title below to hear it.

  • /
Update Required
To play the media you will need to either update your browser to a recent version or update your Flash plugin.
(click to play)

Well hello and I’m a farmer…
Well hello there and my name’s Fred, and I live on a farm
I love organic fertilisers, and all their country charm
And I’ve worked hard all my life, and now I’m 92
So listen here* ‘cos I’ve got a song for you

Chorus
Sheep and dogs and dogs and pigs
And pigs and cows and cows and pigs
And geese and goats, and goats and geese on a farm
BSE and a HGV and a HGV and a JBC** and a JBC and little old me on me farm

Now I’m a farmer and I’ve got a wife
She’s the farmer’s wife, her’s the farmer’s wife
And she loves to cook in the farmhouse kitchen (lovely jubly)
And now I’ve got me combine harvester, and I’ve given her a name
Me combine harvester’s called Nelly

Chorus

Incongruous Solo – Farmyard break – Chorus

*The tape suffered an accident – the erase protection tab hadn’t been snapped out of the tape, and someone accidentally hit record instead of play on the line marked with the first asterisk. I have added back the same part from the second verse to preserve continuity but you can see it’s a dodgy fix. No surviving mix of the full song is known to be extant.

**Yes, we realised very quickly it was JCB and not JBC.

Another French strike

The French need some kind of pension reform. The current French state budget is seriously in the red at roughly 7.5% of GDP last year, well outside European norms. France have a policy of statutory retirement from the age of 60, for men and women. This is already more advantageous than the UK where it has been at 65 for men, 60 for women since I can remember – and now seems to be indexed on the number of qualifying years.

Of course the unions are all out on strike tomorrow with most complaining in simple sound-bites about how everyone will have to work longer before retiring whilst conveniently ignoring the massive budget deficit, increasing life expectancy and the fact that state pensions are a pittance anyway. Far better to invest in a private pension in order to retire early, instead of living – though the state hardly sets a good example – beyond your means and hoping that as soon as you’re 60, the state will provide because it doesn’t and won’t.

The strangest thing is the way the media seems to be managing pension reform. I’ve heard people close to retirement age call in to radio stations with invited politicians on a panel and complain they will now have to wait longer to get their pension. These people will in fact be unaffected by the new pension plans which will not come into force fully until 2018. The roll-out will be on a sliding scale – those born in 1950-1956 will not be required to work a full further 2 years to get statutory pensions. Even then, there is also a system of qualifying years (41 for France compared to 44 for the UK). On top of all that, the French system indexes pensions on earnings in the last years before retirement, whereas the UK system is indexed on contributions. Did anyone on the panel explain this to the caller? The responses sounded rather obfuscated to me, with debate on how they might define exceptions to the rules and other information which played on the complexity of the reform rather than serving it in palatable doses.

Other major differences include when you qualify for any kind of pension – in the UK there are “basic” and “additional” pension requirements. In France there’s a notion of “full” pension at 65 for men, but a plethora of exceptions for state workers, and those who have physically demanding jobs.

From my point of view the big failure of the French state is that Nicolas Sarkozy is increasingly seen as an elitist with a xenophobic agenda. He certainly does not suffer fools gladly and seemingly has nobody in his party willing to explain properly the ramifications of his needed reform. Corruption and nepotism has been quite visible too, but then the UK can hardly say it’s any better in that respect. So we’re set for a drawn out program of strikes just so someone might deign to make sense of the situation. Instead of which the system will become so complex that nobody will be able to understand it, and everyone will have lost. You still won’t be able to retire at 60 – or 65 – on a decent income anyway.

[edit]: Comment from a friend on Facebook :

The French should not be allowed to retire until they have made up all of their strike days. I think a two year extension is generous!

Strike Action Causes Crowded Platform
Originally uploaded by simon_music

Mobile Version Now Live

Mobile version pictured

With more and more people browsing on iPhones, BlackBerrys and so on, I thought it would be useful to work out how WordPress can render blog posts for mobile screens. I’ve been annoyed on my recent Samsung Corby Pro phone at just how hard it is to read the web properly. A lot of fixed width columns here and there mean that you cannot find a satisfactory level of zoom to read them.

I have just activated a plugin pack – the WordPress Mobile Pack – to test browsing this blog on mobile phones. Basically the site now detects whether you’re on a mobile device or not, and if you are then an alternative theme is served. The mobile version is optimised for small screens and – from my tests – is much easier to read at a reasonable text size. You can comment from mobiles too, and it seems even the WordPress admin screens might work. I will need to customise the theme a bit more to match better with the desktop blog theme which I developed myself. [EDIT: this is now done]

Let me know if you’re reading on a mobile device, would love to have your feedback.

Testing @font-face

The world of web fonts has traditionally been limited to Times, Arial and Courier (and various variants thereof like Helvetica which of course came first). Other fonts can be used reasonably safely if you’re careful, or not too picky about certain target platforms displaying exactly the same font.

CSS has a rule (@font-face) which allows you to specify whatever typeface you want by making it download automatically to your users. Support isn’t universal, but improving with some clever CSS font hacks and so on.

I’ve always been keen to find nice readable fonts on the web, and I love projects like Readability too, which cleans up web pages of their clutter and puts the words you want to read (and not the flashing adverts, links, navigation, etc) into a much easier-on-the-eye and relaxing format.

Somebody recently tweeted a link to a free web font showcase which had chosen fonts specifically for on-screen reading. That led me over to Font Squirrel, where I picked up Charis SIL Regular and set it to be the font for the body of my articles on this blog. Previously I used Palatino (you may see Book Antiqua, Georgia or your standard serif font thanks to CSS font precedence rules), which is still visible in the sidebar – see the difference? Have an opinion? Let me know.