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!
💬 Micro: 2020-04
This section is for short notes, thoughts or IndieWeb interactions.
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.)
I think I have never written so many emails during my entire studies as in the last few weeks. But hey, I like to write emails and I’m really glad that my studies are continuing despite Corona (and therefore without any attendance events). Especially the flexibility that I can schedule most things freely is really good. I have not yet quite decided how I will proceed after my studies, but the idea of correspondence courses (possibly alongside work) sounds quite tempting.