I found a problem while trying to do some bitwise operations (e.g. 32 bits XOR) in PHP. Consider the following case: $a = -3036738507; // stored in float type $b = 98758; // stored in integer type $c= ($a & 0xFFFFFFFF) ^ $b; Note: In PHP, if you specify a number beyond the bounds of the integer type, it will be interpreted as a float instead. … [Read more...]
MySQL randomly sort query result
How do you choose records randomly from MySQL database. Normally we will select all the related data from database and then store it to a buffer array. From the array, we randomly choose the records that we want. … [Read more...]
$10k per month from adsense
This guy claims he earnt $14,653.27 for the month of June, 2005 and total of $140,319.23 earned in 21 months with Adsense. Wow, that's much and somemore it is only from Adsense! All of his sites are focused on finance and technology. Anyway, check his post here: WebmasterWorld. … [Read more...]
Bougth 2 CDs
Just bought 2 CDs this afternoon: Pong Nan - Hong Kong artist �?奕邦 - 無�?�想快樂 Victor Wong - Malaysia artist �?冠 - �?��?�的我 … [Read more...]
Apple Student Blog Powered by WordPress
Apple's student blog is "Powered by Wordpress"? … [Read more...]