Skip to site navigation

Andrew's diary

bleb.org > Writings > Diary
<<< 07/2006 January Feburary March April May June July August September October November December 10/2006 >>>

Thursday, 28 September 2006

Fixed the annoying script.aculo.us flicker in IE (in quirks mode). Turns out (surprise, surprise) it's a bug in Internet Explorer. The following fixes it for Effect.BlindUp, similar code can be used for BlindDown:
 if (!Effect._BlindUp) Effect._BlindUp = Effect.BlindUp; Effect.BlindUp = function(id) { var elem = $(id); if (!elem._setStyle) elem._setStyle = elem.setStyle; elem.setStyle = function(style) { if (style.height && parseInt(style.height) == 0) style.height = '1px'; elem._setStyle(style); } new Effect._BlindUp(id, arguments[1] || {}); } 

Monday, 25 September 2006

Microsoft are lazy sods. Of course, DRM holes will be fixed within three days; but not being able to download uncached PDFs over SSL? That's a feechur.

Sunday, 24 September 2006

Solved the Subversion compiling problems (not sure if they're Debian/etch or libtool specific). First, install libdb4.3-dev, then compile Apache 2.2.3:

./configure --prefix=/usr/local/apache2 --enable-mods-shared=all --enable-mods=all --enable-proxy --enable-deflate --enable-proxy-http --with-included-apr --with-dbm=db43 --with-berkeley-db=/usr

Then, compile PHP 5.16:

./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --with-conf ig-file-path=/usr/local/apache2/conf --enable-force-cgi-redirect --with-zlib --w ith-gettext --enable-soap --enable-gdbm

Then, mod_perl 2.0.2 - answering the install questions, pointing to Apache in /usr/local/apache2.

Then, compile Subversion 1.4.0 using the same Apache Portable Runtime (APR) as the newly installed Apache:

./configure --with-apxs=/usr/local/apache2/bin/apxs --with-apr=/usr/local/apache2 --with-apr-util=/usr/local/apache2

Create appropriate symlinks from /usr/local/apache2/bin to /usr/local/(s)bin and you're laughing.


Saturday, 23 September 2006

Went to Warwick Castle with Dawn, Jo, Paul, Julie, Martyn, Stacey, Nicky & Olivia; and followed it with drinks and food at our house. It's scary to think it was ten years ago that we all started university.

Friday, 22 September 2006

Well, I've been somewhat lax at keeping this up-to-date, and lots has been happening: started work on taskt (inspired by an old diary entry); set-up VidConvert for online video conversion for Nokia 770 owners; changed company flat (almost twice); went on holiday; watched Alex grow up scarily fast - he's almost 8 months now, and it's amazing how different he is one week to the next. For example, he's now got his first pair of shoes.

Also moved bleb.org from a colocated server run by PoundHostRoast in Maidenhead after the ambient temperatures were regularly topped 42°C, resulting in imminent hardware failure. Now got a dedicated server from Bytemark which, apart from them being well respected and knowledgable, also means they're responsible for any hardware failures. Excellent.

The new box has, however, been suffering from a weird Apache problem recently: with some vhosts enabled (mainly Tomcat or Ruby ones), Apache 2.0 would segfault on startup. Started upgrading to Apache 2.2, which unfortunately means source recompiles of, or at least parts of: Apache, PHP, mod_perl, mod_auth_mysql, mod_jk, Subversion, ...

mod_auth_mysql refused to compile due to API changes in Apache 2.2. However, a bit of fixering resulted in this patch. Made heavy use of equiv to produce dummy, empty debs to satisfy Debian's dependencies.

Still having problems with Subversion, though, as it uses the Apache Portable Runtime (which Apache proper obviously uses as well). It also runs within Apache, so the same version needs to be used, but again there seem to be compile problems.


<<< 07/2006 January Feburary March April May June July August September October November December 10/2006 >>>