The Answer to Life, the Universe, and Everything

Tuesday, October 10, 2006

Gilbert O'Sullivan

I love the songs of Gilbert O'Sullivan. This is the ones that I like.


Clair, the moment I met you I swear
I felt as if something somewhere
Had happened to me
Which I couldn't see

And then
The moment I met you again
I knew in my heart we were friends
It had to be so
It couldn't be no

But try as hard as I might do I don't know why
You get to me in a way I can't describe
Words mean so little when you look up and smile
I don't care what people say,
To me you're more than a child
Oh! Clair, Clair

Clair, if ever a moment so rare
Was captured for all to compare
That moment is you
It's all that you do

But why in spite of our age difference do I cry
Each time I leave you I feel I could die
Nothing means more to me than hearing you say
I'm going to marry you
Will you marry me Uncle Ray?
Oh! Clair, Clair

Clair, I've told you before
Don't you dare
Get back into bed
Can't you see that it's late
No you can't have a drink
Oh! all right then but wait just a bit
While I, in an effort to baby sit,
Catch of my breath what there is left of it.
You can be murder at this hour of the day
But in the morning this hour
Will seem a lifetime away
Oh! Clair, Clair

Alone Again

In a little while from now,
If I'm not feeling any less sour
I promised myself to treat myself
And visit a nearby tower,
And climbing to the top,
Will throw myself off
In an effort to make it clear to who
Ever what it's like when your shattered
Left standing in the lurch, at a church
Where people 're saying,
"My God that's tough, she stood him up!
No point in us remaining.
May as well go home."
As I did on my own,
Alone again, naturally

To think that only yesterday,
I was cheerful, bright and gay,
Looking forward to, but who wouldn't do,
The role I was about to play
But as if to knock me down,
Reality came around
And without so much as a mere touch,
Cut me into little pieces
Leaving me to doubt,
All about God and His mercy
For if He really does exist
Why did He desert me
In my hour of need?
I truly am indeed,
Alone again, naturally

It seems to me that
There are more hearts
Broken in the world
That can't be mended
Left unattended
What do we do? What do we do?

(instrumental break)

Now looking back over the years,
And what ever else that appears
I remember I cried when my father died
Never wishing to have cried the tears
And at sixty-five years old,
My mother, God rest her soul,
Couldn't understand, why the only man
She had ever loved had been taken
Leaving her to start with a heart
So badly broken
Despite encouragement from me
No words were ever spoken
And when she passed away
I cried and cried all day
Alone again, naturally
Alone again, naturally

Wednesday, October 04, 2006

Hot water supply


Finally we got the repair of the boiler at house. For the last 7days we had no hot water supply at house because of the boiler breakdown. We could enjoy the bath tonight. 

Tuesday, October 03, 2006

Class JarInflater

This is the general method to read the image data from jar file.
In DoJa programming, there is a size limitation. In order to reduce the main program file size, at the initial launch of the application, we download the resource file. Then jar file would be better in terms of the usage of the network resource especially for mobile phones.

public static Image loadJarImage(int pos,String name){
DataInputStream in = null;
JarInflater ji = null;
MediaImage mi = null;
Image img = null;
byte[] b = null;
//Read the data from sp
in = Connector.openDataInputStream("scratchpad:///0;pos=" + pos);
b = new byte[(int)ji.getSize(name)];
in.readFully( b );
ji = new JarInflater(b);

mi = MediaManager.getImage(ji.getInputStream(name));
img = mi.getImage();
}catch (Exception ex){
return img;