#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"

Pflaumenstrudel mit Mandel-Zimt-Streuseln

Dieses uralte Rezept hat meine Frau aus einer BRIGITTE-Zeitschrift gerupft. Es ergibt einen sehr sehr leckeren Strudel. Eigentlich bin ich kein Freund von gebackenem Obst. Aber dieser Strudel bildet da eine Außnahme. Er ist knusprig, süß, nussig und zimitg. Perfekt für Herbst und Winter.

Zutaten:

  • 2 Rollen fertiger Blätterteig auf Backpapier
  • 500g Pflaumen
  • Für die Streusel:
    • 150g Mehl
    • 125g Zucker
    • 120g Butter
    • 100g gemahlene Mandeln (Haselnüsse tuen es auch)
    • 30g Mandeblättchen oder Mandelstifte
    • 1 Prise Salz
    • 1 1/2 Teelöffel gemahlener Zimt
  • 60g Butter
  • 4-6 EL Pflaumenmus

Zubereitung

Den Backofen auf 200ºC vorheizen. Die Butter für die Streusel weich machen (entweder im Wasserbad, oder vorsichtig in der Microwelle). Alle Zutaten für die Streusel in eine Rührschüssel geben und mit Knethaken des Handrührgerätes vermischen.

Die Pflaumen waschen, halbieren und die Steine entfernen.

Den Blätterteig auf einem Küchenhandtuch oder Backpapier ausrollen. Mit der zerlassenen Butter dünn bestreichen. Dann mit dem Pflaumenmus bestreichen, dabei an den langen Kanten ca. 5cm zum Rand hin Platzlassen. Nun die Streuselmasse gleichmässig dünn auf dem Pflaumenmus verteilen (wieder zum Rand hin 5cm frei lassen). Anschließend die Pflaumenhälften auf den Streuseln gleichmässig verteilen.

Nun den Blätterteig vom Rand her mit dem Küchentuch zusammenrollen. Vorsichtig, damit dabei keine Löcher im Teig entstehen. Die beiden Blätterteigrollen mit der Teignaht nach unten auf ein Backblech mit Backpapier legen. Die Oberfläche noch einmal mit flüssiger Butter bestreichen und ab in den vorgeheizten Backofen.

Nach ca. 35 Minuten sollten die beiden Rollen schön braun und knusprig sein. Abkühlen lassen und genießen. Vanilleeis und Schlagsahne passen sehr gut hierzu.

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.

New York Cheese Cake

Dieses Rezept habe ich aus meinem alten Blog exhumiert … wollte den Kuchen backen und hab das Rezept nirgendwo anders finden können. Backup sei Dank konnte ich den alten Beitrag aus dem DB-Backup kratzen 😉


Nachdem ich am letzten Wochenende mal den New York Cheese Cake als Backmischung probiert habe musste ich dieses Wochenende gleich nochmal einen “ordentlichen” probieren. Die Backmischung war eine echte Enttäuschung. Nach meinem Verständnis muss der New York Cheese Cake (NYCC) richtig fett sein. Man muss nach einem Stück fix & fertig aber glücklich sein. Bei der Backmischung scheute man offenbar vor den Kalorienangaben zurück und hat das ganze nur halbherzig umgesetzt. Der Kuchen erinnert gerade mal so an eine NYCC.

Daher hier mal mein Rezept:

Continue reading

Rezept: Gulasch

Mir ist aufgefallen, dass die Deutsche Küche in der Gastronomieszene sehr reduziert ist. Man bekommt vielleicht ein Schnitzel (OK, das ist österreichisch) und im Hofbräuhaus ne Schweinshaxe. Aber das war es dann auch schon.

Dabei gibt es doch so viel mehr was die meisten noch von früher kennen. Bei uns zu Hause gab es z.B. am Sonntag des öfteren Gulasch mit Klößen und Rotkohl. Ein sehr leckeres Gericht welches noch dazu sehr einfach zuzubereiten ist.

Zutaten

