Fixing IE6 Javascript:OpenWindow()

If you are experiencing errors opening windows in IE6 (calls to javascript:openWindow), open a command prompt and type the following commands: regsvr32 urlmon.dll regsvr32 Shdocvw.dll regsvr32 Msjava.dll regsvr32 Actxprxy.dll regsvr32 Oleaut32.dll regsvr32 Mshtml.dll regsvr32 Browseui.dll regsvr32 Shell32.dll I found it in this posting and solved my IE6 problems. I uninstalled some stuff that seemed to screwup IE6. Even installing SP2 in my W2K3 machine didn’t help.

Installing Ubuntu 6.10 in FakeRaid

I need this for later. I’m dishing Fedora 6 and going Ubuntu, I’ve got tired of Fedora’s downloading a new kernel every time I yum something.

TIP: Improving VS2005 Speed

Couple of tips found here:

  1. Tools -> Options -> Text Editor -> General, uncheck “Track Changes”
  2. Browse the registry to: HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0\ProjectMRUList and delete the references to remote projects

Test Your Linux Box for Daylight Savings Change

Is your linux box ready for the Daylight Savings Change?, test it with the following:

$ date –date=”Mar 25 15:00:00 UTC 2006”
$ date –date=”Mar 25 15:00:00 UTC 2007”

This post in slashdot explains: ”If the output of both shows the same time (eg. 10:00 EST) then you’ve got a problem. If they show different times (eg. 10:00 EST and 11:00 EDT) then your system is ok.”

In the case of my Centos 4.3 server it didn’t, but it wasn’t Centos’ fault, sometime ago I overwrote /etc/localtime with the one for my timezone. I fixed it by:

# rm -f /etc/localtime
# ln -sf /usr/share/zoneinfo/America/Chicago /etc/localtime

(replace America/Chicago with the zoneinfo file for your timezone)

.NET Reflection Links

Here is a list of pages with some information about reflection. This blog entry is just to save these so I can go back and find them:

I’m looking to write a Unit Test that uses reflection to test each property in a activerecord class. Makes sure all properties are updated in the database record. When done I will put out a blog entry about it.

Mythtv Tip: Script to Babysit the Backend

I’ve been running a simple cron task every minute to restart my mythtv backend if it crashes but it wasn’t good enough. I tried using monit but it seems to think the backend is down when it is not and restarts it several times during a recording.

This post from the knoppmyth forums includes a nice script to take care of this along with instructions:

  • If it sees the backend running with a non-defunct process ID, it just exits.
  • If it doesn’t see the backend, and none of the following conditions apply, it’ll re-start it.

  • mythfrontend is down (you’re probably doing some other maintenance)
  • mythbackup is running
  • mythrestore is running

You can easily extend it to add exceptions too.

From a directory such as /tmp, as root:

cp /usr/local/bin
chmod +x /usr/local/bin/


It should exit with no messages, if the backend is running. Otherwise it’ll restart it.

Suggested usage - add this line to crontab:

* * * * * /usr/local/bin/ >>/var/log/mythtv/babysit_backend.log 2>&1

Gigabyte Desktop Motherboard Supports LinuxBIOS

This article reports: ”The GIGABYTE M57SLI-S4 is the first-ever desktop motherboard supported by a Free & Open Source BIOS, thanks to AMD engineer Yinghai Lu who released GPL-licensed code last month. This state-of-the-art motherboard is based on the NVIDIA nForce 570 SLI chipset and AMD’s latest Socket AM2.”

According to LinuxBIOS, the benefits of using this bios are:
  • 100% Free Software (GPL), no royalties, no license fees!
  • Fast boot times (3 seconds from power-on to Linux console)
  • Avoids the need for a slow, buggy, proprietary BIOS
  • Runs in 32-Bit protected mode almost from the start
  • Written in C, contains virtually no assembly code
  • Supports a wide variety of hardware and payloads
  • Further features: netboot, serial console, remote flashing, ..
For more information: