Leave a Message To Me

This is default featured slide 1 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 2 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 3 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 4 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 5 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

Monday, December 6, 2010

The five Monkeys


A group of scientists put five monkeys in a cage. In the middle of the cage there is a ladder that leads to the top of the cage where there are some bananas. Every time a monkey goes to the top to take the bananas, the scientists wet the rest of the monkeys with cold water.

After awhile; the monkeys realized that each time one of them goes to the top to take some bananas, the rest will have to face the cold water. So they started to hit any monkey that tries to go the top to take some bananas. After a period of time none of the monkeys dare to climb the ladder to take the bananas in spite of all temptations, fearing of being beaten.

Then scientists decided to do a swap of one of the five monkeys so they replace one of the monkeys with a new monkey. The first thing was done by the new monkey is to go up the ladder to take the banana. But immediately the remaining four beat him and force him to get off. After several times of beating, the new monkey understands that he/she should not climb the ladder even though he/she does not know reason why.


After a while, the scientists also switched another one of the old monkeys with another new monkey. The next thing the new monkey tried to do is to climb to ladder to get some bananas. Not surprisingly, the new monkey got beaten by all four monkeys including the first monkey that got in the cage.
 Then scientists kept watching the monkeys behavioral and also replace an old monkey with a new one until the replacement of all the monkeys were done to the whole five monkeys. The new five monkeys behave the same that they start to hit any monkey that tries to go the top to take some bananas without the knowing why they were doing that to each other.

If we suppose .. we ask why monkeys beat the other monkey?

Sure the answer will be: We do not know, but we found our fathers and grandfathers to on certain Customs and traditions

I believe there are two things are limitless ... Science and human stupidity

Thus, Einstein said

" Customs and traditions " in out daily lives makes stay in the routine and fear to change



 ----------------
I am loving in it!!

Thursday, October 14, 2010

Programming is anything but easy. Programming is hard work. Programming is one of the most difficult things I have ever done in life time. One the other side, Programming has a mystic quality that makes almost everyone wants to do it, or at least wants to be identified as a programmer. 

From my experience, programming can not be learned in 24 hours, nor can you grasp it in 7 days. I think it takes a 10 year course! Even medical students spend 7 years learning the profession. And I am saying 10 years if started early, if you started late? Then be patient. 

It is not acceptable to make mistakes here. Sometimes my code won’t compile, if they do compile, they won’t run, if they do run, they will have bugs.  Oh tell me about debugging?
I sit at it far late into the night, only to find out that I have spent 6 to 7 hours looking for a misplaced comma, or semi colon.

Code monkeys come to my code while I am a sleep, things that have been working before after I wake up from sleep will suddenly stop working. At times my codes have ideas of their own, different from what I intended. I just hope that I can spent part of my life developing applications like Monster Truck, or GMail, or Facebook Or have one project that will be widely used.

Wednesday, October 6, 2010

That's why I LOVE Soccer

Tuesday, September 21, 2010

Top 10 replies by programmers when their programs don't work:

1. "I can't test everything!"
2. "That's weird."
3. "It works, but it's not been tested."
4. "Somebody must have changed my code."
5. "Did you check for a virus on your system?"
6. "Even though it doesn't work, how does it feel?"
7. "You can't use that version on your system."
8. "Why do you want to do it that way?"
9. "It's never done that before."
10. "I thought I fixed that."

Sunday, September 12, 2010

The dangerous of copy and paste

Monday, July 26, 2010







