Monday, February 13, 2012 9:12:17 AM
web 2.1, css, svg, w3c
SVG Animation (based on SMIL) and CSS Animation offer some similar features for animating Web content. Harmonising these two technologies has been considered on a number of occasions but a path forward has yet to be established. In response to a feature-by-feature comparison of the two technologies the question was raised, “What are the animation features required, prioritised by use case?” (Meeting minutes which lead to Action-48) although a closely related question was, “What would it take to make CSS Animations achieve feature parity with SVG Animations?”
From face-to-face meeting on
Web Animations, as discussed
here. There is now a
CSS-SVG Effects Task Force activity on this.
It has taken time, but by now CSS and SVG are on the same team, which is kind of a precursor to make the
specifications well-integrated as well.
Wednesday, August 31, 2011 5:02:32 AM
Google, dataloss, gmail
...was the day (today) when I got the message on yellow background that "your draft has been discarded". Exactly what led to this event I don't know, Gmail didn't tell, was it a keypress in the wrong area of the screen, or a connectivity glitch, or a Google employee deciding that "yes, I do want to be evil", I simply do not know.
Trust builds up slowly, once lost it is rarely regained. In those early days after the April 1 non-joke, trust came readily to Gmail. For me it started with my favourite four-letter word, "Undo". Commonplace client-side, web services rarely offered this basic functionality. That as much as latency made for an inferior user experience. Gmail was an exception. You delete something you rather wouldn't, you pick it up from trash. You did something you should't, you click on the "undo" link, and all was well again.
For a while.
I mostly prefer to use Opera, which has been troublesome with Google, but the two have mostly made up lately. Worse, I have been to many places with limited connectivity, using phone network or fritzy WiFi that drops. This means the "Basic HTML" rather than "Standard" service. Here in China I have little choice even when the connectivity is good, Opera+Google+China+Standard fails in most cases. Basic HTML is actually good enough, you lose some flash of Standard, but it the lack of connectivity, not the lack of flashiness that slows you down. What is worse, and I cannot say if it is Basic HTML as I have too little experience with Standard, but Gmail has become unreliable. Not unreliable as the well-publicised spat with Chinese government unreliable, which is annoying but not really damaging (it is better now, at times VPN was required, now it is only recommended). The problem was losing-your-email reliability issues. You write a message, the connection is lost, you press Send, and get an error message. No problem right, unlike IE6 (boo!hiss!) you can go back one step in history and retrieve that message, right? Wrong. Whatever script Gmail is running it interfers with Operas now-less-than-stellar history functionality so that chances are you got nothing.
This and other issues have caused a number of lost messages from me, and more often my co-workers (whether using Opera or other browser). My advice has been the old adage to save often, as well as the somewhat-stoneagey-but-safe "type it in in a word processing program and copy it into the browser" since all modern word processors/text editors autosave without any freakish AJAXy unreliability, or maybe the best "Use Thunderbird". I can't really say I like Thunderbird, but at least our data have been safe so far.
Two days ago I started a company-important document that I worked on and off on. Of course I should have headed my own advice and used a word processor, but using a browser is convenient. I did save (though not as often as I should, Gmail's autosave is not much), so I ran a risk of data loss, but nothing catastrophic. So I thought until the "discarded" message suddenly showed up. When Google say "discarded" they mean it. That is not a nice little "We moved your message into the Trash folder for you, do you mind?", or "We deleted your life's work. Undo?", or even "We messed up, all your changes since your last save are gone. Sorry.". It does mean "The message you have been worked on from the beginning through what we told you we have saved to the last changes is now gone and deleted. There is no way of getting it back. We are not telling you why we did it, and there is nothing you can do about it. Have a nice day."
Trust builds up slowly, once lost it is rarely regained.
Friday, May 27, 2011 8:16:30 AM
architecture, accessible JavaScript, culture
Surely the third round of the ninth circle of hell would be filled up with the designers and programmers of Chinese Internet banking sites.
Friday, April 22, 2011 4:03:53 AM
css, w3c, past

XKCD recently
published the future and found through a good number of Google searches that finishing up HTML5 would herald the demise of newspapers and the Third Coming of Christ.
Coincidentally the W3C declared that finally
CSS 2.1 had reached Proposed Recommendation status, and surely, surely!, the end, in the form of CSS 2.1 as Recommendation, should be nigh. I recapped the story in an almost four year earlier entry,
Cruelly Slow Slog, a slog that cruelly continued for four more years. 11 years of labour is not bad for what was intended as a quick fix.
Heaping on the irony, a new working draft of
CSS3 Speech Module was published. While CSS 2.1 was bound to reach PR some day, the CSS3 Speech Module had been missing in action for
seven years, if this module had been a person he would have been recorded as dead long time ago and his belongings spread among his inheritors.
Maybe it is time for me to revive the Audio module? While the Speech module is an aural equivalent to the Text module, how to style spoken text (generated by text to speech), there would be a use, arguably a greater one, for handling audio files. Audio is to speech as image is to rendered text. Properties of an audio module would be the likes of volume, balance, delay, speed, how to present the media in a given context.
In the intervening years HTML5 has happened, with dedicated
audio and
video elements. As is otherwise the case having more well-defined markup makes the case for styles easier, with the ability of everyone involved to adapt content to user circumstances, for audio as well as images.
Of course, given present form, Jesus Christ would have become a frequent flyer by the time such a module would reach Proposed Recommendation.
Saturday, February 26, 2011 4:02:24 AM
Beijing, svg, css, travel
...

Wikipedia has a
nice and extremely useful map of the Beijing metro system with upcoming extensions. As the Beijing metro system is expanding
extremely rapidly the future is almost now.
Like most Wikipedia maps of this type it is made in SVG (using Adobe Illustrator). The code it generates it fairly decent, better than some code I have seen earlier, but still hard to read and use for my purpose, so I cleaned it up with Kommodo Edit. The regular expressions work well in that editor, which makes clean-up much quicker and easier.
Maps are, or at least should be, ideal for SVG and SVG animations. Famously they are not the territory, but they are a layer of information that can be used instead of or as an overlay to other maps of the territory, highlighting the information you are looking for and hiding the information that distracts.
Read more...
Thursday, February 17, 2011 3:08:05 AM
geo, architecture, society, city
Urban planning and city architecture has traditionally been a closed process between the client and the planner, possibly with a public hearing (too) late in the process.
We are now at a stage technically, and sometimes socially, that this process could be organised differently. It could be more like the process for producing the HTML5 standard for instance, with early prototyping, public involvement with the stakeholders, scenarios and visualisations, and a transparent process.
Any area potentially under development could be put on Google maps, or local equivalents, as well as on a time line for any interested citizen to see or get involved with.
I am interested to know: What "prior art" do you know of in architecture along these lines, how was it done, what were the consequences and lessons?
Tuesday, January 18, 2011 6:12:24 PM
architecture, Opera
Many of the developments in the 10 and 11 versions of Opera are important, but personally my key word for these upgrade would be "disappointment". There is one feature/bug fix which would make a huge difference in my browser use, not when things works smoothly, but be a life saver when they don't, fixing
bug 155102. For such an important bug it has taken its time fixing. It was still there in Opera 9, when finally there was an interest in fixing it, it was still there in Opera 10, and it is still there in Opera 11.
(Speaking of long-standing bugs, if mostly an annoying one: Opera 11 made a big issue of showing simplified URLs with only the most significant bits and security information in the address bar. That is fine, but the fact is that what is actually in the address bar need not be the page you are at, but some old crud that happen to be in the address bar, like an earlier page, or maybe a typed search, or something else. It is a boring and possibly extensive bug to fix, but in principle it is a security issue. If anything it seems to be worse in Opera 11.)
But I didn't write to gripe, but applaud that Opera finally has tab groups, or tab stacks. As soon as you have more than a dozen tabs active organising them is going to be an issue, and at around the double the number you lose overview completely. It is nice that you can move the tabs around, but a larger group of tabs is unwieldy. Enter the
tab stack.
Neat as this may be, it risks a common syndrome of Opera development. New features are developed all the time, hopefully to completion but sometimes only to beta level, and then it is forgotten until subsumed by later features. A decade ago the duel between windows-based browsing and tab-based browsing was resolved into a combined style of browsing, which can be seen in the context menu of a link (where you can open it in a new window or tab). A couple years later Opera got sessions, a feature that left unchanged since it was partially implemented, making it much less attractive than it should have been. However sessions matter for a more important reason because this is what lets Opera restart with all your tabs intact, except of course what you have typed into them, viz bug 155102. Yet later we got some minor tab features like for instance private and pinned tabs.
What if Opera would
combine the three separate features of mixed tabs and windows, sessions, and tab stacks into one unified feature? What is an Opera window but a tab stack with a duplicate chrome? What is a window could be turned into a tab stack and vice versa. Likewise a named tab stack and a session could be synonymous. You give a tab stack (or a window), and when it has a name it has an identity that can live on through sessions. The tab stack UI solves the maintenance problem of sessions, there are always some tabs that you don't want in that session any longer and there will be new ones to add. That is exactly what you naturally do with tab stacks. If you don't want a particular tab to pop up next time you activate a session, you just move it out of the tab stack (or into, as the case may be). When tab stacks are unified with sessions, the time would come to simplify the window UI, hopefully in a way that would make the desktop UI more in synch with the device UIs.
Next: Having united these three features, there is a fourth that is living a separate existence from the others, maybe it will be time for a Grand Unified Featureset of tabs and windows.
Wednesday, November 10, 2010 5:04:19 AM
internet, www, privacy
"How unique – and trackable – is your browser?"
To let a web site adapt the content to fit your needs a browser will make a number of configuration details available, what operating system you use (this shouldn't really matter, but that is a different story), which version browser you are using (for browser sniffing), what screen size you have (to let the site content better fit your screen), what fonts you have (to create fallbacks in case you are lacking the font the web site uses) and so on.
This is well and nice, but there is a problem. These configuration details don't usually change very often and there are so many combinations of these configurations that it is possible, even probable, that your personal settings may be globally unique. In other words nobody else will have the settings that your browser has, even if you haven't personalised it. In the words of this site, your browser will have a fingerprint. Where ever it is used it can be identified.Read more...
Sunday, October 10, 2010 10:10:01 AM
Today at 十/十/十 十:十:十 in your zone is the third last factino second this century.
Saturday, October 2, 2010 12:32:43 AM
HTML5, culture, time, standards
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.
Read more...
Thursday, July 29, 2010 11:51:46 AM
I now have a small flat in Oslo for sale, which, given my neo-nomadic existence, would mean that I have a flat for rent for the time being.
It is situated at Storo which would be third in rank after Oslo Centre and Majorstuen as a traffic nexus. It is right on top of the Storo ring line metro station, meaning all other metro stations are in easy reach, most tram lines and some buses stop there as well, including the airport bus for conveniently leaving Oslo at will. Whether long-term or short-term commuting or just wanting easy access to all of Oslo, the location is ideal.
The flat itself is a one room 23 m2 with with a nice westward view.
Saturday, April 17, 2010 8:03:24 PM
travel, iPad, marketing, mobile

The Norwegian Prime Minister, having been grounded in New York by Icelandic eruptions, did the natural thing for a politician in a modern democracy. He called in the press.
The feature in the Norwegian newspaper Dagbladet showed how he resourcefully had turned the hotel room into a makeshift home office, with the
Lenovo Thinkpad neatly stacked next to a blue folder with "Confidential" handwritten in neat press-friendly letters. He was being a model Norwegian citizen by "working most of the day", but spending some time shopping, getting himself an
iPad. Doing his work from New York was no problem, but he had to get up early due to the time zone differences. He wasn't too concerned about missing the Friday's Council of State, but hoped to be home for his daughter's dancing performance on Sunday. That covered the checklist, working effectively, but not too long, knowing trendy technology, while being relaxed and a good family man.
The American CNN had a feature as well, here the picture provided (by the Prime Minister's Office, no doubt) was the Prime Minister at the airport actually handling the aforementioned
iPad, or at appearing to do so. The tagline here was
Running a country? There's an app for that. From a machine point of view the
ThinkPad did all the work while the
iPad got the attention. Though if truly seen from a machine perspective it would be the mobile phone, and all the hidden technology to make the human interface devices actually function, thus allowing the head of government of a country to stay away from home with nobody noticing. Nobody but
Dagbladet,
CNN, this blog, and a few hundred other media outlets that is.
Saturday, March 20, 2010 6:48:38 PM
subtitles, HTML5, w3c, video
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.
Read more...
Thursday, September 17, 2009 6:06:18 AM
science, culture, literacy
This Is Your Brain on KafkaAbsurdist 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?
Saturday, September 12, 2009 4:38:55 PM
w3c, svg, markup, origin
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.
Read more...
Sunday, September 6, 2009 12:18:32 PM
access, HTML5, w3c, standards
...
This entry was actually made, well conceptualised, back in early July when I wrote several entries on HTML5 and XHTML2. If I made it then it could be considered prophetic, though it would only show a Nostradamus-style prophetic ability ("there will become a war, and in that war some people will suffer badly"). I lost that opportunity, but if something is worth doing, it is worth doing very, very slowly. And trust me, there will become a war, and in that war some people will suffer badly.
Read more...
Saturday, September 5, 2009 6:48:26 PM
internet, technology, file sharing, society
...
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.
Read more...
Saturday, August 29, 2009 11:20:04 AM
markup
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.
Friday, August 28, 2009 9:03:57 AM
Google, widgets, internet, Apple
...
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.
Read more...
1 2 3 4 5 ... 7 Next »