Friday, September 25, 2009

The daily decalogue of Pope John XXIII

The daily decalogue of Pope John XXIII

1) Only for today, I will seek to live the livelong day positively without wishing to solve the problems of my life all at once.

2) Only for today, I will take the greatest care of my appearance: I will dress modestly; I will not raise my voice; I will be courteous in my behaviour; I will not criticize anyone; I will not claim to improve or to discipline anyone except myself.

3) Only for today, I will be happy in the certainty that I was created to be happy, not only in the other world but also in this one.

4) Only for today, I will adapt to circumstances, without requiring all circumstances to be adapted to my own wishes.

5) Only for today, I will devote 10 minutes of my time to some good reading, remembering that just as food is necessary to the life of the body, so good reading is necessary to the life of the soul.

6) Only for today, I will do one good deed and not tell anyone about it.

7) Only for today, I will do at least one thing I do not like doing; and if my feelings are hurt, I will make sure that no one notices.

8) Only for today, I will make a plan for myself: I may not follow it to the letter, but I will make it. And I will be on guard against two evils: hastiness and indecision.

9) Only for today, I will firmly believe, despite appearances, that the good Providence of God cares for me as no one else who exists in this world.

10) Only for today, I will have no fears. In particular, I will not be afraid to enjoy what is beautiful and to believe in goodness. Indeed, for 12 hours I can certainly do what might cause me consternation were I to believe I had to do it all my life.

Tuesday, September 22, 2009

The Living Flame of Love


The Living Flame Of Love




1. O living flame of love
that tenderly wounds my soul
in its deepest center! Since
now you are not oppressive,
now consummate! if it be your will:
tear through the veil of this sweet encounter!

2. O sweet cautery,
O delightful wound!
O gentle hand! O delicate touch
that tastes of eternal life
and pays every debt!
In killing you changed death to life.

3. O lamps of fire!
in whose splendors
the deep caverns of feeling,
once obscure and blind,
now give forth, so rarely, so exquisitely,
both warmth and light to their Beloved.

4. How gently and lovingly
you wake in my heart,
where in secret you dwell alone;
and in your sweet breathing,
filled with good and glory,
how tenderly you swell my heart with love.

                         - St.John Of the Cross

Monday, July 6, 2009

Running a simple Java Program in PDA

The PDA which im using is Motorola MC55.I was able to run a simple java program successfully after number of attempts.The things which i have done are

1.Check whether IBM J9 is installed or not.If not install.
2.Write java program in any IDE or notepad in your PC. (SamplePDA.java)

import java.awt.*;
public class SamplePDA {


public static void main (String [] args) {

Frame frame = new Frame ("Main Screen");
Label jl = new Label("My First PDA program..");

frame.add(jl);
frame.setSize(180,80);
frame.setVisible(true);

System.out.println("My First PDA Program..");
}

}

3.Compile the program with JDK1.4 or below.

4.Create a jar file with the class file.(SamplePDA.jar)

5.Create a shortcut file.(sample.lnk)

255#"\Program Files\J9\PPRO10\bin\j9.exe" "-jcl:ppro10" -cp \Sample\SamplePDA.jar SamplePDA


6.Sync the PDA and place the jar in particular location you want.I have placed the SamplePDA.jar in Sample folder.

7.Place the shortcut file(sample.lnk)on the start menu,so that we can execute
application from the start menu.

8.Click the shortcut file(sample.lnk) to run the application.

9.Now you will see a Frame displaying "My First PDA program".

When i tried to use Swing components it shown some error.!!!

Thursday, June 25, 2009

Connecting Java to MySql database

This is the first time im trying to connect MySql from Java.I knew very little about MySql.Previously i have used Oracle,MS Access and Sql Server.Following are the things i have done .

1. First i have created a database with a name 'sample'

mysql>create database sample;
mysql>use sample;

2.create a table 'first' with the following fields.

mysql>create table first(id int,name varchar(20));
enter some values, in my case
>insert into first values(1,'Lara');
>insert into first values(2,'Sachin');

Now your database/table is ready.
Im in 'root' user and my password is 'password'.
Before start writing Java code, first get the MySql Connector/J . I have downloaded it from MySql site .Click here
Unzip the folder mysql-connector-java-5.1.7 and check for the jar file mysql-connector-java-5.1.7-bin.jar.Now set this jar file in the classpath.

Setting ClassPath:
Go to Environment Variables in the System Properties.
Select CLASSPATH and click edit.(if there is no classpath variable create one)
in my case i already set one path so what i did was i added a ; and given my new path.

.;C:\Program Files\Java\jre6\lib\ext\QTJava.zip;C:\mysql-connector-java-5.1.7\mysql-connector-java-5.1.7-bin.jar

