Archive for the ‘Coding’ Category
Thursday, October 18th, 2012
At work we're heavily depending on Unit and Functional Testing for our current Android application. For Unit testing we've set up a pure Java-based project that runs on Robolectric to provide a functional Android environment and we also added Mockito to the mix to ease some code paths with spied-on ...
Posted in android, Coding, Tips | No Comments »
Tuesday, September 27th, 2011
You know the times, when things should really go fast and easy, but you fall from one nightmare into another? Tonight was such a night... but lets start from the beginning.
To debug PHP you usually install the excellent XDebug and so did I with the port command sudo port install ...
Posted in Coding, MacPorts, Tips | 1 Comment »
Monday, July 25th, 2011
If you catch and rethrow exceptions in Java, you probably know about exception chaining already: You simply give the exception you "wrap" as second argument to your Exception like this
try { ... }
catch (Exception e) {
throw new CustomException("something went wrong", e);
}
and if you look at the stack trace ...
Posted in Coding, Tips | No Comments »
Sunday, July 17th, 2011
Guitone, my little GUI frontend for the monotone SCM, is currently licensed according to the terms of the GPLv3+ and was previously - before version 0.8 - licensed under GPLv2+. Newer development however forces me to re-license it again, this time under slightly less restrictive "copyleft" terms, under LGPLv3.
The reason ...
Posted in guitone | No Comments »
Wednesday, July 13th, 2011
If you're desperately trying to get the Menu button in an Android x86 installation working under VirtualBox on a Mac OS X host - whose keyboard of course doesn't have this "context" / "menu" key Windows keyboards have on the right - you might find the touch-only-device mode in Android ...
Posted in android, Free Software, Tips | No Comments »
Saturday, July 2nd, 2011
Mathias Weidner hat eine deutschsprachige Einführung in die Versionverwaltung mit monotone veröffentlicht. Er behandelt darin die Grundlagen der verteilten Versionsverwaltung, die ersten Schritte mit monotone, sowie die täglich anfallende Arbeitspraxis mit einem Versionskontrollsystem. In späteren Kapiteln widmet sich Mathias auch erweiterten Themen, etwa wie monotone auf die individuellen Bedürfnisse des ...
Posted in Free Software, German, monotone | No Comments »
Tuesday, May 3rd, 2011
Java had zip-reading capabilities for a long time, naturally because jar files are simply compressed zip files with some meta data. The needed classes reside in the java.util.zip namespace and are ZipInputStream and ZipEntry.
Recently, however, ZipInputStream gave me a huge headache. My use case was as simple as
read the zip ...
Posted in Coding, Work | No Comments »
Sunday, March 20th, 2011
I'm pleased to announce the immediate release of Indefero 1.1. This release features support for another version control system, monotone, and comes with tons of smaller improvements and bug fixes.
A full list of changes can be found in the News document.
Many thanks to all the contributors!
Posted in Coding, indefero, monotone | 1 Comment »
Sunday, March 6th, 2011
Tony Cooper announced a new release of his Monotone Browser software and also a new version of the underlying Monotone::AutomateStdio Perl library.
Both packages are now compatible with the most recent version of monotone, 0.99.1. Additionally, mtn-browse also supports all the new selector functions introduced in monotone 0.99 and is able ...
Posted in Free Software, monotone | No Comments »
Friday, February 25th, 2011
I have a love/hate relationship with PHP; while I have talked in great length about all the badness that comes with it, I still find myself quite often writing and / or contributing to PHP applications. Most of this work was done with Symfony and, to a smaller degree, recently ...
Posted in indefero | No Comments »