Category Archives: Technology

Programming, software, hardware, and electronics.

Linking to XML Stylesheet Stored on Local Server in Firefox

Problem I created an XML stylesheet which I wanted to place on a local Samba share. In the XML file to be transformed, I placed a file:// URI in the xml-stylesheet tag, but it wouldn’t work in Firefox. Internet Explorer … Continue reading

Posted in Technology | Leave a comment

Mouse Scroll Wheel in Ubuntu in VMware

I’m running VMware Workstation 6.5 under Windows Vista. I have Ubuntu 8.04 installed. I found a tip on how to enable the mouse scroll wheel, but I found that it switched my mouse over to Ubuntu control. That is to … Continue reading

Posted in Technology | Leave a comment

CoCreateInstance Fails With “Class Not Registered”

Recently, I had a problem unique to my test machine. Attempting to call CoCreateInstance on a COM class provided by one of our DLLs resulted in HRESULT 0x80040154, which corresponds to “Class not registered”. This was a mystery since regsvr32 … Continue reading

Posted in COM, Technology, Win32, Windows | Leave a comment

Stripping Vertical Whitespace Using tr

The Translate command, tr, is available on all Unix-y systems, including Cygwin. tr -d will delete the specified characters from a stream. Several handy escape sequences are provided for stripping newlines, carriage returns, and form-feeds: \f – form feed \n … Continue reading

Posted in Linux, Scripting, Technology | Leave a comment

Snake

This story was a very interesting read.

Posted in Funny, Internet | Leave a comment

SetThreadLocale and SetThreadUILanguage for Localization on Windows XP and Vista

Simple Localization In classic Windows programming, the quickest way to handle localized resources is to put all languages into the same resource file, then use SetThreadLocale to tell Windows that it should return resources tagged with the specified language identifier. … Continue reading

Posted in Technology, Win32 | 1 Comment

Autohide Ubuntu Menu in MythTV

When running MythTV under Ubuntu, the top menu (panel) may appear over MythTV’s output. The panel can be set to auto-hide, but even when hidden, several pixels will be displayed to remind you of its presence. Luckily, the number of … Continue reading

Posted in Linux, Technology | Leave a comment

Hauppauge HVR-1800 with MythTV

The Hauppauge WinTV HVR-1800 is a PCI-Express card which has two tuners: one for ATSC/QAM digital video, and one for NTSC analog video. According to the MythTV wiki, only the digital video tuner is currently supported. Hauppauge’s Windows driver, which … Continue reading

Posted in Linux, Technology | Leave a comment

Underlining Characters in a ToolTip

My product, a toolbar for Outlook Express, uses tooltips to display keyboard shortcuts. For some localization work, I needed to display an underlined character within a tooltip. The only hint I could find was a reference to .Net tooltips. Apparently, … Continue reading

Posted in Technology, Win32 | Leave a comment

Worst Spam Ever

It’s not even really spam. I assume it’s an attempt to validate random email addresses by analyzing bounces.

Posted in Funny, Internet | Leave a comment