Monday, January 19, 2009

The Content of their Characters

Today is Martin Luther King, Jr. Day in the United States and rightfully so. We watched his "I have a dream" speech in its entirety at lunch today and I realized, in explaining his legacy to my children, how many modern-day prophets have paid the ultimate price. King, his mentor of non-violence Mohandas Gandhi and Abraham Lincoln, the three men arrayed in spirit at King's speech, were all removed from this Earth by assassins' bullets. All of them were killed for having the courage to say to small minds that people should be free.

Raised on the ideals of the American union, I was a child of King in a literal sense. King spoke at the Lincoln Memorial on the day that I was born. I grew up in prejudiced times but in hearing the conversation that he started, learned to tolerate, then to embrace, cultural differences. There are no racial differences, of course, and have not been since Neanderthals walked Europe alongside Homo Sapiens Sapiens. Such minor differences as skin color are trivial and recent evolutionary adaptations to environmental conditions that we have long worked around with forms of transportation. Culture, not race, is all that separates us.

Culture is fungible. We can change it. We have the ability if we only have the will. Do we want to live together on this increasingly tiny planet, or do we wish to let our subtle differences rip us apart? The time has come to choose. We have to work together to address the problems of our time. Climate change, energy production, medical ethics, poverty and war won't go away unless we will them to. The only way to address any of them is to live together, in peace if not always in harmony. THE challenge of our time is thus laid bare.

Tomorrow Barack Obama will become the 44th president of the United States. I am pleased that so many feel a sense of pride and accomplishment in the victory of his genes, but hope that they will remember that his victory is not about his genes, his past, or his parents. It is about our future. I, for one, support him not because he is African American, but because I believe him to be the best man for the very difficult job. I attempted to judge him, simply, not on the color of his skin, but on the content of his character.

Obama is following a dangerous path. He will need to ignore his own rock star status, to avoid offers from young women, to avoid the corrupting influences of Washington. He will need to avoid assassins' bullets. If he lives, if he stays sane, if he can just do what he has set out to do, he just might become truly great. I hope he can. I hope we can follow.

Wednesday, November 19, 2008

Mulgara on the Cloud

Chris Wilper reportedly put a Mulgara instance on Amazon EC2 and loaded a quarter-billion triples into it, just for fun. The data he used was generated from Paul Gearon's numbers RDF generator. The generator creates facts about numbers and keeps creating RDF until you stop it.

Chris was using the new XA version 1.1 storage layer for Mulgara. The quarter-billion triples loaded in about a day, which is about the same loading performance that Paul has seen on his laptop. The size of the indexes were about 4.6 gigs compressed and 51 gigs uncompressed. Paul notes that the XA version 2 storage layer will store strings and URIs much more efficiently and thus reduce the index sizes considerably.

Way to go, guys! We can't wait for XA2!

Tuesday, November 18, 2008

New PURL Code in the Wild

Several PURL installations have been seen on the 'net using the new code base:
  1. NeuroCommons
  2. The National Center for Biomedical Ontology (NCBO)
  3. Semantic Report
  4. Zepheira (naturally)
Others include at least one startup that doesn't have a Web site yet (GRACE Research Corporation) and a couple of others still in stealth. Not bad for a project that never had an official launch. Keep 'em coming, folks. I have some hope that OCLC will join that list soon, as well as a couple more startup companies.

PURL Server v1.2 Released

I released the new Persistent URL (PURL) server, version 1.2 over the weekend. This release fixes a major bug in version 1.1 whereby PURLs would not resolve for those not having a cookie set. Minor upgrades include better error reporting and URL handling.

All users of earlier PURL servers are encouraged to upgrade immediately.

Binary (JAR) and source code downloads are available from purlz.org.

Saturday, November 08, 2008

The Perfect 11-year-old Boy Birthday Party

4:00 PM: Archery (supervised, of course)

4:45 PM: A few minutes free time on a trampoline

5:00 PM: Fencing lesson (even more stringently supervised, with cardboard boxes as opponents)

6:15 PM: Make your own pizza for dinner

7:15 PM: Communal game of Crossfire on a map created by the birthday boy himself

8:30 PM: Cookies

8:35 PM: Pass-the-parcel (an Aussie game for our Aussie son)

8:40 PM: Open presents

8:50 PM: Movie night (The Princess Bride)

10:30 PM: Sleep over

8:00 AM: Breakfast of chocolate-chip pancakes

9:00 AM: Pickup by parents

Wednesday, November 05, 2008

My Last Degree

Tonight, I passed the oral defense for my Ph.D., having submitted my thesis in July. It's all administration from here :)

Thursday, October 02, 2008

Dulles TSA Lets Leatherman Squirt Slip By

Knives on a plane? Believe it.

I flew from Dulles International Airport on Monday and forgot to remove my Leatherman Squirt from my keyring. I put my keys in a bin with my shoes when passing through security and the TSA simply didn't notice. Neither did I until I was on the plane :/

Tuesday, September 16, 2008

Aidan Beats Sarah

Wow. My son, 10, today gave his sister a succinct and cogent description of the Bush Doctrine on the way home from school today. He covered all the basics, including the ethics of preemptive strikes, the use of sanctions and inspections and the limitations on presidential power. Take that, Sarah Palin :)

Truck Fire on I-81 Today


truckOnFireI81
Originally uploaded by prototypo
I traveled from Fredericksburg to Lexington, Virginia today in the beautiful Shenandoah Valley to kick off a seminar series that I organized at VMI. Unfortunately, an accident involving a semi rig completely shut down a section of I-81 this morning about 8 miles South of Staunton for many hours and I arrived late. I was luckily still able to give my talk.

I haven't seen any other reporting on this accident other than this blog post, which is surprising considering the amount of time the entire Southbound lanes were closed. Traffic was still crawling through a single lane a couple of hours ago.

Friday, September 12, 2008

The Canary in Ohio

I checked in with my favorite indicators of political opinion in the swing state of Ohio today; my parents. Their political position in support of McCain was not surprising, but the details are interesting.

My mom, 81, favors abortion rights, but loves Sarah Palin. She stopped listening to the Youngstown radio station because she "couldn't believe how hard they were being on her." She suspected that the reason the media was being hard on Palin was "because she is a woman." She was amazed to hear about a poll that suggested that the women of Ohio were supportive of Obama, because everyone she discusses politics with supports McCain.

Palin's lack of understanding of the Bush Doctrine did not bother her at all: "She'll learn." When asked about Palin's religious views, especially her assertion that the war in Iraq is "God's Plan", she dismissed it as propaganda from the Obama campaign. I pointed her to the video. We'll see what she says after viewing it.

My mom also didn't care that Palin linked Iraq to 9/11. My mom does, too. She didn't fully believe me when I explained the Big Lie and that even George Bush has publicly repudiated the notion.

My dad, 82, expressed disdain for all four candidates and the electoral process in general. He was not rocked by the allegations that McCain may have used his Senate influence to tamper with a DEA investigation, saying that "they all do that sort of thing". He went on to say that he has been going to the library to rent old movies and other videos until two weeks before the election. At that point, he will try to listen to the position of both candidates and make a decision.

Thursday, September 11, 2008

China as an Island

This makes sense!

John Mauldin, an analyst at Investors Insight, came up with an awesomely useful idea: Instead of thinking of China as a huge land power, imagine them as an isolated island. Geographically, politically and demographically it makes a lot of sense.

John's idea is just part of a larger analysis of China to be found in this article, although the site was not responding today when I checked it.

The graphic is worth repeating. It is powerfully concise:



I found both the graphic and the link to the original article on Strange Maps, a blog worth watching.

Thursday, August 21, 2008

Running for President? No, Thanks.

I had to laugh at this interesting thought from my dad:

Dear Dave:

I finally decided that I have only one interest in the upcoming election and it involves your birthday.

Since you and Obama are of the same generation and about the same age, it occured to me that your life experiences are much broader than his.

You have served in the military, have operated a business under difficult circumstances, and have never had to shape your beliefs for political purposes as all politicians do.

Just wanted you to know I am glad you are not running for president.

Love,

Dad

Thursday, August 14, 2008

Bernadette's Mom Has Passed

Bernadette's mom died this morning at 2:30 AM US EDT. She passed peacefully in her sleep at 91 years old.

The family requests that mourners consider sending a contribution to the Rhode Island Hospice or your local Hospice. Contributions are tax deductible.

Wednesday, August 06, 2008

NetKernel Architects Conference

