RSSAmplifier

Blog

/home/robert

Recent content on /home/robert

auch.coolRSS feed ↗33 posts

Latest posts

Clickhouse: Import compressed JSON fast

The MVG Observatory Project collects real-time departure data from Munich’s public transport system. The data is organized hierarchically: the top level contains date-based folders, each containing subfolders named after station IDs. These station folders hold multiple JSON files that capture departure information throughout the day. Each station’s data is stored in two types of files:…

Enten 🦆

Fly with Sensible Photo Equipment

I got dragged into the rabbit hole of taking analog photos about a year ago and enjoying it since. But when you want to board a plane with your camera and a bunch of film rolls you might ask yourself: What to do with it during the x-ray at the security check. Will it harm or destroy my film? Film condition This concern is valid for a film that is either new or exposed and winded back which…

TIL: 'dot_clean' in macOS

When switching between multiple systems including macOS you may have notices thoses strange looking files starting with ._ . They regularely break Switch firmware upgrades and might be in the way during other filesystem operations as well. There are multiple solutions out there in the wild including removing them or moving them away using rsync . The most convinient way on macOS is using the…

Advent of Code - RocketLang Edition

This years Advent of Code is a little special because I use my own language RocketLang to solve the puzzles. I’ll probably explain this in a seperate post at some point so lets have a look at the first puzzle of the year: Problem The task is to calculate the amount of calories they are carrying. For example: 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000 This shows us 5 elves with…

🪴 Blumentopf - Automated Plant Watering #2

This post misses a lot of technical details as I reconstruct the changes and implementations out of my memory and my image archive. The latest Blumentopf iteration will contain all technical details you need. In 2020 I remembered a Self-Watering Planter I printed a few years ago and thought it would be nice to reuse this one to replace my chunky prototype with a cleaner and more aesthetic version.

🪴 Blumentopf - Automated Plant Watering #1

This post misses a lot of technical details as I reconstruct the changes and implementations out of my memory and my image archive. The latest Blumentopf iteration will contain all technical details you need. Four years ago I started working on a never ending side project with which I wanted to automate the watering of some of my plants. I fiddled around with a few modules from Tinkerforge which I…

Sous Vide Steak 1.0

Recently we tried out sous vide cooking and needed quite some time to find well-sounding parameters in the internet or cookbooks. To preserve the tweaks we did to them I wanted to put them up here, also some of you might want to give it a try too. Baseline Parameters The following parameters can be used for a cold start and might need adjustments depending on your tools and taste.

Books

I like books and sometimes I even read them! Below you can find a unsorted list I’ve read and enjoyed: Die Redaktion by Benjamin Fredrich Na Servus!: Wie Ich Lernte, Die Bayern Zu Lieben by Sebastian Glubrecht At the Edge: Riding for My Life by Danny MacAskill Herr Sonneborn geht nach Brüssel by Martin Sonneborn Elon Musk: Tesla, SpaceX, and the Quest for a Fantastic Future by Ashlee Vance…

Food & Drinks

Places to eat or drink that I enjoyed and found above average. Canada Montreal The Coldroom | Bar Jatoba | Restaurant Germany Munich Azuki | Restaurant Bar GARÇON | Bar Call Soul | Bar Pacific Times | Bar sansaro | Restaurant Schreiberei | Restaurant Iceland Akureyri Cafe Berlin | Breakfast Rub23 | Restaurant Reykjavik Grillmarkaðurinn | Restaurant ROK | Restaurant Tides | Resturant Vík Berg…

Robert

I am tinkering on stuff that runs the internet at Mozilla . Previously I broke things in parallel on a lot of servers in a hosting company . I have both unconventional and practical solutions for every challenge, with a preference for scalability and general applicability. I do temporary things that live forever occasionally too. Lost my heart to Ruby, love photography, mountain biking and…

Shenzhen I/O #3 - Diagnostic Pulse Generator

Another day another Shenzhen I/O puzzle. In order to test some of our new manufacturing equipment, we need a pulse generator with certain requirements (specifications). However, instead of buying one at the market price, I thought we could simply create our own. For this project you will need to make use of conditional execution . Please continue your study of the language reference. As a…

Shenzhen I/O #2 - Control Signal Amplifier

