Zend_Form, default decorators and fieldsets
Another less-sysadmin-y, more code-y post today.
Zend_Form is pretty handy, and takes care of a lot of the hard work in producing and validating forms. Unfortunately the default decorators aren't quite as sane in my opinion, which becomes obvious if you start using fieldsets, or display groups, as ZF refers to them - You'll see your fieldsets getting wrapped in an additional definition list which is basically crap if you ask me.
Zend Framework and the PHP Sqlsrv extension
On the off chance you're intending to do any development with using SqlSrvand ZF, I'd suggest taking a cursory look at ZF-7431before hand. Equally if you're planning on doing any dev with Sqlsrv and plan to migrate to other SQL platforms later, then it could be just as helpful.
The fact that SqlSrv will return PHP objects is rather nice, unless you already have existing code that assumes strings are returned, like almost all other database extensions available for PHP.
RemasterSys is awesome!
In that past I've created custom live unix distro CDs for myself and although it worked I found that it was so time consuming and generally such a pain in the bum that it just wasn't worth it. Yesterday I had the need (that nerd need, not because I had to, but because I wanted to) to create a customised CD for the house1. I'd heard good things about RemasterSysand figured now was the time to try it.
HP PSC printers and Terminal Servers
I've written about specifying drivers for redirected printersin the past, but it's not something I've had to do for a few months.
Last week we had to get a 1500 series HP PSC working on a home workers terminal server session, and it turns out that the “proper” driver isn't correct and doesn't install. Luckily it seems that a lot of the HP PSC's use the same internals as the HP Deskjet series.
Against better judgement
I've been playing around with CouchDB for a few nights, inspired by the work of Stuart Langridgeand others at Ubuntu, and also J Chris Anderson.
To break myself into the CouchDB world I started poking around at the capabilities, and mostly trying to not think of SQL-isms. Understanding map/reduce and getting your brain out of the SQL world is worth it, if for no other reason than to get a different perspective on data storage.
Linux drivers for HyperV guests
If you've never had to run Linux under HyperV you'll know that it runs, although it could be better. You'll also be aware that Microsoft supply drivers via connect, in a binary state with official support for only a few distros.
So you can imagine how I felt when I saw the announcement on the LKML. Drivers for Linux guests, in the kernel. Ok, so it's not in the mainline yet, but it is the start of good and great things.
Karmasphere and Exim4, on Debian
I've rambled onabout Karmasphere in the past, but I've not actually done anything with it since mentioning it.
Sadly today was the day when spam started getting through my crazy system. This clearly was a signal from the gods themselves; to take the next step. The dreaded DNSBL. You might be surprised, but I don't like DNSBLs. In the past they've made my life hard at work - especially when we've inherited an IP that was previously used by spammers, in some way, shape or form.
Backing up HyperV Virtual Machines
We use HyperV a lot at work, and for small scale Windows Server platform deployments I actually quite like it as our chosen virtualisation tech. However, backing up any virtual machine, regardless of platform, can be “fun” sometimes. We actually use a script that I put together using diskshadow (VSS) and a set of batch scripts, which works really well. However I hadn't actually really put much thought into what was happening and although I've done test restores for Windows machine I'm yet to do one for a *ix box.