Recent Posts

Kicking the Tires of Docker Scout

I never moved away from Docker Desktop. For some time, after you use it to build an image, it prints a message: What’s Next? View a summary of image vulnerabilities and recommendations → docker scout quickview I decided to give it a try. I’ll use the root commit of my OpenTelemetry tracing demo. Let’s execute the proposed command: docker scout …

Read More »

Embracing BDD with Spock, a worthy JUnit alternative?

As (Java) developers, testing is a critical part of our workflow, and while JUnit has been a reliable tool, Spock is definitely worth a look. With its use of Groovy and focus on BDD (Behavior-Driven Development), Spock enables us to write comprehensive tests that are easy to understand at a glance – a significant advantage for teams looking to maintain …

Read More »

Sorting Text in Java, How Complicated Can It Be?

Sorting text should be easy as String implements the Comparable interface. In this article, we’ll see that it can be more complicated than that. Text is represented by the String class in Java. In this article we’ll explore how to sort String, the advantages and drawbacks of each possibility. Level 1: Comparable The class String implements Comparable so sorting a …

Read More »