This year's NetKernel Architects Conference is being held 25-27 September 2008 at the University of Mary Washington, right here in Fredericksburg, VA. Brian and I are helping Peter and Randy from 1060 Research to organize it.

1060 will be introducing NetKernel version 4.0 Pre-Release. Each attendee will get a copy on the first day. Brian and I had the chance to see and play with it last month in London. All I can say is, wow! Fans of resource-oriented computing are about to get a very powerful tool to add to their toolbox. The Architects Conference is a great way to learn the concepts and get a jump on the competition.

The conference schedule and price list are on the Web.

Y'all come down now, y'hear?

Tuesday, August 05, 2008

New Linked Data Blogroll

Talis has set up a blog aggregator for discussions of Linking Open Data at http://planet.linkeddata.org/. Good show, Talis.

Gartner Gets FLOSS; Late as Usual

A new report by Gartner on Free/Libre/Open Source Software concludes, " ... if you do not think you use it, then you use it; and if you think you do use it, then you use lots more of it than you know." No kidding. They rightly call out the fact that many common big-enterprise vendors use FLOSS components, but fail to mention FLOSS use by the dominant players like Microsoft.

The full report is accessible only by those with money, but KMWorld reported on it, as did ZDNet. Both reporters focused on the use of FLOSS by cloud computing centers, but the report is much more interesting than that. The most interesting statement to me was the positioning of SaaS for enterprises as a primary cost-cutting measure. SaaS is just another form of outsourcing, but this time to a much more level playing field.

Gartner is a funny organization. I haven't quite forgiven them for reporting in 1997 (!) that the Web was not likely to be important to businesses. They even gave that ridiculous statement a 70% confidence rating, IIRC. This time, they seem to be on track, but reporting a bit late. Why wait until FLOSS use is so ubiquitous in mainstream software before telling enterprise CIOs about it?

Monday, August 04, 2008

Digging out from Under

Whew! I've submitted my Ph.D. thesis (finally) and am now waiting upon the reviewers. It should be a couple of months and then an oral defense. I may be able to post more regularly once I find my inbox so I can start clearing it.

Tuesday, July 08, 2008

The World's First Metadata


Girginakku
Originally uploaded by prototypo
I spent a good bit of 29 June at the British Museum in London. Those Brits really know how to loot! Attached is a picture of Mesopotamian girginakku from 5300 years ago. Girginakku were clay tags that were hung off of tablets or rolls to provide clues to their contents. They were originally used as tokens much like an IOU, but evolved into the world's first metadata.

The keepers of the markers ("rab girginakku") were the first metadata wranglers; the intellectual forebears of SemWebbers. Cool, eh?

On the right in the photo are bullae, clay envelopes containing girginakku, presumably to keep the girginakku from being tampered with before they were needed (sort of like a modern lead seal). Unfortunately, neither the girginakku nor the bullae were described in this detail or given their proper names on the descriptive cards near the artifacts. I only recognized them for what they were because I have recently been researching the history of metadata.

Saturday, June 21, 2008

Making Glass


Making Glass
Originally uploaded by prototypo
Bernadette and I had the fun of learning something of the art of glass making last week. The resident glass blower at Oglebay Park, WV showed us the basics and let us make some paperweights. Great fun!

Monday, April 21, 2008

Semantic Technology Conference 2008

I will be speaking at SemTech again this year. Everyone from Zepheira will be in attendence and most of us will be speaking. Brian and I will be giving a 3-hour tutorial on Semantic Resource Oriented Architectures and Eric and I will be talking about the new PURL capabilities.


Wednesday, April 09, 2008

SWAMM


SWAMM
Originally uploaded by prototypo
The Software Agent Maintenance Model (SWAMM) is a NetLogo model of a software maintenance methodology I have been working on. A runnable Java applet of the model is available at: http://www.itee.uq.edu.au/~dwood/models/SWAMMApplet/SWAMM.html

Monday, March 31, 2008

Cherry Blossoms 2008

Another view of the cherry blossoms surrounding the Tidal Basin in Washington, DC on Sunday, 30 March 2008. The Combat Air Patrol contrails are visible over the Washington Monument.

Cherry Blossoms 2008


CherryBlossoms2008_Detail
Originally uploaded by prototypo
Bernadette and I had the great fortune to view the cherry blossoms surrounding the Tidal Basin in Washington, DC at sunrise on Sunday, 30 March 2008. They were at their peak and the light was just perfect. It rained today, so we were especially lucky not to have put it off.

Appreciation of beauty seems so antithetical from the normal activities of Washington, DC, but perhaps that should make us try harder. The contrails of Combat Air Patrol jets painted the sky behind the blossoms.

Sunday, February 24, 2008

Semantic Conference Scheduling Application

This year's Semantic Technology Conference has a nifty new semantic conference scheduling tool, courtesy of fellow Zepheirans Uche and Eric. Nicely done, guys!

The scheduler allows you to graphically fill out a calendar of sessions that you want to attend. Conflicts are immediately visible. The faceted navigation on the left allows you to find sessions based on tagged data (speaker, company, topic, day, etc). When you are happy, you can import your schedule right into your ical-compliant calendar. I wish all conferences had this.

Monday, February 18, 2008

Beyond Redirection: Rich and Active PURLs

It has been a while since I posted about the new Persistent URL work being done by Zepheira and OCLC. That is partially because the work has gone much more slowly than we had planned. We have been actively gold plating the new PURL server because we are trying to satisfy several communities. The result, though, is laying the foundations for new services for the Web.

The key to the new PURL service is the typing of PURLs. The existing public PURL service at OCLC returns an HTTP 302 (Found) response, causing a Web client to redirect to another URL. The new PURL server allows PURLs to return one of several status codes (301, 302, 303, 310, 404 and 410).

We can go even further, though. The original PURL server had some internal concepts like "cloning" a PURL (basing a new PURL definition on an existing one) and "chaining" a PURL (allowing multi-person management of a URL resolution process). Combining these concepts with the choice of HTTP response codes got us thinking about arbitrary types of PURLs.

We have been experimenting with types of PURLs that combine with other services. A "Rich" PURL, for example, is the combination of a PURL and metadata. We have a prototype service that combine strong identifiers with rich metadata, providing the building blocks for other semantic applications. Rich PURLs are a combination of two related services: A PURL server for management of the resolution and RDF (or other metadata format) file hosting.

The W3C TAG finding regarding the use of HTTP 303 responses seems to suggest that we could use rich PURLs in interesting ways. For example, we could do the following:

A 301 PURL pointing to an RDF resource == Metadata about an information resource
A 303 PURL pointing to an RDF resource == Metadata about a non-information resource (i.e. a physical or conceptual resource)

That usage would be consistent with the TAG finding, even if it goes a bit beyond it.

NB: You can tell if you get a PURL by looking at the PURL header in an HTTP response.

But wait, there's more. What if a PURL pointed to a Web service (in the sense of dynamic content, not necessarily limited to SOA Web Services, but including them)? The combination of a Rich PURL and a metadata reference to a Web service yields an "Active PURL". That is, an Active PURL is a PURL naming a graph of metadata describing a Web service.

Consider a simple Web service like an RSS feed. Placing an Active PURL in front of that feed allows you to describe how that feed should be handled. You could name the facets that you want to use to make an Exhibit or provide any other presentation advice you desired.

Alternatively, an Active PURL might itself by a sort of Web service that provides dynamic metadata about another Web service and can either serve the metadata or redirect to its target service. Such an Active PURL could be used to name a SPARQL graph, accept query parameters for it and return metadata about it, such as a count of results or information on the meanings of columns in the result set. I believe that named graphs are very handy things and something that we as a community are paying inadequate attention to. Given that SPARQL may be the query language that finally integrates our silos of relational databases, fronting them with Active PURLs seems like a promising line of research.

Lists of URLs as proposed by Stu Weibel would be easy to implement as an Active PURL.

Perhaps the most interesting use of Active PURLs to enterprises might be the ability to provide standardized RDF metadata about SOA Web Services as well as relational databases. UDDI is so broken, we might as well fix it with existing SemWeb standards. That is not a new idea, but the application of Active PURLs to the problem is, I think.

Tuesday, February 12, 2008

Friday, February 08, 2008

GRDDL Article on DevX

Brian has written a new DevX article entitled "Gleaning Information From Embedded Metadata", explaining GRDDL. He used my home page at Zepheira as an example of a live page with embedded, machine readable metadata.

Wednesday, January 30, 2008

A Great Week for Old Technology

