Thursday, January 31, 2008

Vanishing NEWS

Cat Vanish in Magic ....
Rat Vanish in Magic ....

Goat Vanish in Magic ....
Boat Vanish in Magic ....

Even, Taj Mahal Vanish in Magic ....

But, NEWS Vanish in Real-life ....

Wednesday, January 23, 2008

Knuth and Turing

Most of the Software Engineers don't know who is Donald Knuth and Turing. Oh ... God, have pity on them.

Last week on 10-Jan-08, I thought of writing an article about D.E.Knuth, who is one of my guru. Don't ask me whether I have read and understood any of his books, I was able to completely able to read and understand any of his books.

D.E.Knuth is one of the greatest Computer Scientist alive. He is the famous author of the famous book "The Art of Computer Programming". One of my life-time goal is to read his books and understand what is in it.

He is called as the father of "Algorithm Analysis". In 1971, Knuth was the recipient of the first ACM Grace Murray Hopper Award. He has received various other awards including the Turing Award, the National Medal of Science, the John von Neumann Medal and the Kyoto Prize(noble prize in Japan).

-- I will write about Alan Turing on some other day.

Ayn Rand's Principle

"You must be the kind of man who can get things done. But to get things done, you must love the doing, not the secondary consequences."
-- Ayn Rand

Contradictions do not exist. Whenever you think you are facing a contradiction, check your premises. You will find that one of them is wrong.
-- Ayn Rand

Evil requires the sanction of the victim.
-- Ayn Rand

Happiness is that state of consciousness which proceeds from the achievement of one's values.
-- Ayn Rand


The purpose of morality is to teach you, not to suffer and die, but to enjoy yourself and live.
-- Ayn Rand

The truth is not for all men, but only for those who seek it.
-- Ayn Rand

When I die, I hope to go to Heaven, whatever the Hell that is.
-- Ayn Rand

Tuesday, January 22, 2008

A simple fact abt Arrays

Consider the following array:

int a[5]={1, 2, 3, 4, 5};

a[i] == * (a + i)

* (a + i) == * (i + a)

* (i + a) = i[a]

yes, a[i] == i[a], both are same.

In this example 'a' is not a pointer the array. 'a' is just a value or constant. A pointer is an Variable, it means it's value can be modified.

'a' is a pointer constant, it is an address. That's why you can't put 'a' in the left hand side of the equation. 'a' is not an L-value.

Thursday, January 17, 2008

Short, But Sweet

I've read lot of books ranging from Any Rand to P.G.Wodehouse. But there are very few books which are very Short But Sweet:

Here is my list:
* Anthem by Ayn Rand
* Jonathan Livingston Seagull by Richard Bach
* Eaters of the Dead (Michael Crichton)
* Who Moved My Cheese
* Fish Tales
* Alchemist (I love this)