Tuesday, December 13, 2005

How complex is Dharma?

On March 23, 1994 the medical examiner viewed the body of Ronald Opus and concluded that he died from a shotgun wound to the head. Mr. Opus had jumped from the top of a ten-story building intending to commit suicide. He left a note to the effect indicating his despondency .As he fell past the ninth floor his life was interrupted by a shotgun blast passing through a window, which killed him instantly.

Neither the shooter nor the deceased was aware that a safety net had been installed just below the eighth floor level to protect some building workers and that Ronald Opus would not have been able to complete his suicide the way he had planned. "Ordinarily," Dr Mills continued, "A person, who sets out to commit suicide and ultimately succeeds, even though the mechanism might not be what he intended, is still defined as committing suicide." That Mr. Opus was shot on the way to certain death, but probably would not have been successful because of the safety net, caused the medical examiner to feel that he had a homicide on his hands.

In the room on the ninth floor, where the shotgun blast emanated, was occupied by an elderly man and his wife. They were arguing vigorously and he was threatening her with a shotgun. The man was so upset that when he pulled the trigger he completely missed his wife and the pellets went through the window striking Mr. Opus. When one intends to kill subject "A" but kills subject "B" in the attempt, one is guilty of the murder of subject "B".

When confronted with the murder charge the old man and his wife were both adamant and both said that they thought the shotgun was unloaded. The old man said it was a long-standing habit to threaten his wife with the unloaded shotgun. He had no intention to murder her. Therefore the killing of Mr. Opus appeared to be an accident; that is, if the gun had been accidentally loaded. The continuing investigation turned up a witness who saw the old couple's son loading the shotgun about six weeks prior to the fatal accident. It transpired that the old lady had cut off her son's financial support and the son, knowing the propensity of his father to use the shotgun threateningly, loaded the gun with the expectation that his father would shoot his mother.Since the loader of the gun was aware of this, he was guilty of the murder even though he didn't actually pull the trigger. The case now becomes one of murder on the part of the son for the death of Ronald Opus.

Now comes the exquisite twist.

Further investigation revealed hat the son was, in fact, Ronald Opus. He had become increasingly despondent over the failure of his attempt to engineer his mother’s murder. This led him to jump off the ten-story building on March 23rd, only to be killed by a shotgun blast passing through the ninth story window. The son had actually murdered himself, so the medical examiner closed the case as a suicide.

Many people give one simple scenario to me, and ask me, what the punishment krishna would give for that. I feel it is ridiculous. Because, we cannot decide everything based on just one or two incidents. We have to trace to the root problem, and have to rectify. I am not saying whether this story is true or not. But, this is one good example to say that, there are hundreds of unknown things that can cause one simple problem.

Tuesday, November 08, 2005

Replaced IIS by Apache

I was using JRun with IIS, and IIS (+ some other crappy windows software) crashed on my machine. Only reinstalling Windows XP solves the problem. I installed Apache, and integrated with JRun, and it is much more comfortable than IIS, and I don't need to reinstall crappy windows operating system.

Friday, November 04, 2005

Operating Systems

Few operating systems.

Great Solaris
Pretty Mandrake
Powerful Redhat
Simple Suse
Super Debian
Crappy Windows

I have to reinstall my Windows XP operating system because of a problem in IIS.

Wednesday, October 26, 2005

GVim Rocks

I always knew that VIM is a very very powerful editor than all the present non-opensource editors. But, I was using crimson editor (freeware), and before that I used editplus (shareware), because, I could not figure out one feature in gvim. That feature is, to open all the files in a single window with different tabs. Today, I figured out that feature, and it is really nice.

There is one script (minibufexpl.vim), which you can get from the following website.


You just need to put this file in plugins directory in your vim installation directory. Now, if you open any file from gvim, it would be opened in the same window in different tab.

If you press, Ctrl+TAB, it will take you to tabbed pane, and there by pressing TAB, you can move from one file to another, and if you press Enter, that file would be loaded.

If you are using this script, you cannot use :q to close one file. If you use :q first time, it will close the tabbed pane. If you use :q second time, it will close all the files, and gvim window. To close one file, goto tabbed pane by Ctrl+TAB, and then goto corresponding file by TAB, and press d. It will close that file.

By mistake, if you close the tabbed pane, you can get it by :MiniBufExplorer

The next problem was, if you open a file from explorer, I want to open that file in the window that is already opened. The solution for this problem is also very simple.
In windows explorer, Tools -> Folder Options -> File Types, select the extension of the file, and in the action, type this.

c:\Software\vim\vim63\gvim.exe --remote-silent "%1"

Of course, you have to change the path of the gvim.exe.

Then, it will open in the same window that was already opened.

There is another tip that I found today. If you put the cursor on a word, and press "*", then it will search for that word. It will also highlight the words. This is same as highlight words in eclipse or idea.

You can get many of the tips at


Use GVim, and increase your productivity.


If you are using GVIM 7.0 or latest version, you can use the command gvim.exe --remote-tab-silent "%1". Starting VIM 7.0, the tabs are in-built.

Monday, October 17, 2005

Installed cygwin

After so much frustration with windows, Atlast, I installed cygwin on my machine. I did not realize the power of cygwin till now. It was because, I was using the very old cygwin that everybody uses in my company. I started playing games like typespeed, which is really cool text based game. I remember my days in IIT Bombay, where I used to play these games a lot.

You can get cygwin from http://www.cygwin.com/
If you are using windows, and eventually want to move to linux, then you should start using this.

Saturday, October 15, 2005

Hare Krishna

Hare Krishna Hare Krishna Krishna Krishna Hare Hare
Hare Rama Hare Rama Rama Rama Hare Hare