I didnāt expect to see snow again this spring.

š¼ļøĀ View
Tech, life and everything else
This section is for short notes, thoughts or IndieWeb interactions.
I didnāt expect to see snow again this spring.

š¼ļøĀ View
I probably shouldnāt be posting articles at 11:30 at night. Somehow it happens to me too often that I make a mistake while publishing, like missing the title, posting in the wrong category on my blog or something similar. Go to sleep and donāt blog so late, Jan-Lukas!
While in the beginning I integrated almost everything directly into my hugo-micropub tool, I now build separate tools for new features that can be used independently (like this one or this). Most of them simply use the JSON Feed as a kind of API to get information about published articles. Not real microservices, but it goes in that direction.
Fortunately I have a pretty high traffic limit, which I would never reach with my VPS at Hetzner Cloud, but BunnyCDN now offers a new feature called āOrigin Shieldā, which can help to significantly reduce traffic to your own server by adding a second cache layer between edge server and the origin. Nice! š
It gets worse and worse⦠My spam folder collects more and more emails from some Chinese spammers who want to sell me masks against corona. No thanks, Iām not interested.
After reading this tutorial about how to mirror a Gitea repository to other Git hosting services like GitHub, I decided to follow a new strategy regarding my projects. I will use my main Gitea instance for all my public repositories and then mirror them on Codeberg and GitHub. I will also migrate projects from GitHub and Codeberg to my Gitea instance and replace the repos with mirrors. The first repo is this one with a mirror on Codeberg and a second mirror on GitHub.
This method gives me full control over my projects and I can create new mirrors or remove old mirrors at any time and I am not dependent on any service.
I played a bit with 11ty today and came to the conclusion to stay with Hugo for now. Much of what Hugo brings with it (multilingual websites, taxonomies etc.) has to be done manually. Sure, 11ty is much more flexible and everything is somehow possible, but somehow itās too much effort for me (at least for the moment). I have a working Hugo site and it would be best to stick with it for now and start thinking more about things I can blog about instead of just the site itself. And I should also focus on my studiesā¦
Or maybe I should build my own static site generator? š
Inspired by Henrique Dias and his āWatchesā page, I added such a site to my website too. Iām not using a tracking service to collect the data though, but write down everything manually. Although doing it automagically is pretty cool. I just try to keep things under my own control and donāt want to start to depend on yet another service.
For entries I try to link to The Movie Database, a more open alternative to Amazonās IMDb. When shows or movies are note available there, Iāll link to the streaming platformās detail page or another adequate website.
I watch a lot more movies and shows lately and so I want to keep track of it.
I finally took the time to fix the reading feature on my blog (the āRead to me, please!ā button below the title). Initially, I used the property textContent to get the text content from the DOM element, but I figured out that itās better to use innerText for this purpose. Read this article on the differences.
I also made the script to not block the rendering anymore by removing it from the critical request chain.
Some people donāt wear their mask over mouth and nose.
Thatās something I donāt understand at all. If some people wear masks, why donāt they wear them right? I see that sometimes when I go for a walk alone. People pass by me who have a mask over their mouth, but their nose is not covered.
In order to generally avoid the narrowness in the supermarket more, I now only go shopping once a week at most and drive to a supermarket that is much bigger and where one can keep more distance than in the supermarket around the corner. Another advantage: The offer is also much better and there are still more of the things I want to buy. (But they didnāt have toilet paper either.)