WezTerm projects selector
April 04, 2025 #productivity

Personally, I like WezTerm for using lua configs instead of boring json/yaml/toml files, and for the powerful and configurable multiplexer. In this post I'll show you how to create a fuzzy project selector that launches a named workspace, splits a window and executes predefined commands.

thumbnail

more
Complete guide to Java Stream API in pictures and examples
February 16, 2025 #java

Since the release of Java 8, I almost immediately started using the Stream API, because I liked the functional approach of data processing. I wanted to use it everywhere, so I began developing my own library, which brings a similar approach to earlier versions of Java, specially for Android. I was also interested in the stream internals. Over time, I've accumulated enough experience, and now I'm eager to share it.

In this article, along with a description of streams, I provide visual demonstrations of how operators work, as well as examples and self-checking tasks. It also covers new features related to streams in Java 9+.

more
Geotagging is easy. OpenLayers
January 14, 2025 #openlayers #javascript #maps

I've always found it tedious and difficult to display stuff on maps. To understand the API, you need examples that aren't always accessible because they require a token to display and interact with the map. The token has to be obtained and hidden from other people's eyes.

But then I thought, why do I need proprietary Google Maps when there is OpenStreetMaps? I searched for APIs, came across OpenLayers, opened examples and was surprised by their number and simplicity.

In this series of articles, we will explore OpenLayers, display photo thumbnails on a map, add clustering, and finally create a Rust application that collects geodata and thumbnails from photos and generates a map.

more