Disable Windows 7 Sound Card Jack Sensing

Windows attempts to auto detect any changes to the plugs in your sound card. That doesn’t work well with my sound card (X-Fi something) so the speakers keep falling in and out randomly. Solution: The sound card drivers are located under the registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class{4D36E96C-E325-11CE-BFC1-08002BE10318} Search for “EnableDynamicDevices” (located under GlobalSettings somewhere) and set it to 0 (zero).… Read More »

Norton Antivirus Idle Scan

I always thought that when Norton Antivirus ran an “idle scan” it meant it would scan the computer when I was in front of it. But very often I find Norton scanning my disks while I’m sitting in front of my computer. So I thought I’d investigate. It seems I was idle about 8 minutes ago. At that… Read More »

Early alpha release: Kinect C# Starter Kit

NOTE: Microsoft has released Kinect SDK since this article was written. You probably want that instead of this. :) Much of the stuff I’m doing with Kinect involves two input pictures and one output I figured I’d make a platform to make it easy to test new stuff. The main idea is that I can add multiple modules… Read More »

Kinect

Yesterday I bought a Kinect and hooked it up to my PC. After a couple of hours of compiling drivers and finally realizing I had to switch USB ports for the camera to work I could start writing code. I used the CLNUIDeviceTest as a base since it already had the lines of code required to pull the… Read More »

Merging multiple Visual Studio Solution (.sln) files into one (Outdated)

Update: As commented by ‘pifcnt’ this is for VS2010 files. Today I had the daunting task of combining multiple solution files into one. The reason for this was that the project I’m working on originally started as multiple separate solutions with shared projects. Now we find it more convenient to have it in a single solution both for automated… Read More »

Poem

A few years ago I came across this poem. A must to have in any large project. // // Pointers to pointers to printf()-like functions, // Unary minus and nested conjunctions, // Integers, booleans, characters, strings, // These are a few of my favorite things! // // Encapsuled functions with routines embeded. // Parallel process to run multi-threaded.… Read More »

Compression algorithm

Found an article from May 2007 that haven’t been posted. About time I guess. :) Every now and then I get a bright idea about a new compression algorithm I have to test. Here are results from my latest idea: Debug checksum: 418 Original data: Tedd! Original data length: 5 Compressed data length: 7 Result (non-binary): 418,5,295700136 Time… Read More »

C# Image Analysis (“auto-gaming”) – with source

For the past couple of weeks I have been playing Age of Conan with Sara. I am Weathor, Aquilonian Priest of Mitra. MWAHAHA. :) As always I’m looking for something to tinker with. Just playing the game is not that fun. I’ve been searching for addons for AoC, but I can’t find anything useful. Basically they don’t support… Read More »