Blog Archives

regular expressions: the cause of and solution to, all of life’s problems.

uhum, a few years ago I wrote a regular expression to try to approximate the number of syllables in a word. Today I dug it out and decided it was not good enough! Instead of approximating the number of syllables,

Tagged with: , , ,
Posted in Uncategorized

IPs as evidence

I am reading a lot of things to do with file sharing and flawed evidence lately. One of the common misconceptions is that IPs can be arbitrarily spoofed. This isn’t really true. You can spoof your IP but you won’t

Tagged with: , ,
Posted in Uncategorized

anagram generator in python

it helps me with the crosswords :p this would help of course if wordpress didn’t mess up the indendation [edit: ahh sourcecode mode] [edit2: untested modification, watch out!]. implementation of is_word() is left as an exercise to the reader. You

Tagged with: ,
Posted in Uncategorized