December 2011
7 posts
SHE LIVES. →
It only took my a month to port Struct to Node.js. Only.
TouchPad & webOS, day 1
The Good
Cards. Android and iOS’s multitasking can suck it.
Form factor. Looks smaller and thinner that the iPad. It’s neither, but that’s by the by.
The built in apps. Mail and Facebook are top-notch.
Synergy. Like Android’s contact syncing, but actually works, and lets you manually merge them. Also works with, say, calendar events.
“Rooting” is a matter of typing “webos20090606” into the...
My hobby: putting occasionally adverbs in unusual...
Things people write in JavaScript that make me...
if(typeof something !== 'undefined' && something !== null)
As “the” “correct” way to check for an undefined variable.
Argh.
First things first, nothing is ever null unless you’ve told it to be. If you’re setting something to null, you’re never going to want to check if it’s undefined. So we can remove that:
if(typeof something...
Dear internet,
Fitts’ Law is not the kind of law you can break. It does not say “put things near screen edges”. It says “the bigger an object is in the direction of mouse travel, the easier the object is to hit”. What you think is Fitts’ Law is an fact a corollary of Fitts’ actual Law: since the cursor stops at a screen edge, an object at that edge essentially has...
I do not write tests for my code. I do not write very many comments. I change...
– JavaScript needs a _whytheluckystiff.