It seems that ships are again sailing the ocean using wind power. The inventor claims that his kites can reduce fuel consumption of most merchant ships by 10-35%. That's awesome.

Even more bizarre is the Mach 20 paper airplane that a Japanese origami expert wants to throw from the International Space Station. Really, you can't make this stuff up.

Friday, January 25, 2008

Hang onto your towel

Burt Rutan and his business partner announced the design of SpaceShipTwo. Very cool! Oddly, his business partner is apparently Zaphod Beeblebrox...



Bitten by Polymorphism

Architecture discussions can get ugly. I was participating in one when Brian suggested the domain name turdpolisher.com for our activities. A quick check on register.com showed that someone is actually holding that domain, although nothing resolves there. The polymorphism arose when we realized that register.com suggested some alternative domain names, including PolishedToes.com and PolishHeritage.org. *Sigh*

Wednesday, January 16, 2008

SPARQL Set to Change the Web

The W3C announced yesterday the standardization of SPARQL. This broken and immature standard has the capability to rapidly change business operations, Web searching, the advertising model of most Web revenue and enable a new generation of Web-based services.

SPARQL is broken and immature for the simple reasons that it failed to include a way to write data. I have my gripes about the way it reads data, too, but those are less important. As long as the W3C continues to treat the Web as a read-only system, the longer the Web will primarily be a read-only system. It is bad enough that we have failed to widely implement and use HTTP PUT and DELETE (fully half of REST), but we really should know better than to create new standards in 2008 that make the Web look like an information retrieval system and not an information aggregation and creation system.

For all that, SPARQL is still an incredibly important set of standards. There are three of them, SPARQL the query language for the Semantic Web, SPARQL the protocol and SPARQL the results format in XML.

SPARQL is important because it gives the world a standard way to perform distributed queries across disparate data sets. In other words, it allows you to treat the Web (the Semantic Web) as a database. Relational databases and other data stores can play, too. They just need a SPARQL overlay. This is something that the relational database crowd has never been able to pull off. I suspect that a standards body would have failed do create a standard for an RDB distributed query language if they had tried due to industry competitive pressures, but SPARQL is that critical end run. By pursuing the goal in the Semantic Web community, we now have something that will work for the RDB folks, too.

I remain fussed that Mulgara doesn't have SPARQL support yet, but Paul tells me it should come soon. I certainly haven't done anything to help, so I shouldn't complain.

Why do I think SPARQL can fundamentally change business models? Because of my experiences with this blog. I started experimenting with advertising once my readership reached reasonable levels. Impressions are few, even though readership is decent. Why? RSS. Most people read this blog via news readers or aggregators and not via the Web. They don't ever see the ads. Cool, right? Yeah. Imagine, though, the impact on the online advertising market (which financially supports Google and its competitors) when the Web is a database. Nobody will see the ads. Watch out, world. Where there is chaos, there is opportunity. I can't wait to see what happens next.

Tuesday, January 08, 2008

Tucana's Fate Sealed

Northrop Grumman Corporation's Electronic Systems Sector has been attempting to sell its Tucana RDF database software for some time. They have been quietly seeking buyers since they dropped public references to it as a "rsemd1-extweb50 Sensor1 Replacement Server" in August 2006. Unfortunately for them, potential buyers keep calling me.

Each call is similar in nature and goes something like this:

Buyer: We are very happy to tell you that Northop Grumman has accepted our cash offer for the Tucana technology. We would like to talk to you about how we can make use of it.

Dave: Sure. I am sure Northrop must have done some work on it since they bought it. What has been added to the code base?

Buyer: They made us swear to secrecy, so we can't tell you that.

Dave: OK, I understand. Can you tell me whether it differs substantially from its Open Source baseline, Mulgara?

Buyer: Umm, there is an Open Source project? What is the URL?

Dave: http://mulgara.org

Buyer: Is it an active project? Do people use it?

Dave: Oh, yes. It is used in production by a number of for-profit and non-profit companies and many researchers.

Buyer: I thought Northrop had killed the Open Source project?

Dave: Nope. They tried but failed. Mulgara was a fork to avoid any future legal disputes. It has no code contributed by Northrop or its contractors.

Buyer: Uh, perhaps we should look into that and get back to you.

Naturally, that is generally the last I hear about it until the next potential buyer calls. The last one was yesterday, but they weren't the first (or the second or the third) and probably won't be the last.

The sad thing is, of course, that if a single manager at Northrop had tried to work with the Open Source community instead of building an empire the project could have been wildly successful in their customer base. There is still a market need for a more scalable RDF database outside of the government, as evidenced by the list of potential buyers, the life sciences community's desire to represent genomic data semantically, Garlik's creation of a custom one last year and continued funding from Mulgara users for scalability development.

Tuesday, December 04, 2007

UPDATED: Helping the Ogbuji Family

Some of you have contacted me about where to send items or other forms of well wishing to the family of Chime Ogbuji. The best way to help the family is to donate the Ogbuji Family Fund, set up by Chime's father, Dr. Linus Ogbuji. Donations may be made by clicking the "Donate" button on http://thekingdomkids.org/fund/.

Thanks in advance to anyone providing what comfort they can.

Monday, December 03, 2007

Tragedy

Chime Ogbuji, SemWebber extraordinaire and brother to Zepheira business partner Uche has suffered the most tragic occurrence of which I can conceive. Chime lost two of his children in a fire over the weekend, and his third is in critical condition. I waited for the last two days to say something meaningful, but there just are no words for this. I am so, so sorry for Chime and his family. The sad tale is reported here. Chime, our thoughts are with you.

Sunday, November 04, 2007

The Poor State of SPARQL Implementations

*Sigh* I had a simple task. Really I did. I am putting the final touches on a journal article and wanted to expand an example to be more interesting. All I wanted to do was demonstrate (in SPARQL) that multiple RDF graphs can be pulled in from URLs and the dynamically-assembled graph queried. I wouldn't have thought that was such a big ask for 2007. Alas, I was wrong.

Here is the query:


prefix sec: <http://www.itee.uq.edu.au/~dwood/ontologies/sec.owl#>
prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT ?class ?test ?testresults
FROM <http://www.itee.uq.edu.au/~dwood/ontologies/sec-example.owl>
FROM <http://www.itee.uq.edu.au/~dwood/ontologies/sec-testresults.owl>
WHERE {
?class rdf:type sec:OOClass .
?test sec:isTestOf ?class .
?test sec:hasTestResults ?testresults
}


Redland won't do it because it does not support FROM (or FROM NAMED). The same for OpenLink Virtuoso SPARQL and JRDF. Sesame 2.0 might do it, but I got tired of looking. I'll have to get back to it tomorrow.

In the meantime, I hacked around the problem by using a little-known feature of JRDF - one can import a series of RDF or OWL files and query the subsequent graph. It is annoying, and requires local copies of the documents, but it works (kind of).

The really sad thing is that Tucana had this feature (in the iTQL query language) in 2000 or 2001. Mulgara still does, of course. Paul assures me that SPARQL support in Mulgara is finally close. That is wonderful, but it does make me feel a bit guilty for not contributing to it given its obvious need.

I still (since 2000) think that querying multiple data sources from the WEB makes the SEMANTIC WEB a bit more useful, and interesting. *Sigh* I guess I will have to either contribute more or live with it.

UPDATE: Sesame does not support SPARQL datasets according to this bug, even though a patch has apparently already been contributed.

UPDATE: OpenLink Virtuoso demos at http://demo.openlinksw.com/sparql and http://demo.openlinksw.com/isparql now both return results. However, they return four results where I expect two.

Dave Beckett claims that the latest Redland/Rasql from svn now supports the query, but that he also gets four results.

Danny's SPARQLer now returns correct results (two).

Thanks to everyone who responded! Having proper FROM and FROM NAMED support opens a floodgate of potential new SemWeb applications.

UPDATE: Changing "SELECT" to "SELECT DISTINCT" returns the correct two results from Virtuoso. I suspect that change may be needed with others, too.

Wednesday, August 29, 2007

Returning HTTP 303s for Semantic Web URIs

The World Wide Web Consortium's (W3C) Technical Architecture Group (TAG) attempted to settle a long standing debate about the use of URL resolution called http-range-14 a couple of years ago by ruling that "If an 'http' resource responds to a GET request with a 303 (See Other) response, then the resource identified by that URI could be any resource." Roy Fielding's original suggestion for the TAG finding is here.

