Category Archives: Uncategorized

#weeklyreview 03/23

Nerdkram

  • when adding new entries to .env for a docker-compose.yml .. make sure you put them also into the environment: section of your service to actually make use of them. Was searching for quite some time why my Minio didn’t properly made use of Prometheus …
  • Set up a playground for Homeassistent and ESPhome. Nice thing about ESPhome is, that it’s got readymade firmware for many microcontroller boards and one can just flash them via the Browser.
  • Mattermost has finally release their Mobile app in Version 2.x. Most notable feature is the support for multiple Mattermost servers. This is very important as the self-hosted Slack-alternative grew rather popular the last years and the likelihood that you have to use multiple is increasing.
  • tried out the new 7.51 firmware from the FritzLab for my ancient Fritz!Box 7490. Seems to have wifi issues with my setup. So I switched back after about 1 day

Sport

  • on track with running 2x per week
  • trying to get more rowing done if time permits
  • swimming in the lake at 1.5ºC water temp on Sunday

Sightseeing

  • visited the Museum Barberini in Postdam. Nice collection of famous impressionist pictures
  • stunning that most of the pictures didn’t even had protective glas. You could really see all the great details of the pictures. There were watch guards in every room though.
  • we used the VIP treatment and were able to get right into museum with the car.
  • on thursday I had to pick up my daughter somewhere in Neukölln. The usual route was blocked due to some blockage on the Ringbahn so I had to travel the U1 and U8 route in Neukölln. Quite a different world from Friedrichshain. There are so many small shops of different purposes. I wonder how they thrive at this size in this economy.

Product Management

  • one very important question for product managers to decide the priority of a certain feature is: “Whats the business value of this feature?”
  • It can be further specified with questions like “How exactly does this make our product better?”, “Which problem does it solve?”
  • If you don’t have a very clear answer to these questions, then you’ll have a problem with the delivery of that feature.

Books

Weather

  • finally some snow. at least for one day

#weeklyreview 02/23

nerd stuff

On monday my Mastodon server acted up. I noticed that images were not properly loading but only displaying a blurry preview. But not all of them, just some. I suspected issues with the Object Storage Provider IONOS that I had recently configured.

After some digging I found out that my host couldn’t resolve DNS names anymore. Somehow the resolver died. So I rebooted the whole machine … not remembering that I had unfinished business in /etc/fstab which shadow mounted my home directory causing new weird issues …

In the wake of blaming the external object storage provider I had started looking into open-source alternatives. Like open-source software to set up a self-hosted S3-compatible object store. Stumbled over minio.io and quickly did a test installation on one of my machines at home.

After fixing all the issue on my server and finishing the setup of minio, I was ready to test it on some real live services: my personal Pixelfed instance. Since I’m the only user on that one, I considered it a safe playground. After a few rounds of trail and error (Pixelfed documentation still gives me the shivers) I’ve got the configuration right and test postings worked as expected.

Ready for prime time

I had configured my Mastodon instance at https://hub.uckermark.social/ to use external object storage provider for media content. The reason is, that Mastodon caches all the media in posts it federates. This can grow to several gigabytes very quickly. The more users on remote instances you local users follow, the more content the Mastodon instance will cache.

I followed the article of Thomas Leister, admin of the Mastodon instance https://metalhead.club/ to configure the S3 compatible storage from IONOS. While that technically worked out, I wasn’t really happy with the IONOS administration interface. They currently do not show any metrics for the object storage nor the data transfer. That means, flying blind for using their service until the invoice arrives. They claimed to have a billing API where the data is supposedly available. I had a brief look at it and decided that I’m too lazy to go that route.

So when IONOS issued the warning, that my trial period will run out in a few days I have decided to switch also my Mastodon instance to my self-hosted object storage backed by Minio. I copied over the existing data from IONOS object storage using the Minio Command Client. That is really comfortable.

I’ve also hooked up my minio server to Prometheus and Grafana for insights into the usage

Screenshot of a Grafana Dashboard showing several metrics visualized as line charts. One pie chart is showing capacity.

Sports

To fight some of the kilos and the rust in general I’ll try to move more. Started that pledge with a run on Sunday. Wanted to start light with maybe 5 km to get back into it. Of course I overdid it with 10.99 km. Payed the price with sore muscles for 2 days.

While our weekly swim in the lake doesn’t count as much moving maybe, we still did it and I spent 3:12 min in the water. I’m heavily cursing at myself and the world when getting into the water. That part doesn’t get easier. But after 3 strokes of swimming thats forgotten and all that remains is the good feeling of beating oneself.

