Monthly Archives: April 2009
java -jar blats your classpath
This tripped up a colleague today. When he mentioned it, about three other people (myself included) piped up with oh yeah, that caught me out a while back. java -cp ‘a.jar:b.jar’ -jar foo.jar This completely ignores the classpath. It’s not … Continue reading
Scala Actors
I’ve been wanting to play with scala for a while. So when I needed an irc bot to read RSS feeds recently, it seemed like a good excuse to play. Sure there are probably loads of existing bots out there … Continue reading
Mercurial support on Google Code
Google Code Blog: Mercurial support for Project Hosting on Google Code: We are happy to announce that Project Hosting on Google Code now supports the Mercurial version control system in addition to Subversion. This is great news. I love git, … Continue reading
Cross Site Scripting, again
Twitter all clear after worm wave Twitter has been given the all clear after a worm infected “tens of thousands of users”. But experts say the attack could have been much worse. Another day, another XSS hole. It reminds me … Continue reading
More Java Memory Analysis
If you found Heap Dump Analysis interesting, you might also be interested in Identifying ThreadLocal Memory Leaks in JavaEE Web Apps from Igo Molnar. I saw this a day or so after my original post. He uses The eclipse memory … Continue reading
Pedantry Time
Please stop saying redgex. It’s painful to listen to. They are regular expressions. Not rejular expressions. That is all.
Heap Dump Analysis
As part of the investigation into cocoon memory usage, I had to try and understand what was going on inside the JVM. The best way to do that is a heap dump. The general idea is to dump out the … Continue reading