Friday, September 24, 2010

Hooray!.... Boo~~~

I've always believed that good and bad things come in pairs.


If something good happens to you, something equally bad will happen too, sooner or later. (and vice versa)

It's kinda like Karma, but more towards yin-yang balance-of-nature sort of thing.

So today, something happened that made me really happy!! 

It kinda started from yesterday so I'll start from there.

So yesterday, a Thursday, would normally be my project day since I have no other class than the lab allocated for my project. I'm working on 2 stations: Storing Station and Handling Station.

Basically the storing station's program was done and I did half the program of the Handling Station.

As for the other half, my groupmate Kar Ann was doing it. And when he was done, he tested it but there was a bug.
 

At first I thought he programmed it wrongly so I checked and re-checked. Ok no problem! But the bug was still there! 
 

Fine... Then I checked the wiring, tested every single sensor, manually tested the valves, and EVERYTHING WAS FINE!! But the BUG IS STILL THERE!! WHY?!?!

We were both scratching our heads so hard, I could almost dig my brain out!

And by 5pm, I realised that we spent the WHOLE DAY, JUST TRYING TO SOLVE THIS!!

On top of that, it was raining heavily and I was stuck in the jam for more than an hour before reaching home. 

My brain was practically dead by then so I slept right after dinner. (not good for health, I know)

Now back to today, I had a tutorial till 12pm, then I headed to the lab and continued debugging. 

After 2 hours, I realised that I wrote the entire program from scratch and THE BUG WAS STILL THERE!! 
 

Just when I was about to give up, Vincent, who also used the same hardware, realised that an LED WAS ON which was supposed to be off

So I spent the next hour finding the manual for it in the lab computers, the webdrive and Google!! When I finally found it, it says that there was a "forced value".

Then I went back to my program to check for the bug. After 15-freaking-minutes of clicking, looking for this "forced value", EUREKA!! I FOUND IT!!

I freaking DELETED the "forced value" and the LED turned off!! 

I tested the program again and IT WAS WORKING!!! MUAHAHAHAHAH!!! XD

I was so happy that I started dancing around the lab like a clown LOL!

I even wanted to hug Vincent for his sharp observation. 

So that's for my "Hooray!"

After I was done saving and backing-up my program, I quickly left as it was raining AGAIN and it was already 5pm. Traffic jam!! 

I parked my car deep in the "jungle" so I didn't want to walk through all the dirt and mud. So I used the sidewalk by the road. 

While I was distracted trying to avoid the small puddles of water, *SPLASH!*

An driver sped past me and 'coincidentally' there was a HUGE puddle of water on the road right where I was walking!

My jeans were soaked and I still had to walk to my car!! *@#4&^%@$*

I was like fine, since I'm in a good mood I shall let this pass.

But apart from the horrible traffic jam, I found out that I have ANOTHER TEST TOMORROW!!

Wwwwwwait, THERE'S MORE! 

I needed to study for the test and my sister invited her friends over to play Mahjong, so now I can't concentrate on studying!!

On top of that, this test is not part of my course, it's an INSURANCE TEST!! So I didn't study this for the past 10weeks and I'm so gonna DIEEEEEEE!!!!!


I'm so tired today and I just wanna sleep...

Boo~~~