Blog Layout

How to find dead code in your Java services

When building solutions, the code we write can last many years. While casually browsing legacy code, we might wonder; is this still used? The missing documentation or outdated tests do not help us answer this. When asking around, nobody really knows. Let’s try to delete it, shall we? Then, chaos ensues: it turns out it is still used to support …

Read More »

Foojay Podcast #32: Philippines JUG

Once a month we talk about the history of a JUG and the people behind it. Today we travel to the Philippines. A new generation of developers has taken over the organization of the JUG. And in addition, they are also involved in the organization of the Softcon conference. Let’s talk about the history and future of the Java community …

Read More »

Generative AI and Java – hype or urgent reality?

It’s hard to grasp that it’s been about a year since Chat GPT and other generative AI tools burst onto the scene. We’re all still grappling with, well, everything about them. Whatever equilibrium we eventually find, it’s clear that the world is changing. The whole world mind, not just the IT industry. Olimpiu Pop and I have debated the situation …

Read More »

Python “magic” methods – part 2

Let’s continue our exploration of Python’s magic methods in this second part of the series. This part will focus on numbers and containers, i.e., collections. You can read the first part here. Container-related methods Python provides the usual containers, e.g., lists, sets, and dictionaries. You can use the following methods when you want to implement your own. Common methods Containers …

Read More »

Python “magic” methods – part 1

Java was the first language I used professionally and is the scale by which I measure other languages I learned afterward. It’s an OOP statically-typed language. Hence, Python feels a bit weird because of its dynamic typing approach. For example, Object offers methods equals(), hashCode(), and toString(). Because all other classes inherit from Object, directly or indirectly, all objects have …

Read More »

Putting JFR into Context

Have you ever wanted to bring your JFR events into context? Adding information on sessions, user IDs, and more can improve your ability to make sense of all the events in your profile. Currently, we can only add context by creating custom JFR events, as I presented in my Profiling Talks: More here: https://mostlynerdless.de/profiling-talks/ We can use these custom events …

Read More »

GlassFish Embedded – a simple way to run Jakarta EE apps

A long-time GlassFish user and active member of the GlassFish community, Jan Blavins, shares how he uses GlassFish Embedded to take advantage of some of its unique features compared to traditional application servers. I’ve been asked by the Eclipse GlassFish project to say a few words about how I use GlassFish Embedded. The GlassFish project is pretty active these days, …

Read More »

Controlling JIT Compiler Overhead to Avoid CPU Autoscaling

Today’s modern, containerized, elastically scaling Java clusters often rely on CPU utilization as the main trigger for scaling out new instances. Imperfect as this metric may be, it is ubiquitous to scale out new instances based on CPU utilization going over some limit. Often that limit is surprisingly low, somewhere around 40 to 50%. Azul Platform Prime replaces OpenJDK’s HotSpot …

Read More »

JavaFX Links of October 2023

Sponsored Content State of Java Survey The Authoritative Java Study Conducted by the Only Vendor 100% Focused on Java Download (For Free) Here! Thanks to the Devoxx conference, there are many hours you can spend on JavaFX-related videos! But as every month, there is a lot more to read and learn about JavaFX… Have fun with this overview of the …

Read More »

Everything Bad in Java is Good for You

Everything Bad is Good for You is a pop culture book that points out that some things we assume are bad (like TV) have tremendous benefits to our well-being. I love the premise of disrupting the conventional narrative and was reminded of that constantly when debating some of the more controversial features and problems in Java. It’s a feature, not …

Read More »