The Dude abides.

Posts from November 2007

FreeBSD pecl-shape, pecl-params ports; mini_httpd response timeout hack

Submitted pecl-shape and pecl-params ports. Finally got subscribed to freebsd-ports mailing list, will propose to take over tdb port (and with that, submit pecl-tdb).
For those using mini_httpd and wanting it to NOT timeout after 300 seconds, edit mini_httpd.c and comment out the following lines:

1
2
3
4
5
6
7
8
9
10
11
#ifdef HAVE_SIGSET
 
(void) sigset( SIGALRM, handle_write_timeout );
 
#else /* HAVE_SIGSET */
 
(void) signal( SIGALRM, handle_write_timeout [...]


Some excellent books

An excellent books I’ve finished reading in the last month or so:
1. The Omnivore’s Dilemma

2. The Elephant, the Tiger and the Cell Phone: India - The Emerging 21st Century Power

3. Sophie’s World

4. User Interface Design for Programmers


Happy Diwali!

To fellow Jains and Hindus, have a Joyous Diwali!
And may I say that it’s a most excellent time for UMNO to hold their Annual General Meeting. One can only expect that the (hopefully) coincidental timing with Diwali will benefit UMNO delegates in seeing the light (pun intended) and illuminate to them of their horrifyingly racist, [...]


FreeBSD astmanproxy, pecl-doublemetaphone port

I found it surprising that the popular Asterisk AMI proxy (astmanproxy) was not in FreeBSD ports, so I decided to write it up and submit it as such. Wasn’t too difficult but the linux-isms can get to be annoying!
Also submitted was the port for pecl-doublemetaphone, a PECL extension implementing the Double Metaphone algorithm.
Spent some time [...]


← Before After →