Category Archives: Technology

Programming, software, hardware, and electronics.

SSH Tunneling Windows RDC

This article explains how to securely port-forward Windows Remote Desktop (Terminal Services) over SSH, using standard SSH command line syntax. If you prefer to use GUI SSH tools, such as PuTTY, there are other guides for that. Terminology Notes My … Continue reading

Posted in Linux, Scripting, Technology, Windows | Leave a comment

Run External Application as Another User in C#

An arbitrary external application can be executed from C# using System.Diagnostics.Process. If you want to run as another user, setting the System.Diagnostics.Process.StartInfo.Password field can be a bit confusing. Here is one way using System.Security.SecureString.AppendChar to avoid having to resort to … Continue reading

Posted in .Net, C#, Technology | 1 Comment

Install Trillian 3.1 on Windows 7

Trillian’s installer complains that it cannot create “buddy.dll”. An ugly workaround is to right-click on the installer executable and select “Run As Administrator”.

Posted in Technology | Leave a comment

Windows 7 Install Freezing at “Starting Windows” Animation

Windows 7 was very troublesome to install on my system. My system specifications: Motherboard: Biostar TF8200 A2+ (nVidia chipset) Processor: AMD 4080e Athlon 64 x2 (45W version) Memory: 4GB Optical: Sony/NEC SATA DVD-RW Hard Disk: Seagate SATA 320GB, 7200RPM Installation … Continue reading

Posted in Hardware, Technology | 10 Comments

Boot from USB Stick on Biostar TF8200 A2+

I was tired of burning perfectly good DVDs repeatedly for Windows 7 beta testing. Instead, I decided to follow these excellent instructions and copy the contents of the ISO image onto a USB stick and boot from that. My Biostar … Continue reading

Posted in Hardware, Technology | Tagged , , , , , , , , , | 5 Comments

Better GMail Causes 100% CPU Usage in Firefox

For the last several weeks, I’ve noticed excessive CPU usage whenever GMail (GAYD-hosted email, specifically) is open in Firefox. By turning off add-ons one at a time, I found that this is caused solely by Better GMail 2. Firebug, FireGPG, … Continue reading

Posted in OS X, Technology | Leave a comment

Tearing on MythTV with VLC

After updating to Ubuntu 8.10, I started to get tearing artifacts. This crop up especially badly during scenes that involve panning. The MythTV Wiki explains the fix for tearing: echo 1024 > /proc/sys/dev/hpet/max-user-freq Well, it works for me, anyway. I … Continue reading

Posted in Linux, Technology | Leave a comment

Can’t Log in to VMware Server Console on Ubuntu

As usual, I sped through the VMware Server installation, just using default settings. I then found myself unable to log in to the VMware Server Console. I would always get an error: You do not have permissions to login to … Continue reading

Posted in Linux, Technology | Leave a comment

Making OS X Command Line Behave More Like Linux (GNU)

The command-line oddities of Mac OS X’s BSD heritage drive me insane. I much prefer the behavior of the GNU toolchain, as provided by Ubuntu Linux. To begin, first install MacPorts. MacPorts Installation Variant +with_default_names With several MacPorts packages, the … Continue reading

Posted in OS X, Technology | Tagged , , , , , | 1 Comment

Queue Implemented Using Stacks

Here are two solutions for using stacks to emulate a queue. The first always keeps one or both stacks empty, shifts the set of values back and forth as the caller switches between enqueuing and dequeueing. The second maintains an … Continue reading

Posted in Algorithms, C++ | Tagged | Leave a comment