PHP Shm Caching

Matt points to a PHP script that uses shm memory to cache data.
I rather use the filesystem to cache data – disk access is an order of magnitude slower than memory accesses but the operating system is generally clever about caching filesystem reads in memory. I would presume that the algorithms used are more complex than can be practically achieved by a PHP script too.
AFAIR, Apache has problems with Shm segments too although that could be something I remember from long ago!

Spider's Web

On a foggy day familiar things looks strange. I love the stark contrast between black and white on days such as these and especially by a body of water the difference is very pronounced!

Massage and Acupuncture – relieve the stress!

I only picked up the last few moments of Paul McKenna’s interview on TodayFM, but right at the end he suggested methods of massage and tapping acupuncture points to relieve stress. I did a quick search and found a few interesting sites. Here’s one picked at random..
I’m well aware that massage relaxes oneself but these are very specific points on the body that can be tapped for different effects!

WPMU – No Symlinks!

WordPressMU uses symlinks to do the multi-blog thing. Blogs names are linked to in a “blogs” directory (avoids having the root directory writeable by the webserver!) which makes life easier on me writing mod_rewrite rules for various reasons.
Unfortunately, that requirement means that PHP has to be able to symlink directories which isn’t possible all the time due to security settings on servers. Therefore, here’s two htaccess.dist files that you can drop into your WPMU installation, then run your installation again (delete the existing .htaccess files)
Put this htacess.dist in the root directory:
(If you’ve downloaded this file already, grab it again. I updated it so wp-login.php works, and wp-images show in the backend!)

Rename this and copy it to wp-inst/htaccess.dist:

Delete the existing .htaccess and wp-inst/.htaccess and the install will run when you visit the root URL of your blog. You can delete the “blogs” directory too if you like! (Make a backup first though!)

Trees All Lit Up!

Here’s a more “traditional” picture of the two trees I published yesterday. Some working with the GIMP involved to bring out the sky, but otherwise, a reasonable approximation of a cold night!

Squiggly Trees

What does one do on a freezing cold night? Go out with a tripod and take photos of trees!
I took this photo a week ago during a cold snap in the weather. I assembled my tripod on the corner of the street near my home and set it up for a 20 second exposure. Half way through the shot a man, his son and their dog passed. I *knew* something was going to happen and I was right. The dog’s lead got caught in the legs of the tripod but I had a good grip of it so the camera didn’t go flying out onto the road!
There was some movement and those squiggles across the picture are the result. I like it! 🙂