That is a very subtle point. The idea was to cleanly separate those resources that are referred to by an HTTP URL and those that cannot be referred to directly, but might have an HTTP URL assigned to them anyway. The latter include physical items in the real world. Importantly, many of the objects assigned URIs in Semantic Web descriptions are given HTTP URLs but cannot be directly referred to on the Web.

Programmatic resolution of an HTTP URL may refer to an object in the real world (that is, an arbitrary resource) or an information resource (in some virtual form, such as an HTML page or an image or a movie). In that case, the HTTP response code would be 303 instead of 200. A 303 is an indication that the thing referred to may not be an information resource, it may be either an information resource or a "real" object. The body of the 303 (and the Location header) can provide information about the resource without encouraging you to think that what was returned really was a representation of the resource (as you would with a 200 response).

Most HTTP resources are expected to respond to a GET request with a 200 (OK) response and the body of a 200 is an "information resource". The definition of an information resource is that the entire content of the referred object may be "conveyed in a message".

But what about resources that cannot be conveyed in a message? My dog is a resource, as is my car, or myself. These things cannot be conveyed in a message, they can only be referred to. That is where HTTP 303 response codes come in.

RFC 2616 defines HTTP version 1.1 and its response codes. Section 10 defines a 303 thusly:

The response to the request can be found under a
different URI and SHOULD be retrieved using a GET
method on that resource. This method exists primarily
to allow the output of a POST-activated script to
redirect the user agent to a selected resource. The
new URI is not a substitute reference for the originally
requested resource. The 303 response MUST NOT be
cached, but the response to the second (redirected)
request might be cacheable.

The different URI SHOULD be given by the Location
field in the response. Unless the request method was
HEAD, the entity of the response SHOULD contain a
short hypertext note with a hyperlink to the new URI(s).
NB: An information resource should only be returned by an HTTP GET, not a POST, hence the discussion of POST. I unfortunately don't know of many people who bother to comply with Web Architecture to that extent.

Thus, the body of a 303 response is under-specified. There are several open questions. Some of them are:
  • What should it contain?
  • How should it be formatted?
  • Does a "short hypertext note" constrain implementations to a text/html MIME type?
  • How short is "short"?
  • Can there be more than one Location header?
  • If not, what do all the other URIs in the hypertext tell a user? Arbitrarily anything? If so, there is no limitation.
Uche, Eric and I have been trying to answer those questions. I should rightfully include Brian, too. Uche has proposed that the body of a 303 response include RDF (but not necessarily in RDF/XML format!). Eric has suggested encoding RDF content using RDFa, which would allow for the "short hypertext note" to include machine-readable RDF without breaking any existing implementations. The obvious downside is that RDFa is not a standard (merely an Editors Draft) and may not become one.

I rather like the idea of using RDFa, but a broader solution may be to always include a text/html body part, but use a multipart/alternative structure to allow for the body to hold RDF data (in whatever form) if it is present. That way, an implementation would not have to run the body through an RDFa parser just to determine whether any RDF content was present. The use of an additional header to indicate the presence of RDF content would also do it, regardless of the body type.

Of course, others have derided the use of HTTP URLs (emphasis on the Locator aspect) to reference arbitrary resources in the universe (for which the URI, I for identifier, was designed) and for some good reasons. However, I see tremendous value in being able to marry information space with meat space via the resolution of HTTP URLs. In fact, the automated manipulation of Semantic Web content depends upon it. That is why the TAG's finding makes a lot of sense. The use of 303 response codes to both separate resolution from description while maintaining universal addressing ties the abstraction of the Internet to the real world.

The new Persistent URL (PURL) service, now in construction, will allow PURLs to be created that can return 303 responses. The use of 303s to represent arbitrary real-world resources will enable PURLs to coalesce the fragmented persistent identifier space. Do we really need LSIDs, DOIs, INFO URIs and the rest? My answer is, "Not if the Web Architecture supports all their requirements". The representation of arbitrary objects via HTTP URLs and the ability to return multiple See Also URLs from a response would seem to do just that.

TimBL has raised a concern that the information resource contained in a body of a 303 response should not contain anything very interesting, because it is not addressable (in context of the linked data discussion). I disagree. The address of the 303 body is directly addressable because that is what is returned when the URL that got you there is resolved. Further, the 303 status informs a user that the information resource in the body is not the requested resource itself, merely information about it. That is, the URL addresses both the (real world) resource and the information resource in the 303 body and the 303 status allows one to cleanly separate which one you may wish to refer to at any given time, either programmatically or by a human.

As Paul points out, the use of a 303 response code does not put a requirement on the semantics of the identifier. A 303 response may be used to present information to a human user, while at the same time providing an indication to a computer that the resource you addressed is not the one that was returned.

I have posted about http-range-14 issues before, but not in this amount of detail. I think that proper answers to the questions above will be critical to the success of the Semantic Web because we must have a mechanism to programmatically determine whether an HTTP URL refers to an arbitrary thing in the wide universe or that relatively small subset of things that we call information resources.

A big question in any new use of HTTP is how existing browsers have implemented handling of the return codes. I was quite surprised that Firefox and Apple's Safari redirect to the Location header in a 303! For example, go to the home page for Tom Heath (http://kmi.open.ac.uk/people/tom/) and you will be redirected to http://kmi.open.ac.uk/people/tom/html. Neither browser will show you that an intermediate 303 return code was issued or that the browser followed it. You can see the 303 by using something like HTTPTracer or wget. It is also interesting to note that Tom is using a text/html body describing in human terms what the Location header says (a "short hypertext note", captured using HTTPTracer):


HTTP/1.1 303 See Other
Date: Wed, 29 Aug 2007 16:54:19 GMT
Server: Apache/2.0.52 (Red Hat)
Location: http://kmi.open.ac.uk:8888/people/tom/html
Content-Length: 332
Connection: close
Content-Type: text/html; charset=iso-8859-1

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>303 See Other</title>
</head><body>
<h1>See Other</h1>
<p>The answer to your request is located
<a href="http://kmi.open.ac.uk:8888/people/tom/html">here</a>.
</p>
<hr>
<address>Apache/2.0.52 (Red Hat) Server at kmi.open.ac.uk Port 8888</address>
</body></html>


Tom is using a 303 in the manner described by RFC 2616, and it is important to note that it does not conflict with the TAG finding regarding http-range-14. His response does, in fact, refer to "any resource".

The fact that browsers are automatically (and incorrectly, in my opinion) redirecting to the URLs specified in 303 Location headers suggests to me that Semantic Web applications will need to be careful. We can rely upon our own programmatic handling of 303s, but not the browsers'. We should also, again in my opinion, ensure that we do not break existing browser implementations if we can help it. The use of creative 303 body messages and perhaps new headers is one way out.

Sunday, July 15, 2007

Some Kind Words

Steve Goschnick at Solid Software in Melbourne, Australia had some kind words for my paper entitled "RESTful Software Development and Maintenance" given at the 2006 Open Source Developers Conference in Melbourne. Thanks, Steve!

Wednesday, July 11, 2007

Press Release for PURL Code Rewrite

Zepheira, OCLC and the W3C announced today a project that we have been working on for a month; the complete re-write of the software behind the Persistent URL (PURL) service.

The full press release is here.

I am particularly happy to say that we are working toward a proper Open Source (Apache 2) release of the new code, and enhancements to deal with important issues for the Semantic Web (such as support for HTTP Range-14 return codes). OCLC has also asked us to help build a community around the code to assist both its maintenance and its future direction. That is a refreshing change and should be welcomed by all.

I can't wait to start building services on top of this stuff.

Monday, July 09, 2007

Zepheira Team Picture

Here is a good shot of the current Zepheira team. It was taken at the 2007 Semantic Technologies Conference during the Zepheira reception.

Left to right are Brian Sletten, Eric Miller, Kathy MacDougall, Bernadette Hyland, Uche Ogbuji and yours truly.

Defining Liberalism

The Canadian Broadcasting Corporation's wonderful Quirks and Quarks radio show interviewed David Sloan Wilson on 23 June 2007 regarding his new book Evolution for Everyone. I belatedly caught the podcast while on holiday, oddly enough in Canada.

Prof. Wilson specifically addressed group dynamics and the thinking of humans in terms of social groups. It seems easy for Westerners to think of ourselves as individuals and ignore our obvious group dependencies. He mildly denigrated the thoughts of Richard Dawkins, Carl Sagan and the other evolutionary rationalists when he discussed the place of religion. Interestingly, Wilson noted that 95% (his measurement; I have not verified it but do not think he was speaking rhetorically) of conversations between people in a church relate not to theology but to group dynamics (how people can/could/should get along with each other). He uses this fact to suggest that religious thinking evolved (in a biological sense) to assist us with group behavior. He didn't mention the Baldwin Effect in the podcast, but I look forward to seeing whether it is discussed in the book.

