Friday, January 23, 2009


It's Jan 23, 2009. It's been 23 years of travel through this strange loop.

Thursday, January 22, 2009

Does god exist?

Yes, God exists in minds of people. Then you may ask does it exist in reality? Take a look at this quote from "The Matrix".

"If real is what you can feel, smell, taste and see, then 'real' is simply electrical signals interpreted by your brain."

Well, real seems so un-real now. doesn't it? :-)

The most "real" place anything can exist is someone's mind. Since God exists in many (many!!!) minds. It should be more real than you or me.

Neo: I thought it wasn't real
Morpheus: Your mind makes it real
" - From 'The Matrix'

Friday, January 16, 2009

"I don't know"

still remains one of the hardest things for me to say.

Thursday, January 8, 2009

Emacs - customizing code indentation

In code editors with automatic indenting, we can normally customize the indentation by setting up variables. Say, "indent-space" which is an integer which determines how many spaces should be inserted from current indentation level for a nested block. It usually takes a long time to find out the name of the appropriate variable (which involves searching through a list of 1000 variables). Emacs takes a different, highly interactive approach.

The code indentation engine in Emacs works with "syntactic symbols". When you type code in emacs type "C-c C-s". The minibuffer will show the syntactic symbol near point. Now type "C-c C-o" this will ask for a syntactic symbol that you want to customize (By default it shows the one near point). Here you can select the number of spaces Emacs should use to indent this particular syntactic symbol.

For ex:-

{ /* type C-c C-s here, minibuffer will show defun-open, typing C-c C-o now
will allow you to set the number of spaces Emacs should insert for a brace
starting a function definition */

PS:- A point means the position at which the cursor is in.

Wednesday, January 7, 2009

Using Emacs CVS commands

This tutorial is for us (really lazy Emacs users) who hate to get out of Emacs for those boring CVS tasks (checkout, commit...).

From shell (or if you've started Emacs and don't want to get out of Emacs try 'M-x shell')

1) Set the environment variable CVSROOT
2) Login to CVS
3) Start Emacs if you haven't already (and don't bother getting out)

Whenever I say something like go to the file and type x to do some CVS action. It means go to the line for that particular file in *cvs* buffer.

The first thing we've got to do is to checkout a repository so that we can work on it. The Emacs command for that is 'M-x cvs-checkout'. Emacs will prompt you for the name of the module (In some future version, there'll be some command 'M-x cvs-checkout-mindread' that will read your mind and figure out the module). After checking out, a *cvs* buffer will pop up showing the list of files downloaded.

If you want to edit a file, go to that file and type 'o'. After hours of typing away if you want to know the status of files, go to *cvs* and do 'M-x cvs-status'. This will show you which files were modified after checkout. If you want to find out what modifications you have made to a particular file, go to that file and type '='.

And finally when it's time to commit
'M-x cvs-do-commit'
Emacs will prompt you for a commit message. After typing it in do 'C-c C-c' to commit.

Not very relevant but you may find this useful

'C-u n C-x ^' to increase the size of a window by n lines. This is very useful for increasing the size of the window you are editing in (as you may want to keep *cvs* window small).


The name of the most popular bug-tracking system is bugzilla. Bugzilla translates into "no bugs" in malayalam (bugs-illa). ;-P

Tuesday, January 6, 2009


Being simple is extremely difficult.

Saturday, January 3, 2009

X'mas n 2009

Now @ office waiting for my friend to finish his "Bug fixing" activity. So thought I would blog about things I did for X'mas and New year (which almost every time sums up to sleeping, sleeping and more sleeping.., but not this time).

This X'mas I (actually we pullazhians [would need to start another blog to describe all of them:)]) had my X'mas wine 'n' cake at Shine 'n' Sherine's (pullazhians, ofcourse). Then on 26th (or is it 27th, man.., I have poor memory) we went to Athirapilly, Vazhachal, and some other dam on the way. The tour was fun and *free* (as in free beer) as one of our pullazhians's father works in forest department. We were 8 (me, raseel, vc, hiranchettan, kuttan, kunku, shine, and sherine) in 2 cars (raseel's and kunku's). The tour was fun (I was assigned to the job of taking snaps of all the cool things they do :)), security shouting at me for going too near the waterfall, shine stepping on crap...(sorry dude).

And guess what I did on New year's....

slept from 9 to 7 (C'mon, I was tired after all the action).

With that, a belated Happy New Year to all my readers, keep smiling :-)...

Google is insane!!!

Just started using google reader for my favourite blogs. And when I started checking the "recommended links" section. Obviously it matches my profile with other bloggers's profile to "recommend" links. And these are the links that showed up

Three of those links were blogs of my college-mates

Life Revisited
Cool Raindrops
Free as in freedom...not as in free beer...

and the other one was that of "malayalam reality shows" or something like that.... thankfully, there is a "No thanks" link for it.

PS: Sorry for the title, Google. I love google (we all do).