'Development' Category

Activate NSZombie to find the object causing EXC_BAD_ACCESS

If you get an EXC_BAD_ACCESS with the following stack trace, activating NSZombie could help you to find the object causing the problem. 0x01285a63 in objc_msgSend 0x0580e400 in ?? 0x0105fb8d in _ CFAutoreleasePoolPop 0×00022443 in -[NSAutoreleasePool release] 0x002d3bf2 in _ UIApplicationHandleEvent 0x018cca36 in PurpleEventCallback 0×01105064 in __ CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ 0x010656f7 in __CFRunLoopDoSource1 0×01062983 in __CFRunLoopRun 0×01062240 in CFRunLoopRunSpecific [...]

  • Create plist from excel sheet with python

    This is a simple phyton script to create a plist xml file from a excel sheet. The values from the first row are used as keys for the plist. All values are converted to string. To read the excel sheet, i use the xlrd package. import xlrd from xml.dom.minidom import Document wb = xlrd.open_workbook(‘Test.xls’) sh [...]

  • How to use Facebook Places outside the us (iphone)

    Last week Facebook released the new service “Places“. This new thing you can show everyone where you are and even tell your friend’s girlfriend where he is. This new service will be a big thing, i’m sure. That’s why I updated my iphone App to give it a try … i was really disappointed, the [...]

  • Convert all Dreambox recordings to iphone/ipad format automatically

    This article describes a way to automatically backup your dreambox recordings to a linux machine and convert them into mp4 files, which can be used on the iphone,ipad and ipod. My linux machine runs Ubuntu 10.04 LTS/Lucid Lynx. For the backup of the recordings i use lftp and for the convertion HandBrakeCLI. 1. Install needed [...]

  • In love with Java

    Here comes the must watch for every java developer! via http://jz10.java.no/

  • 5 days to go, our tipping competition site wettem.com finally is online

    On friday it has finally arrived! South Africa opens the World Cup with the game against Mexico. We can not wait and we all look forward to four weeks of suspense, during which you can finally watch soccer on television every day. To make the World Cup even more exciting, we updated our “Tipping Competiton” [...]

    posted in Development by david

  • Java: retrieve locale and timezone from request

    If you thought it’s no problem to retrive the users timezone from a http request you are wrong. You get the locale but not the timezone and if you try to create the timzone from this locale you will get the default timezone from the server. Currently there are two ways to get the timezone: [...]

  • SOAP Client with Maven

    In combination with maven it is very simple to generate the access layer to an webservice by using its wsdl. For this example I used an web service which gives access to the results of soccer league games: http://www.openligadb.de/. First of all i had to decide which SOAP implementation and generator to use. I found [...]

  • iPhone Bilder sortieren

    Urlaubsbilder schön aufbereitet und aufs iphone geladen um diese zu zeigen. Blöderweise kommen die Bilder in der Diashow nicht in der Reihenfolge wie man sich das gewünscht hat. Das iPhone lässt auch keine Möglichkeit zu, die Bilder nach etwas anderem als dem Änderungsdatum zu sortieren. Dieses ist das Einzige Sortierargument, dass verwendet wird. Aus diesem [...]

  • The Roo, The Roo is on Fire

    Als armer Java Entwickler habe ich lange Zeit den Hype um Ruby on Rails beobachtet. Die Video Tutorials waren doch sehr vielversprechend und ich wollte das umbedingt auch lernen. Gott sei Dank hat das nie geklappt!  Egal ob Ruby oder Java besser ist, ich bin und bleib Java Entwickler. Inzwischen wurde der Ruby on Rails [...]

  •