Saturday, October 11, 2008

PHP ctype issues, FITBIT - Track your Fitness, Design Jobs

Fitbit - Automatically Tracks your fitness and sleep
http://www.fitbit.com/foods/categories/Cereal+and+Grain+Products/Grains+Grasses/176

Short videos that help kids learn to read. DVDs for smart kids are at readeez.com
http://readeez.com/watch.html

Constructr - New Open Source CMS
http://constructr-cms.org/screenshots/

Scroll your HTMl with jquery
http://www.flowplayer.org/tools/scrollable.html

tutorials: good: Actionscript
http://www.kirupa.com/developer/flash/index.htm

is_numeric() versus ctype_digit()
http://tiffanybbrown.com/2006/07/27/php-quickie-is_numeric-versus-ctype_digit/
Exampe--------------------------------------------------
$n = '1234.5';
var_dump(is_numeric($n));  // returns bool(true)
var_dump(ctype_digit($n)); // returns bool(false)
--------------------------------------------------

a-r-t: Bug in PHP's ctype_digit()
http://www.primitivetype.com/articles/php_ctype_digit_bug.php
info: The bug is that if you call ctype_digit() and pass an integer to it, it sets the integer passed to NULL. Curiously, when I try passing an integer in the range -128 to 255, it is not affected by the bug. The way to avoid the bug happening at all is to pass the function a string. For example, instead of calling ctype_digit($myInt), call ctype_digit("$myInt").

Design Jobs: Design Community & marketplace
http://www.designfirms.org/jobs/

No comments: