07. July 2014

Much Blue

We went on a walk a bit after sunset this Sunday. A down-but-not-out sun can create an intensely saturated dark blue in the sky. We were awed. The phone didn’t capture that exact blue, but it did get some good ones.



25. June 2014

Rendering faster by hiding DOM elements instead of removing them

I know that DOM manipulation is expensive, but I’ve found it just doesn’t make a difference in a typical web app. (And of course, DOM manipulation can rarely be avoided entirely in graphically-oriented apps; it’s a matter of reducing the amount of DOM-touching that happens in those cases.) Recently, I ran into a case in which it did matter, removeChild in particular.