Today we’re doing another Shenzhen I/O puzzle. As this is the second task, the puzzle is again quite simple. As a reminder, we do have the following command documentation: The task is to amplify a signal. As we can see from the verification tab the output has to be higher than the input - twice as high, to be precise. This seems fairly easy, we just need to multiply the input signal with 2…

Printer of Catan #1

I recently stumbled over the Catan style boardgame 2.0 from Dakanzla and thought it would be nice to print my own version of it. Doing this I noticed how hard it was to collect all information, find the right models for the version I wanted and finally printing it. Therefore I am writing this post helping others to create their version of Catan. This is an ongoing series of posts during the…

Shenzhen I/O #1 - Security Camera

A few days ago I tried out SHENZHEN I/O . It is some kind of puzzle game in which you need to solve little tasks using assembler and programming a microcontroller. The solution is then ranked in three categories and compared to friends: Product Cost: depends on the hardware you did choose Power Usage: Is increased with more complex and expensive commands Lines of code There is no tutorial. All you…

Advent of Code Day #6

Day 6 is again pretty nice to solve with Ruby. Today it is all about customs declaration. We again have different groups seperated by a newline containing multiple lines with characters. Each line represents a person and each character represents a different question answered with “yes”. abc a b c ab ac a a a a In this example we do have four groups of people. The first group only has…

Advent of Code Day #5

Day five is all about the airplane seating. One seat it represented by something like this: FBFBBFFRLR . The first eight characters are for the row, the last three for the seat. Part 1 We need to find the highest seat id to solve the first part. The seat id is calculated with: row-id * 8 + column . For the rows you start with a range of 0 to 127 . F means use the first half B means use the last…

Advent of Code Day #4

In day 4 we need to deal with passports (yay!) and check if they are valid for given criterias. The passworts do have multiple fields ( key:value ) and are divided by a newline. ecl:gry pid:860033327 eyr:2020 hcl:#fffffd byr:1937 iyr:2017 cid:147 hgt:183cm iyr:2013 ecl:amb cid:350 eyr:2023 pid:028048884 hcl:#cfa07d byr:1929 hcl:#ae17e1 iyr:2013 eyr:2024 ecl:brn pid:760753108 byr:1931 hgt:179cm The…

Advent of Code Day #3