I am particularly interested in the "us versus them" boundary in human behavior and Wilson discussed that. He noted the peculiar tendency of soldiers to act altruistically toward each other while killing the enemy; an extreme form of "us versus them" behavior and one close to the behavioral patterns found in and between hunter-gatherer groups. Then he said a fascinating thing: if one were to consider the group size to be larger, then one sees the killings as immoral. That immediately made me think about liberalism in our society.

What makes a liberal? Why do some people (myself included) become more liberal as they age? I was reared in a conservative, mostly rural society, attended a military college and was surrounded by conservative people until leaving the Navy. However, my thoughts became more liberal as I traveled and observed. Bill Clinton has said "The Democrats win when people think", which may be the same thing. Using Wilson's way of thinking, it suddenly makes sense that the ivory halls of academe are bastions of liberalism. Travel and thinking tend to make one see the world as a wider and more interconnected place. The group size one sees, in other words, becomes larger. Perhaps, as in the case of some, the observed group size becomes the size of the entire population.

I think this is a very, very useful meme. It is the first way of thinking about the differences between people's politics of which I am aware that both satisfies Occam's razor and provides a basis for further negotiation. Once the basis for disagreement is known, a solution is surely closer.

TKD Virginia State Games

I participated in my first Tae Kwon Do tournament a couple of weeks ago at the Virginia State Games near Richmond. It was surprisingly fun. Our dojang did well. I was particularly pleased at picking up the gold for forms, even if it was the old guys' division. In the picture below, I am the geek on the right.

Monday, June 18, 2007

Ultramicroscopicvolcanicsiliconiosis?

My nine-year-old son came home today from a summer day camp to inform me that the longest word in the English language is ultramicroscopicvolcanicsiliconiosis. Is that so? It is not in my dictionaries and a Google search returns zilch. Does anyone know for sure? Can you quote an authoritative source? I would accept the Oxford Unabridged, but don't have a copy at home.

The word apparently refers to a lung disease caused by the inhalation of fine volcanic ash.

APC 1500 Back-UPS

I installed an APC 1500 Back-UPS uninterruptable power supply on my desktop computer yesterday. We get not-infrequent brown-outs and even the occasional power outage in F'burg.

Setup was a breeze. The only trick was needing to connect the battery, which came pre-charged (thereby causing a discharge arc when connecting - I was not warned in the manual and it took me by surprise). The included PowerChute Personal Edition software installed easily on my PowerMac Quad G5. I was pleased to see that I now have a battery icon in my Finder bar and it works to indicate the status of the battery.

The G5, a 23 inch screen and a 17 inch screen, my laptop power supply, Klipsch speakers, a USB hub and an external hard drive add up to about 300 W, giving about 15 minutes of power from the battery. When the machine is sleeping and the monitors are off, the power usage drops way down.

I tried the obvious test by unplugging the power cord. The UPS functioned as expected. The alarm (4 beeps per minute) sounded and the machinery stayed up. Oddly, I did get a dialog box warning me that a USB device was removed and not properly dismounted first. I think that came from the USB monitoring cable on the UPS, but am not certain.

The only (very minor) complaint is a faint smell of ozone. I think I would rather get used to the ozone than risk losing a HDD, so I'm happy.

Thursday, June 07, 2007

Mikayla's Yellow Belt

Congratulations to my daughter Mikayla for her advancement to Yellow Belt (8th Gup) in Tae Kwon Do. Here she is with Master Mark Grenier, dad and brother Aidan.

Wednesday, June 06, 2007

GetHuman

GetHuman is a very, very cool site to collect and disseminate paths around semi-automated corporate call centers. The way one gets an actual human being on the phone is documented for hundreds of big corporations.

GetHuman was founded by blogger Paul English (see the blog that started it all). He started the site "out of his own frustration in trying to obtain excellent customer service." Since then he has built a small but productive team to actually take on the corporations' poor customer service policies.

GetHuman had the beautiful audacity to create a "standard" to which they would like companies to comply. The site grades companies on their compliance with that standard. I can only hope that this idea gets enough legs under it to make a brand.

I see GetHuman as a community workaround to a systemic failure; Corporations set up mostly-automated call centers that saved their time, not their customers' time. Perhaps a Semantic Web solution could be developed to facilitate mostly-automated call centers that serve both interests. In the meantime, the GetHuman standard is a nice way to encourage the eight hundred pound gorillas in our midst to act responsibly with our time.

Monday, June 04, 2007

Lots of Zepheira Press

Zepheira has been getting a lot of press recently. The Zepheira news page certainly has links to more podcasts and respectible publications than any other company I have have the privilege to be part of.

Investors Business Daily came out today with an interview of several key SemWeb leaders, including Eric Miller. The article itself expires after today (!) so I have created a PURL for it so we can eventually move the redirection when IBD pulls their head out.

The article was typical journalistic fare, attempting to be "balanced" in the same way that Fox News is. That is done by showing both sides of a story - even when there are not, in fact, two sides. We see this sort of nonsense with science reporting when reporters go increasingly out of their way to find a few scientists willing to publicly doubt the phenomenon of climate change or willing to say that nuclear fusion will happen commercially within the decade. In the case of the Semantic Web, the same old doubters of 1999 come out to play and get quoted every time, ignoring the clear commercial successes of the last few years.

It is interesting to see Tim O'Reilly routinely quoted in the press now putting the SemWeb in a more positive light than last year: "The Semantic Web is the idea of marking up computer information in such a way that computers can infer meaning from it."

The journalist managed to get basic facts wrong, too, as when he says, "Internet protocols make it hard to search for many basic items on a Web site, such as a simple address or phone number." or "A resource description framework (RDF) and Web ontology language (OWL) are new technologies that can solve that problem. They serve as a kind of wrapper or tag to describe the data inside." RDF and OWL are hardly new (both were standardized in 2004 and pretty stable years before) and of course the Internet protocols have nothing to do with linguistic searching.

He also gets some things right: "This new vocabulary lets computers find and access data on their own. The goal is letting the machines perform rote tasks to gather information and merge the results.", and he mentions products from Oracle and Adobe.

Eric is quoted reasonably. That is a relief. "These Web standards should help companies spot new relationships among huge sets of data and use the findings for better conclusions about their business, says Eric Miller, president of Web startup Zepheira."

I rather liked the MySpace example and wonder if it came from Eric:


For instance, MySpace might let personal pages share information with the pages of relevant friends or colleagues in the social network.

Take someone whose MySpace page describes a fondness for vintage jazz. By entering that information once, that person could automatically be linked to others who share the same interest.

Furthermore, that information could be applied to future Web searches for new music releases. In effect, using metadata could become a way to make MySpace "truly mine," said Miller.

"This means there is a much more flexible, personalized integration point to really connect people," he said. "The notion here is to enter data just once, but to use it often."

Friday, May 18, 2007

Thieving and Sneaky Administration

The US Transportation and Security Administration (TSA) has finally upset me. I've been giving them a lot of slack in recent years because I know it is hard to do what they do and harder still to do it within a huge bureaucracy. Recent events have caused me to reconsider my good behavior.

