Jan-Lukas Else

Tech, life and everything else

2020


Published on in 💬 Micro

Mastodon doesn’t support “Article” posts and only shows the summary from them. But not only that, it doesn’t seem to unescape escaped HTML and that’s why articles from my blog looked so weird on Mastodon, while they worked fine on Pleroma and Microblog.pub. I now fixed the escaping. My Hugo module for ActivityStreams representation is available on Codeberg.

View

Published on in 💬 Micro
Updated on

I migrated from a self-hosted mailcow-dockerized to the hosted version of Mailcow. It’s just because I don’t want to care about keeping everything up-to-date, secure and backup-ed. Now I have some stricter limits, but in the past I didn’t reach that limits and I doubt I will reach them ever. To migrate all emails, I used the online version of imapsync.

To answer the question why I didn’t migrate back to Fastmail (which I used previously): With Mailcow I have the possibility to create up to 20 different mailboxes instead of just one. Furthermore, Mailcow is hosted in Germany and since I am enthusiastic about the open source project, I would like to support the person behind it.

View

Opinions can change over time

Published on in 💭 Thoughts

Opinions can change over time. And since I often post opinions on my blog, I’ve added a feature to my blog theme that displays a warning message above posts that are over one year old (example).

View

Here WeGo, my favorite Google Maps alternative

Published on in 🔗 Links

Here WeGo is my favorite alternative to Google Maps. I know it would be better to support Open Street Maps, but Here WeGo (formerly Nokia Maps) also offers great navigation functionality and real-time traffic information. It also seems to be relatively privacy friendly. With the app you can also download maps for offline use. Here Technologies is majority-owned by a consortium of German automotive companies (Wikipedia), so I hope they make sure that there maps have a great quality and so far (I use this service since 2015) my assumption has been confirmed.

View

I already have enough devices

Published on in 💭 Thoughts

One problem that can occur when you are in a technology-focused bubble is that you often feel the desire to buy new hardware, even though you already have everything you need.

View

Pure CSS Lightbox in Hugo theme

Published on in 👨‍💻 Dev

Hugo themes have the option to override the default rendering of Markdown images by using “Markdown Render Hooks” since version 0.62.0. By creating a file in layouts/_default/_markup named render-image.html it is possible to use a custom template for rendered images. This gives a lot of flexibility. I just used that flexibility to create a lightbox with pure CSS (without using JavaScript, like many lightbox implementations do). After clicking (or tapping) on an content image, you will see it filling the browser view. Another click brings you back to the content.

View

Published on in 💬 Micro

I just added a page that lists all the photos from this blog. It’s my alternative to using Instagram. Everyone can view my photos without the need to create an account, seeing advertisements and getting tracked. It was also a little challenge getting Hugo to filter and list all posts.

View

Friends must be free to choose whatever software and service they want

Published on in 🔗 Links

This rant is great!

View

Testing uMatrix

Published on in 💬 Micro

I’m now trying to get used to the browser extension uMatrix. It’s a bit more advanced than uBlock Origin by the same developer and it let’s me select on which domains to allow or block cookies, css, scripts etc. I enabled the setting to block JavaScript by default, because I noticed that especially news sites sometimes load much faster (or at all) with JavaScript disabled and of course this reduces the amount of tracking a lot. Do you have experience with uMatrix and any tips on how to make the most use out of it?

View

Published on in 💬 Micro

You’re right, I just took another look at the specs and corrected the template and added the “mediaType” attribute and set it to HTML. Now microblog.pub shows the summary correctly (even with rendered HTML), Pleroma shows the content correctly (without markup), but Mastodon shows the raw HTML code of the summary. :thinking_face:

View

Jan-Lukas Else