Quantcast
Channel: Nomad Labs Code
Browsing latest articles
Browse All 14 View Live

An Improved RMI Tutorial with Eclipse

Introduction There are/have-been heaps of remoting frameworks in java, but RMI being part of the JRE/JDK and therefore having no external dependencies is my personal preference for remoting with java....

View Article



Identifying which Java Thread is consuming most CPU

I didn’t come up with this. I was shown how to do this by an esteemed college at work. Introduction Most (if not all) productive systems doing anything important will use more than 1 java thread. And...

View Article

JDK Thread Pool Configuration

Introduction In any non-trivial application of somewhat significant size you will need Executors to background processing or asynchronous processing, task splitting etc. This is where the JDK executors...

View Article

Mother F**k the ScheduledExecutorService!

Thats right! Motherfuck this service. Deep hidden in the javadoc of this magnificent class is this gem “If any execution of the task encounters an exception, subsequent executions are suppressed.”. In...

View Article

Debugging vs Writing shit

Great quote I saw today: "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug...

View Article


Some tips on java.lang.OutOfMemoryError: unable to create new native thread

Thats right, the dreaded, java.lang.OutOfMemoryError: unable to create new native thread. I fixed one of these the other day. And I will present to you how I did it. The cause for such errors are...

View Article

Finding the error in your Comparator’s compare method aka “Comparison method...

If you google the term ‘Comparison method violates its general contract’, you will find some articles on stackoverflow that sort of help. But these didn’t help me because like Forrest Gump, “I’m not a...

View Article

Improv Theater in Frankfurt

A lot of people ask me where can they learn Improv Theater here in Frankfurt. And I always direct them to the one and only Theater Language Studio Frankfurt. Its the place where I started learning...

View Article


Adding to svn:ignore properties

SVN properties are an interesting beast. One common use for them is to ignore files that svn should ignore. For example you may want the ‘target’ directory that maven generates to be ignored by svn....

View Article


The GOD Data Strucutre

Today I will present to you the pinnacle of software engineering. This is the stuff boys… ehm… peeps. This what we have been looking for these years… a data strucuture so flexible, so effective… you...

View Article
Browsing latest articles
Browse All 14 View Live




Latest Images