Archive for October, 2008

Statistics Hacks has an interesting entry on the art and science of stylometry. Even before I started studying psychology, I was always interested in the idea that there was some method of empirically measuring the style of a person’s writing. This semester we learnt more about the techniques of principal components analysis and factor analysis, […]


The latest release of Ubuntu, 8.10, has just come out. The list of new features seems to be quite modest; it’s mostly upgrades to the newest upstream packages and some small tweaks like an encrypted personal folder and guest sessions. I am tempted to try it out, but I don’t need any more upcoming distractions! […]


Random finds

24Oct08

Hmmm, I’m going to be even more busy as uni exams approach. I felt pretty bleh today actually, probably because I had to wake up early for a lab and had to listen to dreary debates about ageing. Unpleasant. Anyway, I went for a hair cut afterwards–and it’s amazing how much a haircut can improve […]


Quick post–I just wanted to stick in two websites about Haskell I’ve just found–and they look very nicely presented. If I had more time I would try Haskell, but I don’t, so I’m just going to paste the links to the websites here so I remember them when I do have that time, and for […]


I’ve been shifting my files around to organise them more efficiently. One trouble spot I had was with the Project Euler folder, which has a couple of small script files named problem12.py or problem3.lua and the like. I wanted to rename all of them without “problem” in their name, so I tried writing a python […]


Some time ago, I found a folder full of pygtk examples somewhere and copied it to /home. I think it comes with pygtk itself but I’m too lazy to check now. Anyway, they were very interesting examples. The problem I find with learning programming is that the examples tend to be either too easy or […]


After reading about functional programming in Python, I attempted to solve problem 48 of Project Euler with some of its techniques. I tried something like print(reduce(lambda x, y: y**y , range(1,1000))) to get the inhumanely large number that is 1 to the power of 1, added to 2 to the power of 2, added to […]