Posts tagged ‘Linux’

C++ Recursive Directory Search Under Linux

I was trying to search for some code examples on how to do a recursive directory search under Linux using C++ the other day. But to my surprise, I could not find any place that offers a complete example. So I decided to post my code here after I created my own and hopefully you will find it helpful. Continue reading ‘C++ Recursive Directory Search Under Linux’ »

Timing Methods in C++ Under Linux

Measuring the execution time for code sections can be done in multiple ways in C++. Except for the time resolution issue, different timing methods worked relatively the same in single processor environment. As multi-core processors become more prevalent however, we need to be careful at choosing the correct timing mechanism as not all such routines measure the wall time elapsed. Continue reading ‘Timing Methods in C++ Under Linux’ »

On Default Linux IO Priority

If there is any thing I think Linux distributions can definitely improve upon is to reduce the default IO task priorities while running a Windows manager (e.g. GNOME or KDE). Continue reading ‘On Default Linux IO Priority’ »

An Image Class Based On IPP

A couple of weeks ago, I wrote about how to interface Integrated Performance Primitives (IPP) with Magick++. While IPP offers excellent performance advantages, it does not come with the easiest programming model. Fortunately, it is easy enough to create a C++ wrapper on top of IPP and provide an easier to use programming interface. Continue reading ‘An Image Class Based On IPP’ »

The Obstacles to Linux Going Mainstream

It was almost one year ago when I switched my main home computer to Linux. Since then, I have been using my Ubuntu 8.04 installation daily and have not found the need to boot up Windows at all. Continue reading ‘The Obstacles to Linux Going Mainstream’ »

On The Origin of Linux

I stumbled upon this Linus video about the origin of Linux on YouTube the other day. I think this is such an excellent video that you should definitely take a look, whether you are a Linux fan or not and whatever your impression of Linus is (I think a lot of people only know him by a few quotes and not necessarily understand his philosophies.). Continue reading ‘On The Origin of Linux’ »

MIDI Setup with OSS and ALSA

Setting up the hardware environment to support MIDI devices is relatively easy. in fact, most newer MIDI devices do not rely on the old sound card game port and adding a MIDI device is just like adding an external hard drive. The reason I had to resort to a dual sound card setup is because my MIDI keyboard (MK-4903) is more than ten years old and it only has a game port interface. Continue reading ‘MIDI Setup with OSS and ALSA’ »

Olympics, Linux

I have to admit, not being able to watch Olympics on Linux is truly disappointing (I,II). Continue reading ‘Olympics, Linux’ »

Linux Only, Two Months Later

Since I built my new PC roughly two months ago, I have been running Linux (Ubuntu 8.04 64 bit) as my primary operating system, and I have not looked back. Continue reading ‘Linux Only, Two Months Later’ »

Hello Hardy Heron

After building my new quad-core computer (1, 2, 3), it was time for me to choose an operating system. Continue reading ‘Hello Hardy Heron’ »

NTFS Partition Recovery With Linux

Over the years, I have formed the habit of keeping an up-to-date backup copy of all my critical data on a regular basis. Continue reading ‘NTFS Partition Recovery With Linux’ »

GRUB Error 17, LILO Rules

Ubuntu and OpenSUSE have been my top choices of Linux distros over the years. Continue reading ‘GRUB Error 17, LILO Rules’ »