Archive for the ‘software’ Category

Ubuntu Intrepid Ibex

Sunday, November 2nd, 2008

I broke the cardinal rule and updated to software that was only 1 day old. It seems I've been reasonably lucky and very little went wrong. I thought I'd better write some notes on what did go wrong just in case it happens to someone else and they lose a ...

Cannot execute /bin/bash: Permission denied

Tuesday, October 21st, 2008

Just a quick note, just in case someone else sees this message. I got this error this morning when I logged in as a non-root user on a Slackware server I'd upgraded yesterday. In an act of blind faith, I used 'slackpkg upgrade-all', and then the fun began. Incidentally, if you're ...

Damerau-Levenshtein algorithm: Levenshtein with transpositions

Wednesday, August 27th, 2008

I'm still working away slowly at Spider.my, and spotted a funny loop in the search suggestions: [caption id="attachment_117" align="alignnone" width="300" caption="Search for Teusday - how about Thursday?"][/caption]The helpful hint is "maybe 'thursday' would get more results?". I'm using a simple Levenshtein distance algorithm to provide hints when only a few results ...

Search suggestions with MYSQL Levenshtein distance

Wednesday, August 6th, 2008

Up until a couple of days ago, the Spider.my search page applied only minimal formatting to hits, and no extra page decoration. The 'blank screen of death' appeared for a search miss: no results, no page content. Just to reassure the user the empty page was 'normal', I'd put a lame ...

If-Modified-Since date formats in Firefox and IE7

Saturday, June 21st, 2008

Everybody who has a webserver wants to use less bandwidth. A webserver sends out a lot of copies of the same information. Stylesheets, images, static HTML pages, javascript files. Many of these rarely, if ever,  change from one visit by a browser to the next. Fortunately, there are a few ...