Archive for the ‘computers’ Category
I’ve been using XPath and XQuery to parse my XML documents as of late and, wow, does it ever make parsing easier. For instance, suppose I wanted to collect elements which had a bar attribute of “baz”. Using The Mind Electric‘s Electric … Read more
We were encountering a problem in the server code at my company whereby read() requests on a stream were blocking and never returning. This was causing periodic data retrieval within threads to hang, which would eventually eat up all available threads and lead to stale data. I tried creating a watchdog thread which would periodically … Read more
So you’ve ditched the phonebook in favour of Canada411 and life is grand. Within seconds, you’ve got the phone number and address of that hottie you’re stalking. A few clicks and a cut-and-paste later, you pinpoint your target’s location with the help of MapQuest. Easy, yes, but tedious and somewhat slow. Wouldn’t it … Read more
Check this weblog out and then view the source. This makes my XHTML1 strict weblog look like bad HTML with Netscape extensions, and it even validates as XML and also validates as RSS. How cool is that? Seriously, this is what it’s … Read more
I’ve received a few hits from people searching for “xpi uninstall” or “mozilla xpi uninstall” from Google. As it turns out, my weblog is #1 for those keywords, even outranking the Mozilla troubleshooting FAQ. As a follow-up to this post, I … Read more