classpath have been set and now we can write the java code.Below is the sample java code:

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.sql.*;
public class SampleMysql
{
public static void main(String[] args)
{
Connection conn=null;
try {
Class.forName("com.mysql.jdbc.Driver").newInstance();
conn =DriverManager.getConnection("jdbc:mysql://localhost/sample?" +"user=root&password=password");
System.out.println("Connection established...");
Statement stmt = conn.createStatement();
ResultSet rs =stmt.executeQuery("Select id,data from first");
while(rs.next())
{
int id = rs.getInt(1);
String name = rs.getString(2);
System.out.println(" "+id+" "+name);
}
}
catch (Exception ex) {
System.out.println("SQLException: " + ex.getMessage()); }
}
}

After executing the output was:
1 Lara
2 Sachin

Tuesday, March 31, 2009

My Earth Hour

Day:28/march/2009


Even though i knew about Earth Hour before it was only when I saw a advertisement in which the number 60 is designed in globe,under it there was a site url www.earthhour.com i registered myself in that site.In Singapore they organized some events at Esplanade Park.There were some shops/booths like Starbucks,Old Chang Khee,Philips ,ACRES.We took picture in a booth,where they used recycle material for making cards.

The events started at 5 O'Clock but we reached there only around 6,that time there were around 100-200 people sitting around that area. As the sun went down the view of Esplanade,the bridge,UOB buildings was awesome.We walked around the bridge and took some pictures near the famous Merlion. At 8:15 we sat near the stage now the crowd grown around thousand,people started lighting candles.There was a countdown from 5 to 1 at 8:29:50   oops!! Most of the lights of those big buildings including the Esplanade went off.We were sitting in the dark.It was wonderful(!!) to see those buildings without light for an hour.This act has saved atleast some amount of energy.In TamilNadu as per Times Of India report 750MW of power was saved during Earth Hour.
Still we need to do a lot to Save our Planet. Do register in that site and show your support
Check out this video:Earth Hour2009

Monday, March 30, 2009

Installing WEME (IBM WebSphere Everyplace Micro Environment)

Installing IBM WebSohere Everyplace Micro Environment(WEME) on windows Mobile 6.1

1.Sync the PDA (in my case Motorolla MC55) to your PC using Active sync

2.Double click the exe file which you have downloaded from the IBM site

in my case its weme-wm2003-ppr010-5.7.2-p-20050304-1734xxx.exe

3.Select the language

4.Click next and accept the s/w license agreement,then click next.

Now the WEME is installed in your PC, the installer ask you to sync your PDA to install in it.

5.Click Continue
   In the PDA it will ask you where you want to install choose the location and click install. Thats it installation finished.

To check whether its installed correctly, go to Program files ,search for folder with the name J9.then inside j9 i.e J9/PPR010/examples select a file to check whether its working properly.

Friday, March 27, 2009

Formula1

When i was a child i never shown any interest in cars even today i dont have any interest in cars but im always thrilled to read and watch F1 races.Im a supporter of Ferrari (dont know why!) .This year's F1 season starts with this weekend Australian Grand prix on 29th march .Aftet all the drama of rule changes we can sit and enjoy racing.I like Massa to win the Drivers championship.... we will wait and see. Last year i had a chance to see the McLaren F1 car and Mika Hakkinen, i was thrilled to watch him drive the car on the Singapore road.

Ten teams going to fight it out,among them Vijay Mallaya owned Force India also.Hopefully this year they will have some points in the table.


No

Team

Driver 1

Driver 2

1.

Ferrari

Felipe Massa

Kimi Raikkonen

2.

McLaren

Lewis Hamilton

Heikki Kovalainen

3.

BMW Sauber

Robert Kubica

Nick Heidfeld

4.

Renault

Fernando Alonso

Nelson Picquet Jr

5.

Toyota

Jarno Trulli

Timo Glock

6.

Toro Rosso-Ferrari

Sebastien Bourdais

Sebastien Buemi

7.

Red Bull-Renault

Mark Webber

Sebastian Vettel

8.

Williams-Toyota

Nico Roseberg

Kazuki Nagajima

9.

Force India

Adrian Sutil

Giancarlo Fischella

10.

Brawn GP

Jenson Button

Rubens Barrichello


I personally prefers point system to determine the winner.Hopefully in future also they wont change this system.

click here for 2009 F1 calendar


Saturday, March 21, 2009

My Last Three books


1.The Name of the Rose by Umberto Eco


One of the best novels i have ever read.The Story revolves around a monastery and its uniquely designed library.This is the story which brings that period before our eyes.The conversations between the two main characters William the master and Adso his disciple are wonderful.This book is a classic example for semiotics.The plot and the characters are lively.If the reader knows little bit of christianity then it makes even more interesting.

The story is about the murders happening at the monastery which is very famous for its library.The novice monks who are so keen to know the details of library specially the forbidden books are murdered.William, who came to the abbey to make arrangements for the meeting of Papal council and Franciscans, was asked to conduct inquiry by the abbot. How William reveals the murderer is the story of this book...

Read it .. you will definitely enjoy.

2.Turtle Feet by Nikolai Grozni

This book i bought when at the Airport,just by looking at the cover i bought this book. After the mysteries and puzzles of "The name of the rose" this books made me laugh just like that.This book is memoir of the author when he was a Tibetan Buddhist monk.This book describes the life of the author when he decided to become a monk.The author vividly describes the life of Tibetans at Dharmasala and its surroundings.