The Best Things in My Life

  1. A hot shower.
  2. No lines at Tim Hortens.
  3. Getting mail.
  4. Taking a drive on a pretty road.
  5. Lying in bed listening to the rain outside.
  6. Hot towels out of the dryer.
  7. Finding the sweater I wanted on sale for half price.
  8. Chocolate milkshake.
  9. A long distance phone call.
  10. A bubble bath
  11. Fixing the bugs on my software programs
  12. A good conversation
  13. The beach.
  14. Finding a $20 bill in my coat from last winter.
  15. Having someone telling me that i am doing a great job
  16. Laughing at an inside joke.
  17. Accidentally overhearing someone say something nice about me
  18. Waking up and realizing I still have a few hours left to sleep.
  19. Making new friends or spending time with old ones.
  20. Late night talks with my roommate that keep me from sleeping.
  21. White Hot chocolate.
  22. Road trips with some fun friends.
  23. Going to a really good concert.
  24. Winning a really competitive game.
  25. Running into an old friend and realizing that some things (good or bad) never change.
  26. Watching the sunrise.
  27. Getting out of bed every morning and thanking God for another beautiful day.


Thursday, July 22, 2010

You know you are in college when ....

.High school started before 8am, but now anything before noon is considered “early.”
. Weekends start on Thursday.
. 6am is when you go to sleep, not when you wake up.
. You know many different ways to cook ramen noodles or macaroni and cheese.
. Instead of falling asleep in class, you stay in bed.
. You know how late McDonald’s, Taco Bell, Qdoba, etc. are open.
. You think it’s the weekend on a Wednesday and you don’t know what month it is.
. You check Facebook/Myspace more than once a day.
. You wash dishes in the bathroom sink.
. The standard of meals per day falls to two, sometimes just one.
. Your trash is overflowing and your bank account isn’t.
. You wear the same jeans for 13 days without washing them.
. Your breakfast consists of a coke or cereal bar on the way to class... anything with caffeine will do.
. Quarters are like gold.
. You live in a house with three couches, none of which match.
. You try to study but seem to procrastinate by eating, going to study breaks, talking to people, etc...
. You talk to your roommate on instant messenger when you’re both home.
. You ask people what YOU did last night.
. Facebook becomes a part of your daily life – when friends say something funny, oh “that’s going on facebook.” When friends take pictures of you, you wonder how long it will take them to post them.
. You see people you know you’ve met but can never remember their names or how you know them.
. You sleep more in class than in your room
. You go home to do your laundry because you're too poor to pay the $2... or too lazy to go to a change machine.
. You pay $100 for a book you don't read once, return it four months later, and get $7.
. More than 20% of your household furnishings are made from milk crates.
. You throw out bowls and plates because you don't feel like washing them.
. It takes preparation... and 3 people... to take out your garbage.
. Going to the library is a social event.
. You skip one class to write a paper for another.
. You stay up late to finish homework then sleep through the class it was due in.
. Going to the mailbox becomes an ego booster/breaker.
. Most of your T.A.s are foreign...what's the deal?
. You never realized so many people are smarter than you.
. You never realized so many people are dumber than you.
. You meet the type of people you thought only existed in the movies.
. Printers break down only when you desperately need them.
. Anything can be cooked in a microwave.
. Going to the grocery at midnight is completely normal.
. You call restaurants that deliver more than you call your own family.

Friday, July 9, 2010

Funny Child

Friday, May 28, 2010

Read from, and Write to, files in Java

import java.io.*;

public class test {
   public static void main (String [] args){
// Stream to write file
FileOutputStream fout;
   // Stream to read file
FileInputStream fin;
try
{
   // Open an output stream
   fout = new FileOutputStreama ("myfile.txt");

   // Print a line of text
   new PrintStream(fout).println ("hello world!");
                     // then read from the file
   fin = new FileInputStream ("myfile.txt");
   System.out.println( new DataInputStream(fin).readLine() );
}
// Catches any error conditions
catch (IOException e)
{
System.err.println ("Unable to write/read to file");
System.exit(-1);
}  

  }
}

Java Programming : static calling non-static



