All Posts
Flutter Yjs Webview
- 2024-10-01
We’re going a crazy route: A Javascript API provides persistence, replication and conflict resolution with Yjs. Flutter provides a nice UI (as well as speech recognition) and talks to Yjs using flutter_inappwebview.
Yjs Deep Dive
- 2024-09-26
These are my notes while prototyping and researching Yjs for our shopping list app.
React CRDTs
- 2024-09-25
While browsing https://discord.electric-sql.com/ I stumbled upon Søren Bramer Schmidt – Prisma & Expo: A Better Path to Local-First Apps | App.js Conf 2024 - YouTube.
Virtuelle Telefonnummer
- 2024-09-24
Bei Google „Virtuelle Telefonnummer“ kommt nur Spam, aber „Virtuelle Telefonnummer Linux“ führt gleich zu
Flutter Development
- 2024-09-04
Restart the app. Hotreload does not work after changing dependencies (e.g.
flutter pub get
).
Einkaufszettel Part 4 - Flutter
- 2024-09-02
Wir sind gleichzeitig losgelaufen. Felix mit Expo, Martin mit Flutter. Ergebnis ist klar: Flutter ist überlegen im UI-Department.
Einkaufszettel Part 3
- 2024-08-28
Stand aus Einkaufszettel Part 2 war, dass das Keyboard („soft keyboard“)
beim Focus vom TextInput
nicht angezeigt wird, was es aber sollte [1].
Vielleicht können wir das Problem umgehen indem wir die UI ändern. Ich mag
Modals eh nicht. Wir könnten das TextInput
immer anzeigen und uns somit
auch den Add-Button sparen.
Odoo 15: Add Button to Kanban View
- 2024-06-12
In this example, we show how to add a button to the „Control panel buttons“ of the kanban view.
TIL: odoo scaffold
- 2024-05-21
Create a new module named foo
in the custom addons directory my-addons
:
Linux CPU Temperature and Fan Control
- 2024-03-03
Control speed of fans based on temperature readings.
NAS Upgrade: 16TB RAID 1 on Debian 12
- 2024-02-16
In the following post, we will replace 6 old 3TB disks with 2 new 16TB disks. We will use RAID 1 for maximum redundancy [1].
Hetzner Cloud Volume for Docker Volume Storage
- 2023-11-28
At the time of this writing, Hetzner volumes cost 0,052€ per GB per month.
Graph Odoo Request Duration with Loki
- 2023-10-17
Before trying to improve performance, it is a good idea to measure. We want a graph that shows us request durations segmented by query time (the time it takes Postgres to gather the data) and remaining time (how long it takes Python/Odoo to do things with the data), like this:
Odoo Format Fields
- 2023-07-25
Suppose you have a simple Integer field defined on your model like this:
TIL: Odoo Sequences
- 2023-07-12
Wir wollen für die Chancen (Tabelle lead
) eine fortlaufende Nummer number
.
Git Mailmap
- 2023-04-07
I’m playing with Gource to create nice animations for projects I have worked on in the past.
Gitlab CI Lint on the Command Line
- 2023-03-17
Here’s how to lint gitlab-ci.yml
using python-gitlab’s CLI.
Deployment Checklist
- 2023-02-15
A simple checklist to follow when deploying an application (workload).
Cloud Native Pragmatismus
- 2022-08-23
Cloud native technologies empower organizations to build and run scalable applications in modern, dynamic environments such as public, private, and hybrid clouds. Containers, service meshes, microservices, immutable infrastructure, and declarative APIs exemplify this approach.
Clear Pycharm Remote Sources
- 2022-08-11
When developing using Docker containers with file mounts, Pycharm caches
third party source files. You can view them in the Project view at External Libraries
> < docker compose your app >
> Remote Libraries
.
Display Structured Logs in JSON Format From Loki as a Grafana Table
- 2022-04-14
„Reduce“ to „ungroup“ the log lines („values“)
The Documentation System
- 2022-03-07
https://documentation.divio.com/ via https://lobste.rs/s/gdzde7/documentation_system
Data Centric Reactive Apps with SQLite and WASM
- 2022-03-07
https://lobste.rs/s/odlfid/building_data_centric_apps_with_reactive
Marking Environment Variables as Required in Docker Compose
- 2022-03-04
Suppose you have a docker-compose.yml
for a simple app that needs an admin
password:
Bind mounts vs. Volumes in Docker Compose
- 2022-03-04
https://docs.docker.com/storage/bind-mounts/#choose-the–v-or—mount-flag
Limit Memory (RAM) and CPU in Docker Compose
- 2022-02-25
There are many tools to choose from. Here’s what we use:
Ubuntu Kernel Cleanup
- 2022-01-20
Remove old Linux kernel versions on Ubuntu. This only keeps the currently used kernel and removes all the others. You have been warned. 🤞😁
0-main.de
- 2022-01-14
We own the DENIC domain 0-main.de
. Our promise to you is that any A or AAAA
record will always point to 127.0.0.1
.
Bash Heredocs
- 2021-12-17
To increase readability of your bash scripts, especially when running things as root, make good use of here documents (also known as heredocs).
Python Method Redefinition
- 2021-11-04
Did you know that you can redefine a method on the same class in Python?
Overriding a translation of a third-party Django module
- 2021-07-21
The Django Taggit app comes with
nice translations for German, but we have some technically inclined users, who
prefer the word „Tags“ over „Schlagwörter“. Still, we want to keep our de-de
locale for everything else. We choose only to override this one
translation.
Using apt-get to update specific versions
- 2021-06-25
In this example we will update Gitlab from version 12.9.2 to the latest version 14.6.3 on a Debian system.
kubectl Usage Patterns
- 2021-03-02
We usually create one KUBECONFIG file per environment and put them into
~/.kube
with a shared prefix, e.g.
The Right Tool for the Job
- 2021-02-15
Durchlaufzeiten > 6 Monate (z.B. bei Hardware)? Mach Wasserfall! Da passt Agile nicht!
Do Things Manually Before Automating Them
- 2021-02-15
When designing new applications it is common to start with a UI draft and develop the app later based on those workflows.
Code Readability First!
- 2021-02-15
Code readability is a matter of respect. As the author of your code you can make reading it more pleasant for your fellow programmers. This even applies to yourself in 3 months time. See also https://blog.codinghorror.com/coding-for-violent-psychopaths/.
Thunderbird - Subscribe to all Folders
- 2021-02-10
In the main navigation, right click and select „Settings“.
Hypothesis
- 2021-02-10
http://theoryandpractice.org/stats-ds-book/statistics/estimators.html gelesen. Etwas Text markiert. Oha! Die haben einen Annotate-Button. Wo geht das denn hin?