Tracking external links with AJAX

Is there no end to this guy’s talent? Kae came up with a way of tracking hits to external links that only requires you include some javascript, and that adds an onclick() event to each link on your page! I’ll be pumping that into WPMU as soon as I can!
This webmaster world thread discusses the effect lots of 302 redirects is having on Google. I’m trying to figure out if my 302 redirects is having the same affect. 🙁

Greycstoration : Fast Anisotropic Smoothing of Multi-Valued Images using Curvature-Preserving PDE's.

Basically, what Greycstoration algorithm does is describe how to do noise reduction and scaling of images very well. It also does a hell of a lot more and the demo page is very impressive!
There’s a GIMP plugin based on the work but I couldn’t get it to compile. He has another demo page too, which leads me to believe that I will spend some time trying to get this to work!
Later.. Note to self, install the development libraries before complaining!
# apt-get install libgimp2.0-dev

Things Republicans Believe

Here’s a short list of some of the things American Rebuplicans believe! (Irish Republicans have a very different set of beliefs!)

7. Group sex and drug use are degenerate sins unless you someday run for governor of California as a Republican.
8. If condoms are kept out of schools, adolescents won’t have sex.
9. Being a drug addict is a moral failing and a crime, unless you’re a conservative radio host. Then it’s an illness and you need our prayers for your recovery.

Can you hear me? Ping? Linux, ALSA, Via 82xx and 7.1 Surround Sound

I’ve finally got some sort of surround sound going, but only by clicking a “duplicate front” button in alsamixer. There are still 3 speakers that I can’t hear a peep from!
It wasn’t plain sailing in Windows either! For an age I couldn’t hear anything from the back-speakers but after replacing the 3->4 cable that came with the speakers with an old 3->3 cable plus another, it worked. I’ll look at it later again.
Here’s some links for reference:

Random Images

I still don’t have a working camera but I do have a camera phone..


The C64 disk drive was called the 1541. When I saw this car in front of me I had to snap it!


The recent Sudan Red 1 scare made many more people aware of how our food stuffs are made from ingredients from all over the world! This was a sign outside Tesco in Douglas, Cork.

Irish Photography

Ar an la seo, La Fheile Phadraig, ta about.com ag feachaint ar griangrafadoireacht Gaeileach agus na daoine sa tir seo a bhfuil baint acu leis.
(On this day, St. Patrick’s Day, about.com is looking at Irish photography and the people in this country involved in it.)
I didn’t get in to see the parade, it’s overcast, my camera is still in for repair and it was too easy to lie in bed and relax!

Lighttpd, fastcgi, php and eAccelerator

lighttpd is a lightweight httpd server I came across on (thanks michel_v!)
It took a while but I got it working on a server and it’s rather nice. You can run php scripts through it using the fastcgi interface. Here’s how I installed it on a Debian machine. Lines starting with “#” are commands that should be entered as the root user. (lots ripped from this tutorial)

# wget http://www.lighttpd.net/download/lighttpd-1.3.13.tar.gz
# tar zxvf lighttpd-1.3.13.tar.gz
# cd lighttpd-1.3.13
# dpkg-buildpackage

dpkg-buildpackage can be found in the package “cvs-buildpackage”. You’ll have to install a number of dependencies before this works. Just apt-get install packagename them as they come up.

# cd ..
# dpkg -i lighttpd_1.3.13-1_i386.deb

This will install lighttpd and start it.
Now you need to install and configure php:

# apt-get install php4-cgi
# vi /etc/lighttpd/lighttpd.conf

Look for the fastcgi.server section for php4 and change it so it looks like this:

fastcgi.server = ( ".php" =>
  ( "localhost" =>
    (
      "socket" => "/tmp/php-fastcgi.socket",
      "bin-path" => "/usr/bin/php4-cgi"
    )
  )
)

Download eaccelerator from their site and follow the instructions in the README. If you haven’t got phpize then install php4-dev.
Open up /etc/php4/cgi/php.ini and add the following at the top of the file:

  extension="eaccelerator.so"
  eaccelerator.shm_size="32"
  eaccelerator.cache_dir="/tmp/eaccelerator"
  eaccelerator.enable="1"
  eaccelerator.optimizer="1"
  eaccelerator.check_mtime="1"
  eaccelerator.debug="0"
  eaccelerator.filter=""
  eaccelerator.shm_max="0"
  eaccelerator.shm_ttl="1800"
  eaccelerator.shm_prune_period="1800"
  eaccelerator.shm_only="0"
  eaccelerator.compress="1"
  eaccelerator.compress_level="9"
  eaccelerator.content="shm_and_disk"

You’ll have to create the tmp directory yourself. Read the README file and config docs for instructions on using the web frontend to the accelerator.

I think that’s it, have I forgotten anything?