On Wednesday I finally sorted out my access to our office Gym and hit the rowing machine for 30 min and 7 km.

Friday another short round of running with 6.1 km.

For the coming week I found a partner to run hopefully more regular again here in Berlin at home. Lets see how that pans out.

Reading

Almost done with “The Dark Forest” by Cixin Liu. Memorable quote

The historical facts of the Middle Ages and the Great Ravine prove that a totalitarian system is the greatest barrier to human progress. Starship Earth requires vibrant new ideas and innovation, and this can only be accomplished through the establishment of a society that fully respects freedom and individuality.

The Dark Forest – Cixin Liu

Warp

In den vergangenen Wochen hatte ich mal Warp als Terminal getestet. Dafür gabs Einladungen und man musste sich da irgendwie für die Beta Anmelden. Anfangs sah das auch alles ganz schick aus, aber mir kam es schon gleich etwas komisch vor, dass da so ein Hype mit Einladung und künstlicher Verknappung gemacht wurde. Dann vielen mir einige Settings auf, die ich auch nicht mag. Z.B. das Warp als SSH-client eine eigene Implementierung nutzt, damit es im Output seine Blocks verwenden kann. Heißt für mich, das mein ganzer SSH-Traffic durch einen SSH-Client geht von einer Firma bei der noch nicht wirklich klar ist, welche Absichten sie hat.

Jedenfalls bin ich erst einmal wieder zurück zu iTerm2. Da weiß ich was ich hab 😉 Warp werde ich dennoch weiter aus dem Augenwinkel beobachten.

Searchtodon

Jan Lehnardt apparently had too much spare time over the holidays. So he did what Janl does and created a search engine for ones own Mastodon timeline: Searchtodon

This is based on the free Elk browser interface for Mastodon

#weeklyreview 01/23

Ok, let’s do this. If @assbach can do it (again) and @b30 anyway, then I should be able too, right?

Swimming

Of course we started the new year with swimming. Exactly as we closed the old year. Since it’s gotten really warm over new years even the 10cm thick ice that we were skating on shortly before christmas was completely gone.

Office

First day in the office was a slight fail. Went there early to hit the gym just to learn our access has been temporarily removed. That threw a spinner in my sports plan (haha, plan… who am I kidding?). So I went to the kitchen to get me a coffee from the office coffee machine. Fortunately I sense the cheesy smell before taking the first sip. The milk apparently got stale over the holidays. And since I was in early, the housekeeping hadn’t renewed that yet. And because those coffee machines are precious, they are secured with a lock. So I couldn’t fix it myself.

3D Printing

This weeks prints:

Reading

Still reading “The Dark Forest” – the second part of the Trisolaris Trilogy from Cixin Liu. This is the third time I’m reading this trilogy and it’s still very captivating for me.

Also fixed some mail configuration issues in the BookWyrm instance. Now Google Mail users should be able to receive mails again.

Computer Science

Kiddo made it into the next round of the national contest for computer science for young adults. He’s pretty excited about it and already started working on the new assignment. First task almost done.

Unfortunately he’ll not be able choose computer science as major topic in school. Since not enough pupil choose that topic and they wont open a major course with just 5 kids.

In the previous round of the contest only 430 kids participated. I find this pretty concerning. Every freakin’ job in this country depends more or less on devices or services provided by computer science. But apparently nobody seems interested to understand it or its foundations. One of course can’t blame the kids as the schools don’t really encourage them…

Bookmarks

some booksmarks I kept this week on Mastodon

Threads printer for Mastodon: https://thread.choomba.one/

Traefik Proxy not logging Source IP

As a hobby I’m providing a whole bunch of services on my machine. I’m not interested in user data or usage data. To protect the privacy of my users where possible, I’ve deactivated the logging of source IP addresses in my Traefik Proxy.

I’m using the following CLI parameters in my Traefik docker-compose.yml file to avoid that ClientAddr, ClientHost, ClientUsername and also the X-Real-IP HTTP header is logged:

      - "--accesslog.fields.headers.names.X-Real-Ip=drop"
      - "--accesslog.fields.names.ClientUsername=drop"
      - "--accesslog.fields.names.ClientHost=drop"
      - "--accesslog.fields.names.ClientAddr=drop"

Studio Ghibli Movie Stills

