Wednesday, March 30, 2011

A Brief for the Defense

Sorrow everywhere. Slaughter everywhere. If babies
are not starving someplace, they are starving
somewhere else. With flies in their nostrils.
But we enjoy our lives because that's what God wants.
Otherwise the mornings before summer dawn would not
be made so fine. The Bengal tiger would not
be fashioned so miraculously well. The poor women
at the fountain are laughing together between
the suffering they have known and the awfulness
in their future, smiling and laughing while somebody
in the village is very sick. There is laughter
every day in the terrible streets of Calcutta,
and the women laugh in the cages of Bombay.
If we deny our happiness, resist our satisfaction,
we lessen the importance of their deprivation
.
We must risk delight. We can do without pleasure,
but not delight. Not enjoyment. We must have
the stubbornness to accept our gladness in the ruthless
furnace of this world. To make injustice the only
measure of our attention is to praise the Devil.
If the locomotive of the Lord runs us down,
we should give thanks that the end had magnitude.
We must admit there will be music despite everything.
We stand at the prow again of a small ship
anchored late at night in the tiny port
looking over to the sleeping island: the waterfront
is three shuttered cafés and one naked light burning.
To hear the faint sound of oars in the silence as a rowboat
comes slowly out and then goes back is truly worth
all the years of sorrow that are to come.

- Jack Gilbert

Master your senses

Master your senses

What you taste and smell
What you see
What you hear

In all things
Be a Master
of what you do
and say
and think
Be Free

Are you quiet?

Calm your body
Calm your mind

By your own efforts

Waken yourself
Watch yourself

And live Joyfully

Follow the truth of The Way

Reflect upon it

Make it your own

Live it

It will always sustain you

- Buddha

Live in Joy

Live in Joy
in Love
Even among those who hate

Live in Joy
in Health
Even among the afflicted

Live in Joy
in Peace
Even among the troubled

Look within
Be still

Free from fear and attachment
Know the sweet joy of the way

- Buddha

Tuesday, March 29, 2011

All that we love deeply becomes a part of us

“What we once enjoyed and deeply loved we can never lose, for all that we love deeply becomes a part of us.”

- Helen Keller through Julie911

Friday, March 11, 2011

Your home team

Everybody has a home team: It’s the people you call when you get a flat tire or when something terrible happens. It’s the people who, near or far, know everything that’s wrong with you and love you anyways.

These are the ones who tell you their secrets, who get themselves a glass of water without asking when they’re at your house.

These are the people who cry when you cry. These are your people, your middle-of-the-night, no-matter-what people.

- “Bittersweet” by Shauna Niequist" through Julie911


Each person deserves a day away in which no problems are confronted, no solutions searched for.

“Each person deserves a day away in which no problems are confronted, no solutions searched for.”

- Maya Angelou through Julie911

Tuesday, March 01, 2011

Class diagram notations and their Java interpretations

Inheritance:


interface list extends Collection;

class ArrayList extends AbstractList;

Realization:


class ArrayList implements List;

Dependency:

When a class has a reference to another class or interface (in instance variables, arguments, local values, return values or anywhere else) then there is a dependency



class DriverManager {
...
Connection getConnection(String url);
...
}


Association:

An association is a special type of dependency. All associations are dependencies. An association is used when the dependency is always there (as opposed to dependency existing only during the course of a method execution). Its more often (not always) used to represent a field in a class. For more information see here.


class Order {
private Customer customer;
}