Sunday, July 4, 2010

RDFa Drupal Open Graph

 I have added a page to collect RDFa links over at http://aule-browser.com/rdf/index.html.

There will be a separate parsing section for PEG's, Icon 9.5, ObjectIcon 2.3, Rebol 3, Logtalk and PROLOG (and SNOBOL in C ?)

The number of essential links is now near twenty - and this is in English only.

It is still not clear to me how searchmonkey will fare as Yahoo! moves to using Bing for search.

SearchMonkey for documents was already infuriating for me due to SearchMonkey being restricted to Flash documents ( given my work in Curl markup for literary documents as http://aule-browser.com/poets/ and http://aule-browser.com/phil/ .)

I still have to get a post together on RDF with Curl documents.  RDF is largely associated with the one XML syntax - but there is nothing about RDF triples that requires XML.  Curl documents which are embedded in HTML pose no problem in general since the RDF can be expressed in the embedding object element.  Curl documents which are themselves .curl applet files offer unrestricted tagging in the initial {applet } expression so the Curl runtime itself could be adapted to export RDF.  The matter is less obvious for the {include } of documents which are .scurl text files at the top-level within applet files.

The root Curl document, when unspecified, is a TextFlowBox, but with Curl 7.0 there are now ParagraphVisual and TextVisual classes. To quote from the documentation for the parent class,
This class provides a public API for accessing the contents of text-containing objects to be rendered by text containers such as TextFlowBox.
At the moment there is no option available for a popup action such as "Print" which would offer RDF triples rather than the content - and these for the Visual container "hit" as opposed to the entire "page". A Visual would need an option such as exports-rdf? and possibly a tie to a triples validator.

The whole matter ties back to whether Curl is suited for CMS - if a suitable server-side partner emerges as IT continues its slouch towards HTML5.  Or Flash 12.1 or ...

I had thought that Drupal could be a candidate, but after some exploratory efforts I lean towards a Gemstone + Seaside 3.0 option ( pul-ease do not mention Scala Lift ... )  I still keep an eye on Wicket (Hippo?), Zope/Plone and Ruby candidates such as Nesta.

Saturday, July 3, 2010

Oblog or not (Prolog Logtalk)

Sometime ago I added some bits to en.wikipedia.org on Logtalk (since updated by the author of Logtalk himself.)  In the Prolog wikipedia article, I now see mention of Oblog. Or not.

Every link on the web that I can see says the same thing of Margaret McDougall, Oblog, object-oriented Prolog and EdCAAD.

Now I believe that EdCAAD is ESALA.

And Oblog?  A wiki obus and not an opus?

Tuesday, June 29, 2010

Visual Prolog 7.3

Prolog Development Center has just released version 7.3 of Visual Prolog.

VIP was once known as Borland Turbo Prolog and was one of my favorite tools alongside Borland C++ for OS/2.

PDC Prolog has its counterpart in the Mercury project: a typed Prolog.

So what is new in 7.3? Well, Visual Prolog is getting ready to go 64-bit.  That and more are detailed at the 7.3 page.

For a while I thought the Prolog would go behind the scenes at PDC as it did when Air Liquide acquired Prologia in France (the home of Prolog IV as CLP.)   Happily PDC now is back to showcasing at least AI and not just smart software applications.

But what will the fate of this Prolog prove to be?  In a decade or two, projects such as Oz and Mercury may be in other hands - but a small commercial venture?

In my experience the strength of Visual Prolog was not the IDE or the GUI-building tools but the debugging.  And that has been further strengthened in the 7.3 release.

There is a "personal version" available for download and extensive examples come with it.

Prolog is part of the Adobe world in the ILOG arena (an IBM acquisition) and in an age of multi-processor 64-bit hardware, Prolog should come into its own in the RDF processing needs of the semantic web (in which regard, see Logtalk and the XSB project as well as http://www.swi-prolog.org/ for alternatives to PDC.)

A typed-Prolog should present no problem to ActionScript Flex developers at home with a typed ECMAScript variant - and "declarative" MXML UI layout.

Other languages superbly suited to processing text: ObjectIcon, Icon 9.5, Rebol, Oz.

Other Prolog implementations of merit: Eclipse-housed AMZI! Prolog.

For OOP for almost any other Prolog than PDC, see http://www.logtalk.org/

When the ICON language was named, Ralph Griswold could not have suspected that computing would come to have an "iconic" interface.  Curl has suffered a similar fate due to haxx.se and cURL.  Sadly, XML has a "prolog" and not a "prologue" so without RDF, searching for news on Prolog and XML is vexing.  So far, Rebol fares best and Oz much better.  As for Mercury and Alice, what's in a name?

http://www.logiquewerks.com/index.html

Thursday, June 17, 2010

PLT Scheme becomes Racket

PLT Scheme is not only alive and well but has a new name and home: Racket at racket-lang.org

Think hack-a-rocket or the planet-scheme.

Racket is intended to foster experimentation and innovation with domain-specific languages.

I am a big fan of the Curl programming language from curl.com because it has DSL-friendly macros and is both expression-based and functional and declarative and class-oriented. 

At en.wikipedia.org you will see Racket in the multi-paradigm category when I get a moment - for now they have some discussion of this at wp.

Meanwhile Rebol3 works its way towards beta ...

Thursday, May 27, 2010

Max Ufer

I have received a book in pristine condition.  Why should that trigger a blog post? Because the book comes to me through the inter-library loan service of the Minneapolis Hennepin County Library - the loan is extended by the Wilson Library of the University of Minnesota.

The book is Ernst Klee's 2001 Deutsche Medizin im Dritten Reich.

The better school districts in Minneapolis teach German, if only at the high school.  Like America in general, this area is ethnically German. In the years after the Civil War, disease in Memphis drove the inhabitants of Germantown as far up the Mississippi River as one could then travel: to the St Anthony falls.

The book is pristine, untouched. The bookmark ribbon was folded double across a small inner signature: it is otherwise also pristine.  How could such a book stand untouched at a university with a Holocaust document center?

The book lacks a subject index, but has an index of persons. It opens with a photo and a quote from the closing chapter on Max Ufer and the Max Planck Society.

Here is a PDF on The Kaiser Wilhelm Institute under the Third Reich.

Many years have passed since I stood before the photos at the Dachau memorial: somehow one photo in the Ernst Klee volume seems now to burn in my memory: the ulcerated face of a child.

Ordinarily I would have posted this under my blog on the quaint tourist town of Marburg.  It is not, after all, the first time that I have found a book surprisingly pristine - or with uncut pages - in a university library. But not a book such as this.

German remains one of the languages of science at a great university such as that of Minnesota.  Surely there is a simple explanation.

The book has no review at Google books.


Here is the amazon link for this book.

Here is the Ernst Klee author link at amazon.

Tuesday, May 25, 2010

Squeak Smalltalk 4.1


Could this be a Squeak right out of the box?

That is a menu bar with Projects, Tools, Extras, Windows, Help and a Search entry field. And where are the Fi$her-Price colours? (They are an option now.)

This is the influence of Gilad Bracha's Newspeak.  The release comes not long after Pharo Smalltalk went 1.0 (although I don't know the politics.)

The good news for Squeak and Smalltalk is that 4.1 has so many important changes which are not cosmetic. These include updated closures, even greater modularity (unload, reload), a new implementation of Traits from the folks who gave us traits. And a great many changes in the class hierarchy.  All of these listed when you click the green or the orange buttons on that "Welcome to Squeak 4.1" pane.

If you have wanted to learn Smalltalk, there are even more resources online now, including Pharo By Example. The first thing to know in Squeak or Pharo is to left or right click in that workarea background (the brushed aluminum-looking main window area.)

There will be other Smalltalk news coming when Vision Smalltalk appears (also known as DNG or Dolphin Next-Generation Smalltalk.)

It remains an oddity to me that Smalltalkers are still using Adobe PDF for their e-books .... see FotB.

Thursday, May 20, 2010

Cincom VisualWorks Smalltalk 7.7 and Seaside 3.0

About a week ago James Robertson began re-doing the >tutorial for Seaside 3.0 and Cincom VisualWorks Smalltalk 7.7.

An immediate problem arises if you installed an >NC image from Cincom without selecting "Preview" components for install: you will not have WriteBarriers.

Just connect Store to the Cincom repository, select Published and load WriteBarriers from down near the bottom of the list - I took the version at the top of the pile.

After that, the Package Manager loaded Seaside-All 3.0-3 with no complaint.

Now to see how often contentType is defaulting to 'text/html' ... (my interest in Seaside at the moment is for generating non-HTML content as Curl markup or 'text/vnd.curl')

PS
  Smalltalk Daily has a post on WriteBarriers.