<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link rel="hub" href="http://tumblr.superfeedr.com/" xmlns:atom="http://www.w3.org/2005/Atom"/><description>Tidbits on software, music, food, design, and life.</description><title>Square Signals</title><generator>Tumblr (3.0; @andymatuschak)</generator><link>http://blog.andymatuschak.org/</link><item><title>The discomfiting continuum of consciousness</title><description>&lt;p&gt;Some folks have ethical objections to eating meat, but no one seems to mind savaging a carrot. Why? Both fish and ficus are living organisms, after all. I doubt vegetarians consider taxonomic kingdoms when making moral judgments: the decision comes more intuitively.&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.amazon.com/Am-Strange-Loop-Douglas-Hofstadter/dp/0465030785"&gt;Douglas Hofstadter suggests&lt;/a&gt; that many are judging the presence of consciousness, a sense of self-hood, “inner light.” He argues that this attribute isn’t just an on–off switch but rather a &lt;i&gt;continuum:&lt;/i&gt; humans seem to have a stronger sense of “I” than a dog than a fish than a fly. Your sense of species’ relative positions might be different from mine—I’ll dodge the question of what specifically we’re assessing&lt;i&gt;—&lt;/i&gt;but surely you’d place, say, monkeys and ferns in different spots.&lt;/p&gt;&lt;p&gt;Now let’s zoom in on the “human” portion of that spectrum. Does a newborn occupy exactly the same spot as you? Infants &lt;a href="http://en.wikipedia.org/wiki/Rouge_test"&gt;don’t recognize themselves in the mirror&lt;/a&gt;, don’t appear to reflect upon their experiences, can’t plan, couldn’t pass the &lt;a href="http://en.wikipedia.org/wiki/Turing_test"&gt;Turing test&lt;/a&gt;. They’re closer to you than a fish, sure, but how do they compare to a chimp?&lt;/p&gt;&lt;p&gt;Someone recently asked me if I’d ever been to Colorado. I said “yes, but I was nine-ish. Not sentient yet.” My reply was flippant, but it reflects some truth: my “inner life” at that age was far simpler than the one I’ve enjoyed in adulthood. My behavior was almost purely reactive; I integrated facts without understanding; I exhibited limited theory-building or subjunctive thought. I was closer to an “i” than to an “I.”&lt;/p&gt;&lt;p&gt;That made sense: consciousness seems to be a feedback system constantly evolving in response to perception, so it should grow in reach as it consumes more input.&lt;/p&gt;&lt;p&gt;But does our consciousness grow monotonically? Consider the last time you were quite drunk—after all, alcohol is beloved in part because it makes us &lt;i&gt;less self-conscious! &lt;/i&gt;Other drugs make their users &lt;i&gt;more&lt;/i&gt; self-conscious, while still others move one not exactly towards “I” nor “i”, but sideways into surprising alternative modes of awareness.&lt;/p&gt;&lt;p&gt;So perhaps consciousness grows monotonically when not adulterated by external chemical influences. But then what about &lt;i&gt;internal&lt;/i&gt; chemical influences? How did your sense of self respond the last time you stayed up all night? I find (to my great alarm) that if I lose even an hour of sleep, most factors I associate with my consciousness suffer hugely!&lt;/p&gt;&lt;p&gt;Conversely, if I find myself unable to perceive, reflect, analogize, or emote, then a peaceful walk often restores these faculties somewhat.&lt;/p&gt;&lt;p&gt;This is all fairly terrifying: our incredibly intimate sense of self ebbs and flows by the hour with unseen tides. But if it’s going to happen, perhaps at least we can exert some control over it! Can we exploit &lt;a href="http://en.wikipedia.org/wiki/Neural_correlates_of_consciousness"&gt;the “peaceful walk” mechanism&lt;/a&gt; not only to restore these sentient faculties but to &lt;i&gt;boost &lt;/i&gt;them? Longer-term, could certain hobbies or lifestyles lead to a more powerful sense of self? Which, while we’re introspecting, begs a further meta-question: would that even be desirable or useful?&lt;/p&gt;</description><link>http://blog.andymatuschak.org/post/15713891322</link><guid>http://blog.andymatuschak.org/post/15713891322</guid><pubDate>Wed, 11 Jan 2012 22:32:00 -0800</pubDate><category>consciousness</category><category>prose</category></item><item><title>Teach kids to code; watch them cure cancer</title><description>&lt;p&gt;People list plenty of reasons why kids should learn how computers work. They could automate repetitive tasks; they’d be empowered to create in all kinds of media; they’d learn powerful new problem solving approaches. That last point (so innocent seeming!) has gripped my imagination most thoroughly: a mastery of abstraction offers stupendous power in practically every endeavor.&lt;/p&gt;&lt;p&gt;But perhaps the most important tower of abstraction—one whose structure we scarcely understand despite its supremely personal importance—is rarely mentioned in this context: &lt;i&gt;life&lt;/i&gt;.&lt;/p&gt;&lt;p&gt;Say we cure cancer. Hooray for us! But we’ll face other diseases, then still more after we’ve addressed those. We address the analogues in software (bugs, security holes) at a totally different pace from those of life. Even the attitude is different. Software engineers know their software has bugs—and that it probably always will—but the industry nevertheless accelerates and thrives because when issues crop up, they’re generally resolved quickly and decisively.&lt;/p&gt;&lt;p&gt;We can fix software bugs quickly because we (mostly) understand the systems we’re addressing at all relevant levels of emergent behavior. We’ve established that understanding through composable abstractions about which we can reason in isolation, and by employing tools which enable us to rapidly test conjectures and gather data.&lt;/p&gt;&lt;p&gt;&lt;a href="http://en.wikipedia.org/wiki/Personalized_medicine"&gt;Personalized medicine&lt;/a&gt; applies some of these principles to healthcare: when a patient’s bacterial population evolves a resistance to a drug, we should be able to rapidly study that resistance and produce an appropriately targeted treatment. For this end, we’ll need diagnostic and fabrication tools, yes; but more fundamentally, we’ll need medical understanding at the many levels of emergent phenomena &lt;i&gt;between&lt;/i&gt; organic chemistry and the consequent symptoms we observe.&lt;/p&gt;&lt;p&gt;Software engineering could provide a powerful &lt;a href="http://blog.andymatuschak.org/post/11981786941/feeding-abstraction-with-understanding"&gt;microworld&lt;/a&gt; for biological engineering. A generation of children steeped as much in abstraction as in language would become a generation of adults extraordinarily well-equipped to understand our biology—and therefore to manipulate it. It’s difficult to comprehend the reach of explosive growth in this field. How many more generations will die of old age?&lt;/p&gt;</description><link>http://blog.andymatuschak.org/post/12911108486</link><guid>http://blog.andymatuschak.org/post/12911108486</guid><pubDate>Wed, 16 Nov 2011 19:22:37 -0800</pubDate><category>education</category><category>bioengineering</category><category>abstraction</category></item><item><title>Feeding abstraction with understanding</title><description>&lt;p&gt;Abstractions empower and accelerate. As usefully encapsulated nuggets of understanding, the creation of novel abstractions drives a field’s progress, but their invention is possible only with deep understanding of present ideas. So I declare: if we are to master a field, we must accept none of its abstractions as magic. Rather, we should yoke them as automations of what we already understand.&lt;/p&gt;&lt;p&gt;This concept separates the random, slowly-reinforced walk of genetic evolution from the directed, rapid exploration of scientific evolution. Understanding provides not only a compass bearing but also course correction, without which extended progress is impossible.&lt;/p&gt;&lt;p&gt;For instance, if you always cook from recipes (without understanding why you’re executing each step), you’ll be poorly equipped to fix a dish that’s gone wrong, improve an average one, or synthesize something new altogether. The same limits apply to parochial understandings of abstractions in musicianship (“minor chords sound sad”), writing (the five-paragraph essay), mathematics (the Pythagorean theorem), and engineering (caching systems).&lt;/p&gt;&lt;hr&gt;&lt;p&gt;Say you accept this idea. We’re then faced with a practical problem: how can you ever learn to do anything useful without endless prerequisites? Algebra classes are particularly afflicted.&lt;/p&gt;&lt;ul&gt;&lt;li&gt;TEACHER: Today we’ll learn how to factor quadratics of this form.&lt;/li&gt;&lt;li&gt;STUDENT: Why do I need to learn that?&lt;/li&gt;&lt;li&gt;TEACHER: You could use it to find where parabolas hit the x axis.&lt;/li&gt;&lt;li&gt;STUDENT: Why do I need to learn that?&lt;/li&gt;&lt;li&gt;TEACHER: You could use that to find the trajectories of point masses.&lt;/li&gt;&lt;li&gt;STUDENT: What?&lt;/li&gt;&lt;li&gt;TEACHER: Believe me, you’ll be glad you learned this someday.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;To foster real understanding, we must format concepts so that students can derive solutions for themselves, not encourage them memorize some procedure. And of course, they must be motivated to find those solutions by a problem they actually care to solve.&lt;/p&gt;&lt;p&gt;&lt;a href="http://sites.wiki.ubc.ca/etec510/Microworlds"&gt;Microworlds&lt;/a&gt; may form the basis of one solution. The idea is to create a tiny, self-consistent sandbox in which the student can explore some concept, given little instruction beyond what he already knows. &lt;a href="http://blog.andymatuschak.org/post/981429112/progressive-disclosure-in-software-education"&gt;The sandbox doesn’t &lt;i&gt;hide&lt;/i&gt; detail so much as&lt;i&gt; focus&lt;/i&gt;&lt;/a&gt;. One can imagine, then, constructing a successively expanding universe of these microworlds—each itself useful—so that hops between neighbors aren’t too vast.&lt;/p&gt;&lt;p&gt;Imagine trying to learn to play the keyboard. You could start with one which only allows the student to play in the pentatonic scale in C. Five keys aren’t so intimidating. The others are there, but dimmed out. You can still play all kinds of melodies. You can explore rhythm. You could play chords, though many won’t realize it. Then you could switch over to a hexatonic blues scale mode: also self-contained; also not too intimidating. Then you could start displaying the notes the student plays on a staff above the keyboard. And so on. The skills learned on these limited keyboards are not abandoned when moving to more complex ones—they’re fruitfully employed!&lt;/p&gt;&lt;p&gt;Each microworld will naturally engage different sorts of students, and that’s okay: they should be free to roam between any within reach. The goal is to provide a sandbox—not a syllabus—for experimentation and the formation of &lt;i&gt;understanding&lt;/i&gt;. Understanding is marvelous because it’s so readily a feedback loop: we can use it to make more of it.&lt;/p&gt;</description><link>http://blog.andymatuschak.org/post/11981786941</link><guid>http://blog.andymatuschak.org/post/11981786941</guid><pubDate>Wed, 26 Oct 2011 22:11:00 -0700</pubDate><category>learning</category><category>education</category><category>abstraction</category><category>prose</category></item><item><title>The air sings: sympathetic vibrations</title><description>&lt;p&gt;Chords sound rotten on an out-of-tune piano. I’ve &lt;a href="http://blog.andymatuschak.org/post/7565332844/musical-tone-perceived-dissonance"&gt;written about why we think that might be&lt;/a&gt;: harmonics of the detuned lower notes end up a small distance from those of the upper notes, rather than directly overlapping them.&lt;/p&gt;

