If you are looking for the epic motorcycle journey blog that I've written, please see the Miles By Motorcycle site I put together. 
  • Subscribe to this RSS Feed
  • True Doom and Gloom - Global Dimming.
    01/14/2005 6:45PM
    In what amounts to be one of the most disturbing articles I have read in a long time, scientists now suspect that even the most pessimistic global warming models may have been far too conservative due to an effect called "Global Dimming". All the particulate matter in the atmosphere has been artificially cooling the planet .. so the true effect of global warming is much greater than expected. New models predict a planet that may be largely uninhabitable within as little as 100 years ...

    http://www.bbc.co.uk/sn/tvradio/programmes/horizon/dimming_trans.shtml

    The real risk in these models comes from the fact that the horizons are much shorter than expected; humanity may not have enough time to respond especially if the methane hydrate stores on the ocean floor get released ... which would produce global disaster on a geologically unprecedented scale.



  • Ryan has launched PowerfulWebsites.com.
    01/13/2005 3:22PM

    After a tremendous amount of work, Ryan has launched PowerfulWebsites.com using the MOBIE platform.


  • (for PHP developers)PHP 5 Bug - losing $this var.
    01/12/2005 6:34PM
    This is additional info intended for the PHP developers.

    This has been submitted as bug: http://bugs.php.net/31525

    This may be related to the PHP 4.3.10 bug as it's occurring in the same general area as this bug. I've focused on this bug in PHP 5 because it's easily reproduced. The demonstrator file is located at:

    http://www.yml.com/uploaded_files/php_5_bug.tar

    Redhat 9, Apache 1.3.33, PHP 5.0.3 with the recommended php.ini with all warnings and messages turned on, using Apache 1.3.33 and running without PHP4 compatibility mode turned on will cause an object reference to get dropped after the object is constructed by calling a method that returns a reference to '$this'.

    Debug messages are included and the code is commented. Search for "PHP 5 BUG" in the code. See getAttributeValue() in fv_baseWidget, varLookupsATTRS() in fv_baseComponent.

    If you have any questions please use the Contact_Yermo form on the left.

    Output from test.php is:

    test.php:30 - before class includes

    test.php:30 - Creating fv_staticCtrl instance

    test.php:30 - fv_baseComponent Constructor: Before getAttributeValue() call. Type of 'this' is 'object'

    test.php:30 - fv_basewidget::getAttributeValue() - Object id #1 is 'object'

    test.php:30 - fv_baseWidget::getAttributeValue() - value 'Hello from varLookupATTRS' - type of parentComponent object is 'object'

    test.php:30 - fv_baseComponent Constructor: after getAttributeValue() call. Type of 'this' is 'object'
    Warning: Attempt to assign property of non-object in /usr/local2/WWW/mobie.yml.com/mobie/admin_ui/tests/php_5_test/base_component.php on line 125

    test.php:30 - After creating fv_baseComponent - currentComponent type is 'object'

    test.php:30 - fv_basewidget::getAttributeValue() - Object id #1 is 'object'

    test.php:30 - fv_baseWidget::getAttributeValue() - value 'Hello from varLookupATTRS' - type of parentComponent object is 'object'

    test.php:30 - after getAttributeValue() call - currentComponent type is 'unknown type'
    Fatal error: Call to a member function setName() on a non-object in /usr/local2/WWW/mobie.yml.com/mobie/admin_ui/tests/php_5_test/test.php on line 59


  • PHP 4.3.10 busy loop in Apache 1.3.33 under RedHat 9
    01/11/2005 10:26PM
    The joys of PHP. For not the first time and probably not the last, I've managed to get PHP to alternatively crash Apache or cause it to sit and spin at 99.9% CPU utilization. I've posted a bug report with the PHP group at:

    http://bugs.php.net/31508.

    I've also just submitted what may be a related bug:

    http://bugs.php.net/31525

    It's probably due to the classic core dump/malloc corruption do to calling a method through an undefined object reference as in:

    $obj1 = new someobject();
    $obj_mistaken->some_method();

    more times than not PHP will segfault on the above. About 1 in 10 it'll display the "no such object" message. I particularly enjoy the times that the $this reference gets dropped ...

    Update 2005-01-13: Configuring PHP with the --enable-debug option seems to prevent both the crash and the busy loop. You will probably want to turn off logging of messages in php.ini as your logfiles will grow extremely fast with --enable-debug.


  • Incredible tsunamic photos
    01/11/2005 3:56PM
    Carol sent me a link to some incredible tsunamic photos taken from the water as the waves were coming ashore:

    http://www.yachtaragorn.com/Thailand.htm