Followers of my blog may have wondered -- around the end of April -- why I never made any comments about 8.04 / 'Hardy Heron'. There are two reasons for that. The first was: It was really really bad. I'm not enough of a zealot to gloss over that and ignore it: I'll speak my mind even on things I've traditionally endorsed, and it was a load of crap. Why? KDE4. That brings me to the second reason I did not post about it: upgrading my main workstation was such a disaster, I didn't have the time to blog about it.
Since upgrading Drupal core is such a pain, I've generated a patch (it's attached to this post: click on '1 attachment' to retrieve it) for upgrading your existing sites from 5.7. If you're not running a 5.7 site, please don't try to use it.
Microsoft periodically shuffles around what it thinks to be its biggest 'threat'. Right now, it's apparently open source. Yesterday, it was Google.
I disagree. Microsoft's biggest threat is itself. Particularly the higher-ups (here's looking at you, Steve...) for their refusal to embrace the open source community, rather than spouting FUD and lies.
Systems administrators typically use the date command in combination with cp -R to provide backup functionality. In a cronjob, the command
cp -R /path/to/backup /backup/destination/backup-`date +%u`
So what will this do? It will create seven distinct directories, one for each day of the week (1 through 7). When overwriting your old backups, you can either delete them first, or set cp to overwrite them. Neither is really optional.
Building upon Drupal because it's 'cheaper' is a very poor reason to build on Drupal. It may be cheaper in the end than hacking up some closed-source commercial CMS to include the functionality that Drupal provides in its core distribution. But there's at least one thing to keep in mind:
There are a few simple steps you can take to optimize Drupal. Drupal is a large, heavy system: every advantage counts.
This initial benchmark is taken without any of the variables which I'm going to test: css aggregation, mod_deflate, and apc.
ab -n100 http://drupal.shadowlife.ca/drupal-5.7/
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.0 0 0
Processing: 24 40 20.4 31 123
Waiting: 21 34 17.2 28 119
Total: 24 40 20.4 31 123
Last July, it was announced that PHP 4 had been end-of-life'd.
What this means is that there won't be any more bugfixes, and only critical security vulnerabilities will be released for some months into 2008. Most web hosts do have PHP 5 available, but a few shared hosting providers haven't done so.
http://www.gophp5.org has more information on what web applications claim to be compatible, but I disagree with: