Recipe: Supervising Daemons With daemontools
Up to yesterday, for my Topic Maps REST server (tmipd) I have used startup and shutdown scripts to control it, quite in the Apache tradition:
On start, it would detach from the terminal and would daemonize.
RDF::AllegroGraph::Easy Maintenance Release
When I created an experimental version of the Perl client RDF::AllegroGraph::Easy it worked against the AG server 3.1.1.
Since then some subtle changes occurred, so that I have upgraded the client to continue to work.
Franz Inc. has also provided me with a pre-release of AG 4.
April 2010 Demotivator Posters
Yes, I am cynical. But I am not cynical enough. Despair:
Category Economy

DeepZoom (Part II): The Graphics::DZI API
(continued from Part I)
When you need to integrate the generation of DZI image pyramids into your own infrastructure, you should look first at Graphics::DZI::Files and not its superclass Graphics::DZI.
The Conventional Use Case
Objects of this class expect foremost the image to be tiled:
my $dzi = new Graphics::DZI::Files (image => $image);
As detailed in the manual page, you can add more parameters, such as tile size or the format.
DeepZoom (Part I): The deepzoom Script
If installed properly, the Graphics::DZI distribution should also contain a script deepzoom which can be used from the command line.
With it you can take an image (in any format ImageMagick can interpret) and generate the image pyramid as necessary for deep zooming with the Seadragon AJAX client.
Graphics::DZI Developer Release
This weekend I managed to package up Graphics::DZI. It is a naive implementation of the DeepZoom mechanism as used in Seadragon.
The API is not completely stable; first I will have to integrate the piece into my semantic map generation infrastructure.
I also need to better understand how to deal with very sparse maps.
High-Definition Semantic Maps (Part III)
Recipe: Converting PDF Documents Into PNG
In a little side-project involving DeepZooming documents I needed to convert PDF documents into images, and that with a controllable quality.
Of course, the program convert (part of the trusty ImageMagick library) can do that:
It will not produce a single PNG, though, but one for each page, numbering them through.
High-Definition Semantic Maps (Part II)
(continued from Part I)
One of the questions you might rightfully ask, is how much impact the semantic network information within the topic map has on producing visualisations like those below:

Or how much they should have, as this is a parameter which I must control.


