Author Archives: Felix Leipold

Don’t use DITA if you don’t have to

I am currently for a large organisation that seems to embrace DITA for their documentation. In theory this is a nice thing. There is a wealth of tools to edit dita files and to transform them to all sorts of … Continue reading

Posted in Software Development | 1 Comment

Getting notified when a job is done

I really like the interaction of the command line with more advanced user interfaces. So today I got around to finally writing a little wrapper script for the mac, that notifies me with speech output when a program has finished … Continue reading

Posted in Software Development | 2 Comments

Exception Handling – The Catch Block should go Last

I have just stumbled across a piece of code like this: Object getSomeValue() { Object value = null; try { value = errorProneOperation(); } catch (IOException e) { throw new IllegalStateException(e); } return value; } Now I find this really … Continue reading

Posted in Software Development | 5 Comments

JSON Builder – Fun with Generics

On the train back to Berlin I spiked a little fluent Json Builder in Java. Here is one of my acceptance tests: JsonBuilder builder = new JsonBuilder<NULL>() .addObject("name") .addProperty("first", "Holden") .addProperty("last", "Caulfield") .end() .addArray("contact") .addPrimitive("00447903217666") .addObject() .addProperty("street", "5 Mayton St") … Continue reading

Posted in Software Development | Leave a comment

Processing large XML files with Shell Scripts

I recently did some work around analysing xml files for data imports. This kind of task is usually well suited for taco bell programming. Now xml is not easily manipulated with standard unix utilities, so I looked for a way … Continue reading

Posted in Software Development | 1 Comment

Reading the Classics – The CLU Reference Manual

Last year I started reading or rereading some of the classical texts in computer science. The first one was the CLU Reference Manual by Prof. Liskov et al. The book and the language were conceived in the seventies. CLU is … Continue reading

Posted in Software Development | Leave a comment

Why I don’t like Wikileaks

Warning: Some of the statements in this piece contain irony and sarcasm, if you are unfamiliar with these concepts you might want to stop reading here. This week there is barely a day, where I am not bored with some … Continue reading

Posted in Rechtsstaat, Tiraden | 1 Comment

Java Lib to Launch External Processes

I recently redesigned some of the code I tend to use to spawn external processes (pdflatex anyone?) in java. The implementation is still a bit buggy, but I am more interested in people’s opinions about the API (non-blocking killable invocations … Continue reading

Posted in Software Development | 4 Comments

Join

Note to self: join works only on sorted text files.

Posted in Software Development | Leave a comment

Thoughts on handling Translations and Views on Source Code

One of my recent java projects was to be used by users with three different languages. We went with the standard java approach of using properties files for messages. In intellij there is decent tool support for that. However it … Continue reading

Posted in Software Development | 2 Comments