Grafting Skin

A married couple was in a terrible accident where the man’s face was severely burned. The doctor told the husband that they couldn’t graft any skin from his body because he was too skinny. So the wife offered to donate some of her own skin. However, the only skin on her body that the doctor felt was suitable would have to come from her buttocks. The husband and wife agreed that they would tell no one about where the skin came from, and they requested that the doctor also honor their secret. After all, this was a very delicate matter.

After the surgery was completed, everyone was astounded at the man’s new face. He looked more handsome than he ever had before! All his friends and relatives just went on and on about his youthful beauty!

One day, he was alone with his wife, and he was overcome with emotion at her sacrifice. He said, “Dear, I just want to thank you for everything you did for me. How can I possibly repay you?”

“My darling,” she replied, “I get all the thanks I need every time I see your mother kiss you on the cheek.”

Fake or Photo?

I heard about this cool test called “Fake or Foto?” from AutoDesk on DL.TV episode 81, July 27, 2006. Your job is to determine if the images are computer graphics (CG) or a real photograph. First try I receieved 9 out of 10. Not bad I must say :-) . There is another version of this test available too, link is provided below.

Source: Fake or Foto?
Source: Fake or Foto? version 1

Default Timezone in PHP, Not Working?

Since I started using PHP 5.x.x I started to experience incorrect time reported back through PHP using for example date(). I checked phpinfo() and found out that the default timezone was detected as America/Chicago. This was not the case as the server was configured for Canada/Saskatchewan (CST). I found out that I ended up having to directly set my timezone in php.ini file. I put the following in my php.ini file, then restarted Apache and the problem was resolved.

date.timezone = “Canada/Saskatchewan”

I’m not sure if this is a bug in PHP not detecting the timezone correctly. I tried searching through known PHP Bugs but no luck locating my problem. By the way, I’m running Apache with PHP/MySQL on OpenBSD i386 v3.7.

Thanks to TML from IRC channel ##php on freenode for helping me resolve the problem.