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

    Category: tech


  1. Filtering Tables in Joins in MySQL


    I had a situation recently where I was outer joining one table onto another. I needed all rows from the first table, plus any matching rows from the second table. So:

    SELECT *
    FROM table1 t1
    LEFT JOIN table2 t2 ON (t1.col_a = t2.col_a)
    

    So far, so good, right? In …

    Read more

  2. BarCampLeeds Recap


    I did it! I went and spoke at BarCampLeeds, there's flickr evidence to prove it as well :)

    My talk was "Source Control Saves Lives", a primer on what source control and why you should use it, with a definite subversion twist because that's what I know the most about and …

    Read more

  3. Thinking of BarCamp Leeds


    Recently I found out about a phenomenon called BarCamp, where a bunch of people, mostly geeks, turn up and run their own un-conference. Every attendee speaks, at least that's the theory, and there are a lot of concurrent sessions - so you just attend what you want to. It looks interesting …

    Read more

  4. Mysql show processlist


    A very quick entry today, life seems to be so busy at the moment but I have to write this down before I forget. Today I had a weird situation where mysql was consuming a lot of resources but didn't seem to be actually getting anywhere, as if something was …

    Read more

  5. A Very Narrow Howto of Podcasting


    I recently featured in an episode of Zend's PHP Abstract. A few people have asked how I went about preparing and recording the piece so here's a quick overview.

    Choosing a Topic

    This actually wasn't hard because I wanted to pick something that I have particular knowledge of. As a …

    Read more

  6. Simple Rsnapshot Setup


    Rsnapshot is a perl-based backup script manager. It is a journalised backup system – meaning that it copies all your files across to the backup media once – and then the only data it transfers after that is the changes. The backups appear on disk as complete copies – but where two generations …

    Read more

  7. Top top Tips


    That is to say, some top tips for the command-line program top. Top is a program to show you the top processes consuming resources on the system. You can then press other keys and the program will respond. For example:

    q to quit

    z to get a colour output

    x …

    Read more

  8. Reliably Avoid Subversion Collision - Commit First!


    Subversion is a source control system – an excellent accompaniment to software development especially in a team setting. When working with a number of people, it is likely that at one time or another there will be collisions – for example at the moment a project I am working on has a …

    Read more

  9. Setting up MySQL to listen to external ports


    I had some difficulty setting up mysql to listen to external ports on a server – the development web server uses databases on another box. The important setting was in /etc/mysql/my.cnf where I removed the line:


    bind-address = 127.0.0.1

    You should then be able to connect …

    Read more

  10. Twitter, meet Facebook. Facebook, Twitter


    Having recently embraced the social networking revolution, or not, I have recently been getting exasperated by how out-of-date my status gets when I can’t be bothered to update it. And how annoying that there are statuses on both Facebook and Twitter which are both out of date.

    I stumbled …

    Read more

  11. Wiki Wonder


    I love wikis for workplace documentation. For anyone who doesn’t know, a wiki is a web page with an “edit” button, so you can change the content of it if you have something to add or something is out of date or missing. Wikipedia is the obvious example.

    So …

    Read more

  12. grep: unknown directories method


    The title of the post is the error message I got when attempting to grep a directory containing a file whose name started with a hyphen ( – ).

    What has happened is that grep interprets hypens as switches, as if the idea was to convey options to use. This gave me a …

    Read more

32 of 39