My name is Ian Beck. I'm Director of Web Services at Tierra Interactive. Here are things I find useful or interesting.

Tip: a lot of folks seem to think that starting a CSS class with a number is impossible. They are wrong. You can start your classes with numbers if you really want to, but you have to use a special syntax in the actual CSS. For instance:

<div class="404">No love!</div>

In the CSS you would target this div like so:

.\34 04 {
    /* styling here */
}

The weirdness at the beginning of the class name is CSS syntax for an escaped UTF-8 character code. The backslash tells CSS that we’re entering into a hexadecimal character code, and the space terminates the code (and is thus discarded). Sure, it’s illegible, but at least its possible for those scenarios when you absolutely have to start your classname with a number. The CSS codes for numbers range from \30 (zero) to \39 (nine).

Tip: if you have a custom array sorting function in Javascript that’s performing right in Firefox but not in Safari, you may need to change what you’re returning. For instance, returning 0 (use same order between first and second element) by default will typically work in Firefox, but for Safari to get the ordering right you’ll need to return a negative number (first item should be sorted ahead) by default.

I have no idea why this is true, but if you’re having issues with Webkit’s Array.sort() functionality that may be the problem. I discovered this trying to sort an array of <img> elements alphabetically by their alt attribute like so (example is using Mootools):

var links = $$('.sometarget img');
links.sort(function(first, second) {
    var firstAlt = first.getElement('img').get('alt');
    var secondAlt = second.getElement('img').get('alt');
    var temp = new Array(firstAlt, secondAlt);
    temp.sort();
    if (temp[0] == firstAlt) {
        return -1;
    } else {
        return 1;
    }
});

Returning 0 worked great in Firefox, but to get it working in Safari, too, I had to switch to returning -1 by default.

Tip: When compiling an external framework like JSCocoa for inclusion in a bundle, make sure to change the Installation Directory in the framework’s target to @loader_path/../Frameworks. This causes Objective-C to look for the framework in your bundle path instead of the application path or the standard framework locations.

(If you are working on a full application instead of a bundle, you can use @executable_path/../Frameworks instead.)

Make something intended not for your own use, but for use by dummies, and you’ll usually wind up creating something dumb.
John Gruber on Chrome OS
1995 - Brendan Eich reads up on every mistake ever made in designing a programming language, invents a few more, and creates LiveScript. Later, in an effort to cash in on the popularity of Java the language is renamed JavaScript. Later still, in an effort to cash in on the popularity of skin diseases the language is renamed ECMAScript.
A Brief, Incomplete, and Mostly Wrong History of Programming Languages

Tip: when adding a number to the end of a string in Python, you can surround the number with backticks in order to automatically convert it to a string (rather than using str()). For example:

num = 10
my_string += `num`

Incidentally, I learned this from Oliver Crow’s article on Efficient String Concatenation in Python, which is a fantastic resource for anyone curious about the best way to combine strings in Python.