“links”
94 posts under this tag.
This is from Douglas Crockford’s Survey of Javascript (never program JS without your Crockford!). I thought it quirky at first, surprisingly helpful later. (Emphases added.)
The && operator is commonly called logical and. It can also be called guard. If the first operand is false, null, undefined, ”” (the empty string), or the number 0 then it returns the first operand. Otherwise, it returns the second operand. This provides a convenient way to write a null-check:
var value = p && p.name; /* The name value will
only be retrieved from p if p has a value, avoiding an error. */
The || operator is commonly called logical or. It can also be called default. If the first operand is false, null, undefined, ”” (the empty string), or the number 0, then it returns the second operand. Otherwise, it returns the first operand. This provides a convenient way to specify default values:
value = v || 10; /* Use the value of v, but if v
doesn't have a value, use 10 instead. */
Short-circuit logical operators are a well-known, simple idiom in several languages, but they can sometimes be confusing to read, specially when nested. What I want to point out here is that next time you have to go through code that uses them, try reading them as guard or default, as the case may be. You’ll grokEE them immediately, trust me.
Isn’t it striking, the power of names?
Simile is a simple, snappy AJAX timeline from MIT. To keep with the space-time musings of late, it’s a Google Maps for time.
I just discovered Jensen Harris’s—Lead Program Manager on the Microsoft Office “user experience” team—wonderfully interesting Office User Interface Blog. It deals mostly with the new interface to Office 2007 and—boy—are they cooking some sweet, major stuff!
I had never before ventured inside the Wikipedia Statistics provided by the Wikimedia Foundation itself but it’s a wonderfully impressive place. Particularly interesting are its charts regarding all the language Wikipedias. It’s graph galore in there: number of wikipedians, active wikipedians_ articles, new articles per day, database bytes, links, words—you name it, and it all dates back to its inception. Not for the faint of bandwidth.
There’s something deep about Riya, the new image search engine, that bugs me. It reminds me a lot of a group in my university that was developing a digital whiteboard back in 2002. It was a fascinating technology, and, these being the days of Minority ReportWP, IMDB, I was infatuated with the possibilities. The thing was expensive and bulky, but allowed for some really sweet, unprecedented interaction with the computer not that far from those of said movie.
The little I’ve read from Bob Parson’s blog I’ve usually disliked. I neither like his writing style, nor his personal one, nor his blunt self-promotion, nor his ego. His life experience has been so different to mine, he usually arrives at conclusions my optimistic naivete vehemently rejects. That said, I respect the man, I like GoDaddy (despite its in-your-face disinformative commercialism), and I keep an eye on him.
His newest post, My rules for success in business and life in general, is actually quite good. Two fragments from it in particular redeem every minute I might have wasted reading the man, they are good:
My father would tell me early on, when I was struggling and losing my shirt trying to get Parsons Technology going, “Well, Robert, if it doesn’t work, they can’t eat you.”
More and more, I agree with my little brother. He always reminds me: “We’re not here for a long time; we’re here for a good time.”

Techcrunch—which I discovered a few days ago and am liking more and more everyday—had a recent good introduction to PornoTube, a new YouTubeWP porn clone (that as you’d expect, contains explicit sexual material).
The streaming-video website is quite something—intuitive, well-designed, web-2.0-buzz-compliant, massive, and free—and Techcrunch makes several good points throughout its review, chief among which is this one: “For more technically saavy users, bittorent has long been a source of free
pornography. But PornoTube, which is usable by anyone with a computer, could be disruptive.”
And disruptive it will be. Owing to support from its porn behemoth owner, the website appears to be staying atop of the expensive bandwith deluge it must be under. If it keeps doing so and survives prosecution and finds a way to be profitable, it would be yet another beacon of our media saturated future: a whole nother level of free, easy, abundant, instant gratification.
I’m not sure where I saw it first but I like it. When you want to link to Wikipedia, instead of underlining the word or phrase, place a superscripted WP right after it. Say, instead of tired old Internet Explorer, try FirefoxWP.
The advantage of course, is that you hint your reader to what the link is about, and that it could be combined with several other suplinks, as in: “I loved MunichAM, IMDB, WP, the movie.”
|