Friday, May 16, 2008

web design still sucks: an open letter to the W3C

For many years I've followed the public line of the W3C: you should separate concerns, keep the html close to the data and use CSS for the presentation. Like other web developers, I've struggled between the right way to do things and the way that works (even when the experts don't agree what the right way is-- google CSS 3-column layouts for example). I've cursed browser makers for the seemingly arbitrary rules they use to render margins, box-models and standard controls. And I've struggled to understand the vaguest definitions of resolution and weighting models ever written.

But then I realized the other day, that the W3C simply lacks expertise in presentation-side implementation. At first this might seem like an outrageous claim but consider that there are two other standards that are at least as old as web standards that get this right: OpenGL and Postscript.

Both of these standards have a predictive presentation model -- if you say draw something at a given coordinate, you get something at a given coordinate, on any opengl hardware in existence, on any postscript printer in existence. There's no crying about "relative" units either -- OpenGL units are completely relative, but they are superior to W3C notions of length because they are consistent! It's a far cry from an industry that can't even render their own standards correctly or consistently.

So why can't web standards give us the same predictability? I think it's because the W3C is fundamentally confused about it's purpose and goals. On the one hand they wish to promote the idea of the semantic web (which is primarily a data-centric view), and on the other they want to begrudgingly hand some presentation layer scraps to visual designers who do the most heinous things imaginable to get their work done. I say "begrudgingly" because CSS was only proposed when table-layout threatened to blot out the semantic web forever. I still get the impression that the W3C views presentation concerns as an annoyance that interferes with their data-centric preferences.

I know there is some good work being done in CSS3 and HTML5 that we have yet to feel in the mainstream site design (and even when we do, we'll have to consider the mishmash of currently deployed browsers to make it work correctly), but it's too little, too late.

The W3C's biggest nightmare is already happening, people who care about consistent, quality presentation are turning to rich internet application frameworks such as Flex and Silverlight because it's just so much easier to use. These platforms solve the browser problem by completely bypassing it -- the plug-in suddenly becomes the new browser! They can even back their presentation with xml datasources as well, so other clients can choose to view the pure xml (which is even better than XHTML for semantic purposes since it doesn't need to be cluttered with presentation cruft).

Thursday, May 8, 2008

a philosophical take on quantum realism

I got the latest issue of SEED (#16) and was instantly captivated by the article on p.50 "The Reality Tests". The article goes into one of the more controversial questions of quantum mechanics, the idea that particles might not really exist until they are observed. Many physicists (including Einstein) have disagreed with this idea because it is so alien when compared with our everyday experience (i.e. the moon doesn't cease to exist because we stop looking at it, right?).

But the article explains that new experiments disagree with the idea of "realism", (i.e. that particles have an independent existence before measurement) by more than 80 orders of magnitude. So are we left with the unavoidable conclusion that we can create reality simply by observing it?

I'm not a physicist, but even without physics there are some philosophical problems with such a question.

First, in its most basic form, the explanation that reality is created by observation isn't an explanation. It simply pushes the problem into a different space: "observation" and what it means to be "observed".

I'm not aware of any accepted rigorous definitions of those terms, however the ideas of an observer "creating" reality seem to unavoidably involve free will. After all, it's commonly implied that the observer gets to choose what to observe, right? Except we don't really seem to have conscious control over what gets created "in the large". (For example, I would like to observe a million dollars in my living room right now... nope. didn't work.)

Maybe we don't have conscious control over our observations... but then we have to explain why observers create the same (or even a similar) classical reality that we perceive as coherent when theory says there could be an infinite number of alternate classical realities that are equally possible. Why this particular one? Collective unconscious?

If we disregard a "collective unconscious" of some sort, we are left with something even more dramatic: for some reason, the science of observations collapse on the same reality regardless of all the possibilities -- i.e. you are drawn back to a system of fate without any free will.

But a deterministic system by any other name is still a deterministic system. We started out wanting to say that the particle had no particular existence before observation and instead ended up with a system where observations are as deterministic as the previous definitions of the particles they tried to explain.

So, really, when we're talking about "observer" and "create", we are talking about something very special that doesn't match our everyday meanings. We should figure out what those terms mean before using them in quantum theory.


p.s. there is another wrinkle with "observer" -- quantum physics says you can't observe things without affecting them, so at the simplest level it sounds like observers are just participants in interactions. But interactions affect all matter and energy, so does this mean that everything is an "observer"? If not, what is special about "observers" then?