My keyboard had a hairball...

IMG_4087-25pc Once upon a time, I received the gift of my first very own PC from doting parents. Whilst this was long after getting my first computer (the first was an amazing Acorn A3000, fondly called "The Beast") I still remember the PC's specs well: a Pentium III 450 (on a riser card!), Voodoo Banshee, 128 MB of blazing SDRAM and a 10 GB hard drive. ("I'll never fill all this disk space...")

However, the best thing about that computer: the humble keyboard. After using one ages before getting my own, I knew immediately it was an awesome peripheral. The Microsoft Natural Keyboard Elite (model A11-00337, M/N E06402COMB) is just about everything a hardcore computer-er-y person would ever want: incredibly ergonomic; devoid of a zillion pointless 'hotkey' and Function buttons; a lovely muted yet definitive keypress response, a wrist rest angled 'just right'... and even made in Mexico. ¡Olé!

This little keyboard is a resilient little bugger and it's still trucking. Just some of its previous adventures:

  • Half a dozen LAN parties
  • Half a dozen housemoves
  • Years of frustrated / angry / drunk / careless / overzealous users... (Well, user)
  • An entire pint of orange juice (poured into it by yours truly, by accident)
  • Countless knocks, drops and bumps, some from considerable height
  • Several kilos of toast
  • Evidently, several pounds of hair, or two tribbles (we'll get to that)

Add to that the fact that it's both PS/2 (USB with included adapter) AND off-white plastic (mine's beige from age!), all being told it should have died a long time ago. HOWEVER, it just refuses to go! It's amazing and I think I may actually have real feelings of love and concern for this keyboard. Or I might be drunk again. Who can tell.

The only thing it's missing are its little rubber feet from the underside of the front, easily solved with a little bit of (vintage) bluetack. I think you can even reorder those parts from Microsoft.

ANYWAY! I began to wonder, 'what's inside my favourite keyboard of all time? Perhaps it would work like a boxfresh unit if I took it apart and hosed out the rubbish?' (because when you can hear crumbs rattling round inside, it's time to get the desk-vac). Soon, nothing else was to be done except take it apart. And take it apart I did...

Tiplet: monitor realtime web site traffic on a Linux server with tmux and tail

I run a VPS which has numerous sites on it. Whilst I was trying to pin down the root cause of sporadic hard lockups and runaway memory usage, I settled on a somewhat inefficient (yet very handy) line of code which I run inside a tmux session over a PuTTY SSH connection (two other panes run iftop and watch --interval=0.1 iostat -m for realtime disk I/O).

An aside: tmux is like screen on speed, way more extensible and SO MUCH EASIER TO USE, I highly recommend you give it a try if you're a commandline warrior. There's some highly useful tutorials to help you get up to speed - google "tmux tutorial", Hawk Host's two-parter has some good stuff in it.

To accomplish this I'm taking advantage of the fact that DirectAdmin (which by default provides a base of Apache 2, MySQL and PHP 5) stores its httpd access logs in a common folder: /var/log/httpd/domains/<virtualhost>.log</a>. I'm combining the tail command with grep's egrep functionality (grep -e) and some pattern matching. It's not perfect: I have to occasionally Ctrl+C and restart the command as it stalls out, but it does everything I need.

Full command and my somewhat explanatory breakdown after the jump

The Three Year Review: Zoom H2 portable field recorder (pros and cons)

After reading a DV247 Magazine article comparing a dozen or so different hand-held digital recorders, I wrote a longish post adding my own experiences of the device (I've been a Zoom H2 owner for several years and I think it's a great little device. However I doubt my comment will ever be approved on their blog, so I thought I'd republish here as it'll be helpful for anyone shopping around for devices. A lot of the criteria by which I judge the H2 will apply to many / every device in the price bracket, so caveat emptor as always, and always try before you buy if possible!

Read the rest of my review of the Zoom H2

I