Monday the 7th

A positive attitude may not solve all your problems, but it will annoy enough people to make it worth the effort.
Herm Albright
  • Port port port
    • Almost ready to land the 0.9 port back onto trunk
    • Looks like we’re going from ~300K to ~160K for a shrunk build of all our source. Gotta love a savings of 50%. No idea on execution speed just yet.
    • Latest thing to bite me: dojo.xhrGet/Post now use a Deferred instead of direct callbacks. For JSON data, the callback that you register with the Deferred only needs to take one argument, the eval’d JSON object, instead of the old type,object,transport triple from dojo.io.bind. Also, remember to return the object from your handler so that others can chain onto the Deferred if need be. A typical handler looks like:
      var def = dojo.xhrGet("/my/json");
      def.addCallback(function(obj) {
        // work with the object
        console.info("here's my data: %o", obj);
        // important to return the object for future callbacks
        return obj;
      });
  • Main Street Sweets, the local ice cream joint that had the fire a couple weeks back, is open for business again. They have a new flavor called “Holy Soot”, which appears to be chocolate ice cream with brownie and fudge swirl. My new fave.