Archive for the ‘Work’ Category

jazzlib – an alternative for reading ZIP files in Java

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 ...

Debugging Java WebStart applications with Eclipse

Friday, January 7th, 2011

The last couple of days I went through a little nightmare: I needed to debug a Java application which showed some weird behaviour only when loaded via WebStart, but not when executed within Eclipse. Multiple internet resources told me to use the JAVAWS_VM_ARGS environment variable to tell the Java VM to ...

#112123

Wednesday, November 24th, 2010

Today I completed my ScrumMaster certification. After the two days with Joseph Pelrine in early November they finally send me some login for their website scrumalliance.com, offered a short web-based test (which you couldn't really fail) and tada - now I can call myself "Certified ScrumMaster". So everything seemed to look ...

The fuzzy cloud

Monday, November 22nd, 2010

Until now "the cloud" (the computing paradigm) was for me more or less a fuzzy defined hype I missed to really "see" the advantages of: I delegate infrastructure resources to some external "hoster" and pay for that, but I instantly got this nagging fear that I'll loose full control over ...

MySQL partitioning benchmark

Wednesday, August 4th, 2010

I had a little research task today at work where I needed to evaluate which MySQL storage engine and technique would be the fastest to retrieve lots of (like millions) log data. I stumbled upon this post which explained the new horizontal partitioning features of MySQL 5.1 and what I ...

Symfony development

Thursday, February 25th, 2010

Last week the second incarnation of Symfony Live came to an end and I just had the time to check a couple of shared slides from the event. Definitely interesting stuff going on there, especially the preview release of Symfony 2.0 whose code is available on GitHub since a couple of ...

Never trust doctrine:data-dump…

Friday, January 29th, 2010

...and especially not if you get the impression that the dump will afterwards be readable by the doctrine:data-load command of symfony. It was a costly lesson today when I tried to reimport a dump of a couple of Sympal tables. One of them, the one which models the menu items, has ...

Tip: Logging with Symfony >= 1.2

Monday, January 25th, 2010

Imagine you have a business method in your model which needs to be accessed by two environments: once from a symfony task and once from the web. So far so good, now what if this business method should be able to log contents somewhere visibly, in case of the command ...

Doctrine Horror

Friday, January 15th, 2010

My latest Symfony project uses Doctrine as ORM, which is considered to be a lot better than Propel by many people... Well, not by me. Doctrine seems to have a couple of very good concepts, amongst them built-in validators, a powerful query language, and last but not least, an easy schema ...

Quick Tip: NetworkManager and /etc/resolv.conf

Friday, November 6th, 2009

If you have trouble with NetworkManager overwriting your search and domain configuration after every startup and you're using DHCP, add the following line to your /etc/dhclient.conf: append domain-name " company.local other.company.local"; So whenever your DHCP server doesn't provide these information (the one in my company does not), it'll add this domain company.local search company.local ...