I liked the part in which the author shares his room with his friends Czar and others. Czar was a free man, in fact as im reading i had a strong feelings of Czar's character occupying me...little.
The escape plan of Czar was so funny you cant stop laughing for some days... As for the spiritual aspects there are so many things in this book.

Read it for fun...

3.White man Falling by Mike Stocks


This is a different genre .. simply fun,fun and more fun.This book won "Gosh First Novel Award" really worthy of it. This book i bought along with the previous book"Turtle Feet".
The reason why i bought this book was that the story is around Madurai and Tamilnadu.

The story is about Mr.Swaminathan,retired police officer and his town Mullaiapuram. The author brings the exact middle class Tamil family behaviors .Hilarious .. fun..
when im reading the book i thought if i take this novel as a motion picture i would cast Tamil actors "Delli Ganesh' as Mr.Swami,Sachhu as Amma,Nagesh as DDR,Thiagu as Abu,Metti oli villain Aathi as Mohan,any heroine as Jodhi.
This author has written many poems also.

Fun,Hilarious .....

Wednesday, March 18, 2009

Steve Bucknor - The "Slow Death"

I watched Steve Bucknor during the 1992 World Cup,Australia from that time onwards i have some sort of a likeness towards his personality both on and off the field. He and Shepherd are the two old fashioned umpires who always believed in their own judgment. Indians have a different look on him since he gave few wrong verdicts against them.The one wrong verdict which i considered worst by Bucknor was the LBW decision against Sachin in Australia.

He is referred as Slow Death Bucknor because of his way of giving out.He used to take lot of time to decide, his typical slow reaction will stay in my memory forever.

He told once "I have made mistakes and this is a part of life,How you see things at that time, you rule on it. So I do not regret making mistakes because if I regret making mistakes then I am going to regret being a human being." another time "I believe if you are correct 95% of the time it's seen to be okay, which means 19 out of 20 correct. So you try your best to be correct every time. But there are times when things happen that you don't see, you don't know, and mistakes are made."


Umpiring is a tough job that too in this technological world.we have all the replies ,slow motion,tracker everything,so as a viewer we tend to judge everything most of the time correctly also.Bucknor told "Even commentators who think that they know so much about cricket, they are so critical of umpires. Some of them [say], no that is wrong, but this is after they have seen 10 replays. The job is a difficult one, and sometimes made more difficult by the comments from these personalities on television and radio." I dont think technology can replace an on-field umpires any time soon.we have to respect the umpires decisions.

The three umpires i like most are Shepherd,Bucknor and Simon Toufel. Shepherd retired some years ago.now its the time for Bucknor join his friend.


Bucknor's last Test match as umpire will be at Capetown,Australia Vs South Africa and his last Limited Over International will be at Carribean Islands on March 27&29,WestIndies Vs England.

Have a great retired life Mr.Bucknor!!

for his profile:http://content.cricinfo.com/ci/content/player/51237.html

Officiated : 128 tests

Some of his favorites:
Batsman : Viv Richards
Ground :Lords
Bowlers :Shane warne,McGrath and Ambrose
Colleague:Shepherd

Thursday, March 12, 2009

Tamil Kavithaigal

As Im reading so many Tamil blogs lately,i came across these 2 poems which i liked so much.

இரண்டாவது சூரிய உதயம்

அன்றைக்குக் காற்றே இல்லை
அலைகளும் எழாது செத்துப்போயிற்று
கடல்
மணலில் கால் புதைத்தல் என
நடந்து வருகையில்
மறுபடியும் ஒரு சூரிய உதயம்
இம்முறை தெற்கிலே

என்ன நிகழ்ந்தது?
எனது நகரம் எரிக்கப்பட்டது
எனது மக்கள் முகங்களை இழந்தனர்
எனது நிலம் எனது காற்று
எல்லாவற்றிலும்
அன்னியப் பதிவு.

கைகளை பின்புறம் இறுக்கிக்கட்டி
யாருக்காகக் காத்திருந்தீர்கள்?
முகில்களின் மீது நெருப்பு
தன் சேதியை எழுதியாயிற்று
இனியும் யார் காத்துள்ளனர்?

சாம்பல் பூத்த தெருக்களில் இருந்து
எழுந்து வருக

-- Cheran

-----------------------

அடையாளம்

பிறந்த வீட்டில்
கறுப்பி

அண்டைநாட்டில்
சிலோன் அகதிப்பொண்ணு

இலங்கையர் மத்தியில்
‘தெமள’

வடக்கில்
கிழக்கச்சி

மீன்பாடும் கிழக்கில்
நானொரு மலைக்காரி

மலையில்
மூதூர் காரியாக்கும்

ஆதிக்குடிகளிடம்
திருடப்பட்ட தீவாக இருக்கும்
என் புகுந்த நாட்டில்
அப்பாடா
பழையபடி நானொரு கறுப்பியானேன்.

--ஆழியாள் கவிதைகள்

-----------------------------------