Category Archives: Tips

Should I defrag my SSD?

The answer is: “Yes!” and “No, never!” or somewhere between. SSD disks has overcome the physical limitations of traditional harddisks. It is actually not a harddisk any more because it doesn’t have a disk. Traditionally when you access a fragmented file the data is scattered around on the disk so the read heads has to… Read More »

.Net GUI thread crossing

In this article I thought I’d try to explain the exception: Cross-thread operation not valid: Control ‘someControl’ accessed from a thread other than the thread it was created on. This article is a simplification and applies to WinForm and WPF (though samples are for WinForm). What is the GUI thread? When an application starts the… Read More »

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… Read More »

Slow YouTube

For the past 12-18 months YouTube has been slowing down dramatically for me. Around 18:00 I have to pause videos to let them download ahead, and around 20:00 there is no point in even trying. So I ran some speed tests that showed my ISP (www.get.no) to be throttling the bandwidth for YouTube. I’m not… Read More »