
How to write an auto clicker in Java
After my kid asked me to download and install an auto-clicker, I saw this as a teachable moment to build one in Java. I could talk about the different concepts Java offers and also explore a new API in the Java API. Source code: package org.ea; import javax.swing.*; import java.awt.*; import java.awt.event.InputEvent; import java.awt.event.KeyEvent; import […]

Looking into a manual upgrade of Ceph to Pacific
Doing a manual upgrade of my Ceph cluster. In the same process, I get the Debian operating system upgraded that my Ceph cluster is running on. The new version of Ceph called Pacific requires some extra measures and when you’ve updated you can’t go back.

Doing an automatic upgrade of ceph cluster using cephadm
In this video, I look into installing and enabling orchestration using cephadm. Then I will perform an automatic upgrade with cephadm. I talk about my findings and go through all the steps.

Talking about lambda functions in java using example
We look into lambda functions in java using example code and understand what functions could help you with. Java has many new concepts that could help you, and lambda is just one of them. For example, you could create Suppliers that give you a value, Consumers that use a value, and then functional interfaces.

Writing a custom log4j appender in java, using RabbitMQ
We look into writing a custom log4j appender in java and how to send you to log messages with an appender to RabbitMQ. Writing a custom appender is challenging due to performance considerations.

Looking at logrotate in debian and timers in general.
We look into logrotate on Debian and figure out how timers actually work with a system with cron installed and configured. This was a bit of a gotcha for me, so hopefully, this will help you when you configure logrotate and want to use the timers in Debian to set a correct time.

Looking into java service provider interface (SPI). Learning by example.
I took a look at the service provider interface in java. This is a needed interface to build simple services using easy building blocks to extend and improve programs or libraries. We will create one example and also look into some tools that use this interface already.

How to create a video in java
In this tutorial, I go through how to create a video in java. Using the framework Xuggle we can create a video file containing a stream of images. But you can use any BufferedImage to create these frames, so this library is super flexible and even support audio.

A quick tutorial on using JSON-simple parsing JSON documents in java
This simple tutorial will show you how to parse JSON in java using JSON-simple from Google. JSON-simple is a bit old now but very stable and tested by large and small companies. I use this framework every day, so making a tutorial was a no-brainer.

Looking into Apache Common CLI
I write a lot of small java applications and need a good command line interpreter. Apache Common CLI helps me keep track of options and arguments. Apache have a lot of great tools in their tool chain and even if some of them are common they have a great track record of usability.

Validation using schematron in java by example
We write a simple example in java to run a validation using Schematron. The framework Schematron is a way to do easy validation of XML documents and create output that is easily readable by someone working with these documents.

Back to the basics – Java By Example (Invoice)
In this video, I get back to the basics and show you how to use the code from my series Java By Example to read data from an excel spreadsheet in order to populate your invoice PDF.