The fantastic Studio Ghibli is providing stills of their famous movies for personal use.
If you wanna download them to your local machine, try using this loop:

for movie in baron chihiro ged ghiblies howl kaguyahime karigurashi kazetachinu kokurikozaka laputa marnie mimi mononoke nausicaa ponyo totoro porco; 
do 
	for number in $( seq -w 1 1 50 );
	do 
		wget https://www.ghibli.jp/gallery/${movie}0${number}.jpg; 
	done
done

Just open a shell (Bash) on your OS and paste the code above. Assuming you have “wget” installed locally, this will download those movie stills (850 pictures at the moment).

Milchreis aus dem Reiskocher

Zuerst eine Warnung! Versuche nicht normalen Milchreis im Reiskocher zu machen. Das gibt eine Sauerei. Die Milch kocht über und versaut Dir Küche und Kocher.

Aber es gibt einen Weg für Faulpelze und gleichzeitige Besitzer eines Reiskocher dennoch soetwas ähnliches wie Milchreis zu machen. Und das geht so:

  • 1 Tasse Reis (Sushi-Reis, Milchreis)
  • 1 Tasse Kokosmilch
  • 2 Tassen Wasser
  • 1/2 Apfel
  • 1 Stange Zimt
  • 1 Prise Salz

Die Größe der Tasse spielt keine Rolle, wichtig ist das Mischverhältnis.

Zuerst schälen wir den Apfel und schneiden ihn feine Spalten. Auch das Kerngehäuse entfernen. Dann alle Zutaten in den Reiskocher tuen und das Program für normalen weißen Reis durchlaufen lassen.

Nach ca. 1h hat man sehr leckeren, duftenden Reis mit der Konsistenz und fast dem Geschmack von Milchreis. Den Apfel kann man auch durch andere Früchte wie z.B. Trockenpflaumen oder ähnliches ersetzen.

Ich glaub, ich Spinne

Dank meiner neuen Kamera (Danke Willi) und meines neuen 300mm Macro-Objektives (Danke Meike) kann ich nun aus sicherer Entfernung ganz dicht an Tiere heran.

Das hab ich gleich mal genutzt, um ein paar der Krabbler, Hüpfer und Flatterer bei uns auf der Wiese festzuhalten.

Zuerst lies sich ein Tagpfauenauge blicken

Tagpfauenauge

Gleich danach ein C-Falter. Keine Ahnung warum der so einen komischen Namen bekommen hat

C-Falter

Rings ums Haus findet man in letzter Zeit vermehrt die Amerikanische Zapfenwanze. Die läuft sehr langsam und sieht meistens irgendwie krank aus.

Amerikanische Kiefern- bzw. Zapfenwanze

Hummeln brummen schon den ganzen Sommer hier rum. Am liebsten auf den Diesteln oder den Kürbisblüten

Hummel

Wunderschöne Spinnen haben wir hier auch. Eine Wespen-Spinne ist hier gerade am Speisen

Wespenspinne

Last not least dann noch ein amtliches Grünes Heupferd. Diese ca. 6-7 cm grossen Heuschrecken machen ihrem Namen alle Ehre und jagen einem einen ganz schönen Schreck ein, wenn sie einen anspringen.

Grünes Heupferd

Wundersames Biotop

Der Teil der Uckermark in dem wir leben ist es wirklich sehr trocken. Der Boden besteht praktisch nur aus Sand mit einer hauchdünnen Humusschicht. Wenn überhaupt. Dort wo Bäume fehlen gibt es nur staubtrockene Heide.

Auch unser Grundstück sieht in weiten Teilen so aus. Wir haben es aufgegeben hier Rasen kultivieren zu wollen. Das erfordert einfach zu viel Pflege und unnatürlich viel Wasser.

Nur unser kleines Gemüsebeet bewässern wir jeden Tag. Daneben steht seit dem Frühjahr eine Plastikwanne mit ein bisschen Erde und bekommt auch immer etwas Wasser ab. Da sie ja geschlossen ist, bildete sich darin ein kleiner Teich. Ein paar Pflanzen konnten scheinbar mit der stehenden Nässe umgehen.

Jetzt am Ende des langen, warmen und trockenen Sommers hat sich in dieser Wanne ein richtiges kleines Biotop gebildet. Neben den obligatorischen Mückenlarven und ein paar Gelbrandkäfern habe ich auch drei Frösche entdeckt. Mitten in der staubtrockenen Heide trotzen sie hier Dürre.