Archive for June, 2006

  • Managing NetInfo directories from the command line

    Let’s say you can’t log into your Mac, but you either have access to its hard drive (e.g. booted into FireWire target mode) or you’ve booted into single-user mode (by holding down Cmd-S, then typing “mount /” to enable read-write). On a normal Unix box you’d be able to edit the passwd and fstab files, [...]

    Thursday, June 29th, 2006
  • Courier-mta + spamassassin + maildrop + dot-forward

    Since the documentation sucks: it is possible to combine the pipes for spamassassin & maildrop with the funky double-pipe for dot-forward in the courierd conf file. Here’s what I have now:
    DEFAULTDELIVERY=”|| /usr/bin/dotforward
    | /usr/bin/spamassassin | /usr/bin/maildrop”
    Yes, on two separate lines. I don’t understand either. I wish the “DEFAULTDELIVERY” option was better-documented, I can’t seem to find [...]

    Wednesday, June 28th, 2006
  • the show with ze frank

    I just discovered the show with ze frank minutes ago. I think I’m already addicted, and I don’t know why.

    Tuesday, June 27th, 2006
  • I know, I know

    I’ve disappeared. I know you’re all edge-of-your-seat anticipating an update.
    What’s happened these past few weeks? Not much. Working, relaxing. And sometimes, chillaxing.
    We’ve brought in a statistician for our paper. I’ve actually learnt some stats now, it’s exciting. We missed the deadline for the one journal, but Paul doesn’t seem terribly upset. I think he sees [...]

    Saturday, June 24th, 2006
  • Database indexes are very important

    The SQL query that I’m running 650 times is as follows:
    SELECT h.protein_acc, h.taxon_id FROM homologene h, all_proteins a, synonyms s WHERE
    s.synonym = ‘$_’ AND a.alt = s.protein_acc AND h.protein_acc = a.protein_acc
    UNION SELECT h2.protein_acc, h2.taxon_id FROM homologene h1, homologene h2, all_proteins a
    WHERE a.alt = ‘$_’ AND h1.protein_acc = a.protein_acc AND h1.hid = h2.hid;
    I estimated that the [...]

    Wednesday, June 7th, 2006