14 07 2008

(Dedicated to Kavitha, who has kept on poking me to write a non-technical post)

Perched at queer angle upon your faithful chair.
Working away through the wee hours of the night.
Pumped by the loud stereo music, air guitaring as you see fit.
Taking the lights and sounds for granted.


You hear the faint pitter-patter of the rain.
The hurr of the machine world fades away.
Sounds taken for granted, the background buzz of your life.
The lonely night greets you to partake in its silence.

You can’t make a sound. You can’t strike a match.
You can’t ruin the night.

The window opens, smell the freshness of a rainy night.
That wonderful dusty odour tingles your senses.
You hear that odd dog bark.
You hear that odd truck slosh somewhere in the abyss.

You can’t make a sound. You can’t strike a match.
You can’t ruin the night.

Thoughts flow unbidden into your head.
You can’t filter them, you can’t categorize them.
Mentally, you stand back and watch the chaos of your mind.
occupy this new found vaccum.

You can’t make a sound. You can’t strike a match.
You can’t ruin the night.

The hurr begins again, the lights flash back on.
You are blinded by the light.
The sounds hit you from every side, obtrusive and repulsive.
The night is dead. Long live the night.

anjuta-gvim Preview

11 07 2008

I closed some big bad bugs yesterday, and managed to get a whole workflow (open a bunch of files, edit, save, close) working without any glitchy-ness. Most of the time. And while I’m no where near the quality required to ship this plugin, it feels great all the same.

A phenomenally boring Youtube screencast:

Read the rest of this entry »


6 07 2008

QuickSort. It’s widely accepted as the fastest generic sorting algorithm around. It’s also very simple. A comment in the last article showed me this Haskell beauty:

qsort []     = []
qsort (x:xs) = qsort (filter (< x) xs) ++ [x] ++ qsort (filter (>= x) xs)

While my C implementations aren’t any where as beautiful, I’m quite satified with their efficiencies. I’ll keep the code to a minimum, and the let the graphs do the talking.

Read the rest of this entry »

Mergesort. Dissected.

4 07 2008

(Note: All code in this under the WTFPL [0]. Except possibly for Stepane Delcroix’s adapted code, which is under the MIT/X11 license)

Very recently, I decided to spend some time coding those standard algorithms that every programmer should know, but I am woefully ignorant of. The plan was to do an algorithm a day. Unfortunately, yesterday night, I started on the Merge sort algorithm, and I found some ancient bash script I wrote to profile and graph the running time of some other sorts (i.e. the bubble sort). Which led to me spending precious time playing around with gnuplot and various program parameters. Expect graphs. Lots of them.

Read the rest of this entry »

Maintainers, I Salute You!

22 06 2008

For most of this past week, I have played the role of a maintainer for an obscure part of our college’s technical festival, Shaastra’s [1], website. I now respect the terribly difficult job a maintainer has to do. I also think I qualify as the worst maintainer ever.
Read the rest of this entry »

GSoC India Delhi Meetup

12 06 2008

So I’m a week late. Shoot me.

Well, 7 of the supposed 71 of us turned up to an informal meeting in Delhi. It wasn’t one of those Google office meetups, just one of those “let’s get together so we can make better jabs at each other on IRC”-type meetups. And to that effect it was awesome.

Read the rest of this entry »

Vim. Other Editors Don’t Do Such Things

1 06 2008

I’ve been making some progress on my Anjuta-Vim Integration project, infact, I even have screenshots 🙂 [1]. But that’s very deceptive, notice the (null) ((null)) on the window title. Essentially, I’ve written an AnjutaPlugin that implements the necessary interfaces to “open files”. Currently all my interface implementation functions are returning NULL’s or 0’s (which can cause unpredictable segfaults and  memdumps), and that brings me to the real challenge of my GSoC project.
Read the rest of this entry »