Transcendental Music

Pi tuneWhen I was younger, so much younger than today, I went through a phase of memorising nerdy stuff. I don’t recall why. It was probably something to do with hormones. Anyway, I learned the colours of the rainbow, the order of the planets, the Greek alphabet, etc.

So it was almost inevitable that at some point I decided to embark on the holy grail of mnemonic nerdery – remembering Pi. ALL OF IT!!!

Read More …

Webpage Scraping Bookmarklet

Screenshot of online formI quite often have to add new films into the database of my website As well as adding the film I have to add data about the director and actors in the film as well. This is quite time consuming, so I created a system to simplify the task.

Firstly, I go to the page for the film on the Internet Movie Database, then I click on a specially-written bookmarklet. This runs some Javascript code which takes the IMDb URL, strips out the ID number of the film, and sends it to a PHP script on my website.

Read More …