Archive for February, 2008 Feed

柒 - 你需要PoliCheck

Monday, February 25th, 2008 Chinese Cantonese
Sorry, but this post is not available in English.

(more…)

Overriding the Wordpress Thumbnail size limit

Sunday, February 24th, 2008 Chinese Cantonese

Just found that, in Wordpress 2.x, a picture which is lager than 3 megapixels (Strictly speaking: >= 3*1024*1024 pixels), would not have the thumbnail generated when uploaded.

Isn’t that a large picture demands a thumbnail more than that of a small one? Or it is designed to prevent the potential DOS situation from happening?

Thanks Wordpress architecture, this limitation can be easily overridden without touching the WP’s source code.

Just put the following in the Theme’s functions.php

add_filter('wp_thumbnail_creation_size_limit', 'wp_thumbnail_no_limit');
function wp_thumbnail_no_limit($size)
{
   return -1;
}

Cisco x Wikipedia

Sunday, February 24th, 2008 Chinese Cantonese

Just sawa Cisco commercial on TV, a Chinese version of their international TV commercial campaign, edited to about 30 seconds.
(more…)

BYOW (Bring your own Wiimote)

Friday, February 22nd, 2008 Cantonese Chinese

Chinese new year, the mainland workers and I rush back to home before eve. Of course, meeting old friends is a must during the holiday, usually it involves games, badminton, hotpot, karaoke, dinner and movie.

Some time ago most friends didn’t buy Wii yet, so I usually brought my own when I went back. Now it’s so common that almost everyone got one, but usually only with two sets of Wiimote+Nunchuk. And that’s why I usually bring two more sets, and then we could push the entertainment-ability of the Wii to the maximum.

One day we went to Neway CEO in Causeway Bay, surprised that the PS2 Winning Eleven has been replaced by Wii Sport. Coincidentally, I have the Wiimotes with me on that day, 4-People Tennis was so entertaining.

With the new game — Mario & Sonic at the Olympic Games for Wii, imagine when 4 people doing 4×50 swimming relay, and announcing the “Hands were broken” together!

It has been used in 3 occasions in ten few days, among the luggage, it is the most used item besides laptop, cell, wallet and keys.

Announcing xLanguage v1.1.0

Monday, February 18th, 2008

As I have mentioned in the eariler post, I was working to fix some critical bugs and at the same time putting some more features into the xLanguage plugin, a Wordpress plugin which enables multilanguage blog.

(more…)