Categories
Etc

Jack

Jack Leins Lowery arrived today at 8:28am, weighing in at 8lbs, 12oz and measuring 20″ long.

Peekaboo

Categories
Etc

Sunday the 10th

Almost there.

38 Weeks

  • More fun with hotkeys. j-j now takes you to the next sub if you’re on the last item of a sub. Might change it to just j. Also, s and f are working again.
  • Paul and Geoff got the console working.. ~ ftw.
  • Spent most of the weekend cleaning up, both in the Bloglines beta and around the house. Nesting continues.
  • Bought a tent for the crib to keep the kitties out.
  • Also picked up a barely used White Hot XG #9 putter. Yay for the used bin! I’d link to it, but Odyssey is lame and don’t offer direct links to individual products.
Categories
Etc

Friday the 8th

Any day now.

Jack and Belly

  • Today is code complete for beta. Rushing to get finish up the tree DnD code.
  • Will got the j/k hotkeys working again. After some profiling, it looks like the most expensive part of moving around are the DOM calls. Not sure if it’s the nextSibling / prevSibling or the offset* properties. Need to take a peek at this some more. Thankfully, it only becomes an issue if you’re looking at 200 or more items at a time.
Categories
Etc

Tuesday the 5th

I got what I was looking for.

  • Our fellows at Ask launched a great new ad last night. Check it out.
  • Met with the OB/GYN and attended a class on child care last night. Remember: don’t palm the baby’s face.
  • Paul wrote a new module called mod_never_expire that we’re using for immutable JS and CSS files. We include a revision in the URL for our JS and CSS, so when we push out new JS and CSS, the URL changes. This allows us to tell browsers and proxies to cache our JS and CSS for quite a while, reducing the number of HTTP requests returning clients have to make.
  • Discovered Charles last night, which is freaking awesome. I just wish it wasn’t $50 a seat. Anyone know of a fiddler-alike for OSX?
Categories
Etc

Monday the 4th

Time flies when you’re about to have a baby.

  • Code complete is coming up for beta on Friday. I’m working furiously to get DnD manipulation of the tree back in before then. Just about done, just have to get the drop working and reporting back to the server.
  • Checked in a mod to the build system to include the svn revision in a config file that gets pulled in by Clearsilver to build the URL to our JavaScript and CSS files. This lets us set the Expires headers to far far in the fugure, which helps reduce the amount of stuff returning clients have to download. It was my first big foray into mucking with the SCons build system, and it took a while to figure out was going on. I never did find a good way to to debug things past using lots of print statements.
  • Wrote a handy little wrapper that provides onMouseEnter / onMouseLeave semantics for non-IE browsers.
    function connectMouseLeave(node, obj, func) {
      // summary: Hook up an event handler that fires
      //          when the mouse leaves the node.
      //          Ignores out events for children of the node
      if(dojo.isFunction(obj)) {
        func = obj;
        obj = null;
      }
      if(dojo.isIE) {
        // IE provides this natively
        return dojo.connect(node, "onmouseleave", obj, func);
      }
      var listener = dojo.hitch(obj, func);
      var f = makeOverOutHandler(listener);
      return dojo.connect(node, "onmouseout", f);
    }
    
    function connectMouseEnter(node, obj, func) {
      // summary: Hook up an event handler that fires
      //          when the mouse enters the node.
      //          Ignores over events for children of the node
      if(dojo.isFunction(obj)) {
        func = obj;
        obj = null;
      }
      if(dojo.isIE) {
        // IE provides this natively
        return dojo.connect(node, "onmouseenter", obj, func);
      }
      var listener = dojo.hitch(obj, func);
      var f = makeOverOutHandler(listener);
      return dojo.connect(node, "onmouseover", f);
    }
    
    function makeOverOutHandler(f) {
      // we're making the function here to avoid building
      // a closure that includes the dom node passed into
      // the connect functions
      return function(evt) {
        var n = evt.relatedTarget;
        var c = evt.currentTarget;
        // walk up the relatedTarget and see if it has 
        // the currentTarget as a parent
        // this relies on the fact that dojo normalizes the
        // event object to include the proper currentTarget
        // and relatedTarget for mouseover/out events
        while(n && n !== c) {
          n = n.parentNode;
        }
        // if the relatedTarget doesn't have the currentTarget
        // as a parent, we've stepped into or out of the
        // currentTarget, so call the event handler
        if(!n) f(evt);
      };
    }
  • Mandy had an ultrasound today and we found out the little guy has feet 9cm long! He’s still measuring a bit large… Big meeting with the doc tomorrow to figure out what we’re doing.