81 karma · joined February 18, 2008
(Sorry, that one was just too easy.)
getattr(self, 'handle_%s' % action)Non-standard fonts are used sparingly precisely because they have to be rasterized.
I wouldn't fret about how young to introduce programming to a kid. I learned to program when my dad worked from home one day and I asked him what he was doing.
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain(twitter.com), url-prefix(https://www.google.com/reader/), domain(news.ycombinator.com) {
body {
display: none;
}
}
It would have been easy to turn off if I had to (I didn't), but it worked great when I'd idly click a bookmark to one of these sites to be given a blank screen.javascripter, learn about Javascript's language features. Learn about nested function and function passing. Learn about object-oriented Javascript and prototypes. Learn the difference between Javascript the language, and DOM, the thing within the language you use to add functionality to web pages. If you find that you are repeating things, write your own library.
Is this the first programming language you are learning? If so, it will give you a leg up when you learn a more conventional language like C or Java, because it will give your mind flexibility. If you already know a programming language, understand that different programming languages have different ideas about how programs can or should be expressed. (That's why there are so many languages.) It will sometimes be helpful to see how something in a new language is similar to a language you already know, but other times you have to just say to yourself, this is different, and I have to think a new way.
I was meeting my dad in NYC, waiting for him in a Starbucks, gave him the corner it was on. He went to the Starbucks 1 block over. After waiting for me a while, he asked an employee if there were any other Starbuckses nearby, and got a whole list. See also the Simpsons [http://www.snpp.com/episodes/3G04].
If you ignore my criticism of the headline, the point still stands that it's the article is empty. All pre-release software has bugs that will be fixed in the final release, and browsers, including Mozilla's, usually have some layout bugs. These get fixed, so if people are looking for problems with a browser, they should look elsewhere.
So new layout features of a beta browser release are breaking some layouts. I wonder if the author ever used a Mozilla pre-release browser.
S3 is cheaper than NFSN, so if you have lots of big files, you can host www.example.com on NFSN and point media.example.com to S3.
(Grain of salt: I haven't used EC2.)
George Saunders has a great study of Dubai in his essay collection, the Braindead Megaphone. He mostly focuses on the exaggerated class division between guest workers and the rich natives. The book is worth picking up for the other essays, too, but certainly if you're interested in an intelligent Western perspective on Dubai. He was there as a tourist and journalist, not a resident, though.
Some drawbacks are that there's no FastCGI, so no Django or Rails, and you can't get your own IP address, even for money, so no TLS. Also, it's Apache 1.3, if you care. If you just need to run some Wordpresses, they do a bang-up job or running mod_php 5.