Transilvania JUG

Sponsors

17
Sep
2014
5

Ensuring the numeric values of Enum constants

Problem statement: you have an Enum and you want to ensure that the numeric values returned by ordinal are a certain way (perhaps this Enum is part of a communication protocol with an external system or perhaps it is written … Continue reading

04
Apr
2014
0

Devoxx UK

Devoxx UK returns to London in June and has an awesome lineup of speakers, sessions and activities to choose from. The initial program was recently announced and has a real international feel, with speakers attending from all over the world. They’ll … Continue reading

30
Mar
2014
0

Java 8 GA (General Availability)

Java 8 has been released! Some of the highlights of the release in no particular order: Lambda expressions and new API to make use of it (the streams API) New date-time API inspired by Joda Time Poject Nashorn (fast JS … Continue reading

29
Mar
2014
0

Method 2 of N for crashing your JVM :-)

On a previous post there was a short discussion about what’s the best way to clean up memory mapped files and Philippe brought to my attention the following text from a bugreport: With regard to the “workaround”, described in the JDC comments, … Continue reading

15
Mar
2014
0

A (mostly) forgotten technology: ASN.1

Today’s post will be short and sweet. I wanted to write a rant about how we’re permanently reinventing things in the software industry and how programmers prefer to rewrite things from scratch rather than take the time to learn an … Continue reading

01
Mar
2014
9

Detecting (write) failures when using memory mapped files in Java

Memory mapped files are a good and often overlooked tool. I won’t go into the details here on how they work (use the force Google Luke!), but I will  quickly summarize their advantages: lazy loading and write caching provided by … Continue reading

05
Feb
2014
0

Explanations to common Java exceptions

From our mailing list: Explanations to common Java exceptions ArithmeticException – “You are trying to use your computer to solve a mathematical problem that you cannot solve yourself. Read up on your arithmetics and try again.” ArrayStoreException – “You have … Continue reading

05
Feb
2014
10

Even faster Java Expression Evaluator

I’ve been reading the How to write one of the fastest expression evaluators in Java article (also published over at JCG) and thought to myself – there is an even faster way! Thus I whipped up a Caliper benchmark which … Continue reading

21
Sep
2013
0

Java Advent Calendar – 2013 edition

We’re in the second year of running the Java Advent Calendar and we’re seeking contributions. What is the Java Advent Calendar you might ask? It’s an initiative to publish one article per day about something related to Java (if you … Continue reading

28
Jun
2013
4

Tips for running SonarQube on large / legacy codebases

SonarQube (previously Sonar) is a quality management platform aimed mainly at Java (although other programming languages are supported to a varying degree. Here are a couple of tips to get it working on legacy projects: There is an Ant runner … Continue reading

df