A Journey of a Thousand Miles Begins with a Single Step

Query abstract entities

This post demonstrates a part of inheritance with JPA 2. Abstract entities (classes) can be used to query their concrete subclasses.

Read more

uptime - tell how long the system has been running

uptime gives a one line display of the following information. The current time, how long the system has been running, how many users are currently logged on, and the system load averages for the past 1, 5, and 15 minutes.

Read more

Copy text from IntelliJ in another theme

IntelliJ allows you to use the Darcula theme, that is in some case better, e.g. coding on a notebook to save power. It may be the taste, that this theme is desired. If you copy and paste code from IntelliJ it will be formatted with the Darcula theme. If you want a printer friendly theme, you can set the option for copying, to use another theme like Default.

Read more

Convert to correct base in Kibana 4

To convert bits to bytes (the base value) in Kibana 4, the usage of scripted fields is possible. Have also a look at

Read more

Arrays vs Lists

A great article explaining the concept of arrays and lists, the advantages and field of use. From the same guy that explains other grokking algorithms very well on http://adit.io./.

Read more

Monitoring tools for the JVM

The Oracle JDK distributes two major tools for monitoring and profiling java applications or more accurately the Java Virtual Machine (JVM).

Read more

Decompress gzip files

Unzip gzip files

Read more

Creating a Border Animation Effect with SVG and CSS

A great article how to use CSS transitions on SVG.

Read more

Concurrency problem dealing with Synchronization

Concurrency in general is one of the most challenging area of programming. Check out the awesome and easy to understand explanation from Ron Swanson.

Read more