Bitte kauft nur Bio bzw. ökologisch/nachhaltig und fair produzierte Zutaten. Das schmeckt erstens besser und zweitens sorgt es dafür das alle an der Produktion beteiligten auch davon Leben können und i.d.R. die Umwelt weniger belastet wird.

  • Ca. 1kg Gulasch Fleisch
    • Gibts oft schon fertig in Stücken von 2-3cm Größe geschnitten
    • Kann gemischt von verschiedenen Tierenarten (Rind, Schwein, Strauss etc.) sein
    • Sehr lecker auch als Wildfleisch-Variante
  • Ca. 500g Möhren
  • Ca. 150g Tomaten
  • Ca. 30g getrocknete heimische Pilze (optional)
  • 1 Teelöffel Senf (optional)
  • 1 Knoblauchzehe (optional)
  • Salz nach Geschmack (ca. 5g)
  • Öl zum Anbraten (z.B. Olivenöl)

Zubereitung

Zuerst sollte man das Fleisch abwaschen und gut abtrocknen. Ich weiss das klingt nervig. Hat aber seinen Grund. Am Fleisch haftet oft noch Fleischsaft in dem sich gerne Bakterien vermehren. Durch das Kochen werden die zwar in der Regel abgetötet, aber je weniger davon im Topf landet, desto besser.

Das Abtrocknen ist wichtig, da wir beim Anbraten Röstaromen (das ist die brauen Kruste die sich beim Anbraten bildet) erzeugen wollen. Diese entstehen nur bei hoher Temperatur. Ist das Fleisch zu nass, dann kocht lange Zeit nur das Wasser und gart das Fleisch. Aber es wird nicht gebraten. Wir wollen das Fleisch aber anbraten um den Geschmack heraus zu kitzeln.

Die Möhren waschen und in ca. 2-3mm Scheiben schneiden. Tomaten würfeln, Knoblauch nach Belieben pressen oder auch in kleine Scheiben schneiden.

Das Öl in einem großen Topf oder Bräter heiß werden lassen (es ist heiß genug, wenn ein Holzlöffel den man rein hält kleine Blasen bildet.) und dann das Fleisch dazu geben. Das spritz und zischt ordentlich, also für Spritzschutz sorgen. Immer mal wieder umrühren, damit die Fleischstücke von allen Seiten ein bisschen braun werden.

Sie müssen nicht durchgebraten werden, da sie ja ohnehin noch etliche Zeit kochen werden.

Fleisch scharf anbraten

Nachdem das Fleisch angebraten ist, gibt man zunächst ca. 1L Wasser hinzu. Dann alle anderen Zutaten hinzufügen kocht das ganze nochmal auf. Nun die Hitze reduzieren und das ganze ca. 2-3 Stunden leicht köcheln lassen bei geschlossenem Deckel.

Zwischendurch immer mal wieder umrühren damit nichts am Boden ansetzt und anbrennt. Deswegen auch bei geringer Hitze köcheln lassen, da dann die Gefahr des Anbrennens nicht so groß ist. Auch abschmecken kann man zwischendurch. Bei Bedarf etwas mehr Salz oder noch Wasser hinzufügen. Auch die anderen Zutaten können in ihrer Menge variiert werden. Das Rezept ist ziemlich gutmütig und nimmt es mit den Mengen nicht so genau. Am Ende ist es eigentlich immer lecker.

Fertiges Gulasch mit Klößen

Nach 2-3 Stunden sollte das Fleisch noch nicht Auseinanderfallen aber denn so weich sein, dass man es mit der Gabel zerteilen kann. Das Gemüse ist ebenfalls sehr weich geworden.

Dazu passen wie gesagt Klöße aber auch Kartoffeln oder sogar einfach nur eine Scheibe Brot. Wer die Stücke in der Soße nicht mag, kann auch das Fleisch rausfischen und dann die Soße durch ein Sieb reiben. Dabei löst sich das restliche Gemüse auf und es bleibt eine sehr würzige aber stückfreie Soße übrig.