Archive for the ‘Linux/BSD’ Category.

Weekend Ubuntu Upgrade

Karmic Koala was released into the wild last Thursday, so naturally I was going to upgrade my desktop installations at home. In this past I had been doing fresh installs whenever there was a new release, since there might be some issues with the new Ext4 file system, I decided to upgrade my current 9.04 installation in place and perform a fresh installation when the Ext4 file system stabilizes. Continue reading ‘Weekend Ubuntu Upgrade’ »

Windows Administrative Share With Samba

In a heterogeneous computing environment (e.g. Linux and Windows), it is necessary to use Samba to share files between the Linux systems and Windows systems. Due to the security enhancements in Windows XP SP2 and above however, the administrative share access (e.g. \\{computer name}\c$ is disabled by default. Continue reading ‘Windows Administrative Share With Samba’ »

Monodevelop on Ubuntu 9.04

I am running Ubuntu 9.04 64bit. One thing I noticed is that the integrated debugger is behaving quite flaky for the included Monodevelop 2.0 package. After some research, it turned out that a lot of people are having similar issues. Continue reading ‘Monodevelop on Ubuntu 9.04’ »

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’ »

Ubuntu 9.04 on My Main PC

Last month,I upgraded one of my PCs from Ubuntu 8.10 to Ubuntu 9.04 and everything went rather smoothly. Since my main PC is running Ubuntu 8.04 (LTS) and there is no option to upgrade to 9.04 directly without going through 8.10, so I decided to try a fresh installation. Continue reading ‘Ubuntu 9.04 on My Main PC’ »

Canny Edge Detection Auto Thresholding

In the example I gave in “Interfacing IPP with Magick++“, I illustrated how to use Intel’s Integrated Performance Primitives (IPP) to perform edge detection. One issue with Canny edge detection algorithm is that we need to specify a high threshold and a low threshold. How to select those threshold values affect the quality of the detected edge greatly. And in my previous example, the threshold values were chosen manually. In this blog post, I will examine a couple of simple methods that can be used to automatically determine the threshold values. Continue reading ‘Canny Edge Detection Auto Thresholding’ »

Kubuntu 9.04 Test Drive

I was traditionally a KDE user till KDE 4.0 came along. While many users are excited about many of the new features (e.g. Widgets) added in KDE 4, I am simply no big fan of fancy user interfaces. So I have been using GNOME ever since. Of course the beauty of Linux is that running one windows manager does not prevent you from running applications native to another windows manager. Continue reading ‘Kubuntu 9.04 Test Drive’ »

The Jaunty Jackalope

Without much fanfare, Ubuntu 9.04 (Jaunty Jackalope) was released into the wild earlier today. But Ubuntu followers are wasting no time, overloading many of the official downloading sites. Continue reading ‘The Jaunty Jackalope’ »

C++ IDEs Under Linux

So far I have been mainly using KDevelop and Code::Blocks as my C++ development IDEs. Recently, I started using NetBeans IDE for C++ and I started to like it quite a bit. Continue reading ‘C++ IDEs Under Linux’ »

How to Revert to a Specific SVN Version of Code::Blocks

I had set up my apt-get source to use latest SVN build of Code::Blocks. Everything has been running pretty smoothly until a couple of days ago when Code::Blocks was updated to SVN 5534. Continue reading ‘How to Revert to a Specific SVN Version of Code::Blocks’ »

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’ »