Plan Zero

Hello, there!


Showing posts from 2011. Filter to December, November.

Jumi and Joomla 1.7 installation fix


Jumi is a handy Joomla extension that lets you include arbitrary code in Joomla without messing around more than you have to. I recently upgraded a client's install to Joomla 1.7.3 and tried to install Jumi, but got the following error:

Warning: constant() [function.constant]: Couldn't find constant JPATH_ in .../libraries/joomla/installer/adapters/module.php on line 115
Module install success
Plugin install success
Router install success

The extension mostly worked, but translations were missing. To cut a long story short, after some scraping around I found that the problem is fixed in Jumi 2.0.7, which is the version shown on the download page and the version I thought I'd downloaded. It turns out that the download link actually points to 2.0.6, which doesn't work with Joomla 1.7. I checked the trunk version in the SVN repository and it's tagged 2.0.7, so I tried it out and installation was flawless.

I can write code nao?


The NAO H25I've recently had the honour of being accepted onto the NAO robot developer programme. I'm more than a little excited. The NAO is an awesome little robot produced by the French company Aldebaran Robotics. It's designed for a wide range of uses and is available to educational establishments, RoboCup teams, and selected developers(!), with a planned public release in the next year or two.

The NAO is one of the most advance humanoid robots in the world and is pretty dexterous. Want it to dance? No problem! Do a little Star Wars reenactment? Easy! But with speech and face recognition and motion control built in as standard the Nao can do far more than just repeat a set of pre-programmed motions. The official development programme video has a few ideas. I think it can do more.

Welcome, friend


The game is afoot. The old is being swept away and replaced with new. Shiny new (X)HTML 5 has replaced XHTML 1.1. If anything looks out of place please badger your browser vendor to improve HTML 5 and CSS 3 support (or use Lynx, which always works). Unless I've made a mistake, in which case tell me ;-)

Plan Zero is served using a lightweight and flxeible MVC framework which I crafted in PHP and named the Neutrino Framework (small, light and fast!) after the subatomic particle. The framework was bourne out of the need for a platform upon which to serve websites with minimum effort while at the same time keeping access to PHP's advanced OOP features, something which most common PHP frameworks hinder somewhat. I may put Neutrino up on Github as an open source project to be picked apart and improved when I'm happy with its initial performance and features.

I'm now using CSS 3 fonts to improve the look and accessibility of the site. Fonts used at the moment include Bebas Neue for the headings and the amazing Kingthings Chimaera for the title font (if you're not familiar with the Kingthings fonts I suggest you check them out, the range of fonts is impressive and each has been crafted with skill and attention). The site will look a lot better when these fonts are correctly rendered so if you don't see them I suggest finding a more modern browser, it's worth doing. I used the wonderful @font-face Kit Generator from Font Squirrel to get these fonts into a usable form; if you haven't seen Font Squirrel before I recommend a visit, they've collected together fonts which are 100% free for commercial use and their font tools are great.

The rest of the site is a work in progress. Things will emerge as I get the time and will likely reflect my interests, which at the time of writing include genetic programming, scepticism, ancient Egyptian, old technology, and lock picking, among other things.