http://code.google.com/apis/ajax/
http://code.google.com/apis/ajax/playground/
Wednesday, October 20, 2010
Monday, October 11, 2010
Buddha's gospels
The poor and the lowly, the rich and the high, are all one, and that all casts unite in this religion as do the rivers in the sea
Never in this world does hatred cease by hatred; hatred ceases by love. And ' let a man overcome anger by kindness, evil by good.'
One may overcome a thousand men in battle, but he who conquers himself is the greatest victor.
Not by birth, but by his conduct alone, does a man become a low-caste or a Brahmin ( i think in his sense educated).
Victory breeds hatred, for the conquered is unhappy.
All that we are is the result of what we have thought.
Once, it is said, he took some dry leaves in his hand and asked his favourite disciple, Ananda, to tell him whether there were any other leaves beside those in his hand. Ananda replied: 'The leaves of autumn are falling on all sides, and there are more of them than can be numbered.' Then said the Buddha: 'In like manner I have fiven you a handful of truths, but besides these there are many thousands of other truths, more than can be numbered.'
Reference:
Jawaharlal, Nehru. THE DISCOVERY OF INDIA. centenary. New Delhi: Oxford University Press, 1989. 1-582. Print.
Never in this world does hatred cease by hatred; hatred ceases by love. And ' let a man overcome anger by kindness, evil by good.'
One may overcome a thousand men in battle, but he who conquers himself is the greatest victor.
Not by birth, but by his conduct alone, does a man become a low-caste or a Brahmin ( i think in his sense educated).
Victory breeds hatred, for the conquered is unhappy.
All that we are is the result of what we have thought.
Once, it is said, he took some dry leaves in his hand and asked his favourite disciple, Ananda, to tell him whether there were any other leaves beside those in his hand. Ananda replied: 'The leaves of autumn are falling on all sides, and there are more of them than can be numbered.' Then said the Buddha: 'In like manner I have fiven you a handful of truths, but besides these there are many thousands of other truths, more than can be numbered.'
Reference:
Jawaharlal, Nehru. THE DISCOVERY OF INDIA. centenary. New Delhi: Oxford University Press, 1989. 1-582. Print.
Friday, October 8, 2010
Calculating Time in milliseconds, in java
long start = System.currentTimeMillis();
float elapsedTimeMillis;
float elapsedTimeMillis;
Put the code here
elapsedTimeMillis = (System.currentTimeMillis()-start);
elapsedTimeMillis =elapsedTimeMillis/1000;
System.out.println("getting xml rowset"+elapsedTimeMillis);
Subscribe to:
Posts (Atom)