&lt;p&gt;My piano was tuned this weekend. Playing it after the technician had left, the sound’s transformation startled me: how rich and powerful my piano had suddenly become! I remembered, then, a less obvious but absolutely critical effect of correct tuning: sympathetic vibrations of a note’s upper harmonics.&lt;/p&gt;

&lt;p&gt;When you play a middle C, the resulting wave carries pitches of higher frequencies according to the harmonic series: C&lt;sub&gt;5&lt;/sub&gt;, G&lt;sub&gt;5&lt;/sub&gt;, C&lt;sub&gt;6&lt;/sub&gt;, E&lt;sub&gt;6&lt;/sub&gt;, and so on. The wave, emanating from middle C’s string, will then excite the strings corresponding to the other pitches—providing the dampers on those strings are lifted (by pressing its key or the damper pedal). The sympathetic vibrations in these higher strings increase the volume of their respective harmonics, coloring the resulting tone.&lt;/p&gt;&lt;p&gt;In other words, not every C major chord composed of a C&lt;sub&gt;4&lt;/sub&gt;, E&lt;sub&gt;4&lt;/sub&gt;, and G&lt;sub&gt;4&lt;/sub&gt; will sound the same. The resulting sound will depend on which dampers are lifted in the octaves above! If the piano is out in tune, though, the frequencies of the strings in the harmonic series won’t align, so there will be little sympathetic vibration.&lt;/p&gt;&lt;p&gt;Here’s a little video demonstrating this principle in action:&lt;/p&gt;

&lt;video width="500" height="281" controls&gt;&lt;source src="http://andymatuschak.org/files/Sympathetic%20Vibrations/Sympathetic%20Vibrations.mp4" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"'&gt;&lt;source src="http://andymatuschak.org/files/Sympathetic%20Vibrations/Sympathetic%20Vibrations.webm" type='video/webm; codecs="vp8, vorbis"'&gt;&lt;source src="http://andymatuschak.org/files/Sympathetic%20Vibrations/Sympathetic%20Vibrations.ogv" type='video/ogg; codecs="theora, vorbis"'&gt;&lt;p&gt;Download video as &lt;a href="http://andymatuschak.org/files/Sympathetic%20Vibrations/Sympathetic%20Vibrations.mp4"&gt;MP4&lt;/a&gt;.&lt;/p&gt;
&lt;/source&gt;&lt;/source&gt;&lt;/source&gt;&lt;/video&gt;</description><link>http://blog.andymatuschak.org/post/11387919253</link><guid>http://blog.andymatuschak.org/post/11387919253</guid><pubDate>Wed, 12 Oct 2011 23:14:00 -0700</pubDate><category>piano</category><category>music</category></item><item><title>Juggling exploration and exploitation in intuition</title><description>&lt;p&gt;I spend my life building abstractions and automating processes. It’s (literally) my job, yes; but my head’s always whirring away to that end.&lt;/p&gt;&lt;p&gt;Say I’m tackling some piano piece. I transform the score’s markings into musical language. I reify that musical language into instructions: “play &lt;i&gt;this&lt;/i&gt; key &lt;i&gt;here&lt;/i&gt;,” “increase in volume,” etc. I execute those instructions via complex musculature. Reacting to the sound produced, I form an interpretation which (hopefully) maps emotion onto the score via a series of fine adjustments.&lt;/p&gt;&lt;p&gt;I’ve spent many years automating these processes, relegating always more to my subconscious. I find even now that my playing of a passage will never match the sound in my head until it’s memorized, and my hands navigate the keys unbidden. I build these automations by finding patterns and constructing abstractions. I might not be able to read a trio of notes at tempo if I address them individually, but I could recognize their &lt;i&gt;collective shape&lt;/i&gt; on the page as an arpeggiated triad or an ascending scale, which I could then execute without further thought.&lt;/p&gt;&lt;p&gt;I suspect intuition is the automation of acts once executed consciously. Of course I’ve built most of this intuition unconsciously, but as I’ve begun to study studying, I’ve tried to exert conscious control of that growth. Cognizance has been the primary mechanism: constant reflection on and criticism of my actions informed by their outcomes.&lt;/p&gt;&lt;p&gt;Now I wonder: if I automate ever more layers of activity so I can focus my attention on higher levels still, can I ever stop scrutinizing the automated abstractions? What if a powerful new skill won’t emerge until I change the way I’ve always intuitively performed some basic task? Maybe the skill tree’s actually a &lt;i&gt;maze,&lt;/i&gt; and I need to backtrack!&lt;/p&gt;&lt;p&gt;I’ve found new layers of understanding in my work&lt;sup&gt;&lt;a href="#intuition_swe"&gt;1&lt;/a&gt;&lt;/sup&gt; that required me to abandon fundamental concepts I’d automated long ago. And in my piano education, I’ve spent years unlearning bad habits I developed as a child. So how should we balance &lt;a href="http://en.wikipedia.org/wiki/Reinforcement_learning"&gt;exploration and exploitation&lt;/a&gt; here? It seems we can trust nothing, yet if we spend all our time questioning assumptions, we’ll never draw any conclusions.&lt;/p&gt;

&lt;ol class="footnotes"&gt;&lt;li&gt;Including (software engineering alert!): fun with dependent, existential, and generalized abstract data types; invisible (to me) dangers in traditional asynchronous models; the ubiquitous and unformalized transactions and state machines in imperative logic; the value of immutable memory; knitting together the declarative, functional, and imperative; etc. Someday I’ll write technically about software engineering again…&lt;br/&gt;&lt;a name="intuition_swe"&gt;&lt;/a&gt;&lt;/li&gt;&lt;/ol&gt;</description><link>http://blog.andymatuschak.org/post/10473819055</link><guid>http://blog.andymatuschak.org/post/10473819055</guid><pubDate>Tue, 20 Sep 2011 23:06:00 -0700</pubDate><category>cognizance</category><category>learning</category><category>Publish it Tuesday</category></item><item><title>In defense of "fusion" cuisine</title><description>&lt;p&gt;San Francisco bursts with fantastic international food. Ethiopian, Thai, Japanese, and Peruvian food carts roam our streets every day, vending explosive flavor combinations that are often unknown to local cuisine—except, that is, in “fusion” restaurants, which (often unsuccessfully) derive novelty from culinary combination. Here I’ll advocate fusion, but of a different sort than these amalgamating restaurants practice: not of flavors, but of &lt;i&gt;techniques&lt;/i&gt;.&lt;/p&gt;&lt;p&gt;For instance: we don’t need to eat overcooked meat anymore, ever (sous vide cooking has eliminated this problem), but you will never find a bowl of curry with meat that hasn’t been heated to at least 170°F.&lt;/p&gt;&lt;p&gt;Then there are the vegetables, so often mushy and flavorless, from the cheapest source available, their color pallid from imprecise cookery. I remember by contrast the first time I made the bœuf bourguignon from Thomas Keller’s &lt;a href="http://books.google.com/books/about/Bouchon.html?id=5Jy7qL6WXcoC"&gt;Bouchon&lt;/a&gt;. He braises beef with aromatic vegetables, then replaces them with a fresh batch before serving—they’ve already lost all their flavor. He cooks each type separately and as it is best prepared: carrots glazed, mushrooms browned, potatoes simmered.&lt;/p&gt;&lt;p&gt;Salt, too, is fundamental: it increases the intensity of all other flavors. Meat without salt is like a desaturated photo; salt sprinkled on top of cooked meat will always disappoint because the interior remains unseasoned. In quality Western restaurants, meats are generally salted days in advance so that the center of the meat will satisfy. But that’s exceedingly rare in most non-European cuisines.&lt;/p&gt;&lt;p&gt;&lt;a href="http://andymatuschak.org/files/TumblrImages/Curry.jpg"&gt;&lt;img src="http://media.tumblr.com/tumblr_lr50taTkdG1qzgm2w.jpg"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;This weekend, I made a Thai green curry while minding the European cooking principles I’ve learned. For the curry, I infused coconut milk with lime, galangal, green chilis, coriander, cardamom, nama shoyu, shallot, and lemongrass. A typical blend, modulo soy for shrimp paste.&lt;/p&gt;&lt;p&gt;The rest of the curry, though, was prepared non-traditionally. Restaurants in California talk about being “ingredient-driven” as if that describes a cuisine, but it’s just an &lt;i&gt;attribute&lt;/i&gt;—and one that should be applied to all cooking. So I got the best vegetables and meat I could find and prepared them with individual attention and precision. Or at least as much as my dilettantish skills could muster.&lt;/p&gt;&lt;p&gt;I packed some lovely duck breast in salt well in advance, then cooked it sous vide at 137°F with some of the curry paste. At service, I cross-hatched its skin and slowly crisped it. Then I sliced it thinly against the grain. No bones.&lt;/p&gt;&lt;p&gt;I sautéed oyster mushrooms over high heat with plenty of room to crisp them slightly. I salted them early and finished by deglazing the pan with a bit of rice wine vinegar. I drained them carefully so they wouldn’t be soggy or rubbery. I tossed cheddar cauliflower in oil, salt, and pepper, then roasted it over high heat until deep golden. I lightly browned golden squash in a hot pan with salt and rice wine vinegar, leaving the pieces with tooth and loads of flavor.&lt;/p&gt;&lt;p&gt;Then when serving the dish, I warmed all the components in the curry to marry the flavors. But each ingredient retained its nature: it was the first time I’d had squash in a curry that actually tasted like squash.&lt;/p&gt;&lt;p&gt;So: I know that I can visit &lt;a href="http://haparamensf.com/"&gt;Hapa Ramen&lt;/a&gt; to get ramen with perfectly cooked pork belly. The folks at &lt;a href="http://adhocrestaurant.com"&gt;Ad Hoc&lt;/a&gt; are making precise fried chicken. Now where am I going to find modern masala?&lt;/p&gt;</description><link>http://blog.andymatuschak.org/post/9909955393</link><guid>http://blog.andymatuschak.org/post/9909955393</guid><pubDate>Tue, 06 Sep 2011 22:38:00 -0700</pubDate><category>cooking</category><category>Publish it Tuesday</category></item><item><title>Subconscious Kindling</title><description>&lt;p&gt;In the first chapter of &lt;a href="http://beginningofinfinity.com/"&gt;The Beginning of Infinity&lt;/a&gt;, David Deutsch writes:&lt;/p&gt;&lt;blockquote&gt;The role of experiment and observation is to choose between existing theories, not to be the source of new ones.&lt;/blockquote&gt;&lt;p&gt;I have the most fun attacking &lt;a href="http://blog.andymatuschak.org/post/5384014918/hard-with-a-capital-h"&gt;questions with no satisfying theories in sight&lt;/a&gt;. So: how can we &lt;i&gt;generate novel theories&lt;/i&gt; for a problem? It’s critical to recognize that the creation of a hypothesis demands a wholly distinct approach from its evaluation.&lt;/p&gt;&lt;p&gt;Sometimes I uncover a critical idea by consciously exploring possible avenues, but more often, the realization flashes unbidden, with my attention elsewhere—like a lightbulb out of a classic cartoon. In these cases, I suspect my mind has been churning ceaselessly at some tree of possibilities beneath the surface of consciousness, projecting potential futures, searching my memory for relevant assocations, and evaluating the relevance of its findings before bubbling any useful notions up to my awareness.&lt;/p&gt;&lt;p&gt;We can propel this part of our psyche along by seeding and predisposing it for this pursuit. By providing &lt;i style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: inherit; line-height: inherit; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; background-position: initial initial; background-repeat: initial initial; "&gt;kindling&lt;/i&gt;. I like to imagine waking up little subconscious drone ants and sending them in every direction, hoping that one will return with something useful later. &lt;/p&gt;&lt;p&gt;I find that doodles, in particular, provide especially effective kindling—whatever that means in your field: instinctive improvisation at the piano, whiteboard sketches of systems in engineering, lists of assertions in writing.&lt;/p&gt;&lt;p&gt;This process sounds much like brainstorming or mind mapping, but I don’t think it is, exactly: those are aids to &lt;i&gt;conscious&lt;/i&gt; invention and organization. I’m suggesting something more like &lt;a href="http://en.wikipedia.org/wiki/Rubber_duck_debugging"&gt;rubber duck debugging&lt;/a&gt;, a technique in which the simple act of explaining a problem in great detail induces cognitive dissonance during the weakest parts of the explanation.&lt;/p&gt;&lt;p&gt;As a highly creative act, theory generation benefits from many of the same techniques that bolster artistic pursuits. Besides doodling, I’ve developed theories by exaggerating, by celebrating contrast, and by applying techniques from one field to another unrelated one. Whatever I can do to throw more wood on the fire.&lt;/p&gt;</description><link>http://blog.andymatuschak.org/post/9359201475</link><guid>http://blog.andymatuschak.org/post/9359201475</guid><pubDate>Wed, 24 Aug 2011 22:43:00 -0700</pubDate><category>prose</category><category>science</category></item><item><title>Second-person self-awareness</title><description>&lt;p&gt;In advice given to prospective students, &lt;a href="http://performancerecordings.com/lessons.html"&gt;my former piano teacher, James Boyk, suggests&lt;/a&gt;:&lt;/p&gt;

