New year, new blog

Okay, it's not a very new year, however I am feeling proud of my new blog. As both the people who saw the old blog will know, that one was running on Drupal. This wee beasty is running on Ghost. For anyone who hasn't heard already, Ghost is a blogging…

Phpmyadmin installation bug on Linux Mint 13 (Maya)

Just a quickie: If you install phpmyadmin with apache on Linux Mint Maya then you may get a 404 when you navigate to localhost/phpmyadmin. I did. The solution is to add a symlink from apache's configuration directory to the phpmyadmin apache conf file, like this cd /etc/apache2/conf…

Abstract classes in Ruby - losing the security blanket

I recently built a Sinatra app and used an object-relational mapping library (ORM) to persist my models. Since deploying the app, I have become concerned that the use of public methods added by the ORM to my model classes has bled in to my controllers. I've therefore created a dependency…

How to build a "private" website in Drupal

Drupal lets you build certain kinds of website very quickly. That's why it's in my toolset. Recently I was asked to do a site that was clearly a candidate for Organic Groups so I duly fired up drush and started building. The website in question was a members-only website. Non-members…

Growing object-oriented software in JRuby - Part 1

As part of my constant quest to overcome the feeling of, "There has to be a better way to do this," I've been reading Growing Object-Oriented Software, Guided by Tests. One of the things that the authors endorse, and which now seems so obvious that I can't believe I've never…

Ubunutu / Xubuntu / Mint 12.04 LTS, and then MATE

I love Ubuntu. It was the first Linux distro that I really stuck at. That's partly because my use of Ubuntu coincided with my departure from programming for Windows systems, and partly because I found the first versions of Ubuntu that I used (9.04, 10.04 LTS) to be…