Sep 17, 2008

There are always choices in life

Why I don't post for a very long time.

** I have two choices, to post or not to post. I choose the latter.
** There are always choices in life. When you come into a "road not taken" , you always have to make a decision.
** How can we decide to be succeeded? I want to succeed but I didn't get. Check your choice given.
** Before this, you have been given time, you choose to play or to study?
** You have been given 24 hours, you choose to over study until you stress or you take enough sleep?
** Then, when you always have the time to reflect, think about your failure, you choose to just regret or you make a turning point??
** There are always choices in life, you choose to take benefit on this post until the end, or you choose to ignore -- or half-ignore -- or read without application???

-Anas Ahmad Faris

Choices in Life [Inspirational Story]

Jerry is the kind of guy you love to hate. He is always in a good mood and always has something positive to say. When someone would ask him how he was doing, he would reply, "If I were any better, I would be twins!" He was a unique manager because he had several waiters who had followed him around from restaurant to restaurant. The reason the waiters followed Jerry was because of his attitude. He was a natural motivator.

If an employee was having a bad day, Jerry was there telling the employee how to look on the positive side of the situation. Seeing this style really made me curious, so one day I went up to Jerry and asked him, I don't get it! You can't be a positive person all of the time. How do you do it?" Jerry replied, "Each morning I wake up and say to myself, Jerry, you have two choices today. You can chose to be in a good mood or you can choose to be in a bad mood. I choose to be in a good mood. Each time something bad happens, I can choose to be a victim or I can choose to learn from it. I choose to learn from it. Every time someone comes to me complaining, I can choose to accept their complaining or I can point out the positive side of life. I choose the positive side of life.

"Yeah, right, it's not that easy," I protested. "Yes it is," Jerry said.

"Life is all about choices. When you cut away all the junk, every situation is a choice. You choose how you react to situations. You choose how people will affect your mood. You choose to be in a good mood or bad mood.

The bottom line: It's your choice how you live life." I reflected on what Jerry said. Soon thereafter, I left the restaurant industry to start my own business. We lost touch, but I often thought about him when I made a choice about life instead of reacting to it. Several years later, I heard that Jerry did something you are never supposed to do in a restaurant business: he left the back door open one morning and was held up at gunpoint by three armed robbers. While trying to open the safe, his hand, shaking from nervousness, slipped off the combination.

The robbers panicked and shot him. Luckily, Jerry was found relatively quickly and rushed to the local trauma enter. After 18 hours of surgery and weeks of intensive care, Jerry was released from the hospital with fragments of the bullets still in his body.

I saw Jerry about six months after the accident. When I asked him how he was, he replied, "If I were any better, I'd be twins. Wanna see my scars?"

I declined to see his wounds, but did ask him what had gone through his mind as the robbery took place. "the first thing that went through my mind was that I should have locked the back door," Jerry replied. "Then, as I lay on the floor, I remembered that I had two choices: I could choose to live or I could choose to die. I chose to live." "Weren't you scared? Did you lose consciousness?" I asked. Jerry continued, "...the paramedics were great.

They kept telling me I was going to be fine. But when they wheeled me into the ER and I saw the expressions on the faces of the doctors and nurses, I got really scared. In their eyes, I read 'he's a deadman'. I knew I needed to take action." "What did you do?" I asked. "Well, there was a big burly nurse shouting questions at me," said Jerry.

"She asked if I was allergic to anything. 'Yes' I replied. The doctors and nurses stopped working as they waited for my reply. I took a deep breath and yelled, 'BULLETS!' Over their laughter, I told them, 'I am choosing to live. Operate on me as if I am alive, not dead'." Jerry lived thanks to the skill of his doctors, but also because of his amazing attitude. I learned from him that every day we have the choice to live fully. Attitude, after all, is everything.

Citation
"Choices in Life". Angelfire.com. Accessed September 16, 2008.
http://www.angelfire.com/ca/hasakr/choices.html

Aug 8, 2008

Sarcastic and Sarcasm...


sarcastic
adj. showing or expressing sarcasm.

sarcasm
n. a way of using words that are the opposite of what you mean in order to be unpleasant to sb or to make fun of them.

I learnt many literary devices and one of it is irony which most often known as sarcastic irony. It came out during the English Test -- which makes people thinking of suicide -- haha. 'Hambar sungguh cerita pasal test ini.'

Really fun to use this word.

You can read article on sarcastic at http://www.livescience.com/history/080620-hn-sarcasm.html

That article is about how the brain comprehends sarcastic -- a health articles. Also do refer to the picture above.

But, most important, I want to share a movie -- The Onion: Report - 70 Percent of All Praise Sarcastic -- Imagine that! How often people have done sarcastic to you.



Aug 5, 2008

Java, java and java


Java, java and java. Why don't you give it a try. That's what we learn everyday in computer class. Salman is a good student, who always did programming fast. The same goes to Helmi, Muhammad Thaqif and Amiruddin. Among all, Ong Shang Khoon will be called if there only limited time, because Mr Hiung view him as a very good student. And, also Prasshant. Aye Thun progress better from day to day. Farah and Farihin are two malays girls, in the beginning, always been asked questions. Tey Pok Lin... No comment.

Other students - There are all great! - Anderson, Chung Nian Yi, Goh Xin Ying, Joshua, Juzer, Lim Shao Xian, Liong Siew Chek, Muzammil, Stephen, Zaw Linn Naung.
I have listed all my classmates. That's not bad.

Tomorrow is the java lab assignment. Students are to answer the question, and can refer to any resource except discussing or chatting with friends.

I have made note below for me and some who knew this blog to refer tomorrow.

Before that, let me try to recall important things:

** Use correct data types
** Use correct variables
** Use str for String
** Make the program readable
** \\Write comments (2marks)
** constant, CAPITAL_LETTER
** Class name - begin with Capital letter

[sampleCodes]

CalculateSquareRoot

import MyInput;
public class CalculateSquareRoot {
public static void main(String[] args) {

//read the integer from the user
System.out.println("Please enter an integer: ");
double num = MyInput.readDouble();

//compute the square root of this integer
double squareRoot = Math.sqrt(num);

//display the output on the screen
System.out.println("The square root of " + num + " is +/- " + squareRoot);

CalculateAreaJOptionPane

//constant
final double PI = Math.PI;

//read the radius from the user
String str = JOptionPane.showInputDialog(null, "Please enter the radius: ",
"First Radius Input",
JOptionPane.QUESTION_MESSAGE);
double radius = Double.parseDouble(str);

//compute the area of a circle
double area = Math.pow(radius,2) * PI;

//display the answer on the screen
JOptionPane.showMessageDialog(null, "The radius is " + radius + " \nThe area is: " +
area, "Area Result",
JOptionPane.INFORMATION_MESSAGE);

System.exit(0); //terminate program normally

CalculateArea

//constant
final double PI = Math.PI;

//read the radius from the user
System.out.println("Please enter the radius: ");
double radius = MyInput.readDouble();

//compute the area of a circle
double area = PI * Math.pow(radius,2);

//display the answer on the screen
System.out.println("The radius is " + radius);
System.out.println("The area is " + area);