In day 3 you have a ever repeating map with trees and free spaces. You move over this map and have to count how many trees ( # ) you will hit. Part 1 Given is a pattern in which you move right and down. In part 1 we start in the top left corner and always move 3 right and one down until we reach the last line. ..##.........##.........##.........##.........##.........##....... --->…

Advent of Code Day #2

In day 2 you were given a set of rules to be parsed first. The looked like this: 1-3 a: abcde 1-3 b: cdefg 2-9 c: ccccccccc Each line contains two numbers, a character and a password Part 1 In part 1 you have to check if the given character appears at least and at most times given by the numbers. Each password that matches this behavior is considered valid. Part 2 In part 2 you need to check if…

Advent of Code Day #1

First day was fairly simple. You need to find the two-pair combination (part 1) that sums up to 2020 and the three-pair combination (part 2). Then simply multiply each of the numbers within the combination. The result is the solution for the puzzle. Unfortunately due to an outage day 1 will not result in any points on the leaderboards.

Emgithub shortcode

During the upcoming AoC I want to post some small posts about each little puzzle. In preparation of this I was looking for a way in hugo to include and highlight source code from GitHub without copying it to each article. I discovered emgithub and wrote a little shortcode for it and you can find it here .

Let's encrypt - Free, automated and open

Wie benutzt man eigentlich Let's encrypt?

Wenn Limonade in den Betatest geht..

Heute hab ich mich mal daran versucht Limonade herzustellen. Dabei wollte ich als Geschmack vorallem Ananas, Limette und Grenadine haben. Nach einer Weile klicken im Internet hab ich eine grobe Vorstellung davon gehabt was ich denn so alles brauchen werde. Dann gab es noch einen Tipp des Diners meines Vertrauens. Was brauchen wir denn alles: 100 ml frischer Limettensaft (aus etwa 3 Limetten) 200…

Moar speed! moar! Geschwindigkeit mit netcat testen

Wenn man mal wissen möchte wie schnell das Netzwerk eigentlich ist oder ob ein Anbieter drosselt - und wann - wird meist eine Datei heruntergeladen. Nun war aber das Problem, dass diese Datei irgendwann einmal zuende ist - möchte man nun ‘unendlich’ viel Daten versenden um die Belastung lange aufrecht zu erhalten gibt es da sicherlich viele Möglichkeiten. Der erste Gedanke war,…

Trafficlimit mit nginx

Will man nur ein grobes Limit für den Webservertraffic setzen, so bietet es sich an direkt die Funktionen von nginx zu nutzen. Man kann sehr einfach in einem Sever/Location Block limitierungen setzen. limit_rate_after 300m ; limit_rate 5000k ; Das setzt ein Limit auf etwa 50MBit wenn mehr als 300MB von einer(!) Verbindung aus geladen werden. Die Werte muss natürlich jeder für sich selbst…

Foobar statt Facebook - HTML spoofing mit Python

Ich habe mich mal etwas mit der ‘Sicherheit’ beim ausliefern von Websiten beschäftigt und wie man dort am besten manipulieren kann. Umso mehr Kontrolle man im Netzwerk hat, umso weniger braucht man natürlich beachten. Generell braucht man aber eigentlich gar keine Kontrolle und arbeitet einfach mit vielen verschiedenen Methoden zusammen. Spätestens mit arpspoof ist man dann Gateway und…

Netflix: Der erste Eindruck

Seit dem 16.09.14 ist Netflix nun auch in Deutschland erreichbar. Hochgelobt und heiß erwartet kann man nun auch Filme und Serien in Deutschland über das Streamingportal sehen. Ich habe mir schon im Vorfeld das Angebot in der US-Version angeschaut und hatte, wie viele andere auch, bedenken, dass das Angebot hier in DE doch stark verschmälert sein wird. Wer sich jetzt sorgt der sei beruhigt, so…

Buffalo Linkstation entbricken

Heute hab ich es endlich geschafft meine fullbricked LinkStation zu retten. Nach einigem hin und her gab es dann vom Support doch mal eine sinnvolle Anleitung. Ich drösel das hier etwas auf, so das ihr eigentlich direkt loslegen könnt. Was genau war das Problem? Die LinkstationDuo (LS-WXL) speichert die Daten in irgendeinem völlig kaputten Dateisystem. Noch schlimmer ist eigentlich nur, dass…

Timelapse selber machen - Die Location

Hallo Zusammen, heute möchte ich mich mal einem anderen Thema widmen. Bis jetzt gibt es hier ja nur Beiträge über den Raspberry Pi, das wird sich heute ändern. Da ich auch in der Fotografie Hobbymäßig unterwegs bin werde ich hier in Zukunft auch einiges über meine Erfahrungen rund um meine Spiegelreflex posten. De Anfang soll hier mein bisher größtes Projekt machen. Direkt gegenüber meiner…

Raspberry Pi - AirPlay

Heute wollen wir uns einmal über die Medien-Tauglichkeit des Raspberry`s unterhalten. Die Apple-Jünger unter euch wird es gefallen - heute rüsten wir den Rasperry mit AirPlay aus. Alles was wir dazu brauchen: Raspberry Pi, Netzwerkkabel oder USB-Wlan Stick, 3.5 Klinke Soundsystem (für mehr Qualität bieten sich USB Systeme an), ein iDevice oder iTunes. Schritt 1 - Vorbereiten Als erstes…

Raspberry Pi - Fernsteuern

Im ersten Beitrag ( hier ) haben wir uns bereits ein Raspbian installiert. Da man nun auch die Größe des Raspberry nutzen möchte und ihn nicht immer an einem Monitor mit Maus und Tastatur betreiben möchte, richten wir im folgendem Beitrag den Fernzugriff ein. Als ersten suchen wir für die Pakete nach neuen Versionen und installieren diese falls vorhanden ganz einfach per apt update apt upgrade Die…

Raspberry Pi - Die ersten Schritte

Heute wollen wir uns einmal um die minimal Installation eines Raspbian`s auf dem Raspberry kümmern. Dazu brauchen wir ein paar Dinge: Raspberry Pi SD Karte + Kartenleser HDMI fähigen Monitor / Fernseher USB - Tastatur Netzwerkkabel Schritt 1 - Die SD Karte vorbereiten Als ersten formatieren wir die SD Karte ins FAT32 Format. Danach laden wir uns den Raspbian Installier herunter ( raspbian.org )…