&lt;blockquote&gt;I’m not the teacher you want if you want to be passively &lt;em&gt;turned into&lt;/em&gt; a pianist and musician instead of actively turning yourself &lt;em&gt;into&lt;/em&gt; one.&lt;/blockquote&gt;

&lt;p&gt;This statement so concisely and wonderfully conveys my position on education and self-improvement. Its attitude absolutely informs the celebration of cognizance in my writing here, but so far, my suggestions in that regard have been for personal action. There’s a role for others in self-awareness, too: my teacher might expect his students to take ownership of their education, but that doesn’t mean he mentors passively!&lt;/p&gt;

&lt;p&gt;The “1 on 1” meetings between employee and manager might strike you as a venue for second-person self-awareness, but these house tremendous opportunity for passivity: generally, the manager suggests how his employee might improve his performance. If only one could achieve mastery simply by following others’ instructions! All we’d have to do is carefully note what our bosses say in those meetings and then execute those directions.&lt;/p&gt;

&lt;p&gt;No, I suspect level-jumping changes originate from within. The teacher’s role, then, is to inspire, to provide objectivity, to develop the student’s taste and understanding so he can find his own weaknesses, and to make sure he can find the tools to defeat those weaknesses once he understands them.&lt;/p&gt;

&lt;p&gt;Many &lt;a href="http://books.google.com/books?id=1cEe98nd5iYC&amp;lpg=PR5&amp;ots=e-yjPF1GQf&amp;dq=personal%20professional%20journal&amp;lr&amp;pg=PP1#v=onepage&amp;q=personal%20professional%20journal&amp;f=false"&gt;advocate personal professional journals&lt;/a&gt;: every day, write down what you’ve done, what you’re going to do tomorrow, what you could do better. I keep one, and I think they’re a good idea. But, to crib again from Jim, a &lt;em&gt;second-person&lt;/em&gt; journal can provide incredible perspective and self-understanding. After every lesson, his students email him a detailed summary of what they’ve done, what they’re going to do, and reflections on the lesson’s contents. He then responds actively to the student’s self-analysis, calling out particularly effective or misguided ideas, and guiding their development. He’s published some examples about halfway down &lt;a href="http://performancerecordings.com/lessons.html"&gt;this page&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;We exchanged tens of thousands of words in this manner over two years, and I progressed all the more for it. And critically: this practice helped me learn to &lt;em&gt;teach myself&lt;/em&gt;—the ultimate goal, since I would be eventually moving away. Now, I just wonder how I can apply this technique to my present pursuits.&lt;/p&gt;</description><link>http://blog.andymatuschak.org/post/8717186905</link><guid>http://blog.andymatuschak.org/post/8717186905</guid><pubDate>Tue, 09 Aug 2011 19:46:00 -0700</pubDate><category>education</category><category>Publish it Tuesday</category></item><item><title>Executing my soup program with excellence</title><description>&lt;p&gt;This past weekend I encountered the following sales pitch for an industrial food service product: “are you ready to execute &lt;em&gt;your&lt;/em&gt; soup program with excellence?”&lt;/p&gt;

&lt;p&gt;Corporatese hilarity set momentarily aside, I derived inexplicable comfort from the vision of a mythical fast food franchise owner—ardent and passionate about every aspect of his business—who, reeling with the possibilities of this product, would engage and debate the salesman with wide eyes. Who might share his discovery with his friends (naturally: a set comprised mostly of fellow franchise owners), zealously contending the relative merits of competing industrial soup products.&lt;/p&gt;

&lt;p&gt;I don’t know if this owner exists, but even entry-level employees in my industry (software engineering) often behave like him. I suspect that’s due to—for better or for worse—the &lt;a href="http://www.ted.com/talks/dan_pink_on_motivation.html"&gt;exaltation of &lt;em&gt;purpose&lt;/em&gt;&lt;/a&gt; in one’s occupation: aspiring to do something &lt;em&gt;objectively&lt;/em&gt; important, meaningful, or good during business hours.&lt;/p&gt;

&lt;p&gt;I remind myself often how absurdly, outlandishly fortunate I am to have chosen an occupation with a supply–demand curve that makes &lt;em&gt;purpose&lt;/em&gt; a conceivable job amenity. If I’d chosen another path, I’d be forced to spend those eight hours a day with utter personal indifference to my success or failure.&lt;/p&gt;

&lt;p&gt;This celebration of purpose, though, comes with cost: if I think my work Matters with a capital ‘M,’ I’ve tied my self-esteem, temperament, psychic wellness to that undertaking. My day-time struggle with a nasty problem will seamlessly transition into detached night-time conversation, my frustrated, churning mind still back at my gray plastic desk under fluorescent light.&lt;/p&gt;

&lt;p&gt;I now suspect the real danger is in a &lt;em&gt;false&lt;/em&gt; sense of purpose: in accepting its bleed into after-hours mentally and physically, yoking it to consummate responsibility, equating personal success with the project’s success—all while the work itself does not tally the imagined objective import, meaning, or good.&lt;/p&gt;

&lt;p&gt;Sometimes this behavior is easy to spot. I worry about new college graduates choosing a first apartment a block away from work for a convenient commute. I’m self-aware enough to sharply change course when all my conversations somehow return to software. But unstated attitudes and priorities are harder to catch.&lt;/p&gt;

&lt;p&gt;Having worked twenty-seven of the last thirty days, I’ve found I needed this brisk reminder: to attribute only as much meaning and intrapersonal attention to my work as to balance the purpose it delivers.&lt;/p&gt;</description><link>http://blog.andymatuschak.org/post/8412560928</link><guid>http://blog.andymatuschak.org/post/8412560928</guid><pubDate>Tue, 02 Aug 2011 20:08:00 -0700</pubDate><category>Publish it Tuesday</category><category>personal</category><category>work</category><category>prose</category></item><item><title>Vegetable stock: my secret lover</title><description>&lt;p&gt;After learning how to season food correctly, homemade stock is the single best thing anyone can do for his cooking. A stock is a liquid extraction of complementary flavors, a broad palette upon which sharper splashes of color may be painted.&lt;/p&gt;

&lt;p&gt;Stock is about balance and intensity of flavor. Making a mushroom sauce? If you were to just purée some cooked mushrooms, the isolated flavor would taste harsh, but add some stock and it will gain balancing sweet and vegetal notes. Those carrots need more flavor? Simmer them in stock instead of water: stocks are &lt;em&gt;distillations&lt;/em&gt; of elemental flavors. They can be diluted or concentrated at will.&lt;/p&gt;

&lt;p&gt;I credit stock with much of my ability to impress in the kitchen. They’re as much cooking &lt;em&gt;technique&lt;/em&gt; as they are &lt;em&gt;ingredient&lt;/em&gt;. But, you keen, they’re too hard to make! They take too long! Nay. Sit down. Let me tell you about my favorite stock. I make it almost weekly, and it’s so easy that I am positively mystified why every cook in every household isn’t making this elixir regularly. Let me tell you about vegetable stock, and let me tell you how to make it.&lt;/p&gt;

&lt;p&gt;&lt;img src="http://media.tumblr.com/tumblr_loycq0a9D31qzgm2w.jpg"/&gt;&lt;/p&gt;

&lt;p&gt;I made &lt;a href="http://en.wikipedia.org/wiki/Nasturtium_(genus)"&gt;nasturtium&lt;/a&gt; soup this weekend, and the subsequent dinner’s conversation remained imperturbably anchored to how unbelievably tasty it was. Yet it consisted of nothing more than nasturtium leaves puréed with vegetable stock, with a nasturtium flower for garnish.&lt;/p&gt;

