php

BackUPS with Nagios

In order to rule out a crap power infrastructure as the cause for some naughty server behaviour on a client site, it was suggested I should stick a UPS on said server, to make sure that at least the input power would be clean.

In a confusion of Andys I found a recommendation for the APC BackUPS CS 500, so that is what I got and installed.

scrapies

For some time now Yarra Trams have had a little form on their website that allows you to get the arrival times for the next three trams for a specific tram service at a specific stop.

Unfortunately their site renders extremely badly on Firefox 3 and they don't provide a documented API, so the only way to get this data is to scrape it by submitting the form on their site and parsing the results.

osdc reprise

Well, as it turns out Rasmus Lerdorfs filter made apache segfault, so I've disabled it again. XSS indeed!

On a lighter note, this work of art was created last night during the OSDC dinner: http://www.youtube.com/watch?v=NfVL_4uRLSo

a spot of php tweaking

Well, as it turns out there is a ready-made fix to some of the horrid inser-input-filtering problems I - and probably any PHP coder - encounter.

This morning was the first time I saw Rasmus Lerdorf speak and, although his views on web security want me to give up coding in general and become a potato farmer more specifically, he did point out some tools to make it a lot harder for a macilious user to abuse any web app you write.

hot news

Hot news right off the press: PHP6 will include Chuck Norris!