Transilvania JUG

Sponsors

10
Dec
2012
2

Changes to String.substring in Java 7

This post was originally published as part of the Java Advent series. If you like it, please spread the word by sharing, tweeting, FB, G+ and so on! Want to write for the Java Advent blog? We are looking for … Continue reading

06
Nov
2012
0

Writing beautiful code – not just for the aesthetic value

This article was originally published in the 6th edition of TodaySoftMag in Romanian. Reprinted here with the permission of the author / magazine. You can see a quick talk about the article in Romanian on Youtube. Writing beautiful code – … Continue reading

03
Mar
2012
2

Deserializing arbitrary messages with Google Protcol Buffers

Google Protocol Buffers (shortened protobuf) is data (de)serialization with good speed, size and cross-platform support (it supports Java, C++ and Python out of the box). It can also handle different versions of the same message (as in: old and new … Continue reading

04
Jan
2012
0

Debugging the JVM

In some (rare) cases you might find yourself in the situation that you managed to crash the JVM itself. I most recently managed this by setting the name of a ThreadGroup to null. In these cases it is useful to … Continue reading

12
May
2011
0

Adding tab completition to Maven3 under Ubuntu

Maven 3 was released recently (depending on your definition of recent), but is not yet packaged for Ubuntu. This is generally not a problem, since the installation instructions are easy to follow (alternatively here are the installation instructions from the … Continue reading

06
Mar
2011
1

How to test for the implementation of toString()

Problem statement: you have some value objects for which you implemented toString() (for debugging purposes) and now you would like to test using a unit test that these implementations exist. Possible solutions: – Use reflection to detect the existence of … Continue reading

22
Feb
2011
8

Reasons to call .isEmpty on collections

I’ve seen many times code like the one below: 1 if (collection.size() > 0) { … }if (collection.size() > 0) { … } There is just something which inherently “clicks” with most programmers minds when they think “non-empty”. There is … Continue reading

df