Archive for May, 2008
*AMP and Runaway Scripts
Peter Zaitsev posted a very interesting test on how PHP and Apache handle runaway PHP scripts. I’m sure all of us have had a long executing SQL script or at least a runaway script, and he points out even with ignore_user_abort set to FALSE and max execution times set both in PHP and Apache, a [...]
CompizFusion: Blur Your Terminal Window!
Messing around with CompizConfig the other day and discovered a nifty tweak: blur your transparent terminal windows! To do this you need CompizConfig installed: sudo apt-get install compizconfig-settings-manager Once installed, go to System > Preferences > Advanced Desktop Effects Settings. Scroll down to Effects and enabled Blur Windows. Then click the Blur Windows button to [...]
Automating the Development Workflow
I just rolled out some new automation tools for a few projects here at work and so far I’ve been extremely happy. Much to my embarrassment, development has previously been outside of source control due to the fact that we develop sites, we don’t deploy packaged applications, and we don’t have a cohesive IT setup [...]
Indy!!
from indiana import jones import whip import ruins cave = new Ruins() trap = indiana.steal( cave.treasure ) indiana.escape( trap ) ImportError: Snakes? I hate snakes!
Partial Classes in PHP
One of my favorite features of C# is Partial Classes. For the uninitiated, it is a way of defining a class in two separate locations. Very useful when you have code generation utilities such as LINQ. Unfortunately, PHP has no such feature (though if anyone’s listening it would be a great feature to add to [...]