A Journey of a Thousand Miles Begins with a Single Step

Use true randomness for testing

https://www.random.org/ generates random numbers, that you can use for testing.

Read more

Harness benchmarks for Java

JMH is a Java harness for building, running, and analysing nano/micro/milli/macro benchmarks written in Java and other languages targeting the JVM.


Read more

Atlas - the authoring system from O'Reilly

Atlas is a wiki-like, git-managed authoring platform for creating books. http://chimera.labs.oreilly.com/books/1230000000065/ch01.html

Read more

zpub - a publishing system for docbook

zpub is a authoring and publishing system for docbook documents. The SCM behind is Subversion. From my understanding it automatically generates the desired output after each commit and notifies interested/involved persons.

Read more

Purge configuration from removed packages

apt-get remove allows to uninstall software packages for Debian and Ubuntu. Some software may still have configuration stored on your system. If you don’t have used apt-get purge, the config files still resides on your Debian installation. This post illustrates how to remove these packages.

Read more

Constructor expressions in JPQL

In JPA it is possible to create directly a new object from JPQL SELECT statement, instead of fetching the result list and mapping the attributes. The JPA supports the constructor expressions for that.

Read more

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