Category: Uncategorized

  • Interrogation Techniques

    Just read a brilliant post on Scott Adams’ blog. Here’s a quote:

    It occurred to me recently after having surgery for my deviated septum that lots of Al Qaeda members must need that same procedure. When Amnesty International finds out that we gave free medical care to prisoners, that won’t sound so bad. And yet I can tell you from my own experience that by the second day I would have given up the missile launch codes to make the pain stop. And if I didn’t know the codes I would be willing to torture someone who did until I got them.

    So there we go! Add that to the list of ways to torture people that are legal, which currently stands at “playing them Celine Dion CDs”, “playing them hundreds of Des O’Connor records”, and “making them listen to Simon’s radio show on Hospital Radio Colchester” (kidding! just kidding! – it’s really very good)…

  • Linux and Open Source Blog

    I’ve just found another blog about Linux and OSS. It’s more generic than the other Linux blog I link to (that one is more about Linux system administration); this one is more about what’s going on in the Linux world.

    It did have a cool link to a Wiki Guide to Linux Games, which I shall have to check out sometime!

  • What I’ve been up to

    Just thought I’d better write a quick post to let you know what I’ve been up to this week, as I haven’t written one so far… Monday night, I didn’t do much. Tuesday night I went round to Philippa’s for dinner. Last night I didn’t do very much. Tonight I’m going out to my weekly home group. Tomorrow night I’m going back home overnight. Just wanted to update you so that you didn’t think that my life had suddenly become really boring or anything 😉 (Anyone who is a regular reader of this blog would know that my life couldn’t possibly get any more boring).

    I really don’t have anything else to say at the moment! So I’ll leave it there for the time being. All for now…

  • Small Ads from the UK

    Just found a great site: horsman.co.nz (‘Humor’ section). Check out particularly Small Ads from the UK and How to Fail an Exam… brilliant!

  • The Weekend

    Ok then, time for the good ol’ “The Weekend” post. On Friday night, I stayed in and worked on a conversion script for Matthew’s Blog. About 11PM, I went to Tesco with Philippa as we felt like going on a late-night shopping trip (like the old student days!).

    On Saturday, I had quite a lazy morning in. In the afternoon I went into town with Philippa and Luci to have lunch at the new Starbucks in Colchester, and then had a wander round town. In the evening we went to Fai’s for dinner (it was very nice – if you like Chinese food, I recommend it! The Bento Boxes are good!).

    Yesterday, I went to church in the morning as per usual. I spent the early afternoon watching Futurama, before going on a walk with Philippa and Luci. In the evening, we walked Luci to the station and then went onto campus where we met up with Alex and a few other people for ‘chillout night’. We watched Toy Story 2 – I’ve seen it a few times now but it is a great film!

    And that’s all for now!

  • Updated the Open-Source section

    I have updated the Open Source section of the site. Yes, I know, I’m very sad – I have nothing better to do on a Saturday night! Philippa and Luci have gone onto campus for karaoke which isn’t really my kind of thing… everyone else seems to be at the CU house party. So I’m stuck in on a Saturday night. Ah well, comme ci, comme ca.

    I think I’ve got an almost fully-functional site now… the best thing about it is, a couple of the sections basically update themselves: one of the many good things about WordPress is the ability to categories your posts. For example, any posts that I have filed under ‘DJ Stuff’ I can link to from the DJ page, no need to have to update the page itself every time I post something DJing related… handy!

    Anyway, that’s all for the time being.

  • The Worst Joke Ever?

    I’ve been quite enjoying this random ‘fortune’ program I’ve got on my computer. I’ve installed a ‘Hitchhiker’s Guide’ quotes pack, as well as Futurama and a couple of others. Some of the jokes in there are… well, like this:

    After Snow White used a couple rolls of film taking pictures of the seven dwarfs, she mailed the roll to be developed. Later she was heard to sing, “Some day my prints will come.”

    If that didn’t make you groan I don’t know what will…

  • Useful Phrases in Esperanto

    I have a program on my machine called “fortune” (if you’re using Fedora Core and want to install it using yum, it’s called ‘fortune-mod’: yum install fortune-mod). Basically it means that every time I type in ‘fortune’ at the command line, it comes up with a ‘fortune’, or a funny quote or something like that. (I also have a fish called Bob on my task bar which runs the command when I click on it, but anyway).

    I clicked on it just now, and it came up with something which I think is very appropriate given the content of my last post! You will probably find this funny even if you’re not a geek (like me):

    Fortune presents:
    	USEFUL PHRASES IN ESPERANTO, #2.
    
    ^Cu tiu loko estas okupita?		Is this seat taken?
    ^Cu vi ofte venas ^ci-tien?		Do you come here often?
    ^Cu mi povas havi via telelonnumeron?	May I have your phone number?
    Mi estas komputilisto.			I work with computers.
    Mi legas multe da scienca fikcio.	I read a lot of science fiction.
    ^Cu necesas ke vi eliras?		Do you really have to be going?
  • Keeping Fedora Core up to date

    If you use Fedora Core, or another system that uses “yum” to update packages, you can set it to run automatically every day / week / month (or even hour, if you’re crazy!) fairly easily. This is slightly different to the documentation on the Fedora website, this method is a bit more customisable.

    Firstly, use su to gain root access to your system:

    [phill@dibber ~]$ su -
    Password:
    [root@dibber ~]#

    (Yes, dibber is the name of my machine. Just… don’t ask, OK?)

    Secondly, create a file in /etc/cron.daily/ called ‘yum-update-all.cron’ (change ‘daily’ to be ‘weekly’ or ‘monthly’ if you like). You can use any editor you like, I prefer to use vi or vim:

    [root@dibber ~]# vim /etc/cron.daily/yum-update-all.cron

    Thirdly, insert something like the following into the file (explanation to follow):

    #!/bin/sh
    # Update everything
    /usr/bin/yum -y update >> /home/phill/logs/yum-update-`date +%F_%H-%M`.log
    chown phill:phill /home/phill/logs/*.* > /dev/null 2>&1

    Explanation: /usr/bin/yum -y update will execute the ‘update all’ command. >> /home/phill/logs/yum-update-`date +%F_%H-%M`.log will redirect all output to the file /home/phill/logs/yum-update-(date).log. (substitute /home/phill/logs for a directory that exists where you want the log file to be output). Note the way you can include the output of another command there – surrounding it with two ` characters. To find out more about date formats type in: man date at the command-line.

    The second line (chown …) changes the ownership of all the files in the directory /home/phill/logs (whichever you specified in the previous line) back, as because the script runs as root it will get created with root permissions which you wouldn’t be able to read normally!

    Lastly, the > /dev/null 2>&1 bit means that any output will get discarded (as opposed to the default, which is e-mailing any output to the user who runs the job).

    Once you’ve edited the file and replaced all necessary bits with what you want, exit the editor, and then make the file executable:

    [root@dibber ~]# chmod +x /etc/cron.daily/yum-update-all.cron

    (if you did it weekly or monthly instead, change ‘daily’ to ‘monthly’ or ‘weekly’ – you know the score).

    And… you’re done! The job should automatically run at about 4:00AM daily / weekly / monthly, depending. When it’s run successfully, you should see the log file in your log file directory that you specified.

    Any questions, let me know!

  • Creative Commons

    Just a quick note to say that this blog and website is now published under a Creative Commons license. This means that you can do what you like with what I do here, provided that: (1) you don’t use any of it in a commercial work, or (2) you don’t modify it or create any derivative works. If you want to read the full text of what you’re allowed and not allowed to do, scroll down to the bottom of the page and click on the “Some Rights Reserved” button.

    The reason why I have changed to this? Well, one of the reasons I’m a fan of open-source software is that most of it is “free” as in “free speech”. The internet is probably one of the best things to have ever happened to free speech – that’s both a good and a bad thing, but in general (I think) good. Copyright is getting a bit creaky, in that I think these days it’s not really doing what it was supposed to do. It’s restricting creativity rather than encouraging it, and the people who benefit it aren’t necessarily the people who deserve it. Don’t get me wrong, I think Copyright is a good thing, but perhaps it needs to be re-examined for the 21st century!

    And in the next blog post, Phill will try and see if he can include any more buzzwords than he did in this one…