Featured Post

Linkedin

 These days, I mostly post my tech musings on Linkedin.  https://www.linkedin.com/in/seanmcgrath/

Tuesday, October 31, 2006

Interoperability as a state of mind

    "ASCII or no ASCII, XML or no XML, a truly interoperable file format is one that has been designed specifically for that purpose, not one that organically grows out of internal defensive programming practices.

    Interoperability is a state of mind. You need to be thinking about the other guy to do it right. Only people whose job description includes thinking about the other guy, have the luxury of doing so."
    -- Interoperability as a state of mind

Tuesday, October 24, 2006

Pizza

From the window of his apartment, Bob watched The Pizza Man start his journey. As he started his stop watch he thought to himself: "30 minutes or it's free.".

Monday, October 23, 2006

The inevitability of cruft

Cruft in the software getting you down? Go get a cup of something and read the inevitability of cruft. It won't make the cruft go away but it might explain why the cruft is there in a way that makes it easier to cope with.

Saturday, October 21, 2006

Purple haze in Portland

I visited Powells yesterday in Portland, Oregon.

What an amazing bookshop! I was hyperventilating trying to figure out how best to visit all the sections that looked interesting. I started at the A-Z of Western Philosophy in the Purple Room and it was an hour before I arrived at Wittgenstein. Powells section on Aristotle is bigger than the entire Phil section of most other bookshops I've been in (with the exception of the wonderful Blackwells in Oxford.

I have a weakness for classic art instruction books of the Andrew Loomis, Victor Perard variety. By the time I got to this part (in the Pearl room, 3rd floor), my arms were already laden with books. I "escaped" from that room having added just two more.

By the time I arrived at the technical books shop two blocks away from The City of Books I was a giggling wreck.

I didn't buy anything in the computer section (time for a change of career perhaps?). I did however, spend a very enjoyable few minutes in the little computer museum they have there. They have a Sinclair ZX80 (One of the high end ones - the one with 16k of RAM. Mine had 1k.). They have a Commodore 64 (I hated those things), an Apple 2 (CP/M - I remember it well. I was a Visical programmer in 1985), a trash 80, a fat Mac...

A very enjoyable way to spend an afternoon. Eat something before you go and wear confortable shoes.

Friday, October 13, 2006

Dave Stewart RIP

Sad news today. Dave Stewart, IT journo and blogger has passed away. Bernie has some words to say.
The photo on Bernie's site looks familiar. I think I was sitting just out of frame to the right.
Dave blogged the ups and downs of his treatment on his blog http://sciencefriction.typepad.com/science_friction.

Few things in cyberspace are more poignant than a personal blog that...ends.

Tuesday, October 10, 2006

If we can not assign a URI to an idea, we must pass over it in silence

Ideas DO Have URIs [via Mark Baker].
With apologies to LVW.

All joking aside, there is an important point here. Analytic philosophy has long had a fascination with the nouns of human languages. Given a noun, it is a very short hop to a URI. But what about all the other things that make up language? Are they not ideas too? Verbs are the obvious next component to look at. In RESTian design, a fixed set of verbs is used. In order to achieve the required outcomes, an infinite universe of nouns in the application is manipulated so that the fixed set of verbs available can achieve the required outcomes.

One thinks of J. J. Austin's "Doing Things with Words".

If I want to "pronounce you man and wife" I can have a URI of the form [person/married_to] and use PUT or I can have an object of the form [person] and invoke the marry() or the set_married() method.

One approach manipulates noun-space to meet a linguistic need, the other manipulates verb-space to meet a linguistic need. As language-wielding entities, the latter feels intuitive when the idea we want to express maps easily onto the verbs we have in our host language. The trouble starts when you step beyond performative ideas that have atomic, verbal representations in your host language.

As a RESTian, I would argue that natural language has a big lesson to teach us. You can do a heck of a lot - without inventing anything new in the language - given a small let of verbs and an open-ended space in which to craft your nouns.

It is how natural languages work after all. If we don't have a verb for something, we can make one up. If we don't have a noun for something, we can make one up.

In computing, the verbs (loosely) map onto algorithms and the nouns map (loosely) on to persistent storage. If you make up new verbs you have to change algorithms - software. If you make up nouns, you just change the persistent storage space.

The latter is a whole lot most cost effective than the former.

So REST wins. QED.

:-)

To print or not to print, that is the question

    In my ideal world, every web page would be a true web page optimized for online reading. In the top right hand corner of each of these web pages would be a PDF button that would generate, on the fly, a serif font PDF for the current page or the current group of pages. -- To print or not to print, that is the question