web

Firefox 4 and 3.6 at the same time

With the arrival of HTML5 web development has turned into the sunny side of the hill again. These days the world would be a perfect place if I could launch two browser instances at the same time, one with support for the latest standards (almost) and another without. This is…

Create your own bit.ly using Base58

Following the example of bit.ly, tinyurl, owl.ly, even coca-cola has joined the short URL bandwagon. Maybe it's because of Twitter, maybe the world is focusing on mobile devices or just saving bandwidth. In any case, it's not that hard to develop your own. The implementation is quite straightforward:…

Generate your TLD using java annotations

If you are stuck with JSP and keeping your TLD files by hand (like me), you are probably ignoring the elephant in the room: Tag classes must be kept up-to-date with the TLD by hand. This means duplicate effort, a.k.a. "XML sucks". For any non-trivial tag library, inheritance…