&lt;p&gt;Consider how else you might make this soup. You’ve got some nasturtium leaves: fine. How will you turn that into a soup? You’ll need to add some liquid, clearly. &lt;a href="http://www.google.com/search?client=safari&amp;rls=en&amp;q=nasturtium+soup&amp;ie=UTF-8&amp;oe=UTF-8"&gt;Looking around the internet&lt;/a&gt;, I see a minefield of misguided ideas. Steep the leaves? That will diminish their brightness. No, they need to be puréed uncooked. But with what? Cream? That will dull the leaves’ radish-y spice. Chicken broth or stock? The flavor of nasturtium is too delicate: you’ll overpower it. Thicken with potato? We don’t need filler here. Water? The result will taste thin and incomplete, lacking sweetness and umami.&lt;/p&gt;

&lt;p&gt;Purée the leaves with vegetable stock and it will taste like a garden. It will taste like it smelled when you went back there to pick the nasturtium. It will taste like sitting in a park in spring. And then the horseradish spice of the leaves will give you a hearty, well-rounded slap and bring you back to the kitchen.&lt;/p&gt;

&lt;h4&gt;Making vegetable stock&lt;/h4&gt;

&lt;p&gt;Get three large carrots, an onion, two leeks, and a bulb of fennel. Peel the carrots and onion; discard all but the white and light-green part of the leeks. Wash the leeks and fennel. Chop everything up finely and put it in a big pot with a few glugs of oil.&lt;/p&gt;

&lt;p&gt;Now you’re going to sweeten up these vegetables by cooking them over low heat. You don’t want to brown them—that will make a darker, richer variant of this stock, which should be bright and clean. Add a large three-fingered pinch of salt to draw out the vegetables’ juices and turn the heat to low. Cook, stirring occasionally, for about fifteen minutes. Taste an onion. It should be quite sweet.&lt;/p&gt;

&lt;p&gt;Add enough water to cover the vegetables, then add that amount of water twice more. Bring the water to a bare simmer and then let it cook for forty-five minutes.&lt;/p&gt;

&lt;p&gt;Strain the stock. That’s it. Store it in your fridge, but the stock will lose its brightness after a few days. That’s why, when America’s Test Kitchen set out to find the best grocery store vegetable stock, they concluded that all of them were unusable.&lt;/p&gt;

&lt;p&gt;This stock provides a mostly neutral foundation for flavor. You can adjust for its intended purpose readily and improvisationally. Want grassier flavors? Add half a bunch of parsley. Heartier? Brown the vegetables while sautéing them. Asian flavors? Add ginger, a little lemongrass, and star anise. And so on.&lt;/p&gt;

&lt;h4&gt;How else you might use this stock&lt;/h4&gt;

&lt;p&gt;Reduce the stock by half, add salt and some fresh lemon juice; and you will have the best vegetable broth you’ve ever tasted. Add a bunch of fresh, perfectly-cooked summer vegetables immediately before serving and you will &lt;em&gt;wow&lt;/em&gt; people. One friend, tasting in disbelief, asked how much honey I added to make it so sweet. I told him “three carrots.”&lt;/p&gt;

&lt;p&gt;Make risotto with it. Cook pasta in it. Any vegetable which you would normally cook by simmering in water (carrots, potatoes, turnips, pearl onions…)? Cook them in this with a healthy dose of salt. Make a fantastic sauce for any dish by puréeing a complementary, perfectly-cooked vegetable with reduced stock. Season it and use it in place of store-bought chicken broth: that stuff tastes like industrial chemicals.&lt;/p&gt;

&lt;p&gt;Once you’ve got this down, no one will have to persuade you to learn about chicken, veal, pork, fish, and mushroom stocks.&lt;/p&gt;</description><link>http://blog.andymatuschak.org/post/8092537664</link><guid>http://blog.andymatuschak.org/post/8092537664</guid><pubDate>Tue, 26 Jul 2011 11:02:00 -0700</pubDate><category>cooking</category><category>Publish it Tuesday</category></item><item><title>Musical tone and perceived dissonance</title><description>&lt;p&gt;Why does a &lt;a href="http://andymatuschak.org/files/Dissonance/Fifth.mp3"&gt;perfect fifth&lt;/a&gt; sound so satisfying when a &lt;a href="http://andymatuschak.org/files/Dissonance/Tritone.mp3"&gt;brash tritone&lt;/a&gt; is just a half step away?&lt;/p&gt;

&lt;p&gt;It seems we have a physiological correlate to these psychological effects. As sounds arrive, the &lt;a href="http://en.wikipedia.org/wiki/Basilar_membrane"&gt;basilar membrane&lt;/a&gt; vibrates like an oblong drum head, stimulating tiny hair cells attached to nerves. Each hair cell corresponds to a perceived frequency, working like little &lt;a href="http://en.wikipedia.org/wiki/Band_pass_filter"&gt;band-pass filters&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;One hair cell will be stimulated over some small range of input frequencies: for instance, hairs for &lt;a href="http://andymatuschak.org/files/Dissonance/262.mp3"&gt;middle C (262 Hz)&lt;/a&gt;, will also react to sounds between &lt;a href="http://andymatuschak.org/files/Dissonance/230.mp3"&gt;230 Hz (roughly A♯&lt;sub&gt;3&lt;/sub&gt;)&lt;/a&gt; and &lt;a href="http://andymatuschak.org/files/Dissonance/290.mp3"&gt;290 Hz (roughly D&lt;sub&gt;4&lt;/sub&gt;)&lt;/a&gt;. We’d say, then, that the &lt;em&gt;critical bandwidth&lt;/em&gt; at middle C is around 60 Hz. &lt;a href="http://link.aip.org/link/JASMAN/v36/i9/p1628/s1&amp;Agg=doi"&gt;Researchers have found that the bandwidth of a given hair equates to around a whole step on the western musical scale&lt;/a&gt;, basically the whole way up and down the keyboard.&lt;/p&gt;

&lt;p&gt;As for the tritone: when a sound vibrates two hairs with overlapping critical bandwidths (like &lt;a href="http://andymatuschak.org/files/Dissonance/523-554.mp3"&gt;C&lt;sub&gt;5&lt;/sub&gt; at 523 Hz and C♯&lt;sub&gt;5&lt;/sub&gt; at 554 Hz&lt;/a&gt;), &lt;a href="http://asadl.org/jasa/resource/1/jasman/v38/i4/p548_s1?isAuthorized=no"&gt;we perceive it as rough and rattling&lt;/a&gt;. Why are we wired that way? No study has conclusively determined the answer, but I’d wildly speculate that such sounds share acoustic properties with noise from friction. Rustling leaves; shuffling paws? Or screaming? Maybe it’s just a warning sign when our brain can’t readily separate two tones.&lt;/p&gt;

&lt;p&gt;Whatever it is, this effect alone can’t explain tritones’ impudence. Take &lt;a href="http://andymatuschak.org/files/Dissonance/262.mp3"&gt;C&lt;sub&gt;4&lt;/sub&gt; (262 Hz)&lt;/a&gt; and &lt;a href="http://andymatuschak.org/files/Dissonance/370.mp3"&gt;F♯&lt;sub&gt;4&lt;/sub&gt; (370 Hz)&lt;/a&gt;: they’re several bandwidths apart, but they still sound dissonant when &lt;a href="http://andymatuschak.org/files/Dissonance/Tritone.mp3"&gt;played together on my piano.&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;That’s because when you &lt;a href="http://andymatuschak.org/files/Dissonance/C-Piano.mp3"&gt;play a C&lt;sub&gt;4&lt;/sub&gt; on the piano&lt;/a&gt;, you are also playing a bunch of other tones: &lt;a href="http://andymatuschak.org/files/Dissonance/523.mp3"&gt;523 Hz (C&lt;sub&gt;5&lt;/sub&gt;)&lt;/a&gt;, &lt;a href="http://andymatuschak.org/files/Dissonance/786.mp3"&gt;786 Hz (G&lt;sub&gt;5&lt;/sub&gt;)&lt;/a&gt;, &lt;a href="http://andymatuschak.org/files/Dissonance/1048.mp3"&gt;1048 Hz (C&lt;sub&gt;6&lt;/sub&gt;)&lt;/a&gt;, and so on for the next three integer multiples of C&lt;sub&gt;4&lt;/sub&gt;’s frequency. The &lt;em&gt;tone&lt;/em&gt;, or &lt;em&gt;timbre&lt;/em&gt; of an instrument—what separates the sound of a flute from that of an oboe—largely derives from the relative strengths of these extra tones (&lt;em&gt;harmonics&lt;/em&gt;) to the pitch you meant to play (the &lt;em&gt;fundamental&lt;/em&gt;).&lt;/p&gt;

&lt;p&gt;So, your &lt;a href="http://andymatuschak.org/files/Dissonance/262.mp3"&gt;C&lt;sub&gt;4&lt;/sub&gt; (262 Hz)&lt;/a&gt; includes an inadvertent and somewhat quieter &lt;a href="http://andymatuschak.org/files/Dissonance/786.mp3"&gt;G&lt;sub&gt;5&lt;/sub&gt; (786 Hz)&lt;/a&gt;. Note two of the tritone—the &lt;a href="http://andymatuschak.org/files/Dissonance/370.mp3"&gt;F♯&lt;sub&gt;3&lt;/sub&gt; (370 Hz)&lt;/a&gt; will include an extra bit of &lt;a href="http://andymatuschak.org/files/Dissonance/740.mp3"&gt;F♯&lt;sub&gt;4&lt;/sub&gt; (740 Hz)&lt;/a&gt;. These two harmonics have colliding tiny-hair-bandwidths, just like the minor second we discussed earlier: hence the rough sound.&lt;/p&gt;

&lt;p&gt;Even fairly consonant chords, like &lt;a href="http://andymatuschak.org/files/Dissonance/Third.mp3"&gt;a major third&lt;/a&gt;, feature these collisions. &lt;a href="http://andymatuschak.org/files/Dissonance/262.mp3"&gt;C&lt;sub&gt;4&lt;/sub&gt; (262 Hz)&lt;/a&gt; and &lt;a href="http://andymatuschak.org/files/Dissonance/330.mp3"&gt;E&lt;sub&gt;4&lt;/sub&gt; (330 Hz)&lt;/a&gt; will clash at the third harmonic of the former (&lt;a href="http://andymatuschak.org/files/Dissonance/1048.mp3"&gt;C&lt;sub&gt;5&lt;/sub&gt; at 1048 Hz&lt;/a&gt;) and the second of the latter (&lt;a href="http://andymatuschak.org/files/Dissonance/990.mp3"&gt;B&lt;sub&gt;4&lt;/sub&gt; at 990 Hz&lt;/a&gt;). Those harmonics are much quieter than the fundamental and first harmonic, though, so the major third grates less than the tritone.&lt;/p&gt;

