Skip to content

Alternate Syntaxes for XML

Don Park writes:
I had been expecting baby talk versions of complex XML formats to emerge for sometime now. It hasn’t happened yet so I am left with scratching my head. The idea is simple enough, take a complex format and create a user-friendly version that maps to the more complex version via an XSLT file.

if the problem is authoring a target format with redundant structure, where the extra structure makes the format more complex than it needs to be, then XSLT is a good solution. (If the extra structure weren’t redundant, an XSLT file couldn’t add it.) If the problem is the general verbosity of XML at representing any particular vocabulary, because of its impoverished grammar and punctuation, then you need another solution.
(Continued)

Behr Color Center

The first third-party Laszlo application is available on the web! The Behr ColorSmart color selector is available at http://www.behr.com (as well as kiosks in Home Depots around the country, where it’s been available for several months now). It’s unreal seeing this finally go live after seeing it from the inside last year and after all the work to build the initial version of the product while this was in development — at times I felt like we were running ahead of the train, trying to lay new track before it reached the end.

Most Fun I’ve Ever Had

I just finished moving some heavy furniture around within my apartment. This was harder than it sounds, because I’m not allowed to put a heavy load through my spine. I had to come up with ways of lifting and moving furniture that transmitted the forces across different parts of my body instead. I ended up sliding around on my back on a towel on the floor, and pushing the furniture above me, so that I could use my arm and chest strength instead of my back.

If you’d asked me beforehand, back surgery and the following limitations would have sounded like a terrible burden to live with. Actually, it’s been a lot of fun to evaluate my body for the first time as a complex system, and try to hack it — to figure out what it can do. I realize this is part of being a jock, which I missed out on in adolescence. I had never realized that the things I’m good at — understanding complex systems, building things with them, and looking for loopholes — were good for what I thought of as the opposite of an analytical activity as well.

Marvin tells a story of a friend of his who had a stroke. For more than a year, he couldn’t walk. But a year after that, he walked into Marvin’s office. Marvin asked him how he did it. “One day I was just thinking of a piece of music”, he said, “and I noticed that my toe twitched. I tried to think of the same music again, and it twitched again. So I tried thinking of different things, to see what would make different parts move. It took me about a year.” “That sounds excruciating,” Marvin told him. “On the contrary. It was the most fun I’ve ever had.”

Disney World

I just got back from a week with the family at Disney World. I thoroughly enjoyed it. The surface part of my mind was completely taken in by the sensation of being in the jungle (at Animal Kingdom) and in a variety of countries (Epcot), while my analytic self was taken with admiration at how well run it was: the depth of architecture, landscaping, design, marketing, and business operations. Like looking at an Impressionist painting from far enough to see the light, and then close enough to apprehend its construction.

The behavior of a capitalist engine when exposed to a huge revenue flux, like the behavior of various geometries in a high-speed wind tunnel, is awe-inspiring in its use of these forces to compute optimal solutions to complex problems, and in the energies it directs against them. When we walked into Typhoon Lagoon, a cheerful employee asked us our zip code, and afterwards, my son asked me why. I explained to him my guess that it was so that they could calculate the sensitivity of regional turnout to marketing dollars. “But that’s an experiment”, he said, “that would take years!” Exactly.

Newer Math

Seymour Papert used to tell a story contrasting the practices of medicine and education, in order to illustrate how little the latter has improved. Place a physician from the previous century in a modern operating room and he1 won’t have a clue about what to do. Transport a teacher forward in time and they’ll fit right in. The moral is that the practice of medicine has made great strides during the last century; the practice of education hasn’t progressed at all.

I used to believe this story, and maybe it was true in the sixties. But in 1998, when I was looking for school for my rising kindergartner, I sat in on a number of elementary school curriculum nights. Among them was a presentation by the math teacher Bob Lawler2 at Shady Hill School. This was the first time I’d set foot in an elementary school in 25 years, and things had changed. Math today, at least in the better schools, is taught nothing the way it was when I was a child.

Since then, I’ve had four years of indirect experience with the math curriculum at the Milton Academy Lower School). At these schools, math facts (addition, multiplication tables) are taught in second and third grade, but prior to that and continuing through it there are open-ended group projects, grounded both in other subject areas and in fun problems — the types of problems that mathematicians I know like to attack.

Grade Two for Gauss

One question from my son’s second grade was how many candles are needed for all the nights of Hanukkah. This is the same question Gauss answered when he was seven. Given the question in a context for creativity and with group collaboration, several of the second-graders came up with similar closed-form solutions.

