Happiness

27th March 2009

It’s been 5 days since my mom left for her Hong Kong vacation.

For awhile I had this feeling of conflict, because I had to use most of my frequent flyer miles to get her round trip ticket, and I also gave her a good portion of my Christmas bonus for her to spend.

All of that feeling of conflict quickly disappear, because when I talked to her over the phone yesterday, she sounded like she is truly having an amazing time. She is so happy that I think she forgot about the cancer.

I am not writing this to brag about how much I did for my mother, I writing this because I want everyone to know how good it feels to be able to provide happiness and hope to the one who needs it.

Beyond the Limit?

19th March 2009

I watch two episodes of Everest: Beyond the Limit via Netflix last night. It really saddens me how much money can buy now days.

You have a group of rich ass clients who are willing to pay 40k – 50k to join an expedition team for a chance to summit the highest peak in the world.

Prior to the expedition summit day, the team leader has to hire a group of shepherds to summit first to fix all the safety rope along the entire route. On top of that they also need to haul all the clients’ oxygen tanks to camp 1, 2, 3 and 4.

I understand the prep work is done for safety reasons, but who is going to fix the safety rope for the shepherds. Who is going to carry their oxygen tank?

Let’s be real here the shepherds are the ones who is really going beyond the limit, just so that their rich clients can buy their way to the top.

Nothing Like the Holidays dvdrip

Ice Blues move Hostage full movie

Rendition full movie

Eddie and the Cruisers psp

Livestrong Army

18th March 2009

Dune movie download Equilibrium dvd

Hellbinders full movie

The Last Drop divx

If I don't understand JAVA, Then I will go drink a beer, Else I will be a very grumpy man.

15th March 2009

/*

I don’t understand the logic behind the formulas below, example converting X to Y bla bla bla…

*/
From the book:
Let’s assume the range of interger values we want is [min, max]. If X is a number returned by random, then we can convert it into a number Y such that Y is in the range [min, max] that is, min< =Y<= max by applying the following formula:
Y = X * (max - min + 1) + min

For many applications, the value for min is 1, so the formula is simplified to
Y = X * max + 1

Let's write a program that selects a winner among the party goers of the annual spring fraternity dance. The party goers will receive numbers M+1, M+2, and so on, as they enter the house. The starting value M is selected by the chairperson of the party committee. The last number assigned is M+N if there are N party goers. At the end of the party, we run the program that will randomly select the winning number from the range of M+1 and M+N.

Expression in JAVA
int randomNumber = (int) (Math.floor(Math.random() * (max-min+1)) + min);

//Here is the program they have in the book using the formula above

import java.util.*;

class Ch3SelectWinner{

public static void main( String[] args) {

int startingNumber;
int count;
int winningNumber;
int min, max;

Scanner scanner = new Scanner(System.in);

System.out.print(”Enter the starting number M: “);
startingNumber = scanner.nextInt();

System.out.print(”Enter the number of party goers: “);
count = scanner.nextInt();

min = startingNumber + 1;
max = startingNumber + count;

winningNumber = (int)(Math.floor(Math.random()*(max-min+1))+min);

System.out.println(”\nThe Winning Number is ” + winningNumber);

}

}

Valentine download

King Ralph film

The powerful link between creativity and play

5th March 2009

The Celestine Prophecy move The Devil’s Own full

A Thin Line Between Love and Hate download Braindead rip

Blank Check

Not my standard

4th March 2009

I got my JAVA exam back today with a score of 70. I am beyond frustrated with the fact that I am only 1 point away from a D.

I understand the that this is my first programming class, but 70!!

Come on that is just not acceptable.

To me getting a passing grade is like doing the absolute minimum, and anything C or below is a sign of me needs to spend some more time with the book.

With that being said I am not going out this weekend.

Birdman of Alcatraz psp A Thin Line Between Love and Hate hd