public class staticClass {
public static int fac(int n){
if (n <= 0)
return 1;
else
return n * fac(n -1);
}
public static void main (String [] args){
System.out.println("Factorial Valu : "+fac(3));
}
}
-----------------------------------------------
public class NonStatic {
public int fac(int n){  
if (n <= 0)
return 1;  
else  
return n * fac(n -1);  
}  
public static void main (String [] args){ 
NonStatic val = new NonStatic (); // create an object to class NonStatic to call the non static method  
System.out.println("Factorial Valu : "+val.fac(3));  
}  
}






Thursday, May 20, 2010

The Power Of Paint

I was surfing the net and I came across this interesting quote by Roman philosopher Plautus: “A woman without paint is like food without salt”. Actually it is kind true.

I am without a doubt against relating beauty to looks alone, but I do believe in the power of makeup, and have to admit that makeup -”paint”- does work its magic on making a very average woman looks like a hot movie star.

Most of us ,men, are attracted to “painted” women, we don’t care what’s underneath all those layers of colors, as long as she looks “hot”. We love it this way.

And that’s why I said that Plautus got it right, I find this quote really interesting, mind-provoking, and funny in a way.

Will you eat it


Famous Lies In a Man's World

1. Of course, this dress looks great you
2. Leave it , I can fix it
3. I was not looking at her
4. Every thing is going well
5. I was going to call you
6. I do not want to talk about it unless you want to
7. I am always the best
8. I do not have relations with women other than the two or three from school days
9. Ofcourse,I will never lie to you

The best and most Lies are the first five for me. Whether we like it or not, many of which are true and they apply to most of us, men. It is almost certain that we lied  one of these lies at some point in our lives.

A Comparison of Sorting Algorithms

 I have been heavily working on sorting lately. so I thought I should post some of the running time of these sorting algorithms

Sunday, May 16, 2010

One part of my personality


This feeling was bothering me for years. it is a mixed of rush and stress together.  Everyday, I just feel like I have to get as much done as possible and I start panicking about how there's just not enough hours in the day. It's very hard to explain this, so bear with me.

I feel like whenever I do something, I have to do it as fast as I can. For example, if I type, I have to type as fast as I can. If I'm reading a novel, I have to read it as fast as I can so that I can get on to the next novel.

When there is something going on in my mind , this feeling becomes stronger, and I usually end up making unreasonable decision. I might even start talking less casual.(lol)   

This feeling of rush rush rush was very uncomfortable and at the end of the day I might only get 1 thing done.

 However, being more "experienced" man , I started to realize that I needed to slow things down. Not just to get things done, but to enjoy them while I am working on them. This reminds me of my father when he was teaching how to drive. He used to tell me drive slowly to arrive early.

I realized that I was involved in my task rather than enjoying it. I didnt notice the environment around me. I didnt really "look" at anythings, just skimmed over them.

I decided to spent more time on me. I was so stressed at work and University that I forgot I have a life, so I took some time to do the things I enjoy. I made a point to tell myself to slow down and do it well, so I can reap the benefits afterward.

Anyway, I made a point to look around me, notice the colour of the things around me, the texture and feel of things, and now the more I do it, the more i enjoy it, and the less I need to think about it.




Tuesday, May 11, 2010

I think it is true,, somehow

Sunday, May 9, 2010

Conversations
Nothing beats a conversation with a good friend(s). it is a social skill that is not difficult for me to apply. Having a good conversation, for me , is the ideal form of communication in some respects. It allows me to state my opinions about different topics and listen to what my friends think about these topics to learn from each other. A successful conversation includes mutually interesting connections between me and my good friends.

Simply a meaningful conversation makes me feel intellectual, funny without being mindless, and be able to touch/feel my soul back again. It makes feel relaxed.

Monday, May 3, 2010


Network Marketing Do's and Don'ts


Why did you become a network marketer? Most people immediately respond, “for the money!” However, this is not the real reason.

No one subjects them to the hard work of building a business just for little pieces of paper with the faces of dead presidents. The truth is you work in order to obtain what those little pieces of paper can bring you.

