Bet you weren’t expecting this…

The Carrington Theme.

I got fed up of my old theme which was breaking badly.. And came to the realisation, That i just don’t have the time to make myself a new theme; and to be honest, This was the first theme which i liked, which took the most minimal cleanup.

Yep. Cleanup.

I am SICK of themes and plugins which are  riddled with PHP Notices/Warnings, Now those of you who are programmers might be saying “Who cares, it works doesnt it?” Well the only answer i have for you is, Yes, It works, But only because PHP is guessing thats what you intended! You see, PHP is a very loosely typed language as we all know, Its it buigest (and buggiest) feature in my opinion. Its allowed plenty of generations of PHP Programmers to take shortcuts, and to not care about their code.

One such annoyance i’ve come  accross with Carrington was this:

[sourcecode lang=”php”]sprintf(__(‘Misc.’, ‘carrington’), $key)[/sourcecode]

Thats not too dodgy, But $key is undefined, Which issues a warning. But  wait, What was the point of sprintf() in the first place?

The major problem i have with themes and plugins (which i’ve not written mind you) is the lazy array index accessing. Let me ask you this: Do you see if theres a car in a Garage before you attempt to drive it out? Or do you just attempt to sit down in mid-air and then realise “Oh! There isn’t anything here!” Well thats exactly what lazy array index access is! Take this example:

[sourcecode lang=”php”]if ( $_GET[‘page’] == ‘carrington-settings’ ) {[/sourcecode]

Its attempting to drive the car out before checking to see if it exists, Thats going to cause a php notice as such:
( ! ) Notice: Undefined index: page in …..php on line x
The answer is VERY simple here… Just check to see if the car exists:

[sourcecode lang=”php”]if ( isset($_GET[‘page’]) && $_GET[‘page’] == ‘carrington-settings’ ) {[/sourcecode]

So there we have it.. Notification that I’ve started using the Carrington Theme, A Rant about horrible coding standards, And I haven’t even begun to explain why I hate “Theme  Frameworks” (In short: They contain a lot of rubbish. 1.5MB across 166 files for Carrington?! C’Mon!)

Oh. PS: Upcoming project – Any ideas?

In Sydney for CeBit Australia this week; Host moved

Alright, This is just a heads up for anyone trying to get in touch with me, I’m heading down to Cebit Australia in Sydney tomorrow morning, So I’m not going to be online much most likely.

I’ve also moved this to a new host, I’m not 100% sure of how reliable it is, Hopefully it’ll be reliable enough for the time being. Speed-wise it seems OK, If anyone notices anything (aside from the Wp-cache errors the last few hours – I reset the cache directories security.. oops.) then give me a yell.

Dear commenters: Emails do not work :)

Just a quick notice, I do not get emails for comments on this blog, Thanks to debians utterly horrible default packages and my inability to work out how to configure sendmail/postfix under debian, I hereby give up.

Every other distribution of Linux i have ever used has allways been easy to setup, and has always had sane default options for their packages, to the extent that if it uses a different username for a package, that username will be marked as trusted in every other package, debian? No.. Debian is too good for everyone else, Debian is for those people who are true linux hackers, its designed to be as impossible as it can be, yet still will have people bowing in its footsteps. Bad debian! Bad! get back in your kennel, I would be using Slackware right now if i had the choice.. Hm… I wonder how hard it would be to install slackware on this VPS…

No.. I’m not after pointers, the future of this VPS install is under question, I dont think i’m interested in spending another hour of my time battling this stupid setup.

If  for some reason, you leave a comment, and need a reply to it, please drop me a line at and i’ll see to replying to the comment and yourself, I should probably check my own blogs dashboard more often.. but its rarely a location i visit :)

Changed site layout

Well, Once again, I’ve tweaked the layout slightly.

I’ve removed the frontpage, I’ve limited it to 2 posts for the front page, and a archives with only excerpts.

All pages are now impossible to get to unless you know their name.. I’ll change that with some widgets at some point.

The active colour on the header links needs changing..

I need to launch my other site

I need to get my mind together and aim to get things finished

I need to work out what exactly i’m doing…

Oh, I also got rid of Gallery2.. Seems it may’ve been causing some load issues.. All the Flood images from Kyogle Jan 08 are here:

Theme modifications

Slowly but surely i’m modifying the theme to add extra functionality or make it easier to read.

I’m trying to bring some more colour into the site, And the front-page is going to be getting a make-over at some point in time..

I’m also syncing the site with WordPress 2.7 trunk every few days (As i have been for the past few months), 2.7’s coming along pretty nicely, the Admin design is really starting to grow on me too :) – I dont think i could use the 2.3 or 2.5/6 style interfaces again..