&lt;p&gt;Remember, though: &lt;a href="http://sites.google.com/site/jeffreyclymer/Home/high-brass-overtones"&gt;the harmonics for a given note are produced at different relative intensities from instrument to instrument&lt;/a&gt;. This means that the same interval, played on different kinds of horn, could sound substantially more or less dissonant! Moreover, musicians can control their instruments’ tone (i.e., in part, their harmonics’  amplitudes) at will while they play. Sing an “ah”, then raise and lower your soft palate. You’ll &lt;a href="http://andymatuschak.org/files/Dissonance/Aaaah.mp3"&gt;hear your voice’s tone change substantially&lt;/a&gt;. (And you’ll sound ridiculous.)&lt;/p&gt;

&lt;p&gt;Did composers subconsciously account for instruments’ tonal effect on consonance when arranging their pieces? Is it possible that excellent musicians intuitively adjust the tone of their instruments to modulate the dissonance produced by the harmonies they form? Could this account for the sudden beauty of a chord in one ensemble’s rendition of a piece you’ve heard a thousand times?&lt;/p&gt;</description><link>http://blog.andymatuschak.org/post/7565332844</link><guid>http://blog.andymatuschak.org/post/7565332844</guid><pubDate>Tue, 12 Jul 2011 23:28:00 -0700</pubDate><category>Publish it Tuesday</category><category>music</category></item><item><title>Raven and Badger</title><description>&lt;p&gt;&lt;a href="http://andymatuschak.org/files/TumblrImages/RavenAndBadger.jpg"&gt;&lt;img src="http://media.tumblr.com/tumblr_lnj8pmngKx1qzgm2w.jpg"/&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;People have asked me (quite nosily, I think): “Andy, why are the badger and raven in your paintings facing away from each other?”&lt;/p&gt;

&lt;p&gt;“Well:” I say.&lt;/p&gt;

&lt;p&gt;“Badger had spent all day preparing quite a serious dinner party. Or, rather, he had been looking fervently over the shoulder of his poor chefs, who were themselves preparing the quite-serious dinner party.&lt;/p&gt;

&lt;p&gt;“Raven’s invitation had arrived—letterpressed and perfumed—two weeks prior, bringing with it unbridled excitement. Badger’s celebrations, you see, have developed a deserved reputation among refined animals. RSVP dispatched, our avian protagonist began to fret in earnest about choosing a gift for his host.&lt;/p&gt;

&lt;p&gt;“Naturally, any edible gift should appropriately complement the dinner’s flavors, but Raven remembered from previous events that Badger’s excitable but indecisive palate had led to menu changes up to (again, remember the poor chefs) hours before showtime.&lt;/p&gt;

&lt;p&gt;“It had to be something neutral. Broadly compatible. Chocolates were right out: what if Badger serves a chocolate cake for dessert? And cheese, well: Mouse has enough trouble keeping his rodential habits in control at the dinner table. Cheese would not help the matter. A basket of fruit? No, no, not fine enough.&lt;/p&gt;

&lt;p&gt;“Cue Raven, minus a few feathers, at his favorite wine shop. Bottles opened, tastings poured, he found a Viognier that should have pleasantly accompanied whatever (always red) meat Badger’d chosen.&lt;/p&gt;

&lt;p&gt;“The night of the party. Raven arrived with the usual ritual: warm handshakes, smiles all around, the bottle proffered, thanks returned (‘this will pair beautifully with the squab!’). The crowd sprawled vague and disjoint social circles, and conversation meandered effortlessly.&lt;/p&gt;

&lt;p&gt;“Everyone found their seats at the dinner table (thanks to calligraphied place-cards). All guests now expectant and awaiting their soon-to-have-been-fabulous dinner, conversation fell into a brief lull.&lt;/p&gt;

&lt;p&gt;“White leather gloves placed course one before each guest simultaneously. As silver lids revealed the contents of the covered bowls beneath, Badger’s beatific smile faltered. ‘Excuse me a moment,’ he said. ‘Please enjoy.’&lt;/p&gt;

&lt;p&gt;“Some clamor ensued from a distant hallway (something about a lumpy quenelle?), but the party’s genial atmosphere soaked up concern before it shadowed the mood. Badger returned and scarfed a tepid slice of langoustine, silent.&lt;/p&gt;

&lt;p&gt;“The ramp course elicited another grimace from Badger. His guests, now lubricated with several glasses of fine wine, and blissfully enjoying the room’s conversation (have you seen the new Picasso exhibition at the Antoni?), hardly noticed his departure or the crash of distant copper.&lt;/p&gt;

&lt;p&gt;“Badger’s staff delivered the squab with some trepidation, then sighed in relief as he jubilantly attacked his dish. Now, as Badger engaged his guests in a fiendish brain teaser involving snowmen and a checkerboard, it was Raven’s countenance that cracked.&lt;/p&gt;

&lt;p&gt;“What about his wine? The Viognier chosen with such care? Was it not good enough for Badger? Of course not—the snob! What a brute. Raven delicately inquired if his host might like to sample the gifted wine with his squab. Oh, but a stout Sauv had already been poured. And the guests would need to drive home yet.&lt;/p&gt;

&lt;p&gt;“Now quite warm-bellied himself, Raven wondered aloud about the fitness of Badger’s constitution. His host, in no mood after the first two courses’ disappointments, pointed out the nearest fraternity for his guest. Which elicited from Raven a crack about smoking vests. Then from Badger a retort cleverly rhyming ‘molting’.&lt;/p&gt;

&lt;p&gt;“The guests’ jocular laughter wilted into tense silence as the exchange continued then devolved into respective hissing and squawking from either side of the table. Time seemed to slow as Raven’s flailing wing (gesturing luridly) toppled the hand-crafted crystal wine glass that (until very recently) sat before him. And then as Badger pounced over the shards and tumbled with Raven across the floor.&lt;/p&gt;

&lt;p&gt;“No one really talks about the events that ensued. As with everything in this kind of company, everyone pretends nothing happened (Badger: ‘oh, how is that Raven fellow? haven’t seen him in ages!’)—until you get them alone. Then, in whispers, you’ll hear about how Raven got that scar on the back of his neck and why Badger’s deep carpet needed shampooing. And a return visit for more shampooing.”&lt;/p&gt;

&lt;p&gt;So that’s why they face away from each other. Just don’t tell anyone I told you.&lt;/p&gt;</description><link>http://blog.andymatuschak.org/post/7033050223</link><guid>http://blog.andymatuschak.org/post/7033050223</guid><pubDate>Tue, 28 Jun 2011 20:41:00 -0700</pubDate><category>Publish it Tuesday</category><category>fiction</category></item><item><title>A Surprising Advantage of Vinyl</title><description>&lt;p&gt;I am emphatically &lt;em&gt;not&lt;/em&gt; an audiophile. My home contains neither &lt;a href="http://usa.denon.com/us/Product/Pages/Product-Detail.aspx?Catid=5840d55c-4077-4d9e-9421-36f204fb4587&amp;SubId=85958de8-a123-4213-8ae1-bb6afaee9a97&amp;ProductId=f7d26b3a-05a6-4724-a5c1-2a63642a6206"&gt;$500 ethernet cables&lt;/a&gt; nor “&lt;a href="http://www.audiophileoutletstore.com/Acapella-Fondato-Silenzio-ISOLATION-PLATFORM-p/aa-aca-fs19.htm"&gt;acoustic isolation platforms&lt;/a&gt;.” I am absolutely not here to convince you that vinyl recordings sound inherently better than the same data on CD.

&lt;/p&gt;&lt;p&gt;But: there is one absolutely irrefutable advantage to many modern vinyl releases, and that virtue has nothing at all to do with the medium. It’s the data &lt;em&gt;on&lt;/em&gt; the record that’s superior, and it’s a conscious choice made by today’s artists and producers.&lt;/p&gt;

&lt;p&gt;Perhaps you’ve heard of the &lt;a href="http://en.wikipedia.org/wiki/Loudness_war"&gt;loudness war&lt;/a&gt;. Essentially, tracks are being mixed louder and louder in production—maybe because when played on a radio station, a slightly hotter recording will sound more intense than the track which preceded it; maybe because loud audio sounds better on cheap speakers. The volume’s been creeping up, up, up, far past the point where peaks got clipped against the dynamic “ceiling.”&lt;/p&gt;

&lt;p&gt;Below are the left channels from Radiohead’s “15 Step”. On top, the vinyl’s audio; below, the CD’s:&lt;/p&gt;

&lt;p&gt;&lt;img src="http://media.tumblr.com/tumblr_ln699u90Dh1qzgm2w.jpg"/&gt;&lt;/p&gt;

&lt;p&gt;If we were to scale the CD’s audio to the same average volume as the vinyl’s, we can literally see the missing data:&lt;/p&gt;

&lt;p&gt;&lt;img src="http://media.tumblr.com/tumblr_ln78bcPJhj1qzgm2w.jpg"/&gt;&lt;/p&gt;

&lt;p&gt;Of course, your eyes can’t be the judge here. &lt;a href="http://performancerecordings.com/rules.html"&gt;Only your ears can choose the winner.&lt;/a&gt; Here are 15 seconds from “15 Step,” first from the CD, then the same sample from the vinyl:&lt;/p&gt;

&lt;p style="text-align: center;"&gt;&lt;audio controls="controls" width="500"&gt;&lt;source src="http://andymatuschak.org/files/TumblrImages/15%20Step.m4a" type="audio/mp4"&gt;&lt;source src="http://andymatuschak.org/files/TumblrImages/15%20Step.oga" type="audio/ogg"&gt;&lt;em&gt;Your browser doesn’t support the &lt;code&gt;&lt;audio&gt;&lt;/code&gt; tag, or else you’re viewing via an RSS reader or the Tumblr dashboard. Here’s the raw audio: &lt;a href="http://andymatuschak.org/files/TumblrImages/15%20Step.mp3"&gt;15 Step Sample&lt;/a&gt;.&lt;/em&gt;
&lt;/source&gt;&lt;/source&gt;&lt;/audio&gt;&lt;/p&gt;

&lt;p&gt;It’s not just Radiohead. This effect manifests on almost every modern mainstream release which had a vinyl edition: everyone from Arcade Fire to Ben Folds to Mars Volta. Maybe it’s time to hit up your local record store.&lt;/p&gt;</description><link>http://blog.andymatuschak.org/post/6778945711</link><guid>http://blog.andymatuschak.org/post/6778945711</guid><pubDate>Tue, 21 Jun 2011 20:21:00 -0700</pubDate><category>music</category><category>Publish it Tuesday</category></item><item><title>Scaling the mentor–apprentice relationship</title><description>&lt;p&gt;Meet &lt;a href="http://www.ars-nova.com/aboutpm5/index.html"&gt;Practica Musica&lt;/a&gt;, an electronic tutor for music theory and ear training. Let’s not talk about its aesthetics; instead, I’ll use it to focus a couple topics broadly relevant in education.&lt;/p&gt;