Fibs for Small Fries

Another question was how many ways there are to roof a row of houses. The houses are connected, like brownstones in the city. There’s two styles of roof: a narrow roof covers one house; a wide roof covers two. There’s two ways to roof a row of houses.

How many ways are there to roof a row of five houses?

I believe this question was for fifth graders.

Getting Over Mr. Right

Sarah Allen writes about a story from John Holt’s book How Children Fail. The story itself is fascinating. (Read Sarah’s blog entry for more.) The larger context is the point that children are taught to play the “right answer game” instead of to learn how to learn.

Although I’m sure this is true in many classrooms, it’s no longer the state of the art in teaching methodologies. (It was never the state of the art among individual excellent teachers.) I think many parents, like myself five years ago, are limited to what they know from decades-old books and experiences or exposure to mediocre schools, and don’t have any idea of how far educational best practices have come.

Footnotes

1 “He” is a safe, although not universal, bet for a nineteenth century physician.

2 Not to be confused with Marvin Minsky‘s student Bob Lawler, who also studies the epistemology of math.

Provenance

Monday night, and it’s raining hard. Yahoo weather says the rain ended at noon. No, wait, it says it will end at midnight.

The Yahoo weather page has a strip of icons across the top, and a text description following that. The icon says AM Rain. The description extends it to midnight. Presumably the description was updated more recently.

I find it useful to look at the icon first. It indicates how accurate these predictions are. If the icon doesn’t tell you what’s happening right now, the prediction isn’t likely to tell you what will happen tomorrow.

I’d like a weather page with a history. It would show how today was predicted during the past five days, and then the forecast.

Sure you can do the same thing by showing statistics, but my page would speak to the innumerate part of your brain.

Going beyond weather, wouldn’t it be nice if objects showed more of their history? For physical objects, there’s weathering and aging, but not much else; information objects can be versioned or journaled, but there aren’t user interfaces to present anything high-level about this information.

People maintain elaborate histories of the other people and objects they interact with. Todd Proebsting’s evocative article “Tangible Program Histories” shows how useful it is for programs to do this too. Someday we’ll find a way to join these.

Moblesse Oblige

Or, easements for WiFi.

I can use a wireless access point for one of two purposes. I can place it inside my (home or corporate) intranet and make it secure. Or I can place it outside my intranet, and broadcast its presence to WAR drivers. But I can’t do both.

[Actually, I can't do the first, because WEP isn't secure. But WPA will fix this problem, and it won't fix the other one.]

Wireless access points should come with a setting that permits public access through them to the internet, but only secure access to the intranet they’re serving.

Welcome Sarah Allen!

I just discovered the weblog of Sarah Allen, a fellow Laszlo employee. Sarah came to us in March, most recently from Macromedia, where she was Director of Engineering
Multiuser Technologies. I am told that previously she had the best title I’ve heard: Director of Director.

Sarah has been working with Adam Wolf on the Laszlo Foundation Classes. These are a set of user interface, data handling, and web connectivity components and services available to Laszlo Rich Internet Applications. Writing these takes a particular kind of wizardry: the implementation of these classes requires both very high-level skills, in the use of functional programming and meta-object protocol concepts to eke sophisticated combinatorial functionality out of a very small library size. But it’s also like writing microcode, because the speed and feature limitations of the Flash plugin require an intimate knowledge of its performance limitations and a creative ability to hack in features that it was never intended to support.

Laszlo was incredibly lucky to find in Adam someone who could combine these two kinds of programming, and we have lucked out again with Sarah in finding someone who meets the bar he set. In typical startup mode, now each of them is doing the work of five, so that Adam no longer has to do the work of ten.

Fenceposts, Benzene, and Euler

These questions came up on a family drive last weekend:

  • How many posts does a hundred-yard fence with one-yard beams have?
  • What if the fence is circular?
  • What if it’s a cross?
  • What if it’s a figure eight?

The first question illustrates fencepost error. The second relates to the discovery of the benzene ring. And the last leads to Euler’s Formula. These three questions are from three different fields (computer science, chemistry, and math), but they’re all variants of the same question. (Of course that question is mathematical. That’s the point of math.)

The Semantic Depths

Dave Winer misses the point of the Semantic Web. Winer criticizes RDF as though it were an application, intended for direct interaction with users creating and searching content. RDF isn’t an application; it’s an operating system, on which applications can be built.
(Continued)