Monthly Archive for April, 2008

Quoted in Spartan Daily

I was quoted in SJSU’s Spartan Daily recently.

Here’s hoping one of my teams wins this year’s Business Plan Competition.

P.S. I’m looking for a full time job starting Mid-July or August 1. If you or anyone you know is hiring for an exempt web app designer, check out my resume.

A JavaScript sqrt() function.

I know there’s a Math.sqrt() function; I just wanted to create my own. Is this how most people would implement a sqrt() function in JavaScript if one didn’t already exist?

sqrt = function(x) {
    j = x / 2;
    min = 0;
    max = x;
    for (i=0; i<100; i++) {
        if (j * j > x) {
            max = j;
        } else {
            min = j;
        }
        // print(max - min);
        j = max - ((max - min)/2);
    }
    return j;
}

Upgrade to WordPress 2.5

I’ve upgraded to WordPress 2.5. In the process I made some nice backups of my site, and cleaned up my internal site structure.

I’m now running on a nightly of the K2 theme, and hope to switch to a general release once one is compatible with 2.5.

I must say I’m quite impressed with WordPress.