&lt;p&gt;&lt;img src="http://media.tumblr.com/tumblr_lmtlz6uWiU1qzgm2w.gif"/&gt;&lt;/p&gt;

&lt;h4&gt;&lt;strong&gt;From brush strokes to big picture&lt;/strong&gt;

&lt;/h4&gt;&lt;p&gt;Practica Musica features a massive collection of interactive activities, organized by goal and ordered along appropriate difficulty curves. A few examples include: syncopated rhythm reading, chord progression ear training, correction of inscribed melody from audio playback, and rhythmic dictation. The publisher’s site hosts &lt;a href="http://www.ars-nova.com/moov/"&gt;videos of some activities&lt;/a&gt;; the &lt;a href="http://www.ars-nova.com/moov/PitchErrors.html"&gt;pitch error exercise&lt;/a&gt; is representative.&lt;/p&gt;

&lt;p&gt;Now picture you’re some teenager with a guitar and inappropriately long hair. Your uncle gave you this app for your birthday, but see, you just want to write some rockin’ hooks. This blather about figured bass looks terrifically dull.&lt;/p&gt;

&lt;p&gt;This stuff is not &lt;a href="http://en.wikipedia.org/wiki/The_Virtuoso_Pianist_in_60_Exercises"&gt;Hanon’s Virtuoso Pianist&lt;/a&gt;, though. It’s not an eating-your-vegetables proposition. These exercises aim to &lt;em&gt;build intuition&lt;/em&gt;. You’re not going to be recalling what your music theory book says about harmonic progressions when you’re writing a hit single. Your internalized knowledge will puppeteer you toward natural results.&lt;/p&gt;

&lt;p&gt;I applaud the diverse suite of exercises in Practica Musica, but it’s hit upon a common and decisive educational pitfall: a hazy path through the doldrums of boring intermediate goals to the student’s true desires on the other side. &lt;a href="http://blog.andymatuschak.org/post/981429112/progressive-disclosure-in-software-education"&gt;Inspiration is step zero.&lt;/a&gt; The student &lt;em&gt;must&lt;/em&gt; understand how his hard work will pay off.&lt;/p&gt;

&lt;p&gt;Practica Musica’s publisher mitigates the situation with &lt;a href="http://www.ars-nova.com/ExploringTheory/"&gt;a companion textbook&lt;/a&gt; that links the exercises into something like a narrated curriculum. But the textbook is utterly static, ignoring the incredible benefits &lt;a href="http://worrydream.com/ExplorableExplanations"&gt;explorable explanations can have in students’ understanding&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;For instance: inline with its description of altered chords, the textbook could let the student drag a triad’s notes around on a staff to see and hear its variations. Or he could “scrub” through a progression by running his mouse over the chord letters “I IV V I”. Exercises which test concepts introduced in the book could be directly integrated in layout—or even made required to proceed—rather than passively referenced.&lt;/p&gt;

&lt;h4&gt;&lt;strong&gt;Responsive testing&lt;/strong&gt;&lt;/h4&gt;

&lt;p&gt;One Practica Musica exercise tests aural identification of major thirds, minor thirds, perfect fourths, and perfect fifths. If you consistently misname minor thirds, it will play them more regularly. And it won’t let you proceed until you’ve answered a few correctly in a row.&lt;/p&gt;

&lt;p&gt;Contrast this to an Algebra student who is being tested on his exponents but does not understand that 6&lt;sup&gt;2&lt;/sup&gt; × 6&lt;sup&gt;4&lt;/sup&gt; = 6&lt;sup&gt;6&lt;/sup&gt;. Regardless of whether he passes or fails the test, this represents a fundamental gap in his knowledge that may never be &lt;em&gt;directly&lt;/em&gt; retested. Each subsequent exam will build upon this concept (less and less explicitly) until the student has either figured out his missing understanding or flunked out.&lt;/p&gt;

&lt;p&gt;What if our tests were dynamically generated in response to each student’s strengths and weaknesses? How many struggling students missed just one fundamental concept—but so long ago that neither they nor their teachers understand the root of their confusion?&lt;/p&gt;

&lt;p&gt;&lt;a href="http://www.khanacademy.org"&gt;The Khan Academy&lt;/a&gt; has experimented with these ideas in classrooms. In &lt;a href="http://www.ted.com/talks/salman_khan_let_s_use_video_to_reinvent_education.html"&gt;his TED talk&lt;/a&gt;, its founder Sal Khan claims:&lt;/p&gt;
&lt;blockquote&gt;You see students who took a little bit of extra time on one concept or the other, but once they get through that concept, they just race ahead. And so the same kids that you thought were slow six weeks ago you now would think are gifted. And we’re seeing it over and over and over again. It really makes you wonder how much all of the labels maybe all of us have really benefited from were really just a coincidence of time.&lt;/blockquote&gt;

&lt;p&gt;We can respond to students’ progress even more effectively by exploiting &lt;a href="http://en.wikipedia.org/wiki/Spaced_repetition"&gt;spaced repetition&lt;/a&gt; and related techniques: present troublesome material repeatedly, but with increasing intervals between each exposure modulated by success rate. The exact curves &lt;a href="http://www.supermemo.com/english/ol/background.htm"&gt;remain controversial&lt;/a&gt; but could be approximated by &lt;a href="http://en.wikipedia.org/wiki/Supervised_learning"&gt;machine learning&lt;/a&gt;.&lt;/p&gt;

&lt;h4&gt;&lt;strong&gt;From mentor to classroom&lt;/strong&gt;&lt;/h4&gt;

&lt;p&gt;I’m convinced that mentor–apprentice education is the best way to learn most subjects. Unfortunately, it doesn’t scale at all. But if we understand what, specifically, makes this approach so effective, maybe we can emulate the results in classrooms.&lt;/p&gt;

&lt;p&gt;A mentor will be exposed far more directly to his apprentice’s excitement and frustration. His student’s emotions, combined with his empathy, all but force him to paint the path I described through the doldrums of beginnerhood. To provide inspiration. A classroom teacher could do that, too; I just don’t think it’s recognized as a goal or component of their curricula.&lt;/p&gt;

&lt;p&gt;Likewise, a student’s weak spots are much more apparent in one-on-one tutelage, and the format encourages a naturally flexible curriculum schedule. Exam metrics and automated reporting could enable classroom teachers to identify problem areas, and tools for responsive testing could address students’ individual issues by personalized spaced repetition.&lt;/p&gt;

&lt;p&gt;Often I wonder: what would happen if just one classroom could have a dedicated software engineer who would shadow the teacher and build tools full-time to help him?&lt;/p&gt;</description><link>http://blog.andymatuschak.org/post/6555502730</link><guid>http://blog.andymatuschak.org/post/6555502730</guid><pubDate>Wed, 15 Jun 2011 08:37:00 -0700</pubDate><category>education</category><category>music</category><category>Publish it Tuesday</category></item><item><title>Presenting Without Comment</title><description>&lt;p&gt;&lt;a href="http://www.flickr.com/photos/archer10/5382591020/"&gt;&lt;img src="http://media.tumblr.com/tumblr_lm3m9kef4H1qzgm2w.jpg"/&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In the Vatican Museums, alongside myriad sculptures of gods, emperors, and scholars, stands this old fisherman. His singular presence among these great figures places this sculpture’s significance firmly in its &lt;em&gt;statement&lt;/em&gt; rather than its subject. Given that the portrait took months or even years to create, the artist clearly felt some ferocious drive to immortalize an ordinary man—perhaps to glorify the everyday or the earthly. Stranger, since these artists generally depended on patrons, someone wealthy supported that message.&lt;/p&gt;

&lt;p&gt;A little earlier in my trip, I saw at &lt;a href="http://www.centrepompidou.fr/"&gt;Pompidou&lt;/a&gt; a truly enormous canvas, painted entirely a rather pleasant shade of blue. Next to it, of course, was mounted a lengthy plaque bloviating the painting’s profound interrogation of audience expectations, art criticism, and the true definition of beauty. Which bloviating, fundamentally, mirrors my natural reaction to the old fisherman sculpture.&lt;/p&gt;

&lt;p&gt;That led me to wonder: is it possible to present &lt;em&gt;anything&lt;/em&gt; unusual (but true and without pretense!) without these reactions in its audience?&lt;/p&gt;

&lt;p&gt;I suspect we can chase these levels of meta to arbitrary depth, if we account for the artist’s own awareness of this phenomenon. Say you decide to &lt;a href="http://everyday.noahkalina.com/"&gt;take a photo of yourself every day&lt;/a&gt;. So you’re about to take one, but you can just &lt;em&gt;feel&lt;/em&gt; an ill-placed lock of hair across your forehead. Do you brush it aside? Or leave it be for a “natural” photo?&lt;/p&gt;

&lt;p&gt;You decide to just take the photo, but wait: if you always look disheveled, aren’t you maybe making some other statement? Might you convey some kind of, like, hipster-disaffection-I-don’t-care-how-I-look-but-I-care-about-looking-that-way countenance? So maybe you’d better fix your hair… but only a little? Make sure not too many photos in a row are perfect? But wait—will people figure out &lt;em&gt;that&lt;/em&gt; pattern?&lt;/p&gt;

&lt;p&gt;Or, as &lt;a href="http://mills.tumblr.com/"&gt;Mills&lt;/a&gt; asked when discussing this with me: can I cover a wall with a massive monochromatic canvas &lt;em&gt;just because I really like that color?&lt;/em&gt; And have anyone believe me when they ask?&lt;/p&gt;

&lt;p&gt;I’m not sure I’d believe him. But maybe this is just some kind of social paranoia? “That you will become way less concerned with what other people think of you when you realize how seldom they do?”&lt;sup&gt;&lt;a href="#infinitejestfootnote"&gt;1&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;p&gt;Consider, though, as one closing point in this non-argument: on a Facebook wall, a self-portrait with an empty expression seems more affected than one with an enormous, impossibly celebratory grin.&lt;/p&gt;