The first thing you need to do is to find the reason WHY you are a network marketer. Is it the freedom to choose whatever you want to do whenever you want to do it? Maybe you are looking for a different lifestyle. If there is one thing that is critical to your network marketing success, this is it. If you don’t have a reason, there is no motivation to succeed.

A network marketing business is a teaching and coaching business. If you don’t like interaction with other people, a network marketing business probably is not for you. There’s a concept that most network marketers just can’t seem to get a handle on. You do not sponsor “reps,” you sponsor “people!”

If you have to find a reason why you are building your business, then doesn’t it stand to reason that other people will have to do the same thing? If that’s the case, then why is it that network marketers continually focus on how much money your prospect can earn?

Sunday, May 2, 2010

Engineer!!



Got It Or You Don't








Saturday, May 1, 2010



Did you know?         

  • The Canadian Tulip Festival is the largest tulip festival in the world. 
  • The first video game was invented by Willy Higginbotham
  • Earth’s distance from the sun varies between 91.4 million miles – in January – and 94.4 million miles – in July.
  • Our sun is one of billions in the entire universe
  • -90% of bird species are monogamous, as are 10% of mammals
  • The dollar symbol ($) is a U combined with an S (U.S.)
  • The three largest land-owners in England are the Queen, the Church of England and Trinity College, Cambridge.
  •  Madrid is the only European capital city not situated on a river.
  • Cats have over one hundred vocal sounds, while dogs only have about te
  • The word "Checkmate" in chess comes from the Persian phrase "Shah Mat", which means "the king is dead"
  • Libya has the only flag which is all one color with no writing or decoration on it
  • On Sesame Street, Bert's goldfish were named Lyle and Talbot, presumably after the actor Lyle Talbot.
  • South Africa is the only country with three official capitals: Pretoria, Cape Town, and Bloemfontein

Ottawa Tulip Festival

More than one million tulips bloom from Commissioners Park at Dow’s Lake along Queen Elizabeth Drive to Parliament Hill and across the Ottawa River in Mackenzie King Estates in Gatineau Park, Quebec. This has been a part of the Canadian heritage and bond with the Netherlands originating in the gift of tulips to the people of Canada by the Dutch Royal Family following the liberation of Europe in the Second World War.
                                                      






                                                                        Photo by Cesar Eli Barboza


The 2010 Special 65th anniversary Liberation edition of the Canadian Tulip Festival is a proud commemorative celebration of the role of Canadian troops in the liberation of the Netherlands.  The Festival also celebrates the 100th anniversary of the Canadian Navy!


An estimated one million tulips bloom in Ottawa in the month of May. The best way to see some of the most spectacular displays is to follow the Tulip Route. It extends from Major’s Hill Park on the edge of the ByWard Market downtown to Commissioners Park on the shore of Dow’s Lake, where some 300,000 blossoms are on display.



When: Anytime
Cost: No charge
Tip: Festival activities take place in Commissioners Park May 7-24.                                
Tulip Festival shuttle travels the Tulip Route between Commissioners Park and Major’s Hill Park May 14-24



Thursday, April 29, 2010

                                            Media literacy

Media literacy is Continuum that is verified as a line along of which people have different levels of views in term of their personal understanding of presented messages. One can develop personal media literacy during the process of intellectual, emotional and moral maturation by which he becomes able to develop individual skills and knowledge. This supports the activation of our knowledge structure so we increase the level of interpreting media points efficiently.


Passive people are considered in the lowest level of medial literacy because they only think about the outside meaning of media messages and not daring to seek better exposition. Other people are in higher rank because of their ability of relying on individual interpretation, yet they can not see what is behind the seen due to the lack of experience. However, there is different type of people who could reach a high level of media literacy and that by using all the skills and knowledge, such as the ability of using conscious process, to attain different perspective of the presented messages. Therefore, enhancing our talents and experiences will eventually aid us to improve the levels of our media literacy and become aware of the flowing message.