Jan-Lukas Else

Tech, life and everything else

💬 Micro

This section is for short notes, thoughts or IndieWeb interactions.


Published on in 💬 Micro
📍 Südstadt, Kassel, Hesse, Germany

Walking in the sunny park is like balm for the soul. 😌

🖼️ View

Published on in 💬 Micro
📍 Südstadt, Kassel, Hesse, Germany

Same spot as always. 📸

🖼️ View

Published on in 💬 Micro

Hello, little deer! 👋

A little deer standing in a green garden

🖼️ View

Before going to sleep, a quick walk around the block. 🌔

🖼️ View

Published on in 💬 Micro
Updated on

It took me so long to find the cause of a memory leak in GoBlog. I thought it was smart to use a cache for prepared database statements. But I didn’t read the documentation and didn’t know that prepared statements need to be closed when they are no longer needed to free up the allocated resources. 🤦‍♂️ I finally fixed it by removing the prepared statement cache altogether. Less code, fewer problems in the future, and the cache wasn’t much of an improvement anyway. I also learned about the usefulness of memory profiling.

View

Published on in 💬 Micro

I have a question for the IndieWeb community: What can we do against Webmention spam, except filter it out, when it fails validation? I receive hundreds of invalid Webmentions a day, and even using a filtering DNS server doesn’t seem to help much. But I also don’t want to waste network traffic to access all those spam sites. Is there any good block list I can check first before doing the request for validation? I thought about Akismet, but the API has no such option to only check the submitted URL.

View

Early bird bike tour

Published on in 💬 Micro

I couldn’t sleep anymore, so I decided to do a little bike tour. It’s so quiet in the morning and I saw some new places in this town and its surrounding. Tomorrow I plan to do a longer trip again.

🖼️🗺️ View

Published on in 💬 Micro

It seems like I finally fixed a memory leak in GoBlog yesterday, that sometimes made my blog crashing. How? I used Anthropic’s new Claude 3.5 Sonnet to write me a new HTTP compression middleware that compresses HTTP responses using zstd or gzip when possible. I needed to instruct a few changes and modify some code lines as the initial implementation was wrong, but thereafter, it finally seems to work better than my original implementation that probably leaked some objects anywhere. Claude also helped me to write unit tests (which I adapted a bit, though) and increase code coverage.

View

Published on in 💬 Micro
📍 Brunswick, Lower Saxony, Germany

Perfect way to unwind after a stressful day. 🌳

🖼️ View

Published on in 💬 Micro

Even though I wonder how they finance it (reading their post suggests, there will be a paid option later), DuckDuckGo’s AI Chat is probably a good privacy-friendly way to try out the different LLM models for chats. You don’t have to register, you don’t have to pay, you don’t have to change settings that your chats aren’t saved or used for training.

View

Jan-Lukas Else