• A basic Java WebApp example project supporting an xml free Jersey REST config

    RESTful Webservices are an essential and convenient part in current web applications when Information should be exchanged. Additionally the main exchange formats in current webservices are either JSON or XML. So when we want to implement the serverside of a web application using Java and especially REST services, we might end up serializing and deserializing…

  • “Easy going” vs “Taking care”

    Freitag Abend. Heimfahrt in der BOB (BayerischeOberlandBahn). Wochenende here I come! In Bad Tölz (eine Station vor meinem “Zielflughafen”) höre ich “Hausham? Da sind sind im falschen Zug.” (Hätte man vor einer halben Std in Holzkirchen umsteigen müssen). Ich denke mir “Arme Sau – jetzt fährst erst mal wieder zurück – oder du kennst hier…

  • “bad subifd directory” Replacing/removing bad SubIFD

    Handling bad SubIFD entries in photos you want to geo tag / the problem I just converted some of my RAW photos in RawTherapee and polished them in Photoshop CS. Of course I also wanted to GeoTag them (using GeoSetter) before putting the images in my archive. Fortunately, a GPS point was found in my trace…

  • Convert Mercurial repository to Git

    I have converted yet another googlecode Mercurial repository to Git – and as it took me (again) a bit too much time, here is my recipe: Prepare Log into a Linux shell (Windows will hardly work – at least it didn’t work for me). If you don’t have some remote shell, download an Ubuntu VM…

  • How to write useful error messages

    Each programmer has to deal with error mesages in some way. Either we have to check our data (and possibly raise an error/exception) or we are using libraries and have to deal with error messages or exceptions that are raised in these libraries. The purpose of this post is to point out how meaningfull error…

  • An introduction to the Logging framework (a.k.a. System.out.println is evil)

    Motivation One of the first lines a programmer will write in a new language is surely “Hello World”. In Java you can write to the console or to the error stream quite easy with a simple System.out.println(“Hello World”) or System.err.println(“Hello Error”). Great! When the code grows, bugs creep into the code and make live a…

  • Parse Error: There is a problem parsing the package / Beim Parsen des Pakets ist ein Problem aufgetreten

    Just finished my first (real) Android App and wanted to deploy it in my phone (not just in the emulator). So I sent an email to myself with the .apk attached as several tutorials said that you can just open it from your mail to install the app. On the phone, I opened my mail…

  • Knowing: A Generic Data Analysis Application

    We got another demo accepted: Knowing: A Generic Data Analysis Application Thomas Bernecker, Franz Graf, Hans-Peter Kriegel, Nepomuk Seiler, Christoph Türmer, Dieter Dill To appear at 15th International Conference on Extending Database Technology (2012) March 27-30, 2012, Berlin, Germany Abstract: Extracting knowledge from data is, in most cases, not restricted to the analysis itself but…

  • SRTM Plugin for OpenStreetMap

    One of the features of our TrafficMining Project at the LMU was to use additional attributes in routing queries. Standart routing queries usually just use time and distance for calculating the fastest/shortest routes. In order to have an additional attribute we decided to use evelation data as this might be an issue if you also…

  • Drupal shows warnings after migrating to new server

    Recently we migrated a Drupal managed website to  a new server. – Everything was fine, just on some pages, some php-warnings showed up that did not show up on the original site. After some investigation I checked php’s error_reporting setting and realized that the settings of the new new server were more sensitive than the…