Jan-Lukas Else

Thoughts of an IT expert

Published on in 💬 Micro
📍 Lübeck, Schleswig-Holstein, Germany

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

Another day, another bike tour 🚴

Published on in 💭 Thoughts
Updated on

Another day, another bike tour. Today’s tour is on the same route as my planned tour between my two apartments. The first half of the tour was easy regarding elevation, the second parts challenging. But I made it, and I didn’t even have to get off the bike to walk instead of biking. 💪

🖼️🗺️ 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

My June ‘24 in Review

Published on in ✍️ Posts
Updated on

Another month has passed and with it the first half of 2024. So on this cool (after a few hot days) evening, it’s time to take a look back at the past month.

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

First tour with my new bike

Published on in 💭 Thoughts

Yesterday, I finally took my new bike for a longer ride. Instead of 30 km like the last time, this time I chose another way about 36 km the other way along the river. And instead of getting on the train back home, I went both directions with pure muscle power.

🖼️🗺️ View

Published on in 💬 Micro
📍 Fuhsekanal, Germany

Perfect way to unwind after a stressful day. 🌳

🖼️ View

Why I have a minimal website theme

Published on in 💭 Thoughts
Updated on

Wouter Groeneveld wrote about his new website theme. His old one was too minimal for his taste, and so he decided on a more fancy theme.

View

Next

Jan-Lukas Else