LATEST POSTS

fzkill: Fuzzy Process Killer for Your Shell

I don’t know about you, but for me, killing processes from the command line always involved a ritual: run ps aux, scroll through output, find the target, copy the PID, then kill it. Or maybe grep for a pattern, parse column 2, and hope I picked the right one.

Stop Using AI to Fix Garbage Interfaces - Build Better Ones

We’re slapping AI assistants on broken systems and calling it innovation. Booking tickets, ordering food, hailing rides — all the places where AI is supposed to “help” are just UX graveyards we’ve created. You don’t hand over booking a flight to an AI because it’s beneath you — you do it because it’s a multi-hour nightmare.

Building a Retro-Styled Blog with Windsurf

I just vibe-coded this blog with Windsurf, really. The initial prompt was “Build a personal developer blog for github pages. Use 80th era style.” However, it came up with such eye-popping design that we had several iterations until converging to this.

IJ Conference 2025 is over

Had a lot of fun, got some interesting ideas. Trying to go to sleep now, while the party music is still booming somewhere below. Next week a break, then another week of KubeCon, where I’ll man the booth.

Kubernetes Trick: Using the watch Command

If you prefer to work with Kubernetes from the command line, you‘ve probably faced this problem. You’ve installed some application in a Kubernetes cluster using kubectl apply or Helm. How do you now follow what’s going on with the installation? Did the application start successfully, or did some Pod fail?

You Should Avoid Debugging

Disclaimer: debugging is one of the most important techniques in the toolbox of every software developer. Investigating issues in your code by interspersing it with “print” statements or slightly changing it until it works is rarely a good solution, so “learn how to debug” is the best advice you can give to a less experienced developer.

Why You Should Learn Functional Programming: Type Classes vs. Interfaces

In this article, I’ll describe a cool concept of functional programming, type classes, on the example of the Haskell programming language. I’ll start by providing some Java examples and go through the limitations of the Java language and its object-oriented paradigm. I will then describe how those limitations are lifted when moving into the functional programming world.

Principles of Great Code Review

Whether you support an open-source repository and need to accept PRs once in a while, or are involved in the code review process for your company’s project, doing a good code review is hard. Depending on your dedication, it may take up to half of the time that was spent by the author of the code on the actual implementation.

How long does a line of Java code execute?

You may wonder how long a particular line of Java code executes. If this line is part of your code, it’s easy to find out by putting System.currentTimeMillis() calls before and after the line and finding the difference. But what if this line of code is part of a library or a framework? You could use a profiler, but a quicker and easier way might be to use breakpoints in IDEA.

Kotlin: Type Aliases and Inline Classes

The Kotlin programming language has two distinct features that may be used for similar purposes. Those are inline classes and type aliases. You could use them to improve code clarity and type safety, but what’s the difference between them? This is the topic of this article.

Compressed Kafka Topics

Text messages may consume quite a lot of space in Kafka topics. However, text may usually be compressed with a high ratio, so sometimes it makes sense to enable topic compression. In this article, I’m going to show how easy it is to set up compression. I’m also going to check out the practical difference between compressed vs. uncompressed topics.

The Most Important Concept of Object-Oriented Programming

As it grows, any codebase becomes harder to maintain. One of the ways to solve this problem is to use Object-Oriented Programming. There’s quite a lot of sources of information on how to write clean and nicely structured object-oriented code, and they all put stress on different concepts, sometimes even inventing their own.

Solving issues with installing the "Real World OCaml" prerequisite libraries under Mac OS X

I’ve run into some troubles installing the «Real World Ocaml» prerequisites under Mac OS X Yosemite. The installation process is described on the books’ wiki here. I’ve found little help by googling the error messages, which possibly means they could be very specific to my installation. So I’ve decided to share my experience in case someone runs into similar issues.
    At one point, the instruction advises you to install some libraries that are used throughout the book, by issuing the following command:

Creating the simplest HTTP server with basic authentication using node.js

In this article I will show you how to create the simplest possible HTTP server with basic authentication in node.js. I have to warn you though, I needed a quick and dirty solution for testing purposes, so this is definitely not for production use. You should at least keep hashes of user passwords, not plaintext passwords themselves, and use digest authentication as a more secure method.
        First, install the htpasswd module globally:

Sending large attachments via SOAP and MTOM in Java

Sometimes you need to pass a large chunk of unstructured (possibly even binary) data via SOAP protocol — for instance, you wish to attach a file to a message. The default way to do this is to pass the data in an XML element with base64Binary type. What it effectively means is, your data will be Base64-encoded and passed inside the message body. Not only your data gets enlarged by about 30%, but also any client or server that sends or receives such message will have to parse it entirely which may be time and memory consuming on large volumes of data.

Of Domain Modeling, Separation of Concerns, and How the JPA Annotations Fail at Both

Not all of the JPA annotations are actually about mapping the entities to the database, or even about persistence at all. Some of them are intended to instrument the Java language for better modeling of the domain. Here’s a simple example of two domain classes that are somehow associated with each other (accessor methods are omitted for clarity):

Displaying Maven Project Version In Your Web Application

If you need to display the Maven pom project version of your web application on its web pages, the easiest way to do this is to use the standard Maven resource filtering functionality. Say we have the following main index.html page, and we’d like to place the pom version in the title of the page:

Integrating DBUnit with Spring TestContext Framework

The Spring Framework 2.5 came with a new TestContext framework which made integration testing of database code a lot easier. It provided annotations to declaratively specify the application context to execute your test in, annotations to mark the transactions for test methods, and also some base test classes for JUnit and TestNG. In the following article I will describe an approach for integrating the TestContext framework with the DBUnit framework, which in turn allows you to initialize the test database before test and verify its condition with the expected dataset after the test is complete.