Monthly Archives: May 2008

Announcing Owl2Java – A Java Code Generator for OWL ontologies

The elevator speech: Owl2Java is a code generator to work with OWL ontologies from java. Ontologies are accessed natively via java classes, methods and attributes. A native interface for the object orierented database db4o with support for transparent persistence can be generated from the internal meta model.

With version 0.5, I am happy to announce the first public release. This release contains

  • a fully working generator for the generation of a java API and hence allows transparent access to the data model stored in an OWL ontology
  • a working prototype to generate db4o compliant java classes with support for transparent persistence. A mapping script to copy OWL instances to the object database from db4o is generated automatically.

For more information see the project site.

Cups, Duplex and Multiple Copies

Ever tried to print multiple copies of a document with an uneven number of pages duplex? A couple of days ago, I did. On a HP Color Laserjet 3700 the results were nothing but disastrous (on windows also, btw 🙂

First I used the drivers recommended by the KDE print configuration utility, namely Postscript and Postscript + foomatic. Results?

  • With the default Postscript driver the collate function does not work i. e. the printer churns out 50 copies of the first sheet of paper followed by 50 copies of the second sheet followed … you get the drift.
  • With foomatic collate works yet there is the issue that all copies are added to a single document before being sent to the printer as duplex print job. For a 3 page document and 2 copies you end up with pages 1-2, 3-1, 2-3 hence making every second copy unusable.

The cups website and forum mentions some details about certain ppd-commands (cupsEvenDuplex and OrderDependency) to avoid the second behaviour yet there is no way to set these config options as end user. Editing the ppd files in /etc/cups/share wasn’t successful either.

The solution? Just use the plain old generic postscript driver! Tested as a last approach to the problem, this drivers works as one expects it.

PoelControl – Any News There?

PoelControl – ein Projekt zur Entwicklung einer elektronischen Steuerung für den automatisierten Betrieb mit Pöl – dämmerte den Winter über im Winterschlaf. Dennoch gab es einige Ergebnisse.

PoelControl I ist eine Anzeigeinstrument von Infos rund um den Pölbetrieb. Hiermit ist es möglich, alle für den Pölbetrieb relevanten Parameter wie Temperaturen, 2 Drücke (Ladedruck, Sog bzw. Druckabfall über einem Kraftstofffilter) sowie Tankpegel zu messen und anzuzeigen.

PoelControl I

Fokus der Entwicklung war hierbei eine minimale Baugröße, die nur unwesentlich größer als das eingesetzte Display ist. Dies wurde durch konsequente Verwendung von SMD-Komponenten erreicht. Der Anschluss erfolgt trotz Miniaturisierung mittels standardisierter Wannenstecker, so dass ein sicherer Kontakt gewährleistet ist.

Desweiteren ist ein Relaismodul fertig. 8 Relais (Belastbarkeit jeweils 5 A, I_total < 10 A) können über I2C gesteuert werden. Auf dem zweiten Bild sind RelaisBoard wie auch ein Board zur Meßwerterfassung gemeinsam zu sehen.

RelasiBoard

SensorBoard