Month: September 2006

thought

Note to self: Add “douchebag” to OS X’s dictionary so that it doesn’t get flagged by the spellchecker.

quotation

Experience should teach us to be most on our guard to protect liberty when the Government’s purposes are beneficent. Men born to freedom are naturally alert to repel invasion of their liberty by evil‐minded rulers. The greatest dangers to liberty lurk in insidious encroachment by men of zeal, well‐meaning but without understanding.

Louis Brandeis
code

Viewport Dimensions in JavaScript

Adapted from the functions posted on QuirksMode.

var Client = {
  viewportWidth: function() {
    return self.innerWidth || (document.documentElement.clientWidth || document.body.clientWidth);
  },

  viewportHeight: function() {
    return self.innerHeight || (document.documentElement.clientHeight || document.body.clientHeight);
  },
  
  viewportSize: function() {
    return { width: this.viewportWidth(), height: this.viewportHeight() };
  }
};
thought

Dear God — Idiocracy was hilarious. It’s not a great movie, to be sure, but it’s a brilliant movie. It lags at times, and the narration is a crutch, but it’s the first movie in a long time that has been so ambitious in creating a world and actually making it believable. (Well, not believable, but you know what I mean.) It’s probably not playing near you, but if it is, please go see it — if only to send the message that no studio executive gets to fuck with Mike Judge.

Alcatraz

Ever wonder how much that land would be worth if the prison weren’t there?

Flickr
September 2, 2006
Photo: Alcatraz
link

Sorting through my photos of San Francisco, I was reminded how much I love DoubleTake, panorama software designed for human beings. It lets you stitch a series of photos together in an unintimidating manner — something hugin can’t seem to do.