KDocker 5.2 Released

This isn't a huge release but includes a very nice new feature. Lock to desktop! This will force the an application to always open on same desktop (when using multiple desktop workspaces) that it was originally docked on. The default behavior is to still to open on the current desktop. The source code for this … Continue reading KDocker 5.2 Released

Quicksort in C

Introduction Quicksort is one of the most common sorting algorithms and one of the most efficient. It's so common that it's part of C89. That said, it's still good to know how it works, its strengths, and it's weaknesses. It takes as a divide and conquer approach to sorting. An element is selected as a … Continue reading Quicksort in C

Byte Swapping in C

Introduction Some times you need to swap bytes. Sometimes you don't. But right now we do. Well, we don't but if we were implementing some sorting functions we'd need a good swap function. Sorting typically doesn't move pointers around, instead it moves the bytes pointed to by the pointer. Generic Swap We only want to … Continue reading Byte Swapping in C