Please read Juan Cole‘s piece on September 11 and its aftermath. I doubt anyone who reads my blog actually believes Bush’s blatherings about the perpetrators “hating freedom”, so I may be preaching to the choir, but this piece explains the real strategic thinking involved.
Author: geoff
Heading home
We’re flying home to the States today. The day started with the hotel fire alarm going off at 6:20am just as I was turning on the shower. That was exciting. While we were sitting outside in the car, waiting for the all-clear, I read Robert Fisk in today’s Independent on the third anniversary of 9/11. Powerful and pointed as always. (Hands up those who knew where Fallujah was three years ago.)
After showering and packing, I came over to the WiFi hotspot to log in. As I started typing this, Morrissey’s America Is Not The World started playing over in the restaurant. I’ve heard it almost every day while I’ve been here. What a tragedy, that Bush and his henchmen should so totally squander, trash, and sh*t upon the worldwide compassion and empathy that followed 9/11. And how depressing that Americans appear unable to see Bush for what he is.
Talking to people over here, mostly professional or academic, I find a curious attitude towards the US Presidential election. Of course they are interested, and of course they hope that Bush is defeated, but it’s not accompanied by any great expectations. It’s almost as if they’ve written America off: it’s a hopeless case, perhaps it will come to its senses some day, but there’s no point in thinking too much about that. (I saw one op-ed piece that pointed out that since the actions of the US had such an impact on everybody around the world, maybe we all should be entitled to vote for the POTUS. And the lapsing of the assault gun ban was the occasion for the usual head-shaking about the suicidal insanity of a gun-drenched culture.)
Of course this raises more questions than it answers. But that’s for another occasion.
Update: We’re now home – but not before experiencing yet another fire alarm: this time in Heathrow Terminal 3. Every passenger in the terminal was herded into the structure that links the terminal to the more remote gates, while ear-splitting sirens blared overhead. It was 20 minutes before the Terminal was declared safe.
Lucky timing
This morning we went into Oxford to do some shopping – some more books (surely not?!) and some items for my mother. Lunch time rolled around, and we decided to try a place in the Covered Market that sells authentic Cornish Pasties. (No, nothing to do with costume accessories for West Country strippers..!) While Merry had a second cup of tea, I went round the corner to the Auto Model shop, with a vague idea of buying one more model.
In addition to the man who runs that branch, the district manager was there, ranting on the phone to someone. When he’d finished, and saw that I was about to buy a small bus model, he jerked a thumb in the direction of a pile of large boxes and asked if I had any idea what was in them. “Take a look at these before you buy anything,” he said, and opened the top box to reveal a 1/24 scale Sun Star RM8 Routemaster model. This is reckoned to be the finest bus model ever produced for retail; only a couple of thousand are being made, and all have been reserved for months. But he had one cancellation… and so I bought it, for £99, and arranged for them to ship it to the US for me. It’ll be the culmination of my collection; I doubt I’ll buy many more bus models after this. But what a way to go.
The use of TV drama to enhance fear and panic?
Last night I watched part two of The Grid on BBC. This is a joint BBC/TNT/Fox drama that “explores both sides of the escalating war on terror”. Call me a cynic, but it seemed to me that the main effect that the producers were looking for was to convince the viewing public that (a) the law enforcement and counter-terrorism forces in the US and UK are mostly incompetent, and (b) we should all be VERY, VERY, AFRAID of everyone and everything. Carl Rove (Bush’s choreographer of campaign dirt and panic) must have been delighted.
American cars are boring
OK, not all of them. But when I was driving down the M40 yesterday towards Oxford and was overtaken by a couple of Vauxhall VX220s and MG TFs, I wondered what had happened to the American sports car. The Corvette? The Viper?
And while I was musing on this, a Ford Streetka blasted by.
Now that’s just plain fun. Much more enjoyable than the typical American SUV (with the aerodynamics of a brick and handling to match).
Unclear on the concept
As I noted, the Little Chef next to my hotel has a WiFi hotspot. For some reason, they turn it off every night at 10 when they close. And the manager hasn’t told the staff that turning it on is part of the regular opening procedure. So this morning I came over at 7:15 for breakfast and a quick fix of Internet, and the WiFi was down, and the poor minimum-wage school-leaver who had just opened the store and restaurant had never heard of “WiFi” or “network”, and thought that the manager “might be getting in by 8:15.” (He wasn’t.)
Oh well, things are working now (mid afternoon). But I wonder why they turn it off at night. It probably takes less electricity than the Budweiser sign in the window….
On vacation… where's the hotspot?
I flew over to the UK on Friday for a week’s vacation. Good points: Virgin Atlantic upgraded us from Economy to Premium Economy for free; service was excellent. Bad points: the flight was oversold, and it took Virgin an hour to sort out who’s on and who’s off. And it was a daytime flight – I was neutral, but my wife preferred it. After the event, I am no longer neutral. Daytime eastbound transatlantic SUCKS. Instead of having a short, broken night which stresses your body into taking up the new schedule, you have a short broken day, so it’s impossible to get to sleep. Never again.
Normally when we come to Oxford we stay with relatives, but this time it wasn’t convenient, so we stayed at a random motorway-type hotel at the A34/A40 intersection. On Saturday morning we walked into the Little Chef diner next door for breakfast, and I saw a WiFi hotspot sign. “Heaven, I’m in heaven…” So that’s where I am now. (And of course the setup time on my PowerBook was just as long as it took me to type in a credit card number to buy a few hours of credit. Sweet.)
The weather here is perfect, and forecast to remain that way for our stay. So more anon, with pics (and perhaps video).
I'm being traded???
While doing a little vanity Googling (speaking of which…), I came across this page: the BlogShare page for geoffarnold.com. It seems to be some kind of fantasy stock market in blogs; apparently my valuation is B$3,481.90. What the hell does this mean? Tim’s valued at B$96,968.51, which makes some (relative) sense, I guess.
Amazing how people change over 3 years….
Yesterday the faux-Democrat Zell Miller spoke at the Republican Convention, and lambasted John Kerry mercilessly and with visible anger. He ranted that “For more than 20 years, on every one of the great issues of freedom and security, John Kerry has been more wrong, more weak and more wobbly than any other national figure.”
Yet a scant three and a bit years ago, the same Zell Miller lauded Kerry as “one of this nation’s authentic heroes, one of this party’s best-known and greatest leaders – and a good friend”. In a speech introducing Kerry at the Democratic Party of Georgia’s Jefferson-Jackson Dinner in March, 2001, Miller waxed lyrical:
“In his 16 years in the Senate, John Kerry has fought against government waste and worked hard to bring some accountability to Washington. Early in his Senate career in 1986, John signed on to the Gramm-Rudman-Hollings Deficit Reduction Bill, and he fought for balanced budgets before it was considered politically correct for Democrats to do so. John has worked to strengthen our military, reform public education, boost the economy and protect the environment.”
Yes, it’s amazing how people can change – and I’m not referring to John Kerry! Zell Miller should be bloody well ashamed of himself, if you ask me.
Thanks to Mark M. for the tip.
UPDATE: Apparently Jimmy Carter was also upset with Zell, and wrote to him to say so.
Interaction: Typing
[This won’t make much sense unless you’ve read the original piece first….]
There are at least three issues packed up in this topic:
- An implementation issue, about whether the middleware even permits the sending or receiving of messages that do not conform precisely to a particular encoding and type/schema.
- The relationship between the type(s) of messages that can be exchanged and the description of the service.
- The extent to which message types are accessible, manipulable, and negotiable. Another way of thinking about it is how early or late message types are bound.
[DIGRESSION: For different distributed computing frameworks, we need to distinguish between feasibility (is it possible?) and idiom (is it a natural way of working within the framework?). For example, I can use XML to encode a rigid, unchanging message structure based on a well-known DTD; I can also use Java RMI to exchange opaque blobs that I interpret using some private mechanism; neither of these reflects the natural, idiomatic use of the technology.]
When we talk about “untyped”, we must recognize that it’s a relative term. Eventually there has to be a semantic match: the request must be expressed in a form that the service can interpret, and the response must be comprehensible to the requester. In that sense, the client and the server must structure their messages using mutually compatible formats, schemas, types, whatever.
Some mechanisms (e.g. CORBA, RMI or COM) bind the message type at design time. They depend on the use of software tools which typically generate client and server stub code that is, literally, incapable of handling messages that do not conform to this type. The client cannot generate invalid messages, and the service application logic never even sees invalid messages; they are rejected at a lower level. There are XML-based mechanisms that support this kind of model, using XML simply as an object serialization format.
In some cases it may be desirable to defer type binding to run time. This is particularly true if a service is identified by a persistent identifier (such as a URI) with no, or weak, type information. The most common example is a simple XML/HTTP web service: the client sends an XML message via an HTTP POST, and the service parses the message to determine whether it corresponds to a request that it can handle. In simple cases, the service only understands one type, and if the request doesn’t conform it will be rejected. Semantically this is similar to a classic RPC; however it is likely to be less efficient, and the failure modes are different. However we are not restricted to such simple cases. A service may, for example, delegate the request to another, more capable service; or it may invoke a translator to map the request into a form that it can understand. Such examples highlight an assumption that is not found in the RPC world: that type matching is not always a simple black-or-white, true-or-false proposition. This in turn requires [or is that too strong?] that the message be expressed in a language that supports some form of composition.
[DIGRESSION: I was trying to imagine how one might do this in Java. Given a blob that represented a serialized Java object, one could deserialize it into something like a Java bean that supported introspection so that for each property you could obtain both accessor methods and type information that could be used by a classloader. This feels convoluted, but maybe someone has done it.]
The interface type is also involved in service descriptions. In some cases, such as Jini, a service description is based on the annotated interface type: it makes no sense to talk about discovering a service independent of its type. At the other extreme, a service is simply a network addressable end-point, with no type information specified or even available. And then there’s WSDL, the web services definition language which is rich enough (or perhaps over-engineered enough) to describe a spectrum of service types. Although the specifications suggest that it can be dynamically interpreted at runtime, the complexity and (relative) rigidity of WSDL seems best-suited to design-time use. (Curiously, there is no standard way of retrieving the WSDL corresponding to a web service URI, although there are some common practices.)
So why is all this important? Well, as distributed systems scale in various ways – number of services, number of replicated component services, number of cross-domain service dependencies, lifetimes of services, and so forth – there is increasing interest in services that are relatively loosely coupled, with more flexible, less brittle, often asynchronous interactions. (Most of this is additive, not alternative: existing RPC-style services have advantages that are still important.) Maybe it’s a throwback to the Internet mantra of “be liberal in what you accept”, maybe it’s influenced by agent-style anthropomorphism, maybe it’s the result of overloading the simple HTTP protocol to do distributed computing, maybe it’s just a recognition of a world in which version skew is a way of life. In any case, one way in which we decouple these components is by deferring type binding, from design time to run time, and by making the type of a message accessible to the application rather than being hidden below the marshalling and serialization infrastructure.
Is this a dichotomy or a spectrum? I can certainly identify a number of styles which I can order in various ways, so it feels like more than just an XOR. But that’s all for now.