This website recently got a major rebuild; if you're missing something, let Lorna know.

    Blog


  1. Speaking at OggCamp


    I'm delighted to announce that I'll be speaking at OggCamp this year. This is an event that I've attended both previous years, and one that I always seem to get a lot out of. It's an open source, anything goes, unconference kind of event. Except that this year there is …

    Read more

  2. Celebrating One Year in Business


    A year ago, I left my job at Ibuildings and went freelance. At the time, I didn't really know what I wanted to do next, and I was excited about the opportunity to try out a few different things. I blogged about my new (ad)venture when I launched it, but I haven't written much since and people keep asking me for updates - the anniversary seems like a good time to reflect.

    Well, I still don't know what I want to do next, but that seems like less of a problem these days. I'm busy but in a planned-in-advance, only wearing myself down because there was something so exciting I couldn't say no, kind of a way. I am not a great fan of travel, and have always tried to avoid it, but in fact so many interesting things came up this year that I ended up on the road more than ever. It turns out that there is a world of difference between being sent somewhere on short notice, and planning a series of interesting professional engagements that just happen to involve being away from home a lot all at once. And if I don't want to go: I don't go. It's amazing how many people will wait til next month if you ask them!

    Read more

  3. A Book Burndown Chart


    You might have noticed that things have been a bit quiet around here lately ... that's because I'm writing a book and doing a lot of editing at the moment. I love doing both of these as part of my work, but it turns out that when you're already writing/editing …

    Read more

  4. First Steps with GraphViz


    This year I moved my whole presentations toolchain over to LaTeX and PDF, and where I added diagrams (which doesn't happen a lot!) I used graphviz to generate them. Graphviz is a way of describing items and their relationships in a textual manner, and rendering them into a graph - and the results can be saved as an image, or included in LaTeX documents.

    I found graphviz frustrating at times but on the whole it draws clean, symmetrical graphs far beyond anything else I can manage, even if I do use a mouse or tablet. Since I'm not able to use a pointing device on a regular basis, and I'm marking up my presentations in text also, it turned out to be a really good fit. I thought I'd share how I got on with it and some of my own graphs - as much to remind me next time conference season comes around as anything.

    Read more

  5. PHP Returning Numeric Values in JSON


    When I wrote about launching a prototype of a new joind.in API, quite a few people started to try it out. My friend David Soria Parra emailed me to point out that many of the numbers in the API were being returned as strings. He said:

    It's just a …
    Read more

  6. RepRap Masterclass


    I spent last weekend in lovely Bath, but I didn't get to see much of it as I spent all three days building a RepRap, or Replicating Rapid Prototype. This is a 3D printer that can print plastic into any shape you can think of (and some that I definitely didn't). The Masterclass was organised by EMakerShop and brought together a bunch of people with ties to the local area who are all active in the project itself.

    Read more

  7. Using Modelines in Vim


    I'm working on a book at the moment, and there are strict guidelines on formatting. One thing which is tripping me up is that all code samples must use two spaces for indentation. I normally have my editor set to 4 spaces, so I was looking for a good way …

    Read more

  8. PHPMyAdmin Designer View


    This week I've been using phpMyAdmin for what feels like the first time in years. I'm happier at the command line, but needed some graphical representation of information and easy ways to export example queries for the book I'm working on. I noticed that phpMyAdmin now has a Designer tab, which shows relationships between tables and allows you to define them.

    |image1|

    Read more

  9. The Worst Way To Find Women Speakers


    I am a female speaker, and a software developer, which puts me in a fairly small minority at the events I usually attend (I'm a PHP consultant based in the UK, to give you an idea of what kind of events those are). Recently I've been asked my opinion more than once on the issue of women speakers being in a minority at technical events, and I've also been the "token" women speaker at a technical event.

    The worst thing you can do is find some random, underqualified person who represents the demographic you want to include, and put them on the stage. Although gender is often the issue we hear most about, the same applies to anyone who isn't a young, white male; it's just that gender is easier to see and talk about than either age, ethnicity, sexual orientation, or anything else, and also since I'm a young, white female, it's the only aspect I can comment on.Women are in such a minority that they are, almost by definition, representative (see http://xkcd.com/385). Anyone who sees your randomly-selected woman speak will simply go away thinking that women aren't really good at speaking.

    Read more

  10. Gearman Priorities And Persistent Storage


    I have been writing a bit about Gearman lately, including installing it for PHP and Ubuntu, actually using it from PHP and also how I use persistent storage with Gearman. I'm moving on to look at adding jobs of different priorities.

    I use Gearman entirely as a point to introduce …

    Read more

  11. The Strpos Trap


    This week I found myself again using strpos as an example of the difference between the == and === operators in PHP. The strpos function tells us where a string occurs within another string, by returning the character offset. If the string isn't found, then the function returns false.

    The problem arises …

    Read more

  12. Apache on Ubuntu/Debian


    Apache on Debian. Ubuntu

    When I first started using Ubuntu, I was coming from a distro journey that started with FreeBSD and took in Mandrake and Gentoo along the way; I hadn't worked with any Debian-based systems before and was new to the way that Apache is configured on those platforms.

    Read more

35 of 89