Archive for April, 2009

 

WHO downplays what is portrayed by media as a deadly virus. I wonder if the media manipulated facts to get higher ratings. Still, it’s always good notice to always wash your hands, even when during times where pigs stay low profile.

Only 7 swine flu deaths, not 152, says WHO

A member of the World Health Organisation (WHO) has dismissed claims that more than 150 people have died from swine flu, saying it has officially recorded only seven deaths around the world.

Vivienne Allan, from WHO’s patient safety program, said the body had confirmed that worldwide there had been just seven deaths – all in Mexico – and 79 confirmed cases of the disease.

“Unfortunately that [150-plus deaths] is incorrect information and it does happen, but that’s not information that’s come from the World Health Organisation,” Ms Allan told ABC Radio today.

“That figure is not a figure that’s come from the World Health Organisation and, I repeat, the death toll is seven and they are all from Mexico.”

She said the WHO was not recommending against overseas travel, but urged those who felt sick to stay home and others to ensure they kept their hands clean.

No decision had yet been made about vaccinations.

“This virus is not airborne, it’s caused by droplets… so it’s not a time for worry. It’s a time to be prepared,” Ms Allan said. (Source: SMH)

Well, it can also be that WHO is wrong.

 

This is ingenious:

Environmentally Conscious Organization (e.c.o.), Incorporated is a design, licensing firm and manufacturing firm dedicated to improving outmoded, outdated and wasteful food packaging. e.c.o., Incorporated is marketing its first product, the Green Box (US Patent 7,051,919), a pizza box manufactured from 100% recycled material. The top of the Green Box breaks down into convenient serving plates, eliminating the need for disposable plates. The bottom of the ‘Green Box’ converts easily into a handy storage container, eliminating the need for plastic wrap, tin foil or plastic bags. The perforations and scores that create this functionality allow for easy disposal into a standard-sized recycling bin. Made from a standard pizza blank, the Green Box requires no additional material or major redesign and can therefore be produced at no additional manufacturing cost. e.c.o., Incorporated owns the utility patent on the Green Box. Check out our website at www.ecoincorporated.com.

Green Box: Pizza Box Turns into Plates & Storage Unit

I can see the usefulness of this.

 

I finally got that damn Samsung PC Studio 3 software to work in Windows 7 64-bit after trial and error. I dream of the day all phone device makers adhere to a standard and make phone software compatible to even rival phones. Perhaps even an operating system integration. I can imagine some Windows Live Mobile tool or something that can open text messages, arrange contacts and extract out files. Phone device makers can make additional features exist as plugins. That would be my dream come true. I dislike all phone software. Hardware makers seem to care little about software.

 

I’ve been waiting and waiting. Can’t wait to try the new NetBeans 6.7 Beta. Now I use NetBeans exclusively for PHP. I used to still have a copy of Eclipse hidden somewhere now I don’t use Eclipse anymore.

 

json_decode takes a JSON (JavaScript Object Notation) encoded string and converts it into a PHP variable. (More information on PHP documentation.)

<?php
$json_text = ‘{"a":1,"b":2,"c":3,"d":4,"e":5}’;
var_dump(json_decode($json_text));
var_dump(json_decode($json_text, true));
?>

The above code would result in the following:

object(stdClass)#1 (5) {
   ["a"] => int(1)
    ["b"] => int(2)
    ["c"] => int(3)
    ["d"] => int(4)
    ["e"] => int(5)
}

array(5) {
    ["a"] => int(1)
    ["b"] => int(2)
    ["c"] => int(3)
    ["d"] => int(4)
    ["e"] => int(5)
}

When TRUE, returned objects will be converted into associative arrays. PHP’s associative arrays are amongst the easiest to use so i generally prefer an array to be returned.

When working on older PHP configurations such as in PHP 5.1, json_decode is not available. I use Michal Migurski’s Service_JSON. You can get the source code here.

The following does a json decode using the Services_JSON class.

<?php
require_once ‘JSON.php’;
$json_text = ‘{"a":1,"b":2,"c":3,"d":4,"e":5}’;
$json = new Services_JSON(SERVICES_JSON_LOOSE_TYPE);
$array = $json->decode($json_text);
?>

If you use Services_JSON() instead, you are returned with StdClass. Using new Services_JSON (SERVICES_JSON_LOOSE_TYPE) returns you an array instead.

 

Found another joke in my mailbox, this time it’s about 造句:

1。题目:一边……一边……
小朋友写:他一边脱衣服,一边穿裤子。
老师批语:他到底是要脱还是要穿啊?

2。题目:其中
小朋友写:我的其中一只左脚受伤了。
老师批语:你是蜈蚣吗?

3。题目:陆陆续续
小朋友写:下班了,爸爸陆陆续续的回家了。
老师批语:你到底有几个爸爸呀?

4。题目:难过
小朋友写:我家门前有条水沟很难过。
老师批语:老师更难过。

5。题目:又 又
小朋友写:我的妈妈又矮又高又胖又瘦。
老师批语;你的妈妈是变形金钢吗?

6。题目:你看
小朋友写:你看什么看!没看过啊
老师批语:没看过

7。题目:欣欣向荣
小朋友写:欣欣向荣荣告白。
老师批语:连续剧不要看太多了!

8。题目:好吃
小朋友写:好吃个屁。
老师批语:有些东西是不能吃的。

9。题目:天真
小朋友写:今天真热。
老师批语:你真天真。

10。题目:果然
小朋友写:昨天我吃水果,然后喝凉水。
老师批语:是词组,不能分开的。

11。题目:先……再……,例题:先吃饭,再冼澡。
小朋友写:先生,再见!
老师批语:想像力超过了地球人的智慧。

12。题目:况且
小朋友写:一列火车经过,况且况且况且况且况且况
老师批语:我死了算了

I really should avoid turning this into a Chinese 博客 (blog).

 

Susan Boyle, the singing sensation, is on South Park too.

“If one more person talk about that Susan Boyle performance of Les Misérables, I’m going to puke my balls out through my mouth,” says Ike, Kyle’s brother.

I got sick of Susan Boyle. Personally I watched her performance twice. Two lecturers showed it in school. I had Les Misérables stuck in my head for a day. I had enough.

 

WordPress powered and Django inspired.
Love and elephants come after.
RSS: Posts and comments.