Time out

When you have “dinner at seven” it would be dinner at seven tonight unless that time has already passed, then it would be dinner at seven tomorrow night. If it were “breakfast at seven” then it would be tomorrow morning as most of us have breakfast in the morning and dinner in the evening. The way we specify dates is highly contextual and highly cultural, so artificial or natural intelligence will have a hard time figuring out what time it really is. …

HTML5 allows you to specify that when it matter, so that when the HTML processor encounters “7/11” the markup will tell if you if the fraction 0.6363.. was meant, a date (and which one), a convenience chain, or something else. The time-related capabilities are limited, but HTML5 can give you the time of day. In other cases you need to go beyond HTML5. If you need to establish “7/11” as your friend’s birthday, as opposed to day of birth, you need to use some calendar extension, as you would if a vague time is needed, like “during next week”.

(more…)

HTML video: The subtext

There has been a lot of talk about HTML5 video, codecs, containers, and the lot. That certainly matters, but it isn’t something I care about. Assuming the browsers could agree on some standard media codec plug-in interface, like they have done before, browsers shouldn’t be different from any other media player like VLC. That way it wouldn’t be a major work to update the browsers and the spec itself to new formats. Problem solved. …

The licensing problem wouldn’t go away, but it would be moved from the domain of the browsers (or other media players). If a royalty-free codec like Theora were shown to be torpedoed by one of those media patents, and we had to use some Plan TheorB it would be a matter of discovering how to evade the patent in question and distribute the new patent-proof plug-in, instead of involving a number of browser upgrade cycles. It also moves the patent risk from the browser companies, which are huge lawsuit targets like Microsoft, Google, and Apple, and smaller ones like Opera and Mozilla, to the plug-in developers that would be so small and fleet as not to be a viable target.

I care about a much simpler issue, subtitles, those little blocks of text that put movies into writing. For all the controversy of the video element, the design goals have pretty modest, essentially recreating YouTube without using Flash. But HTML5 doesn’t “natively” support YouTube’s captions, annotations, and subtitles. Of course it doesn’t have to, anything you can do, you can do with JavaScript. However it would be a missed opportunity.

Why care about subtitles?

Subtitles are not that popular in mostly monolingual countries like USA with a tradition of dubbing foreign videos, they can be considered an aquired taste. They are still superior to dubbing, and crucially subtitles are more adapted to the Internet age, and they are searchable and accessible as well.

(more…)

“This is your brain on Kafka”

This Is Your Brain on Kafka

Absurdist literature, it appears, stimulates our brains.

That’s the conclusion of a study recently published in the journal Psychological Science. Psychologists Travis Proulx of the University of California, Santa Barbara and Steven Heine of the University of British Columbia report our ability to find patterns is stimulated when we are faced with the task of making sense of an absurd tale. What’s more, this heightened capability carries over to unrelated tasks.

In the first of two experiments, 40 participants (all Canadian college undergraduates) read one of two versions of a Franz Kafka story, The Country Doctor. In the first version, which was only slightly modified from the original, “the narrative gradually breaks down and ends abruptly after a series of non sequiturs,” the researchers write. “We also included a series of bizarre illustrations that were unrelated to the story.”

The second version contained extensive revisions to the original. The non sequiturs were removed, and a “conventional narrative” was added, along with relevant illustrations.

In other news, Reader’s Digest files for bankrupcy. Hope for the human mind?

The SVG path

The last W3C working group I participated in, Multimodal Interaction (MMI), is at the periphery of the Web and is unlikely to make much of an impact on it in the foreseeable future. However they have produced a few interesting specs (and a few uninteresting frameworks), one of which I will return to in much greater detail later.

The most obscure one may be InkML. The name might imply a language for tagging with paint, but is really describing the set of movements registered by a touch-sensitive tablet or screen so that the scribbles you make can be processed and enhanced by someone more clever than the tablet driver. Unfortunately this specification is made by a tablet-maker subgroup that like Schrödinger's cat is living or dead depending on your perception, and the spec is progressing at a less than vital speed. …

(more…)

Dele, ikke stjele?

Denne uken kom det et opprop fra kunstnerdypet, iallfall noen av dem, som sa seg forfordelt, eller var det forforstjelt? At bransjeorganisasjonene ikke er velvillig innstilt til fildeling er knapt nytt, men denne gangen var kampanjen frontet av forfattere og utøvere. Gitt det 20. århundres historie gir forfatteropprop meg mange assosiasjoner, ikke alle like gode. …

(more…)

“How XML Threatens Big Data”

Minimal markup seen from a data point of view rather than a document point of view.

I wouldn’t say it is XML’s fault as such, but it being used for a purpose it is less than ideally suited for, a consequence of early oversell (those who remember 2000 would know what I talk about).

There is another lesson that is web-relevant. Big dataset like these shouldn’t be naively be tagged into an XML format and presented as is on the Web. This is because in a web setting the overhead for each element is rather large as the DOM will be applied to it, allowing arbitrary dynamic mutations. It is easy to overwhelm even the most powerful processor this way and zap all available memory.

How clever are smartphones really?

Last issue of New Scientist published a paean to IPhone named Appland: How smartphones are transforming our lives. It follows a traditional NS pattern of being ahead of the curve for science and behind it with technology. The author was elated, and there is a crucial distinction between things that make you happy and things that don't. …

(more…)