Archive for the ‘Fixed’ Category

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 ...

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 ...

Minimum Xen VPS for LAMP (osCommerce/WordPress) at XenSmart

Sunday, October 25th, 2009

[caption id="attachment_525" align="aligncenter" width="400" caption="XenSmart Unmanaged Xen VPS in the UK"][/caption] First a confession - I tried to 'go stingy' and put Lolyco.com on a XS-128 (128MB RAM) VPS at XenSmart, and it really didn't work. It was initially OK, but after a few visitors, it had filled up both the ...

IE8 Cookie problem

Thursday, October 8th, 2009

It's 3am, so this will be brief. Firefox, Opera and Google Chrome are all happily accepting HTTP cookies from wossis.com, but IE8 was gaily ignoring them. The problem is speech / quotation marks in the Set-Cookie line: Set-Cookie: MIFS="qVZziOA7"; Path="/" ...works in 3 out of 4 browsers. IE8 pretends it never saw ...