A couple of months ago I accidently left a tiny Leatherman Squirt on my key ring when I went to Dulles Airport near DC. It was my mistake and I fully expected it to be taken by security (even though the cutting blade is no larger than the file on a set of nail clippers and therefore no conceivable threat to anyone's life). I gave it to the TSA agent on the other side of the metal detector. He looked at it, smiled and put it into his own pocket. It was obvious that he intended to keep it.

Last week I flew to New York State for a meeting. I had my iPod in my only bag, which I carried on. On my way through airport security in Ithaca, a TSA agent told me that my bag would would need additional search. She searched it all right, and stole my iPod at the same time.

I understand that it is hard to find good, honest people to do a job like that. Maybe that should tell us something about the way we attempt to provide "security". Quis custodiet ipsos custodes?

Tuesday, May 15, 2007

Exposing Secret Army Research

My friend Chris sends this update from a super-secret R&D lab:

"As many of you know by now, the Army has adopted the Advanced Combat Uniform (ACU). The ACU is the most advanced digital camouflage uniform in the world. It is the result of millions of dollars and thousands of hours or research in the Army's newest, state of the art, camouflage testing facility. While the exact location of the facility is still secret, we can now reveal the first ever photograph from inside this facility."

GRDDLable Home Page

Now that GRDDL is a W3C Candidate Recommendation, it is high time to (finally!) have a machine-understandable home page! Mine now returns 49 embedded triples according to the online Redland parser.

Friday, May 04, 2007

Semantic Tagging in my Home

I was planning to blog (one day...) about my daughter's tagging of items in my house, but Weeble beat me to it.

Tuesday, May 01, 2007

Science and Religion: The Short Course

OK, here I go again. This one will generate some comments. I have finally figured out why science and religion (of any form) are natural enemies.

Science has determined that the universe is going to end eventually, either in a "Big Crunch" or in an ever expanding heat death. If I understand the current physics correctly (I do not, but may have a handle on the summaries), the odds seem to be in favor of an expanding universe piddling away the last of its energy in heat death. To summarize the findings of cosmology, there is nothing that we are going to do to stop that. Not on Earth, not in space, not in the future, no way, no how. We are along for the ride.

Even in the short term, science informs us that life on Earth could end abruptly from an asteroid, or via a passing star in some millions of years. Of course it will end eventually, upon the expansion of our sun past the orbit of our planet as part of its natural life cycle.

Science also informs us that we are driven to preen, to prepare, to want, to enjoy sex, purely for the reason that our ancestors survived better than their peers having those traits. Eat, survive, reproduce. That is all life has ever been about.

That view of the universe is less than uplifting for some readers.

Religion, on the other hand, asks us to believe in a mythology for the sakes of making ourselves feel better about the fate of the universe. The role of any mythology, to paraphrase Joseph Campbell again, is to put oneself in accord with the universe. That means to weather the fears of childhood and the hormonal storms of adolescence without self distruction and, at the other end of life, to accept death gracefully. How are we supposed to do those things, ask believers, when science tells us that life is ultimately meaningless?

I propose a new meme for the new century. Let's see the beauty of the universe for what it is. It really is an incredible place. Let's revel in it, for it is what it is and we, small and fragile, are who we are. We may try to change who or even what we are with our science, but we cannot finally escape the heat death of the universe itself. We are still along for the ride. We might as well care for each other. We might as well take care of our planet. We might as well make a heaven for ourselves, right here and right now, than to live in a hell of our own making.

Can science point us to a new morality? People have tried before and eugenics was the result. "Social Darwinism" was engendered by a scientific viewpoint, right? Yes, but I think we can do better this time. We can think the problem through, iterating the meme as we see fit. Consider some morality that might flow from scientific thought:
  • If our lives are ultimately meaningless, shouldn't we watch after our own happiness while we are here? We should get to work on a culture of gardening; we have a lot of work to do to make Earth a nice place.
  • If no gods are going to save us, should we not consider saving ourselves? Waiting for the Rapture should no longer be an excuse for inaction.
  • If we recognize ourselves for what we really are, could we find a way to stop being ruled by greedy, power-hungry nutters? Perhaps the reason so many senior executives, politicians and religious leaders fail to live by their own standards is that it takes a badly broken person to want those jobs to begin with. They deserve our pity and our help.
Religion and science are natural enemies because they differ on the meaning of life. The success of science in predicting and explaining the workings of our universe suggest that we should start work on a means of answering those questions traditionally left to religion. How do we learn to accept our fate? How do we learn to enjoy the ride? It can be done. It is, after all, a very lovely universe to die in.

Tucana/Kowari/Mulgara Podcast

Paul Miller of Talis interviewed me yesterday for a podcast about Mulgara. We covered the history, present and immediate future of Mulgara and its predecessors, Tucana and Kowari.

Monday, April 30, 2007

Breaking CFLs

Compact Flourescent Lamps or CTLs have been hailed as a wonderful new way to save energy and they are. Even though they do contain some significant pollutents they have less than power plants would create to make up for the energy saved. CTLs are a no brainer, right?

Better think some more. A friend IM'd me today to discuss an interesting conundrum. He has a young child who, in a fit of pique, kicked a CTL in his bedroom lamp and broke it. The roughly 4 mg of powered mercury are now embedded in the carpet, the bedding, the curtains, the boy...

It is legal in the US to dispose of CTLs in regular trash. Naturally, this results in a lot of mercury contamination landfills. Consumer guidance has focused on this issue; how and where to dispose of them properly. Unfortunately, I have been unable to find any guidance on avoiding them in the bedrooms and play areas frequented by young and rambuctious children.

Friday, March 30, 2007

Are We Too Safe?

My father grew up during the depression, on a subsistence farm. His family lost two young children from illness. Adults regularly failed to live to old age. As my mom said, "If you got sick, you probably died." Those were the days before antibiotics, before antivirals, before cancer cures. Food was scarce, jobs were scarce and life was hard.

My father recently made the interesting observation that people of his era are not as scared - of everything - as younger generations are. His generation is not scared to live for fear of dying. He specifically mentioned worries about optimizing diet and exercise and extreme fears for children. Why shouldn't little Johnny climb that tall tree or run in the road? Sure, he might fall or get nailed by a car. It happens. It is an interesting attitude.

Those of us who expect, really expect, to live to be one hundred years old, and to be free of pain, mobile and healthy the entire time, have a different outlook. We do worry about our safety. We do feel a need to take care of ourselves. We increase the investment that we make in our bodies because we expect to rely on that investment later. What price do we pay for that expectation?

I never saw a wild thing
Sorry for itself.
A small bird will drop frozen dead
From a bough
Without ever having felt sorry for itself.
— D. H. Lawrence

Thursday, March 29, 2007

Awesome Aussie Send-Up

David Morgan-Mar, the twisted genius behind Irregular Web Comic, has done it again. He has a pearler of a podcast from back of Bourke. There is an accompanying transcript here for you cyberbludgers out there.

Friday, March 16, 2007

Uncertainty Reasoning for the World Wide Web

THe W3C has started a new "incubator" activitity to look at Uncertainty Reasoning for the World Wide Web. This could be interesting, since it is one of the few activities that I have seen that explicitly addresses the open world nature of the Semantic Web. I'll be watching this one.

Friday, March 02, 2007

Working on a New Book: REST in Java

I am pleased to announce that Brian Sletten and I will be writing a new book entitled REST in Java. It will be published by The Pragmatic Programmers. We have not yet set a delivery date for the manuscript.

The book will cover the creation of Service Oriented Architectures (SOA) using the Representational State Transfer (REST) architectural style. I believe that this will be a fun and exciting project.

Wednesday, February 28, 2007

Tales from an Afghani Winter

My friend Chris, an Army Reserve lieutenant colonel, is currently serving in Afghanistan. He sent me email describing the situation there shortly after Vice President Cheney was targeted by a suicide bomber. It certainly sounds every bit as dangerous as we hear in the press, in spite of comments to the contrary. The bomb killed about 20 people.

"We've been getting lots of press due to the Vice President's visit and the suicide bomber.  Nobody covered the rocket strike last week.  My office actually looks toward the gate the suicide bomber hit yesterday.  There are many layers of security and blast walls etc, I was never in any danger.  I sit in a safe building looking at computer screens most days.  You do however, get good at the sounds of explosions here.  When our planes drop bombs it is a hollow woomp, then when EOD teams blow-up captured explosives, IEDs, etc., it is a muffled boom because they usually place the items in a disposal pit, but when you hear a sharp crack like yesterday you know it isn't good.  When I looked out my window and saw the local villagers running toward the gate I knew it wasn't the usual odd mortar or rocket.  We had a memorial for the victims early this morning before the coffins were taken to the plane.  The US soldier was from the unit in the same building as my office is in."

Friday, February 23, 2007

Andrae Muys, Randall Swartz and Me

Andrae just pointed me toward a nice photo on Flikr from December 2006 at the Open Source Developers Conference in Melbourne, Australia. It was taken of Andrae Muys of Mulgara, Randall Swartz of Perl fame and me (left to right) in the Caulfield train station.

Tuesday, February 20, 2007

Replacing Text in HTML Tables

One of my students asked me how to replace text in an HTML table when links were clicked. I thought it was a useful technique once we worked it out, so here it is.

The code:
<script type="text/javascript">
<!--
function fillTable(value)
{

var stuff_a = "This is some stuff.";
var stuff_b = "This is some <b>other</b> stuff.";
var content = document.getElementById('content');

if (value == 'a') {var stuff = stuff_a;}
if (value == 'b') {var stuff = stuff_b;}

content.innerHTML=stuff;
}
//-->
</script>

<table border="1">
<tr>
<td><a href="javascript:fillTable('a')">Choose me!</a></td>
<td rowspan="2"><div id="content">Default content.</div></td>
</tr>
<tr>
<td><a href="javascript:fillTable('b')">or me.</a></td>
</tr>
</table>


Unfortunately, Blogger won't let me insert Javascript so I can't show a running example on this site :P

Sunday, February 18, 2007

Honesty and Trust

I was recently involved (peripherally) with a business partnership that broke up. The partners did not see eye-to-eye. Their lack of synchronization was not immediately apparent, but it became more so with time. Six months into their venture, they decided to part ways. That got me thinking about honesty, trust and models for those social dynamics. Specifically, I seem to recall that a natural clustering occurs between social entities that act honestly versus those who don't. Naturally, I hit the Web looking for answers.

It turns out to have been the great economist Adam Smith who observed that market interactions lead to "bourgeois social virtues" like honesty. Go figure. The quote is not from Smith (he did not use words like "bourgeois") but from Francis Fukuyama, whose paper at the IMF is referenced below.

Social models of trust seem to be based on incentives and costs (economic models). That approach has worked to a degree, although most economists will readily admit that it doesn't explain significant types of human behavior (e.g. Open Source Software). Not surprisingly, much of the academic literature focuses on either (a) describing trust systems based on costs and incentives or (b) suggesting incentives to make participants in a system more honest.

In the literature of evolution, there are many well-known examples of deception such as hidden ovulation in human women (unlike most other mammals) and uncertainty relating to paternity. There are strong reasons for such deception and so the ability to deceive is actually encoded in our genes! That sheds an interesting light on our social norms, doesn't it? I have come to think of social norms for honesty arising from incentives and costs, but being continued and expanded as a meme - an idea package in a Dawkinsian sense that takes on a life of its own.

There is an interesting paper on "social capital" (of which trust is an effect) and civil societies at the International Monetary Fund. It contains some useful definitions and references:

In anthropology, studies of the great apes have shown that their systems of behavior are similar to ours, but simpler. That provides a nice avenue for study. Rebecca Frank's work at UCLA made sense to me. She discusses social interactions of baboons, where coordination is valued to attain group goals so repeated deceptions become "unprofitable".

Come to think of it, I think I saw that kind of behavior on Animal Planet's Meerkat Manor show. One of the meerkats (Tosca, I think) was tossed out of the group for bearing young when she was not the dominate female. That was an unacceptable social interaction for which she was punished.

There are papers that demonstrate clustering of honest and dishonest people, such as Spatial Structure and the Evolution of Honest Cost-Free Signalling by Krakauer and Pagel. Interestingly, they suggest that islands of honesty can evolve even in situations where there is no cost and a net reward for deception.

"Web 2.0 ... The Machine is Us/ing Us"

Professor Ernie Ackermann sent me a link to an excellent YouTube video today on Web 2.0. Michael Wesch, an assistant professor of cultural anthropology at Kansas State University, created it. Check it out. I plan to show this to my class, The Internet: Technology, Information and Issues. The video covers many of the ideas that we have discussed, including hyperlinking, the separation of content from presentation (HTML -> XML), standards, blogs, social interactions, the creation of the world's hive mind. Way cool and very nice work.

http://www.youtube.com/watch?v=6gmP4nk0EOE

Saturday, February 10, 2007

Summary Data for the 2006 Software Engineering Practices Survey

I have published some summary data for the 2006 Software Engineering Practices Survey. A journal article should follow shortly.

Wednesday, February 07, 2007

Broken Culture

I have commented before about the prevailing culture of extra-marital affairs prevalent in the military. Today's news brought an extreme example. NASA Astronaut and Navy captain Lisa Nowak, married with three children, became embroiled in a love triangle with another astronaut and an Air Force officer. She is now charged with attempted first-degree murder and other lesser offenses. Holy smoke. Learn to keep your pants on, people.

Monday, February 05, 2007

Fiber-to-the-Home in Brisbane

The Queensland, Australia state government has announced Project Vista to bring fiber to homes and businesses in Brisbane. Later they say they will provide it to a greater area of Southeast Queensland.

It will be interesting to see what they do without a "last mile" problem. They are asking academics in the region to suggest content and services to utilize all that bandwidth. Being Queensland, they naturally list gaming as a possible advantage.

Businesses are slated to get fiber as well as homes. That is a big change from the cable rollout, which paradoxically left businesses out. The possibilities for Voice Over IP for all local calls is interesting. Combine that with Metropolitan Wide Area Networks and watch the telcos scream!

I wonder how long it will be before Microsoft sues them over the name?

Friday, January 26, 2007

Pushing Expose

How far can you push Mac OS X's Expose?

I was inspired to find out after being pointed to this image of some hundreds of Apple Mail windows in Expose.

The image below was done on a PowerMac Quad G5 with 4 GB of RAM. There are about 1000 windows (600+ email messages, roughly 300 Finder windows, 4 iChat windows, 1 Safari and 1 iCal). I originally tried to open 1079 mail messages, but Mail crashed. Perhaps a 1024 limit in Mac Mail?

Expose took about five minutes to render, but the return to the Desktop was almost instantaneous. Expose is apparently not cached, because going back to it without touching windows caused another long redraw.

Wednesday, January 24, 2007

No Habeas Corpus? Really?

It is amazing to consider the lengths that people will go to justify unjustifiable positions.

On January 18, U.S. Attorney General Alberto Gonzales questioned the right of U.S. citizens to Habeus Corpus. In a statement to the Senate Judiciary Committee, Gonzales said, "There is no expressed grant of habeas in the Constitution; there’s a prohibition against taking it away."

According to Robert Parry, writing in the Baltimore Chronicle & Sentinal, "Gonzales’s remark left Specter, the committee’s ranking Republican, stammering." I'll bet it did. Parry goes on to say that "Applying Gonzales’s reasoning, one could argue that the First Amendment doesn’t explicitly say Americans have the right to worship as they choose, speak as they wish or assemble peacefully. The amendment simply bars the government, i.e. Congress, from passing laws that would impinge on these rights."

When we sacrifice our principles for momentary gain, we lose more than the moral high ground. We lose the justification for our identity as a nation. Gonzales' approach is not just morally wrong, it is dangerous for our country. Perhaps not so oddly, that was my argument against the war in Iraq.

Monday, January 22, 2007

Post-Katrina Biloxi

The Gulf Coast is still a mess well after Katrina. My parents drive through the area last week on a trip to Biloxi, MS. Here is a report from my mom:



The weather was dreadful so we rented a car for one day and drove around and saw the damage from the hurricane. Those poor people, I have never seen so many Fema trailers in my life. Piles of old houses, trees, and everything you can think of. Motels still standing with the furniture that didn't blow away still there and you can see right through the buildings. 38 people died in one motel where they decided to ride it out. The whole inside is gone with the people. There is a road along the gulf that had beautiful old large homes there for a century or longer. All gone. A few have been rebuilt but most are just empty lots. Mile after mile of this.

Life as Haiku

The Washington Post has a section (rather strangely, I think) entitled Life as Haiku. The entry from Sunday, January 21, 2007 features my friend Ajay from Entreiva. Cool. I'll bet he doesn't plan to remember his friends when it comes time to spend the $100...

Sunday, January 21, 2007

Teaching Philosophy

I was recently asked by the University of Mary Washington to write a statement of teaching philosophy. Here it is:





“The empires of the future are the empires of the mind.”
-- Winston Churchill


We have the great fortune of living at a time when our field of Computer Science is influencing our society, and the world at large, in an unprecedented way. The Internet has drastically increased communication between disparate parts of the world and enabled new ways of doing business, conducting research and simply having fun. It has brought computers and computer-based communications into mainstream use. Our students have passed their adolescence with a presumption of “always on” services, from laptops to cell phones to iPods. These portable computers are remaking our civilization. Naturally, the Internet presents us with challenges, too, such as spam, pornography and identity theft. The amplification of human communication has amplified our human foibles as well.

I suggest that the Internet has also presented us with a particular didactic problem. Enrollment in Computer Science courses is down in all English-speaking countries at the same time Internet usage is skyrocketing. The way people learn, and their desire to learn subjects requiring dedicated concentration seems to be changing. Perhaps this is related to the trend of “multitasking” and the shortened attention spans due to it. Can one expect students to learn Computer Science in a series of short sittings?

We have new advantages, though. I recall as a child asking my father questions. He would answer if he knew and, if not, on Saturday we would go to our local library. That experience contrasts strongly with the experience of my children; if I do not know the answer to a question, my wife may since she has multiple degrees and a wealth of experience, unlike my mother. If neither of us know the answer we can turn to Google. We can immediately augment our answer with images, movies, graphs and charts. We can allow time for following questions. The process of learning does not have to stop when our personal limits are discovered.

How are we to effectively integrate the ever-changing Internet into our classrooms? How will it change our approaches to testing? How will our teaching styles evolve to reach students who simply think differently than we do? I don't have the answers, but I think the questions should be on our minds as we build the universities of the future.


“Everything should be made as simple as possible, but not simpler.”
-- Albert Einstein


I was lucky to stumble into the United States Navy. Of all the things I learned in the service one stands out. The Navy has a culture, embedded in centuries of tradition, of continuous learning. The first thing I did in the Navy was go back to school for seven months. Upon reaching my first ship I was handed a large stack of books and training materials. As soon as I qualified, I was given a new goal then another, and another. The Navy broke my Midwestern, Rust Belt expectation of preparing for a job that one would do the remainder of one's life. The concept of continuous learning is a gift I try to pass onto every student.

Developing critical thinking in students is another important goal. Many students just want answers, and yet they as adults will be faced with a world full of questions. How do we address global warming? Overpopulation? War? Can we solve poverty in Africa by bringing the Green Revolution there? Is industrialized food production a good idea? Do we need biodiversity to survive? What will happen when the oil runs out? It is their generation, not just ours, who will have to answer those questions. They will not be able to do so without the ability to ask questions, probe for answers and come up with them on their own. The days of rote learning should be left behind us.

I enjoy my consulting role as a professional problem solver. There is a joy to fixing something broken. There is a joy in creating something new. I hope that my enthusiasm for my chosen profession comes across to my students and encourages them.

I like to teach by analogy. I like to walk around, to see what students are doing. I like to tell students what to do and like to observe how they do it. I like to keep my eyes open so that I can assist those who may need extra help so they don't lose interest. I think that tests should allow students who listen to pass, who read to do well and who think to get an “A”.


“Establishing lasting peace is the work of education; all politics can do is keep us out of war.”
-- Maria Montessori


Our species replaces each generation to establish our future. We have the obligation to teach our young to ensure their success. It is only a convenience that they sometimes appreciate it. I teach in order to contribute.

Wednesday, January 17, 2007

My Post on Slashdot's Front Page

After many years, one of my posts finally made it to Slashdot's front page. The story is about the Navy's new 8-Megajoule Rail Gun, built by BEA Systems and recently tested at the Navy Surface Warfare Center in Dahlgren, Virginia.

The Slashdot comments were typical; lots of people commenting without having read the article. Still, a couple of insightful people had a thread on launch loops that is worth reading. I'm sure most people stop reading the paper when they see "Launch track, 2000 km long" :)

Sunday, January 14, 2007

The Kadomo Group

I am pleased to formally announce my participation in The Kadomo Group. I alluded to this move in a previous post, but should really say what that means.

I will be holding my consulting company, Software Memetics, in abeyance and working full time with Kadomo. My role there is Chief Technical Architect, a title I share with the talented Uche Ogbuji. Uche founded Fourthought and has been published widely on XML.

I am pleased to say that I know most the Kadomo team well, including the founder Dr. Eric Miller (formerly of the W3C), author/speaker/super coder Brian Sletten, Daniel Krech from UMD MIND Lab, Kathy MacDougall from Sun and Vicki Mueller from OCLC. I was more than happy to get to know the energetic entrepreneurial couple Karen and Frank Bresky through Eric's introduction. It is an honor to be asked to join such a good group.

Kadomo is a services company focusing on the application of Semantic Web technologies, with some skunk works in the making. I am already busy with a financial services company in New York and will also be helping with business development and extensions to Mulgara.

Keep an eye on this space. It took me two years to emotionally commit to a new company, but I'm back. Somebody toss me some water every quarter marathon, eh?

Yet Another Way to Win in Iraq

I have posted a number of times on the (bloody, senseless and ill considered) war in Iraq. In fact, I've suggested several concrete ideas, such as waging peace and choosing our time to leave.

Now I bring you another one: How to Win the War in Al Anbar (a PDF of a Powerpoint presentation) by Captain Travis Patriquin, US Army (deceased). It boils down to understanding and working with the people of Iraq. That includes growing moustaches (because Iraqis trust people with moustaches) and working with the local leaders. Everyone interested in this war should read and comprehend the simple truth of Capt. Trav's presentation.

The sad thing is, of course, that Capt. Trav didn't make it. He was killed by an IED, probably indirectly related to the fact that he didn't have the Army's ear. The ABC news story has more detail, but I found out about him from some military friends. It seems Capt. Trav's presentation has struck a nerve among tacticians. I emailed it to President Bush (yes, really) but didn't really expect an answer.

It always seems to be the way. In spite of all the bureaucratic obstacles thrown in their paths, some tactical field officers manage to break the code. It happens in every war, in every army. You don't believe me? Have a read of The Savage Wars of Peace or Queen Victoria's Little Wars.

The Washington Post has a page for Capt. Trav on their Faces of the Fallen.

Saturday, January 06, 2007

Starting Work at the University of Mary Washington

I am excitedly preparing for my first course at the University of Mary Washington. I'll be teaching CPSC 104 - The Internet: Technology, Information and Issues this semester. I just completed the Web syllabus today for those interested. Brian has graciously agreed to give a guest lecture on the future of the Internet in April. Thanks, Brian!

UMW is a wonderful place to work and, I suspect, to study. The HR, departmental and library staffs have all been superbly efficient and knowledgeable. I have been very impressed with the ease of learning my way around. It is a nice change from the sheer size and complexity of the University of Maryland.

Also, I have a soft spot for teaching institutions. Although the faculty researches, the focus of UMW is clearly on teaching. That gives the students a chance to, umm, learn. Unlike the larger universities, which are fine for graduate or even good upper division students, but hell on the average undergrad trying to learn how to be away from home for the first time. I think I will like UMW very much, indeed.

I am only an adjunct instructor, and only very part time. The majority of my waking hours are still going toward our new venture over at The Kadomo Group. Still, striking a good balance between academia and actually doing is much more fun for me than either extreme could be.

Wednesday, January 03, 2007

Waging Peace (Really)

The American public has been told several things repeatedly since the 2004 presidential campaign season began more than two years ago. We have been told that (a) we must stay in Iraq, (b) there is no alternative plan for Iraq other than a military victory and (c) there is no acceptable alternative to winning the war. Unfortunately, all of these have been proven false.

Before the US invaded Iraq, a few US and UK senior officials suggested a non-military option to destroy Al Queda in Afghanistan. Their plans had one thing in common: They suggested waging peace. Build roads, these liberals said. Build schools. Give people jobs. Oh, wait. They weren't liberals. Chris Patten is an old school UK conservative. Michael Scheuer is a Republication career CIA officer. These people were ignored. Their ideas were too radical, and the potential results too far fetched. No more far fetched than forcibly imposing a Jeffersonian democracy, that's true, but never mind.

At a time when our policy in Iraq is eerily reminiscent of Richard Nixon's Vietnamization ("We'll stand down as they stand up"), and failing in exactly the same way, the time has come to trumpet the success of one man trying hard to do the right thing. Enter Colonel Jim Linder, US Army.

COL Linder is a career Special Forces officer and currently head of the US Army's task force fighting Al Queda-backed Abu Sayyaf on the Philippine island of Jolo. His strategy? To wage peace. No kidding. And it is working. COL Linder and his men partnered with NGOs, the Philippine government and US military assets to bring government services like roads, schools and medical care to the remote region. Linder's quote, hopefully to made famous soon, is "It's not about how many people we shoot in the face, it is about how many people we get off the battlefield."

This small corner of the US Army has successfully ended Abu Sayyaf dominance on the neighboring island of Basilan by the same methods. The techniques are now known as "the Philippines model" among military strategists. Why is the US military not emulating this model on a large scale? Because we are bogged down so badly in Iraq that the military can't implement that strategy anymore. Reliance on traditional strong-arm tactics while ignoring any strategic goals other than nebulous victory has cost us a real chance at success.

Once we lose the war in Iraq (and I am going publicly out on a limb here to say that we will), I hope that we learn the important lesson that COL Linder and his troops can teach us. You can catch more flies with honey than with vinegar. Or was that my mother? Either way, it works. It also has the nice side effects of completely failing to disrupt the fabric of society, failing to pollute the land and water and doesn't even kill people.