| Origami Degrees | 2 0 0 6 |
Aug 18 |
|
Subscribe!
+by RSS+by emailMy Web Apps![]() ![]() -Plbrs: Super Poderes Lexicos -Domburi: Search Super Powers -Uruban: Web Local Other Stuff-KinKey: Painless Accents with a US Keyboard-Toki pona en 76 Lecciones Ilustradas ArchivesList of all posts 658
Random Post!
|
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?
Por diversos avatares del destino tuve hoy que imprimir incontables resmasRAE a doble cara y me sorprendio mucho que fuera una extraña odisea. Desesperado acudi a la red y lo unico que encontre digno de destacarse es este articulo de HP España confuso, rollero, y comercialoide (“Impresión a doble cara en Microsoft Word 2000, por los árboles, por su espalda, por su dinero”). Para colmo, ni un pinche diagramilla perdido. Despues de muchas iteraciones y mucha hoja perdida, le haye el feeling a esto, asi que aqui va, por todo aquel que venga:
As I said on a previous post, I believe Spanish, my mother tongue, has a low status on the web. And as I laid there pondering the subjectivity of my assessment, I remembered Mihaly CsikszentmihalyiWP’s fascinating account of how (and why) he became a scientist (it appears in John Brockman’s excellent Curious MindsAM, a compilation of similar tales by top-notch scientists and a sure recommendation to anyone). The particular anecdote that came to mind was when he and a friend quarrelled over whose neigborhood was the more communist (the matter was relevant because he was living in Italy and the country was then in political turmoil). Their brilliant analytic idea to try to settle the question was to count out the circulation of the left- and right-leaning newspapers in each of their neighborhoods’s newsstands. This of course sent them into all sorts of interesting statistical considerations, but it put them on the path of finding the subtle answers to their question, and it was certainly better than “the hocus-pocus most adults rely on to bolster their arguments”. So I want to try to do something similar with my question—what is the linguistic vitality in the web of 14 languages?—and this post will be the beginning of my investigation. For reasons of practicality and personal bias, the 14 languages I’m going to settle to are: EnglishWP, GermanWP, FrenchWP, PolishWP, JapaneseWP, DutchWP, ItalianWP, SwedishWP, PortugueseWP, SpanishWP, FarsiWP, ChineseWP, EsperantoWP, and HindiWP.
I didn’t think much of this essay the first time around but it has worked its way into my head since. The distinction it makes, between perfection-oriented and performance-oriented individuals is crucial and thought-provoking. Read it.
Most people think of sensibility or taste as the realm of purely subjective preferences, those mysterious attractions, mainly sensual, that have not been brought under the sovereignty of reason. They allow that considerations of taste play a part in their reactions to people and to works of art. But this attitude is naïve. And even worse. To patronize the faculty of taste is to patronize oneself. For taste governs every free—as opposed to rote—human response. Nothing is more decisive. There is taste in people, visual taste, taste in emotion – and there is taste in acts, taste in morality. Intelligence, as well, is really a kind of taste: taste in ideas.
Susan Sontag, Notes On “Camp”
I just finished reading Edward Tufte’s Envisioning Information and Scott McCloud’s Understanding Comics. Put simply, I’m floored. They were both deep, beautiful books, and, particularly interesting for me, both were superb criticisms (of, respectively, information design and comics). They both self-consciously embarked on the hard task of developing taste, of teaching how to see.
Charts, diagrams, graphs, tables, guides, instructions, directories, and
maps comprise an enormous accumulation of material. Once described
by Philip Morrison as “cognitive art,” it embodies tens of trillions of
images created and multiplied the world over every year. Despite the
beauty and utility of the best work, design of information has engaged
little critical or aesthetic notice: there is no Museum of Cognitive Art [yet].
This book could serve as a partial catalog for such a collection.
Edward Tufte, Envisioning Information, Introduction
My current appreciation (read infatuation) of criticism has been long coming but perhaps inevitable. As far as I can now grok, there are two and only two genres of education: education in skill and education in taste. Every other truly educational book is a critique. School would do well to acknowledge this. Skill is how to do, criticism is how to see. Both are pointless without one another and a great mistake of modern education is to concern itself only with the former. It doesn’t generally think of pupils as criticism-capable, which is bollocks, and, much more harmfully still, it perverts criticism by trying to cast it as a skill. That’s how you get to rote equation solving or sickening memorization of periods of literature and its important figures.
A week ago I learned two friends are coming from the US this July 21: that means empty cases. Two happy days later and hundreds of dollars less: 38 books on shipping parcels from Amazon. Book shopping is a pleasure in and of itself (I’m rarely this happy!), and hereforward’s my list (which is quite an intimate thing to share—it’s the perfect psychological text, if you know how to read it). Wicked: The Life and Times of the Wicked Witch of the West by Gregory Maguire
I’ve been fiction-starved long enough now.
Capitalism and Freedom: Fortieth Anniversary Edition by Milton Friedman
Erasmo wants to kill the man, I want to do him (I fell in love the moment I read his “The free market is the only mechanism that has ever been discovered for achieving participatory democracy.”).
Metaphors We Live By by George Lakoff, Mark Johnson
A formist classic long postponed.
I only needed to read Mind Performance Hack #51—Learn an Artificial Language—to know this book was going to be worthwhile.
Don’t Shoot the Dog! : The New Art of Teaching and Training by Karen Pryor
A pet training book that doubles up as a “life-changing” self-control primer. I’m intrigued (and desperate). Confused? Go read this great NYT article: What Shamu Taught Me About a Happy Marriage.
On Intelligence by Jeff Hawkins, Sandra Blakeslee
Wondrous book. Truly. I’m buying these 3 extra copies just to pester friends (and family) with.
Shadow of the Giant (Ender, Book 8) by Orson Scott Card
The only Ender book I’m missing.
Mencken Chrestomathy by H.L. Mencken
I’d read Mencken’s quotes before, of course. But I just became aware of him a couple of weeks ago through, of all places, a Gilmore Girls episode. I couldn’t be more ashamed of my tardiness.
Economics in One Lesson: 50th Anniversary Edition by Henry Hazlitt
I’m diving into economics these next couple of months.
“This is a book in favor of doing—self-directed, purposeful, meaningful life and work—and against ‘education’—learning cut off from active life and done under pressure of bribe or threat, greed and fear.” I’m fascinated with education these days.
Economics for Real People by Gene Callahan
I dig the Austrian School of Economics (or rather, I think I will, when I know more about it).
Artful Sentences: Syntax as Style by Virginia Tufte
Frankly, that Edward Tufte’s
Fantastic Voyage: Live Long Enough to Live Forever by Ray Kurzweil, Terry Grossman
“Rage, rage against the dying of the light” (Dylan Thomas). For those late deathnights…
An Anthropologist On Mars: Seven Paradoxical Tales by Oliver Sacks
“[Oliver Sacks’s writings] has done as much as anyone to make nonspecialists aware of how much diversity gets lumped under the heading of ‘the human mind.’” (Amazon.com review)
Free to Choose: A Personal Statement by Milton Friedman, Rose Friedman
I want to be a libertarian.
Swimming Across: A Memoir by Andrew S. Grove
I’ve been a fan of Andy Grove ever since that Fortune feature on him.
The Buddha in the Robot by Masahiro Mori
A wildcard.
Perfectly Reasonable Deviations From The Beaten Track: The Letters Of Richard P. Feynman by Richard Phillips Feynman, Michelle Feynman, Timothy Ferris
I love Richard Feynman. Surely You’re Joking, Mr. Feynman! is way high on my all-time favorite books.
The Machinery of Freedom: A Guide to Radical Capitalism by David D. Friedman
Just how would a society organized by private property, individual rights, and voluntary co-operation, with little or no government, look?
Where There’s a Will: Thoughts on the Good Life by John Mortimer
I guess this is just book gluttony, but I skimmed this book in the New York Public library one rainy afternoon and it’s a happy memory.
The Elusive Quest for Growth: Economists’ Adventures and Misadventures in the Tropics by William Easterly
Foreign aid debunked. I somewhy feel I need to read this now. I need to know this stuff. I guess a happy byproduct of feverishly reading The Economist is to think of yourself as someone with vast geopolitical and economical impact ;).
5 Rituals of Wealth by Tod Barnhart
Kevin Kelly vouches for it in Cool Tools.
The Little Schemer by Daniel P. Friedman, Matthias Felleisen
I started a library copy of the Little Lisper and was hooked.
Escape from Freedom by Erich Fromm
His Art of Loving became an instant personal classic some months ago.
Finite and Infinite Games by James P. Carse
“There are at least two kinds of games. One could be called finite, the other infinite. A finite game is played for the purpose of winning, an infinite game for the purpose of continuing the play.”
Soros on Soros: Staying Ahead of the Curve by George Soros
George Soros, long known as “the world’s only private citizen with a foreign policy,” is a most interesting man.
Mindfulness by Ellen J. Langer
Mindfulness. The title alone was almost enough to buy the book. What a beautiful word.
How Children Fail by John Holt
Yup, I know these children education books are a weird choice but I have a hunch they’ll have much to tell me.
One Two Three… Infinity: Facts and Speculations of Science by George Gamow
I haven’t read much science lately. The science spark needs some help.
The Libertarian Reader: Classic and Contemporary Writings from Lao Tzu to Milton Friedman by David Boaz
Parliament of Whores: A Lone Humorist Attempts to Explain the Entire U.S. Government by P.J. O’Rourke
Eat the Rich was a lot of fun.
The Children’s Machine: Rethinking School in the Age of the Computer by Seymour Papert
“What would happen if children who can’t do math grew up in Mathland, a place that is to math what France is to French?”
Libertarianism: A Primer by David Boaz
Pour Your Heart into It: How Starbucks Built a Company One Cup at a Time by Howard Schultz
I admire Starbucks.
The Essays of Warren Buffett: Lessons for Corporate America by Warren Buffett
”Buffet has the strangest of powers in that he comes across as a homespun billionaire. Now that’s different from just being homespun, the way Sam Walton was, or just being a billionaire, like Bill Gates. Buffet flaunts his wealth and his professional love of money, all the while expressing essential, eternal truths in simple, earthy phrases. When I saw Buffet speak at business school he tapped on the microphone to test it and said ‘testing, testing, one-million, two-million, three-million.’” (Marc Cenedella, Amazon review)
Self-Renewal: The Individual and the Innovative Society by John W. Gardner
“The need for endless learning and trying is a way of living, a way of thinking, a way of being awake and ready. Life isn’t a train ride where you choose your destination, pay your fare and settle back for a nap. It’s a cycle ride over uncertain terrain, with you in the driver’s seat, constantly correcting your balance and determining the direction of progress. It’s difficult, sometimes profoundly painful. But it’s better than napping through life.”
Replay by Ken Grimwood
“Without a single gesture toward an explanation, this novel recounts the story of a man and a woman mysteriously given the ability to live their lives over. Each dies in 1988 only to awaken as a teenager in 1963 with adult knowledge and wisdom intact and the ability to make a new set of choices. Different spouses, lovers, children, careers, await them in each go-round of the past 25 years, as well as slightly altered versions of world events. Their deep commitment to one another continues through the centuries of their many lifetimes.” (Library Journal review) I haven’t read this book and I love it already.
How to Win Friends & Influence People by Dale Carnegie
Believe you me, I’ll be the first to distrust this bluntly titled book, but I’m floored by who and how many people recommend it.
En una entrevista televisiva, el periodista pregunta, de pronto, a su interlocutor: ”Umberto Eco, usted que tiene tan amplia cultura…”. Eco lo interrumpe:
Cultura, no. Lo que tengo es curiosidad, necesidad de conocimiento. Necesidad de ampliar mi propia vida, que es tan breve. Porque, a traves del conocimiento, al morir se pueden haber vivido miles de vidas. Uno tiene la experiencia propia pero, con solo quererlo, puede acercarse a la de Napoleon, a la de Julio Cesar.
Guillermo Jaim Etcheverry, La Tragedia Educativa, p85
It’s one of those moments when my head spins, twirls, swirls, and whirls. I’ve been seriously reading JS, CSS, and UI, since yesterday but it was just a couple of hours that it all came together. Let’s begin this Bushean trail with Ashley Pond V’s mindblowing, free web-book Developing Featherweight Web Services with Javascript. Then hop on to Sergio Pereira’s excellent Developer Notes for prototype.js. (Prototype.js, if you must know, is the JS framework.) Glen Murphy (recent googler) has a lot of interesting JS projects up his sleeve (say, this clock), and if you want clarity in this muddleheaded webworld, read everything you can find from Douglas Crockford (recent Yahoo)—all he’s written on JS is gobble-up-worthy, specially recommended are Prototypal Inheritance in JavaScript (it’s so short and yet it will change completely how you write JS) and Private Members in JavaScript (a wonderfully clear and short overview of JS object-orientedness). Did you know about JSON (Javascript Object Notation)? One last word on JS coding (and learning), please don’t do it without an HTML Real-Time Editor, a Javascript Shell, and a Javascript Development Environment—just don’t. Yahoo! has a pretty nice UI blog going on (a couple of days ago, for instance, they did a nice post on the Patterns Behind the Yahoo! Home Page Beta) and they recently released an awesome Pattern Library (Yahoo! is becoming pretty cool lately… at least for developers). UI patterns seem to be all the rage these days and deservedly so. Jenifer Tidwell recent O’reilly, Designing Interfaces, looks set to become a classic (and some very worthwhile excerpts are available online). Out in the wild web, there’s even a pattern of how to build patterns, an interesting conversation on patterns here (intro, 1, 2, 3, 4), and Nine Tips for Designing Rich Internet Applications to which I wholeheartedly agree. Doesn’t it just floor you how smart and fast things are becoming? OK, back to work.
Lorelai: Come on! Rory: Wait. Come on where? L: Inside. R: We can’t go inside. L: Why? Is there a force field or something around the place? R: This is Harvard. L: I know. R: This. Is. Haaarvard. L: I. Knooow. R: You can’t just go inside. You need a guide. L: I’ll be your guide. R: What do you know about Harvard? L: I know this: Look. There is Harvard. R: Mooom… L: Hey, don’t you want to see it? Huh? The place where you be living and studying and developing very naive but pretentious worldviews that will come crashing down the minute you graduate. R: Yeah, I do…
Gilmore Girls, The Road Trip to Harvard
Out of college but still smack in the very-naive-but-pretentious-worldviews phase. |
Recent Comments
More »95
|