Articles by CiaranG

You are currently browsing CiaranG’s articles.

APNG is a backwards-compatible extension to the PNG format that handles animation – a modern day, less klunky equivalent of the much abused animated GIF. A pea is a vegetable. Or is it? I am saying no, the pod is a fruit, and the pea itself is a seed. Feel free to argue amongst yourselves.

A short film about peas

The above won’t work if you’re using Internet Explorer (stop doing that), and possibly not if you’re one of those Apple types either, though I’m not sure.

Update: I’m told this actually crashes Aurora, Midori and Kazehakase. I can’t help but wonder if that’s exploitable.

For some reason last weekend seemed to be nicer than any we had over the so-called summer, so it was a perfect opportunity to get started on cutting the hedges. I have a crappy electric hedge trimmer that gets stuck on a hawthorn branch every 30 seconds, and I’ve also sliced through the cable three times previously, so it’s all done by hand these days.

Mia had to help out of course, and yes that’s her pictured right, two years old and up a wobbly stepladder with a pair of scissors. And yes, that’s a plaster on her finger, but she didn’t do it with the scissors – that was the day before with the kitchen knife. I guess that when Mia gets to the age where she can use the internet, she might read this blog and then head on over to Wikipedia to find that most other children have ten whole fingers. If so, Mia, however many fingers you have now, that’s how many you were born with and I can produce photoshopped evidence if necessary.

More seriously, I don’t advocate that anyone lets their toddlers use knives and scissors or climb ladders. On the other hand, I don’t recommend that anyone tries to tell me what my toddler should and shouldn’t do when under my close supervision.

Another weekend task was rot-proofing the chicken house, slightly too late but better that than never. Unfortunately, when I bought the ‘stuff’ I failed to notice something quite important and at no point during the transaction did the shopkeeper helpfully say “you do know that stuff is bright chuffing orange don’t you sir?” Therefore, due to the shopkeeper’s neglect, we have a glow-in-the-dark chicken house that people will probably use as a landmark when giving directions.

Unfortunately there’s still quite a lot of hedge left to cut (I assume that people who call it trimming have a totally different kind of hedge) but in the meantime I can take pictures that only include the bits that are straight-ish and pretend it’s all like that.

Update: For the latest version and up to date documentation, please see the project page.

feed2omb is a simple tool that takes input from Atom or RSS feeds and posts updates to the open microblogging service of your choice. It should also (though I’m not going to try it) quite happily post to Twitter.

The feed reading is handled by Mark Pilgrim’s excellent Universal Feed Parser so it should be able to deal with any feed you throw at it. On the posting side, you can send the updates to open microblogging services such as those based on Laconica – this includes Identica.

Read the rest of this entry »

Note: This plugin requires WordPress 2.7 or later. (Although see below for other options)

One of the more irritating aspects of WordPress, at least from a feed subscriber’s perspective, is that minor edits cause the last-updated date to change. The knock-on effect is that the post will find its way back to the top of an atom feed causing readers to see it again. Not the desired effect if you are, for example, correcting an insignificant typo, updating a moved link or adding a category, and even worse if you were to reorganise categories and thus blitz your poor readers with a whole batch of old posts all at once.

This plugin provides the answer, by adding a ‘Minor Edit’ checkbox when you’re editing a post. If you tick the box, the post’s last-updated date will be left alone. If you leave it unchecked, things will happen as normal. It’s that simple.

Read the rest of this entry »

Update: This is now available as a plugin – see here.

One of the more irritating aspects of WordPress, at least from a feed subscriber’s perspective, is that minor edits cause the last-updated date to change. The knock-on effect is that the post will find its way back to the top of an atom feed causing readers to see it again. Not the desired effect if you are, for example, correcting an insignificant typo, updating a moved link or adding a category, and even worse if you were to reorganise categories and thus blitz your poor readers with a whole batch of old posts all at once.

In the brief time I’ve looked at this, I haven’t managed a plugin-only solution, but what follows is a fairly simple hack to allow you to specify that a particular edit is minor, and thus get WordPress to leave the last-updated date alone.

Read the rest of this entry »

I thought I’d continue the whirlwind guide to Mnesia that I began in Getting started with Mnesia. I have no idea how many of the thousands of readers actually found the last part useful. At least one, judging by the comments, but more to the point it’s rather handy for me to write this stuff down as I’m flitting between various new (to me) things at the moment.

Read the rest of this entry »

Yes, noisy bins

In my previous post, I asked a stupid question and suggested some very stupid answers. Having researched it, two of my stupid answers were correct, but the real truth is far more ridiculous than anything I could have made up. So, why does my wheelie bin have an ’89dB’ sticker on it?

Read the rest of this entry »

Noisy bin?

Noisy Bin

Would anyone care to offer an explanation for this sticker on the back of our wheelie bin? For those not versed in these things, 89dB is probably around about the loudness you would experience if you stood right next to a pneumatic drill.

I am thinking it must be either a) the noise it makes when you slam the lid, b) the noise it makes when you pull it along, or c) the loudest you can sing near it without shattering it.

Any better ideas? And what is L WA?

The Prickliest Hobo

The hedgehog with the top of its head sliced off (see earlier post) has been sighted again, up at the farm. In broad daylight, it scuttled across the farmyard oblivous to two dogs and several chatting people. From this, scientists can conclude that the top section of a hedgehog’s brain is responsible for (a) a nocturnal lifestyle, and (b) avoidance of predators. Thus, there is a glimmer of hope for insomniacs and people who keep getting into fights and I predict that in the future, laser head slicing will be as common as taking an aspirin.