andrew.hedges.name / blog

Archives: 2007

The need for speed: innerHTML versus DOM manipulation

July 3, 2007, 9:21 pm

At work, I’ve been tackling some fairly sophisticated JavaScript DOM manipulation scenarios. As such, I’ve started to run up against the limitations of my long-used technique of stuffing loads of HTML as a string into some element’s innerHTML property. Specifically, when inserting very long strings containing complex HTML, there can be a troublesome delay between when JavaScript thinks it’s done inserting the elements and when the elements are actually available for further manipulation.

JavaScript Unit Testing

June 10, 2007, 6:10 am

I’ve started working on version 1.0 of my PHP function reference widget for Mac OS X Dashboard. At work, we cover a lot of our code with unit, functional, and Selenium tests. I decided to drink the juice and do the same in the context of widget development.

Quick Update

June 9, 2007, 6:09 am

Last blog entry February 9. Contacted recruiter in New Zealand February 14. Life accelerated to warp speed in matter of days. Coming up for air.

I changed my default web browser

February 9, 2007, 7:07 am

Not that anyone but me really cares.

A Gem of a Week

February 5, 2007, 11:33 pm

Time compresses when you are in the flow. Musicians know this, as do athletes, and, yes, even programmers. For us, “time flies when you’re having fun” is more than just a saying. The last 10 days have not just flown by, they’ve soared by like a jumbo jet making up time en route to some far away destination.

The State of the Mobile Web in the U.S.

January 19, 2007, 9:09 am

With George W. set to give another State of the Union address in a few days, I thought I would ping the web building community about the State of the Mobile Web in the U.S. Is it as backwards and behind the curve as it appears?

Merge folders with Transmit

January 16, 2007, 4:16 pm

Maybe I missed it, but I don’t see a good solution on the Mac for merging folders full of files. Well, today I really needed to do just that, so I figured out a way using only Panic’s excellent ftp program Transmit.

Don’t Look Back

January 8, 2007, 11:23 pm

Driving to work this morning, Boston’s arena rock classic Don’t Look Back came on the radio. I broke into a grin, thinking about how much my life has changed in the last few weeks. I have so much to look forward to for 2007. The whole freelance thing got a big boost tonight. I think this is going to be a great year.

It’s a beautiful morning!

January 1, 2007, 9:00 am

Starting today, I am master of my destiny. Captain of my ship of fate. Today, I launch Newfangled Telegraph and throw my lot out upon the entrepreneurial seas. Starting today, for better or worse, I will ride the waves of fortune (hopefully) and adventure (no doubt!) to distant shores not yet imagined.