# Thursday, December 05, 2002

Blog Browsernbsp OKnbsp Theres AnbspBlog Browser

Blog Browser. 

OK - there's a Blog Browser available in Zeepe Applications. Dave Winer is still working on the definition of files.xml so this may or may not work at the time of reading this if his format has changed and the software hasn't caught up yet.

The format is a little tricky because it just lists all archived files via pathnames, with no information within the xml as to what the file pointed to contains. Currently the Blog Browser assumes that anything stored in a directory 'posts' or 'archives' (because two different systems are using different conventions) is a weblog archive and that the year and month are encoded in the path name as yyyy/m.xml.

If anyone can tell me I'm being daft and there's a really easy way to tell what's what, then I'll be glad to know.

#    Comments [0] |

Blog Browser

OK - there's a Blog Browser available in Zeepe Applications. Dave Winer is still working on the definition of files.xml so this may or may not work at the time of reading this if his format has changed and the software hasn't caught up yet.

The format is a little tricky because it just lists all archived files via pathnames, with no information within the xml as to what the file pointed to contains. Currently the Blog Browser assumes that anything stored in a directory 'posts' or 'archives' (because two different systems are using different conventions) is a weblog archive and that the year and month are encoded in the path name as yyyy/m.xml.

If anyone can tell me I'm being daft and there's a really easy way to tell what's what, then I'll be glad to know.

#    Comments [0] |

Company That Disentangled WPA Says Its Built A Better OneE

Company that disentangled WPA says it's built a better one. Now we've proved that one's rubbish, buy ours instead [The Register]

For once I agree with Mr Lettice, 36 chars is too long. But the vendors site is worth a browse.

#    Comments [0] |

Reminder The Bootstrap Of Blog BrowsersE

Reminder, the bootstrap of Blog Browsers continues. This was originally a Brent-Dave collaboration, but other people are now working on browsers, and other blogging tools are producing archives in a compatible format. [Scripting News]

Including me - should be up tomorrow (today).

#    Comments [0] |
# Wednesday, December 04, 2002

Who Can Help When Searching

Who Can Help When Searching for Online Resources?. Here are a few thoughts about where to find local help when searching for online instructional resources--and how to be self-supporting. [EduResources--Higher Education Resources Online]

What are the two worst things that can happen when an instructor begins to search for online learning resources? The instructor may find nothing or the instructor may find thousands of resources. Finding too little is discouraging and will most likely turn the instructor away from attempting to use online resources in the future. Finding too much is overwhelming and can also turn an instructor away from using online resources just because it is inordinately time consuming to sift through hundreds or thousands of possibilities. The third worst happening is finding some learning resources but determining that they are all of poor quality and therefore of no real use. The fouth worst outcome is to locate some useful resources and then determine that they are too expensive or that they require specialized software unavailable to students.

Absolutely, but then:

... it's important for instructors to do two things: one, learn enough about general and discipline-specific online resource sites to do some searching on their own; two, having learned what questions to ask, investigate the institution and locate what departments do provide local assistance. A third desirable option would be for instructors at an institution that does not have a help center to set up their own support group, using a listserv, weblog, and occasional luncheon meetings. This local support group will fill a gap and might eventually influence the institution to establish a more formal unit for instructional support.

Education (worldwide) needs to do more than this, as I've said before, software that supports peer-review (it was one of the intentions behind Profundis search) is my preferred 'solution'.

#    Comments [0] |

Dare On XML Schema Ive Finally Made Time To Read Dare

Dare on XML Schema.

I've finally made time to read Dare's  W3C XML Schema Design Patterns: Avoiding Complexity.

Dare wrote his article as a "counterpoint" (though maybe "derivation by extension" is more apt, to Kohsuke Kawaguchi's W3C XML Schema Made Simple.  Kohsuke sums up his view by saying

Consider W3C XML Schema as DTD + datatype + namespace

though you might add "- Notation", since he points out that Notation declarations shouldn't be used because they aren't compatible with DTD Notations.  This is probably decent, if conservative, advice.  Judging from the comment I noted the other day, and from the comments on Kohsuke's article, the most controversial statement in either article was

 Do not try to be a master of XML Schema. It would take months.

which is pretty much the point of both articles: learn what's useful and ignore all the nooks and crannies; they'll just get you into trouble.  This is essentially conceding the argument of the anti-Schema crowd that WXS is too complex and ambiguous, but regardless, people are using WXS by choice or compulsion, and these articles are an attempt to steer users towards the best practices.  And as far as I'm concerned, it's true.  I've tried to wade through Patricia Walmsley's Definitive XML Schema, but as a friend of mine said, it's "dry as day-old toast".  I feel better served by getting a more succinct guide and filling in the details later, if ever.

Dare loosen's Kohsuke's guidelines a bit.  To start, rather than eliminate the use of local declarations, Dare takes the time to explain the elementFormDefault behavior that put Kohsuke off.  It seems like Kohsuke's recommendation could be modified to say "use elementFormDefault='qualified'", which is one of Dare's recommendations, and more useful advice to boot.  I don't see a particular problem with unqualified, except that I prefer the way qualified looks, and it seems like that's Dare's justification too.  The other justification might be that unqualified interferes with default namespace declarations.

I don't quite get the recommendation on built in types.  The initial list of recommendations says "Do use restriction and extension of simple types.", but the actual recommendation is to use the builtin simple types.  Dare's recommendation is to use the simple types and consider avoiding the subtypes of string and integer.  I've seen (and written, truth be told) schemas that start building levels on top of the simple types, and really all this achieves is a less readable schema.  The OTA schemas are very much into subclassing simple types, and others I've talked to who've worked with OTA agree.  The OTA defines types like StringLength32, which may be a valid restriction, but probably not a great first class type - it's true that lots of elements are 32 character strings, but this seems to me to be a micro-optimization in the type system.  It makes sense to declare this type if all the StringLength32 data suddenly became StringLength64, but then you have to carefully consider whether the data's really related to another use of that type and likely to stay in sync.  This seems like a paralell to the Inheritance vs. Aggregation considerations in OO design, where you should consider whether a new type really IS-A instance of another type.  I'd say that it's not necessarily a good idea to declare named simple types, unless that type information is really going to be reused. 

One other point that Kohsuke made was that when restricting complex types, you have to repeat the entire definition of the base type, and that validators have a difficult time with restriction.  Dare gives some concrete examples of the validation problems, but doesn't really offer much besides "here's the rope, don't hang yourself".  Restriction has its appeal, maybe because it doesn't work like the type systems I'm used to, but given the problems, I'm not sure complex type restriction is worth even a qualified endorsement.

Overall, Dare did a better job of explaining his rationale that Kohsuke.  Kohsuke's guidelines are a bit too conservative, but my trouble with Dare's guidelines comes from features qualified with "use carefully".  It's good to get an explanation of the pitfalls, but I felt like the justification for situations when the feature should used were pretty weak.  Maybe this subject needs 2 articles, one for the "safe" parts, and another for the ones that need extra care.

[Gordon Weakliem's Radio Weblog]
#    Comments [0] |

nbsp A Cool Piece Of Software Called SoftMac

...  a cool piece of software called SoftMac - which lets you run Mac applications under Windows XP! [IUnknown.com: John Lam's Weblog on Software Development]

You need a Mac ROM from a Mac you own and not yet to OS X.

#    Comments [0] |