misc 22 May 2008
    "Write The Damned Email"

    I gave a talk at UCSD a couple of days ago. After the talk several students came up to me asking about how to find internships and full time positions at Yahoo. As it so happened we had our HR folks right there and they got connected up.

    I told …

    More
    misc 20 May 2008
    "MMA"

    MMA

    I'm really into Mixed Martial Arts these days. Watching that is - I'm as lazy and immobile as ever, and I'm pretty sure my 6 year old could beat my sorry ass.

    But it's always a guilty pleasure. For one thing it feels like mindless gratuitous violence. For another, I'm near …

    More
    misc 19 May 2008
    "Javascript Array Deferencing?"

    I have an array, say:

    var pieces = [2008, 5, 19, 13, 49];
    

    I'd like to create a date based on this; the equivalent of:

    new Date( 2008, 5, 19, 13, 49 );
    

    Is there a way to do that in Javascript? Can I dereference the array in my date create call …

    More
    misc 17 May 2008
    "Football"

    Giant

    After a lovely day at the Cystic Fibrosis walk, I fell asleep in the toy room.

    I briefly skirted the real world to the feeling of my 10 month old grabbing my feet to stand.

    Back into sleep, I was having a discussion, watching a movie, and generally experiencing a …

    More
    misc 13 May 2008
    "Flickr Capacity Planning Presentation"

    Unfortunately I missed the Web2.0 Expo this year, but I've been catching up on slides and presentations. I had John Allspaw's Capacity Planning For Web Operations open in a tab for several days and finally got to it. Turned out to be much more interesting than I'd anticipated. Slide …

    More
    misc 12 May 2008
    "Kids’ Book Template"

    My 5 year old loves to create "books", which to date consisted of stapling a few pages together and going to town on them. Lately he's been interested in "chapter" books with a little more structure: a picture and some text on each page.

    He asked for my help in …

    More
    misc 07 May 2008
    "How To Dynamically Select Part of a jQuery Call Chain"

    Updated, thanks to Simon Willison:

    Say you'd like to pick part of your jQuery call chain dynamically - for example, to removeClass for many elements, but addClass to one special element. Here's how you do it:

    var myfunc = some_condition ? 'addClass' : 'removeClass';
    $('#someid').html('something')[myfunc]('some_class');
    

    The first line selects the …

    More
    misc 06 May 2008
    "Handy Javascript Scoping Trick"

    Neat Javascript function scoping trick from Dustin Diaz, master of cool Javascript tricks. His Javascript Video Tutorials were the first time I was exposed to proper Javascript (Justin, do some more!).

    Here's the trick:

    var o = 'hello world';
    
    (function() {
      alert(this);
    }).call(o);
    

    And why is this neat? Because it …

    More
    misc 05 May 2008
    "Google Reader Techno Music Attack?"

    My laptop suddenly and for no apparent reason started playing techno music. I started digging around, closing app and browser window after window until it finally stopped. Turned out to be coming from google reader. I re-opened reader and the music came back. I went thru and marked a bunch …

    More
    misc 03 May 2008
    "Son Of A …"

    And that's all I'm gonna say about that.

    More
    misc 03 May 2008
    "The Case For Teaching Calculus Early"

    I remember when I finally had Calculus, my final year of high school. It took a bit of effort to get my head around it, but once I got it I remember the distinct feeling of being pissed off. Pissed off about all the time wasted in Physics class. In …

    More
    misc 01 May 2008
    "How Do You Design Sites for Blackberry?"

    There's a lot of info and tooling out there for building iPhone ready apps. But what about good old Blackberry? Are there good tutorials / docs on how to build websites that show well in the Blackberry browser? I get the sense it's not WML (or is it?)…

    More
    misc 01 May 2008
    "Twitter In Microcosm"

    Drama:

    Twitter RoR

    Tweet Response:

    Twitter Still on RoR

    Go to Ev's twitter account, FAIL:

    Twitter fail 500

    More
    misc 01 May 2008
    "What Are You Using for Contact Management?"

    Most of my contacts are in LinkedIn, but you can't store phones numbers, IM addresses, etc, there. The vast majority of my phone contacts are in my cell phone, but those die every time I kill a phone, which is about every 3-6 months these days. I used to use …

    More
    misc 30 April 2008
    "Buzzword Moment"

    Huh. I just did some dependency injection via monkey patching in what appears to be a valid use of both. Amazing that either technique would be useful in real life.

    More
    misc 29 April 2008
    "Pimp My Minivan"

    With 3 kids in tow I'm on the inevitable slope towards owning a minivan. Having long ago given up the last vestiges of pride in what type of car I drive, I'm perfectly ok with this, but the wife is not into minivans.

    Just about everyone I know is in …

    More
    misc 29 April 2008
    "Twitter Use On The Rise in Iran?"

    I've noticed I'm picking up a lot of Twitter followers from Iran in the last few weeks. Anybody else noticing this? Is Twitter hitting mainstream in Iran?

    More
    misc 28 April 2008
    "America’s Equipment Obssession"

    I haven't yet met a nation more in love with its equipment.

    I live close to a bike path. Every weekend hordes of exercise minded Americans come to bike. It's a wondrous site to see.

    Some subset of these folks are a bit overweight, carrying perhaps an extra 40 or …

    More
    misc 17 April 2008
    "Minimal-Identifying-Subset Keyword Based Navigation"

    Operating systems and applications need to support a mode wherein typing the smallest identifying subset of keys will cause the appropriate file/function to be opened. Firefox 3 does this for history urls - start typing and you'll see URLs that contain that set of keystrokes anywhere in them. iPhone's safari …

    More
    misc 16 April 2008
    "HTML ID Syntax"

    From W3C HTML Recommendation:

    ID and NAME tokens must begin with a letter ([A-Za-z]) and may be followed by any number of letters, digits ([0-9]), hyphens ("-"), underscores ("_"), colons (":"), and periods (".").

    (Noting here because I always forget and have to look this up)

    More

« Page 7 / 11 »