Wednesday, April 1, 2009

The once given, none taken Part II

Now, the lender ask you to give them a fraction piece of "diamond" you have in order to get the money they lend to you and if you are late in giving that fraction piece of "diamond" or you do not have any "diamond" at all, the lender will stop lending you money for a while or stop lending you at all and start asking you to pay back what you have borrowed.

Here is the "Billion Dollar" question ladies and gentlemen.

You give the lender their "diamond", on TIME but they sometime, lend you the money LATE.
If you are late, you know you'll be managing your consequences for months. But, lets turn the table. What will happen?
Something to ponder upon while "hunting" food for dinner. :D

Tuesday, March 31, 2009

The past, present and future

How technology advancements change our way of life you say?

In the past people hunt animal for lunch, now we hunt for seats to eat our lunch.

In the past people travel for hours or even days to find food and trade, now we sit doing nothing for hours in car at the same time money wasted on petrol when traffic jams.

In between eating and traveling how technology changes our holiest, revered and personal activity of all? Praying… Well, there’s a glimpse of how we will pray in the future if we are complacent now. For programmers, ever wonder how algorithms and repetition capability help in praying?

Hmm...

What's this all about?

Choose which religion you follow. Then a page which describes how this "automated" praying system will do. Choose type of prayer you want. Then, finally choose method of payment to subscribe to this incredible and wonderful "automated" system. Note, they accept paypal, probably MOL too... heh...

PS. They say, 10% of the subscription fee will be donated to selected charity organization. This implies 90% of it goes to their pocket.

One thing that cracks me up the most..

If it's too small let me quote. "All Muslim prayers are voiced in English, with computer speakers facing Mecca". Hmm... Shouldnt the whole computer system(server rack, laptops, desktop or whatever they running the software on) facing Mecca?

For those who are interested, click here.

Something to ponder..... about technology..

The LIKE and the equal (=) .... sql

Ever wonder the effects of LIKE 'variable' and = ' variable ' in sql statement?
+---------------+-------------------------+
| departmentID | name |
+---------------+-------------------------+
| 1 | Test Department |
| 2 | Test Department22222 |
| 3 | Test3333 Department2 |
| 4 | Test55555 Department |
| 5 | test |
+---------------+-------------------------+
mysql> select * from department where name LIKE 'test@@@';
Empty set (0.00 sec)

mysql> select * from department where name='test@@@';

+--------------+------+
| departmentID | name |
+--------------+------+
| 5 | test |
+--------------+------+
1 row in set (0.00 sec)

@ = spaces

Moral of the story?
Use the function that ACCURATELY fits your needs. If not, you'll do more debugging than programming.

Monday, March 30, 2009

The once given, none taken

In the event where someone gives you something, naturally, you have to appreciate and be thankful what you were given and never ask for more.

In the event where someone lends you something and you have to return the amount you have borrowed, you have to be thankful and never ask for more.

In the event where someone lends you something and you have to return the amount you borrowed by working three to four years based on what you borrowed(the lender gain more from what they lend to you), you have to be thankful and DEFINITELY you have to ask them to lend you the money ON TIME.