The main thread name and process name are the same thing on Linux!

On typical days, we software engineers are usually stuck due to head scratching bugs, instead of actually writing interesting software. I had made some small changes and suddenly our end-to-end tests were timing out, with no useful clues. The harness emits a crazy number of log lines, so digging through them was difficult. Fortunately, the problem was easily reproduceable on a local VM and with some piecemeal commenting I was able to isolate it to changing the thread name of the main thread, that I had done for some debugging information.

Linux Application Container Fundamentals

At my current job, I spend a lot of time coaxing Docker to run containers while trying to avoid network failures, Docker bugs and kernel reference count issues. Recently, I’ve gotten into reading about how Docker and other containerization software is implemented under the hood. This is a write-up of my exploration and experiments looking at how container runtimes are implemented. Nothing in this essay is original, but I hope it helps some people.

A poor man's Notational Velocity on Linux

I use Notational Velocity on my Mac all the time. It holds all my notes, lists and any other snippet of text. I love the interface and simplicity, and most of all I love the simple use of text files in Dropbox as a store. This way I can access my notes anywhere, without needing NV to be installed. I also love the global key binding feature so that I can quickly raise it with Cmd+Shift+N.


Inspired by The Setup and Pratul’s post, here is how I ‘get my work done’. Hardware I currently use a four-core i7 15" Macbook Pro with 8GB of RAM and a 500GB HDD. I love it. For backups I have a Western Digital 160GB hard drive. I use cheap Skullcandy earphones when I need them (I usually prefer speakers). Operating System I used to be on Arch Linux until I got the MBP.

Installing Arch linux on the HP DV6910TX

This is a record of my attempt to put Arch (2008.06 Core Dump) on the HP DV6910TX. Here is my system configuration Intel Core 2 Duo T5750 @ 2.00GHzRam : 3GBNvidia GeForce 8400M GS with 256Mb dedicated memory320Gb harddiskPartitioning Here was my original partitioning scheme: C: 308GbD: (Recovery) ~10Gb Make sure you create your HP Recovery Discs first! Since the arch install CD doesn't have ntfsprogs ( it has the packages, but not as part of the setup boot ), I booted from dreamlinux (you can use any liveCD) and used ntfsresize to shrink the C: (/dev/sda1) to 35Gb.

The problem isn't the community, its the people

After reading Five crucial things the Linux community doesn't understand about the average computer user I have a point myself. FIrst of all I disagreed with most of his points. Second of all the only aim of the Linux community is NOT world domination. Sure we would love more Linux users, and more Non-Microsoft users. But not at the expense of user stupidity. Here are my two cents on why people don't want to change to Linux ( or anything new ).

Microsoft's unwinnable war

RoughlyDrafted has this absolutely amazing article about why Microsoft is fighting an unwinnable war against Open Source and FOSS. A must read for anyone. It was really well thought out and presented

Downloading Kubuntu

For the last 3 days I have been downloading Kubuntu and now there are about 5 hours left. There are 2 reasons why I want to try out Kubuntu. I am always looking for new distros to install on my spare partition.I am hoping that the new X server and *buntu's good hardware support means that my widescreen monitor will work at its default resolution of 1440x900.So I will do a small review tomorrow.

Dream Linux 2.2

The February issue of LinuxForYou included Dream Linux 2.2. The LiveCD booted really fast in comparison to other distros, perhaps because it uses a light XFCE environment. But for its weight it sure looks amazing! A highly Macish look and feel with Engage completing the Dock. The applications installed are also a good mix of commonly used to niche ones. Overall I found Dream had taken the good points of quite a number of distros, put together a nice control panel and easy installer.

Beryl Screenshots

Here are some screenshots of my computer running Beryl. The customary Cube: Windows can be made to look like a negative(Konqueror here) and so can the complete desktopHave too many windows and don't want to Alt+Tab, get a view of all the windows on all desktops or on current desktop depending on which screen edge you take the mouse too(configurable) Transparency. The Konqueror window on top is partially transparent(Alt + mouse scroll) and shows the blogger window beneath

Beryl is AMAZING!

I have got Beryl working with AIGLX and all its cool effects on an i845 and 256mb ram with almost no difference in performance than non beryl. This is absolutely amazing. The beryl devs are really great. Compiz used to be really slow. Now I can finally have all this eye candy on all the time.