Category Archives: Work

Apache WebDAV setup compatible with Windows

Windows supports mounting WebDAV shares as drives. WebDAV is a HTTP protocol for file access used by for example SharePoint.

It does however not support basic auth by default (basic auth sends password in cleartext, which is bad). It took me some troubleshooting to figure it out so I thought I’d share my results. You’ll probably need… Read More »

IE favorites, NTFS symbolic links and Dropbox

NTFS symlinks Well-known to *nix-users, unknown to most Windows-users. A file or folder can exist in more than one place, meaning the file is stored once to disk, but can have two different names on different locations. If you change it one place the change happens to the other place. I won’t bother going into details, but in… Read More »

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

Switching from HDD to SSD

A couple of days ago I bought a 60GB SSD disk for my primary computer (home desktop). It made a world of difference. I thought I’d share some info on how disks works and what the differences are. The aim is to keep this post at a level where people with a medium understanding of computers and hardware… 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 main thread is… 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 to 0 (zero).… Read More »