Archive for May, 2011

Clean Sweep

May 27, 2011

Software engineering isn’t philosophy, as fun as both of them are. There are certainly intersections, as HXA7241 (Harrison Ainsworth) recently described:

The single core idea (to be rather bold and sweeping) in philosophy is the distinction of necessary and contingent: ‘necessary’ being what is always true, what is known logically; ‘contingent’ being everything else, that may or may not be known or true according to circumstance.

The single core idea in software engineering is abstraction: which is the fusion of a fixed part with a varying part. And this maps exactly to necessary and contingent. An abstraction says that within its context a particular thing is necessary – the fixed part – but also that the rest is contingent – the varying part. (A single bit number is always a number – by definition, but it might be 0 or 1 – completely by circumstance.)

It is indeed a sweeping generalization, beautiful in its bold wrongness. Thinking mathematics was a science, Wittgenstein once said, was like mistaking the broom for the furniture. Similarly, when you pick up the broom to clean the room – when you put the toolset to use – the confusion disappears.

Now Ainsworth’s assertion is closer to Wittgenstein than the math / science analogy implies, because he is saying that both philosophy and software engineering are toolsets of a kind. (Elsewhere, in an interesting take I might well return to, he describes software engineering instead as engineering in a computational medium.) Even keeping in mind that in another post software engineering is defined as entirely concerned with how the software works. “It neither changes what is wanted, nor what can possibly be computed,” … but it does change what is wanted – the articulation of a possibility in software changes its future iterations through the evolution of human understanding of that possibility. It is less like a broom and more like a paintbrush. Or a Japanese fan. Picking it up changes the room.

Or a dodgy second-hand chainsaw, which only works when you hold it at a fifteen degree angle and rev the crap out of the engine. The machine-nature of useful semi-broken software – or software engineering – seems to strain the very limits of the metaphor. “Software is clarity,” Ainsworth writes. I guess he hasn’t used Microsoft Word.

All Noise And Honesty

May 5, 2011

野良犬 Nora inu – Stray Dog is named for an animal, but it’s really a film about being a man. This is true in the most general sense – Kurosawa doesn’t stray from his sympathetic humanism. Yet it’s also true in the specific, gender political sense. It’s about what might anachronistically be called manly virtues, but in the modern city.

((Such gender-loaded terms are meant as observations on cultural parallels in Japan 1949 and now, rather than mandates or beliefs. Any admiring note is in admiration of virtue, not of gender.))

The tropes here send the plot in thematic loops around duty, the city, and life post-WW2 Japan. A young policeman, Detective Murakami, has his gun stolen on the bus, and traces it through the underworld. It’s bound for another young man, also a returned soldier, a thief turning murderer. So it’s a coming of age story, a police procedural and an urban quest. The cinematography is beautiful film noir, but the plot is not. There are women, in rich supporting roles, but no femme fatale. There is just the homme fatale of the thief: the stray dog.

“I love boys,” I heard a teacher friend declare recently, “they’re all noise and honesty.” It’s an apt enough description for Mifune Toshiro’s performance in the lead role. He is raw with a sense of failed duty, hunting leads for days on end on little sleep, blurting out truths at embarrassingly high volume. Sympathetic as his colleagues are to his youthful zeal, there’s also a sense he’s not seeing things in proportion. When he gives in his letter of resignation after losing the gun, his boss rips it up. It’s another trope, of course, though we must be close to its invention.

The brief note for this retrospective pointed out the mentor relationship between the lead and senior detective Sato-san. And it’s lovely turn by Shimura Takashi, who was, like Mifune, to become a recurring cast member for Kurosawa. There are at least two other teacher figures though: the young cop’s boss, and the senior detective for pickpockets and petty theft. There are also families – kids and mothers and uncles.

Indeed, almost every plot point here is a hop across vertices in a social network. Kurosawa, who had a hand in the screenplay, weaves a metropolitan mesh out of friends and near strangers. By the end he has drawn geisha girls, rich lawyers, baseball, sleeping children and gun dealers into the same net. It gives an ahistorical reminder of Krystof Kieslowski, like a Japanese Three Colours Black. And by the end of it we strain at the edge of the city, as the stray dog tries to push through the mesh and escape.

It’s a trick Kurosawa had used before, in his debut 姿三四郎 Sugato Sanshiro. Somehow, though the tropes are familiar, Stray Dog never loses its human scale, or falls into Samurai / Hollywood ultra-competence. Being set in summer and remembering to make the whole cast sweat was enough, but it’s also the pieces of life in every scene, the hotelier flirting with his employee, a crying infant tipping people off, the impossibility of talking on the phone in the pouring rain, the way one tiny everyday event cascades into another.

Yet Kurosawa was always good on the little details. The first time I saw this movie was with English subtitles badly translated via Chinese. Kurosawa had such a command of visuals that it was still watchable. Getting to see it this time in its full glory, on the silver screen, was a pleasure, and a privilege.

… how a friend described going to Beethoven’s door and hearing him ‘cursing, howling and singing’ over his new fugue; after a whole hour Beethoven at last came to the door, looking as if he had been fighting the devil, and having eaten nothing for 36 hours because his cook and parlour-maid had been away from his rage. That’s the sort of man to be.

— Wittgenstein quoted in a letter by Russell (from Monk)


Follow

Get every new post delivered to your Inbox.