One Year Anniversary

Apparently, it’s one year since I moved permanently to Blogsome. I still love her as much as the day I met her.

Nova: 91-point-crap

We’ve had Nova 91.9 playing while we’ve been painting the last couple of nights. Some of the music is okay, but last night I noticed they are playing exactly the same songs as the night before. That’s okay - the young folk today are so whacked out on drugs (prescription, as well as recreational) so they probably don’t remember that these songs were on last night too. After about three hours, I realised they were playing a whole heap of songs for the second time that night! I mean, come on. You needs to smoke shit-loads of drugs to forget the songs that played in the last three hours. And it wasn’t just one or two, but more like all of them. Are the programmers so lazy they only program half a night worth of music, and just play it all twice? I want that job!

Show Selected Character

I often use Apple’s Character Palette - it allows for the insertion of every character from every font into the current document. You can open it by choosing Show Character Palette from the Input Menu. It usually shows the flag of your country, although you may need to activate it using the International Preference Pane. I won’t go into how to use it, but I will talk about the little utility menu down in the bottom left. That’s right, you can select a character, and get it shown in the Character Palette. It doesn’t work in every application - FireFox is an example, but it’s possible to copy and paste from these applications into one that does work: SubEthaEdit for example. Finally, I can replace the CJK Unicode characters in my Template with their &#x0b5d (hex) equivalent:

老虎油漆

老虎油漆 Actually, I could also have used SubEthaEdit’s Copy As XHTML… menu item, which gives another representation:

老虎油漆

老虎油漆

Creative Trackback Spam

I received four interesting Trackback Spams today, on two seperate posts. Often, when I’ve been hit by a trackback Spammer there is one Spam with a heap of links, which gets picked up by the Spam Filter, and then a couple that have one or two of the same links, which gets through. These ones weren’t like that - the only link was the URL value, and they all had to do with MP3 files - although neither of the posts did. The most interesting thing is that they appeared to be legit comments - if you didn’t read the post, you could believe they were responding to it. I’ve left them there for now, after removing the URL value.

Smarty Pages

I’ve created a Popular Posts page, so I can have a limited number of popular posts in the sidebar, and the title of the box they appear in linking to a page with all of the popular posts. I’ll do the same with Recent Posts, since this will be a smaller list than Archives. Basically, it will be a list of the last 25 posts, rather than a list of all of them, or the complete text of any posts. I’ve just had another thought: for search pages, I could do some fancy stuff with testing the URL for ‘/search/’, and then generating a search from the remainder. Instead of having to wait for Rewrite Rules to be implemented. Hmm, interesting.

Insect Closeups

I’m not sure where I read about this, but these images are awesome: Photos by Igor Siwanowicz

Die Teddy!

Found this one on Boing Boing, and just had to pop it up here: Apparently handmade by Patricia Waller.

Agressive Local Fauna

I live in the foothills to the south of Adelaide, and see many birds, and other occasional animals due to the almost rural nature of the environment. It probably helps that I am relatively near a couple of major parks, including Belair National Park. Most mornings, I see several dozen native pigeons, some crested pigeons, and a flock of galahs that are perched on power lines on the way to the train station, and in the afternoons I see many magpies, piping shrikes, and what I take to be Musk Lorikeets. I sometimes see these lorikeets in the mornings as well, but not always. The murder of crows that used to live in the Cypress Pines that we removed from our backyard have moved on, thank goodness. They freak me out. Growing up as a child in the country, I saw, and was swooped by magpies on a regular basis. I still duck and weave when I hear that familiar “whoosh whoosh whoosh” that these aggressive birds make as they dive towards your head.

Musk Lorikeet

What has surprised me where I live now is that the lorikkets I was describing earlier themselves are quite aggressive. This time last year I was being swooped, although that’s a bit of a misnomer, it was more like a “flyby” almost every morning as I walked to the train. Eventually this stopped - I suspect it has a fair bit to do with the season. Well, it must be hatching time again, because today as I was minding my own business walking up the hill (late for the train, which didn’t matter, as “contaminants” on the track in turn made the trains about 15 mintues behind schedule. I wonder if it was millipedes again), I felt something, or someone (as I thought then) hit me in the leg, just above the knee and from the left-rear. I jumped, and swore quite loudly, before realising that it was a musk lorikeet, and it had just crashed into my leg with a fair amount of force. It was apparently unharmed, and flew off. I don’t know if it was just attempting to swoop me, and misjudged how fast I was moving (I was trying to catch a train, so was walking quite fast), or whether it thought the string attached to my phone, and hanging out of my pocket was a worm.

Human Age Smarty Modifier

The Smarty Modifier “Human Age” works well under Blogsome, I’ll ask the admins to install it. It’s used like:

1    {capture name=pdate}{the_time d="U"}{/capture}
2    {capture name=cdate}{comment_date d="U"}{/capture}
3    {assign var=since value=$smarty.capture.pdate|human_age:$smarty.capture.cdate:true:2}

Then, where you want the data to go: {$since} after the fact. Note: this is not installed on the main Blogsome server yet. However, you can already use: {human_time_diff from=$smarty.capture.pdate to=$smarty.capture.cdate} after having captured the dates. It isn’t quite as nice as the other version, as it only displays minutes/hours/days, but it will do for now.

JavaScript Snippet: Get Trackback URL

Here’s a nice little bit of JavaScript that grabs the Trackback URI of the current post. I’m not quite sure how to use it yet. It would be nice to be able to automatically add this to the BlogThis link, but there’s no way to do so, since cross-site scripting is disabled.

1    document.body.innerHTML.split("trackback:ping=\"")[1].split("\"")[0];

The other thing that might be cool is to copy this to the clipboard, but I’m a bit loath to do things like that which are “invisible” to a user.