&lt;ol class="footnotes"&gt;&lt;li&gt;&lt;a name="infinitejestfootnote"&gt;&lt;/a&gt;c.f. &lt;em&gt;Infinite Jest&lt;/em&gt; by David Foster Wallace. I know I’m years late to the party on this book; I beg your weary tolerance.&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;&lt;small&gt;Leading &lt;a href="http://www.flickr.com/photos/archer10/5382591020/"&gt;photo&lt;/a&gt; of the Old Fisherman by &lt;a href="http://www.flickr.com/people/archer10/"&gt;Dennis Jarvis&lt;/a&gt;, licensed &lt;a href="http://creativecommons.org/licenses/by-sa/2.0/deed.en"&gt;BY-SA&lt;/a&gt;. &lt;/small&gt;&lt;/p&gt;</description><link>http://blog.andymatuschak.org/post/6064997381</link><guid>http://blog.andymatuschak.org/post/6064997381</guid><pubDate>Tue, 31 May 2011 23:38:00 -0700</pubDate><category>art</category><category>narcissism</category><category>Publish it Tuesday</category></item><item><title>The Little Addictions That Define Us</title><description>&lt;p&gt;I returned from a magical jaunt through Europe craving &lt;i&gt;vegetables.&lt;/i&gt; &lt;/p&gt;&lt;p&gt;In my own bed at last that night, I greeted my down pillow as a long-lost friend. The next morning, only great will could dislodge me from the piano bench.&lt;/p&gt;&lt;p&gt;A bit of a reverse culture-shock awaited my return: all the things I &lt;i&gt;missed&lt;/i&gt; while on that incredible adventure!&lt;/p&gt;&lt;p&gt;Fan though I am of Italian cuisine, after a full day of carb-heavy, greens-light meals, I developed a headache not unlike that of coffee withdrawal. Which begs: could I be as addicted to veggies as I am to caffeine? This country’s people seem to enjoy their native diet.&lt;/p&gt;&lt;p&gt;I know a gym-going young man who feels bodily ill when he misses a day of exercise. Some of my coworkers suffer terrible anxiety when away from their email for more than an hour at a time.&lt;/p&gt;&lt;p&gt;So. Can I be addicted to stimulating conversation? Certainly my affect suffers if days pass without any. I’ve developed drug-like tolerance, too: as I meet increasingly interesting people, previously acceptable topics become banal.&lt;/p&gt;&lt;p&gt;Couldn’t I be addicted to—i.e. expect, demand, develop a tolerance for, require always more of—being surrounded by thoughtful design? Flattering lighting? My girlfriend’s touch?&lt;/p&gt;&lt;p&gt;People say that caffeine delivers a boost but also adjusts your baseline. That after a while, you’re by default less energetic, and the caffeine boost returns you to a once-normal level.&lt;/p&gt;&lt;p&gt;These other addictions (and “addictions”) function by the same principle: a shifted baseline or sense of the ordinary. The unquoted addictions arise, I suppose, when our acquired normalcy strays too far from reality’s, as with amphetamines. Though not so damaging, it can nonetheless harrow to glimpse the gap between our sense of normalcy and others’, our mild &lt;a href="http://en.wikipedia.org/wiki/Anomie"&gt;anomie&lt;/a&gt;. Used to socializing over beer? Ordinary in American colleges; literally criminal in Sudan.&lt;/p&gt;&lt;p&gt;Self-incited addiction can be useful. I’d love to have my friend’s “problem” with the gym! But, &lt;a href="http://blog.andymatuschak.org/post/4187091819/tiny-shell-script"&gt;as&lt;/a&gt; &lt;a href="http://blog.andymatuschak.org/post/5384014918/hard-with-a-capital-h"&gt;in&lt;/a&gt; &lt;a href="http://blog.andymatuschak.org/post/186204815/better-making-through-empathy"&gt;so&lt;/a&gt; &lt;a href="http://blog.andymatuschak.org/post/286334275/work-dilation"&gt;many&lt;/a&gt; &lt;a href="http://blog.andymatuschak.org/post/1042904867/an-anesthetic-default"&gt;things&lt;/a&gt;, cognizance in this regard elucidates, illuminating both opportunity and concern.&lt;/p&gt;
&lt;p&gt;An addiction to vegetables, of course, landing firmly with the former.&lt;/p&gt;</description><link>http://blog.andymatuschak.org/post/5824024572</link><guid>http://blog.andymatuschak.org/post/5824024572</guid><pubDate>Tue, 24 May 2011 21:10:00 -0700</pubDate><category>life</category><category>cognizance</category><category>Publish it Tuesday</category></item><item><title>The Problem with Hard-with-a-Capital-H Problems</title><description>&lt;p&gt;I sat down to my very first Caltech math problem set with the adorable exuberance that only a freshman could muster. Pencils sharpened, whiteboard ready, textbooks unwrapped, I read the first problem:&lt;/p&gt;&lt;p style="text-align:center"&gt;&lt;img src="http://media.tumblr.com/tumblr_ll0hbs3ens1qzgm2w.png"/&gt;&lt;/p&gt;&lt;p&gt;I read it again, hoping I’d missed something—additional constraints or guidance, perhaps? This was on page 15, and the few preceding pages yielded no tutorial for this type of problem. I blinked.&lt;/p&gt;&lt;p&gt;I did not attend a high school with an “of Math and Science” suffix like so many of my new classmates. We were taught math in the same way most high schools teach the subject: algorithmically. Apply &lt;em&gt;this&lt;/em&gt; procedure to solve problems which look like &lt;em&gt;that&lt;/em&gt;. Students had only to identify the type of the problem at hand, memorize the corresponding technique, and execute a mechanical process.&lt;/p&gt;&lt;p&gt;I was fairly certain I had not been taught a technique for problems of the Rational Set Membership Proof type. My notes had nothing of the sort. Subsequent lectures did not return to the subject.&lt;/p&gt;&lt;p&gt;When I visited office hours, the professor wouldn’t help me with the problem because its only challenge lay in discovering a critical insight which, once found, rendered it trivial. He solved some other simple proofs in front of me. I nodded along: each step was indeed true. But how on earth did he &lt;em&gt;generate&lt;/em&gt; the steps? He shrugged and offered to do some more examples. Each seemed just as obvious as the last—but only in hindsight.&lt;/p&gt;&lt;p&gt;I later learned that my professor’s insights came from intuition. No one could explicate or decompose that sense for me, so I wrote these problems off. Who needs proofs to write software?&lt;/p&gt;&lt;p&gt;But I didn’t realize that these proofs are hard in the same sense as the most interesting problems in all fields: they have no obvious, closed-form solution. They’re Hard with a capital ‘H,’ and the contents of their toolbox apply just as well to, say, design problems.&lt;/p&gt;&lt;p&gt;Much to my dismay, I also learned at Caltech that a field’s greatest masters are likely not its greatest teachers. Pedagogy requires a different art entirely. So how can we teach insight, intuition, analytical thought?&lt;/p&gt;&lt;p&gt;My answer (as to most things): &lt;em&gt;cognizance&lt;/em&gt;. Let’s articulate the inner monologue in solving a Hard (though fairly simple) analytical problem.&lt;/p&gt;&lt;p style="margin: 0px 0px 1em 1em; float:right"&gt;&lt;img src="http://media.tumblr.com/tumblr_ll0iw4S5Rd1qzgm2w.png"/&gt;&lt;/p&gt;&lt;h4&gt;The Snowman Problem&lt;/h4&gt;&lt;p&gt;You’ve got a 5×5 grid of Unicode snowmen at a tea party. When you blow a whistle, every snowman must move to a new space. But a snowman can only move to a cardinally adjacent square, and we can’t end up with two snowmen sharing the same square.&lt;/p&gt;&lt;p&gt;How should the snowmen move to do this? Or prove it’s impossible.&lt;/p&gt;&lt;p&gt;Start by trial and error. Draw arrows on a whiteboard. Tear bits of paper into ☃ stand-ins. Make little groups that can move successfully. But no matter how you arrange them, one seems left without nowhere to go.&lt;/p&gt;&lt;p&gt;By this point, we might suspect impossibility. But how can we prove it?&lt;/p&gt;&lt;p style="margin: 0px 0px 1em 1em; float: right"&gt;&lt;img src="http://media.tumblr.com/tumblr_ll0js1Ss771qzgm2w.png"/&gt;&lt;/p&gt;&lt;p&gt;Let’s try decomposing the problem. How about a 2×2 grid? In that case, the solution is simple. Maybe I can use this simple solution to generate more complex solutions: for 4×4 grids, I can repeat this smaller scheme in each corner. But that only works for boards with even widths and heights.&lt;/p&gt;&lt;p style="margin: 0px 0px 1em 1em; float:right"&gt;&lt;img src="http://media.tumblr.com/tumblr_ll0mhhx4ZU1qzgm2w.png"/&gt;&lt;/p&gt;&lt;p&gt;So, generalizing, maybe odd-sided boards can’t be solved! But if we try the next-largest grid, we see that 2×3 can be readily solved with a slightly altered “looping” approach.&lt;/p&gt;&lt;p&gt;3×4 is just two 2×3 boards next to each other, so that’s solved, too. Studying composition a little more, you’ll find that we can combine 2×2 and 2×3 boards to solve any even-sided or even-by-odd-sided board.&lt;/p&gt;&lt;p&gt;But 3×3 seems just as hard as 5×5. Notice that if we could solve 3×3, we’d be done, since we could make a 5×5 from it by adding a 2×2 and two 2×3s. So we’ve just reduced the problem to a simpler one.&lt;/p&gt;&lt;p&gt;What makes 3×3 so hard? Intuitively, there’s always an “odd man out.” What else is different about 3×3 and 5×5 from all the other cases we’ve considered? Well, both side lengths are odd. The boards that worked have at least one even side length. And one of the properties of even numbers is that an even number times any other number is always even. Aha: “hard” boards have an odd number of squares.&lt;/p&gt;&lt;p&gt;How else does parity apply to this problem? Consider a snowman’s coordinates. A snowman at (1, 1) must move to (0, 1), (1, 0), (2, 1), or (1, 2). A snowman at (2, 2) moves to (1, 2), (2, 1) (3, 2), or (2, 3). Notice: either the X or Y coordinate must change parities when moving.&lt;/p&gt;&lt;p style="margin: 0px 0px 1em 1em; float: right"&gt;&lt;img src="http://media.tumblr.com/tumblr_ll0kzhnTKo1qzgm2w.png"/&gt;&lt;/p&gt;&lt;p&gt;Let’s consider this result graphically. Overlay a checkerboard over our problem. Now it’s clear: a snowman on a black space &lt;i&gt;must&lt;/i&gt; move to a white space, and vice versa. But when there are an odd number of squares, there will be one more square of one color than the other.&lt;/p&gt;&lt;p&gt;Since only one snowman can occupy each space, at least one snowman will have nowhere to go when the colors are uneven.&lt;/p&gt;&lt;p&gt;A 5×5 board has an odd number of squares, meaning it has more tiles of one color than another. Which will make the move impossible. &lt;i&gt;QED.&lt;/i&gt;&lt;/p&gt;&lt;hr&gt;&lt;p&gt;I suspect that most who excel at Hard problems have no idea how they solve them. This example illustrated a number of key approaches: reduction, composition, (failed) induction, synthesis, comparison and contrast, and visualization. Once mastered, we could use these techniques to solve problems in any number of fields.&lt;/p&gt;&lt;p&gt;I realized recently that some of these techniques are a bit like playing &lt;a href="http://en.wikipedia.org/wiki/Set_(game)"&gt;Set!&lt;/a&gt; with the problem space. Which parameters restrict us most? Which parameters are similar? Are some irrelevant? I imagine we could devise more apparently innocent games to train lateral thinking.&lt;/p&gt;</description><link>http://blog.andymatuschak.org/post/5384014918</link><guid>http://blog.andymatuschak.org/post/5384014918</guid><pubDate>Tue, 10 May 2011 22:15:42 -0700</pubDate><category>cognizance</category><category>education</category><category>Publish it Tuesday</category></item><item><title>Permission to Suck</title><description>&lt;p&gt;You’re new to writing, but you’ve been working on a short story for weeks on end. When you meet up with friends, they ask what you’ve been up to; given all the time you’ve spent on your story, you bring it up each time you gather. And each time your expectations grow: now every word must be perfect. What else would be worth turning down all those nights out?&lt;/p&gt;

&lt;p&gt;Instead, imagine that you joined a group of other novice writers. Each week, you all share a few pages of your work. After a session or two, you notice that your peers suffer from the same awkward diction. This one uses too many compound sentences; that one struggles with adverbs. And just like that, you’ve been given permission to suck.&lt;/p&gt;

&lt;p&gt;Creative work often flops wildly on the desk, too slippery to shape to our will. It hides under stress; it makes funny faces when our backs are turned. A hint of despair quells the wildest brainstorm. I do my best creative work when I feel utterly safe, even though the ideas I’m considering might be anything but. It must be okay to fail.&lt;/p&gt;

&lt;p&gt;As &lt;a href="http://5by5.tv/b2w"&gt;Merlin Mann suggests&lt;/a&gt;, don’t write one song by the end of the week—write &lt;em&gt;five&lt;/em&gt;. Tell yourself not to worry: none of this is final. You won’t be showing anyone. Then marvel as you generate something raw but more passionate than the pristine work you polished carefully for weeks. And in no time.&lt;/p&gt;

&lt;p&gt;My friend &lt;a href="http://twitter.com/catfish_man"&gt;David&lt;/a&gt; told me about a charcoal drawing class he took years ago. Students were given two canvasses and instructed to fill both by the end of the period. Each student would draw his actual piece on one canvas; ideas too outlandish for his real output would go on the other. But: students were allowed to switch which canvas held their “real” drawing at any time. It shouldn’t come as any surprise that by the end of class, most of them did just that.&lt;/p&gt;</description><link>http://blog.andymatuschak.org/post/5179663980</link><guid>http://blog.andymatuschak.org/post/5179663980</guid><pubDate>Tue, 03 May 2011 19:38:00 -0700</pubDate><category>creativity</category><category>Publish it Tuesday</category></item><item><title>Personal Goals and Pre-Emption</title><description>&lt;p&gt;Time management is one of those things we’re supposed to learn in college. Given a task and deadline, we know how to decompose the problems and provide estimations. We might set milestones or expectations for ourselves along the way. But when it comes to &lt;i&gt;personal&lt;/i&gt; goals—owed to no one else and with no deadlines—we struggle to deliver with our ever-packed schedules. &lt;/p&gt;

&lt;p&gt;People often tell me they played an instrument when they were in high school (how they loved it!) but, tragically, don’t have time anymore. They don’t have time to read, and they don’t have time to finish writing their book. But oh, they truly wish they did.&lt;/p&gt;

&lt;p&gt;There’s a difference between not &lt;i&gt;having&lt;/i&gt; time and not &lt;i&gt;making&lt;/i&gt; time. We generally have four to six hours of free time a day, so what’s happening here? I believe constant preemption represents the largest source of our troubles. We’re scheduling greedily, playing chess while looking only one turn ahead.&lt;/p&gt;

&lt;p&gt;Say you’re working on a short story. You’ve been “working” on it for months now, truthfully. You’re on your way home from work, and a rare unbooked evening sprawls before you. But just as you step on the bus, you’re invited to dinner with a group of friends. You know dinner will turn to drinks and late-night chat. Will you really turn them down to work on your story?&lt;/p&gt;

&lt;p&gt;At each decision juncture, our personal goals generally have the lowest priority. They don’t affect others, so you won’t face the sounds of disappointment. They don’t have deadlines (other than your life span!), so there’s no chance of failure, per-se. So each time your personal goals are pitted against an external option, we naturally choose against them. Then we unwittingly continue with these decisions every spare evening, not realizing the perpetual standstill implicit in our process.&lt;/p&gt;

&lt;p&gt;Even after I became aware of this issue, I still couldn’t find time for my piano practice, my writing, or my side-projects. So I developed a few techniques to tip the decision-making scales.&lt;/p&gt;

&lt;p&gt;First, I’ve found that prescheduled activities take precedence more readily over impromptu invitations. Now I wake up an hour earlier every weekday morning for piano practice. And I write an essay every Tuesday during my commute.&lt;/p&gt;

&lt;p&gt;I also make choices in the present to ensnare my future self: by adding influences, I can shift future priorities toward my personal goals. For instance, this essay represents an entry in &lt;a href="http://confusatory.org/post/4066495734/contested"&gt;a continuing competition with my friend Chris&lt;/a&gt;. A missed Tuesday article portends humiliation—and a beer for Chris. I forced myself to practice piano more regularly by agreeing to play a four-hands piece with a more serious musician.&lt;/p&gt;

&lt;p&gt;Through these struggles, I’ve realized that I’m least afraid of disappointing myself, but I’ll go out of my way to avoid missing scheduled events or upsetting other people. I’ll always be looking out for more tools in the battle against my own irrational mind.&lt;/p&gt;</description><link>http://blog.andymatuschak.org/post/4959626463</link><guid>http://blog.andymatuschak.org/post/4959626463</guid><pubDate>Tue, 26 Apr 2011 10:12:00 -0700</pubDate><category>personal</category><category>Publish it Tuesday</category><category>creativity</category></item><item><title>The Illiterate Programmer and Our Flawed Software Engineering Courses</title><description>&lt;p&gt;I have never seen a software engineering course with a syllabus that makes any sense.&lt;/p&gt;

&lt;p&gt;“Software engineering” means many things, but let’s consider approaches for building projects large enough that a single person could not keep one in his head. At this size, the &lt;em&gt;structure&lt;/em&gt; of the software encodes as much information as the instructions themselves.&lt;/p&gt;

&lt;p&gt;The &lt;em&gt;essay&lt;/em&gt; is another educational focus concerned with structure. In preschool, students learn the meaning of words; in elementary school, they string those words together into sentences; sentences sequence into paragraphs, which then carefully combine to form an essay.&lt;/p&gt;

&lt;p&gt;With each level come new syntactic rules: for instance, we use a comma to separate independent clauses by a coordinating conjunction. But new &lt;em&gt;structural&lt;/em&gt; rules also arrive at each step. Two orderings of a paragraphs’ sentences may each form cogent arguments, but one may be much more persuasive. And when combining those paragraphs into an essay, the writer must carefully trace the path through his argument by conceptually linking adjacent paragraphs’ endpoints.&lt;/p&gt;

&lt;p&gt;Young programmers follow a similar progression. Initially they consider simple phrases, performing a naïve translation—akin to using a German phrasebook to ask for train times. Next they learn to combine these statements into functions that perform a small task, and perhaps to glue many functions into some higher-level structure.&lt;/p&gt;

&lt;p&gt;But just as most English students coordinate their paragraphs like the clapping of a giddy toddler, novice coders struggle with the structure required by project-level complexity. We can’t just blame the students: these concepts have no straightforward syllabus. One can’t write a cleverly unfolding essay just by following Strunk and White. Success in both pursuits comes from intuition and a strong sense of style.&lt;/p&gt;

&lt;p&gt;Even if a functioning syllabus for this structure existed, these courses confront a more fundamental dilemma: no project tackled in a school’s semester could possibly be large enough to yield disaster without software engineering techniques. Students’ grades are unaffected by their ignorance, so they don’t care.&lt;/p&gt;

&lt;p&gt;As &lt;a href="http://blog.andymatuschak.org/post/981429112/progressive-disclosure-in-software-education"&gt;I’ve described before&lt;/a&gt;, the first step—the &lt;i&gt;zeroth&lt;/i&gt; step—to learning anything at all is to care enough to trudge through boring foundational work. The professor can wave around &lt;a href="http://en.wikipedia.org/wiki/The_Pragmatic_Programmer"&gt;The Pragmatic Programmer&lt;/a&gt; or &lt;a href="http://en.wikipedia.org/wiki/Design_Patterns_(book)"&gt;Design Patterns&lt;/a&gt;, but no student will truly appreciate the need for &lt;a href="http://www.faqs.org/docs/artu/ch04s02.html"&gt;orthogonality&lt;/a&gt; until he tries to change a critical little cog in a massive system and finds out the hard way.&lt;/p&gt;

&lt;p&gt;Instead of asking our students to begin and complete a project within three months (which forces a tiny scope), have them add a major new feature to an &lt;i&gt;existing&lt;/i&gt; open-source project. Ensure it will entail &lt;a href="http://en.wikipedia.org/wiki/Cross-cutting_concern"&gt;cross-cutting concerns&lt;/a&gt;. They’ll experience firsthand the horror of poorly-structured code, and that visceral reaction will power their growth.&lt;/p&gt;

&lt;p&gt;Or: find them &lt;a href="http://www.sqlite.org/"&gt;an open-source project with fantastic code&lt;/a&gt;. When I was learning to string paragraphs together, I was assigned to analyze the output of &lt;a href="http://en.wikipedia.org/wiki/Ron_Rosenbaum"&gt;incredible&lt;/a&gt; &lt;a href="http://en.wikipedia.org/wiki/Harold_Bloom"&gt;essayists&lt;/a&gt;. One can’t learn intuition by example, but one &lt;em&gt;can&lt;/em&gt; find guidance.&lt;/p&gt;

&lt;p&gt;No, the only way to build intuition is to fail. Over and over again. But this kind of software engineering matters because of &lt;em&gt;festering&lt;/em&gt; failures: the ones made years ago by the ghosts of source control, ones which were patched over rather than fixed. These failures metastasize. They ruin projects. They make people throw out source trees that have been running for a decade because it’s become too hard to add features.&lt;/p&gt;

&lt;p&gt;Our students must learn how to avoid these failures, but their little 80-hour projects don’t live long enough for structural cancers to arrest any all-nighters. Maybe let’s throw them in &lt;a href="http://git.gnome.org/browse/gimp/"&gt;the Gimp codebase&lt;/a&gt; and watch them try to swim.&lt;/p&gt;</description><link>http://blog.andymatuschak.org/post/4768375518</link><guid>http://blog.andymatuschak.org/post/4768375518</guid><pubDate>Tue, 19 Apr 2011 21:20:00 -0700</pubDate><category>education</category><category>software engineering</category><category>Publish it Tuesday</category></item></channel></rss>

