Archive for the ‘software’ Category

Removing the “powered by WordPress” attribution text

Friday, December 11th, 2009

I saw a request for help with English grammar from a member of a forum I often visit, so had a quick peep at his website. It looked great, nice copyright message and all. He seemed to be suggesting that it was all his own work, so I had a ...

Ab – Apache Bench hanging with -k Keep-Alive switch

Wednesday, November 25th, 2009

This problem was making me go blind! I'm testing Spinneret with ab at the moment, trying to make sure there's no disastrous behaviour under load. I found that ab just stopped after the first request if I used the -k switch. I'm not sure the problem is my fault, exactly, ...

Ubuntu update problem: Failed to fetch … The HTTP server sent an invalid reply header

Tuesday, November 10th, 2009

[caption id="attachment_576" align="alignright" width="200" caption="Ubuntu update problem - The HTTP server sent an invalid reply header"][/caption] So you're happily upgrading from Jaunty Jackalope to Karmic Kipper and there's a network problem. A brief, normally completely recoverable network hiccup. Update-manager complains that it was interrupted, and quits. Thinking nothing of it, you ...

osCommerce Malaysia shipping modules – all updated

Wednesday, November 4th, 2009

These old shipping modules no longer work since Pos Malaysia's last website change in January 2011. I've replaced them all with a single shipping module that should give your customers a faster response, be more reliable and more flexible. See Shipping widget module page at spider.my and the original (now ...

Code golf at Stackoverflow. Byte array substring searching.

Sunday, October 25th, 2009

I don't know what I was searching for when I found this 'code golf' challenge at Stack Overflow. The challenge was to find a substring of bytes in a byte array, returning the start position. It cost me half an hour or so, so I thought I'd post my attempt ...