Janik von Rotz

Rust Development in Termux

In my holiday I used to Termux to do server maintenance in emergency cases and it worked pretty well. I thought about learning Rust and how this can be combined. Can I use my phone as a desktop development environment? In this post I am going to answer this question.

Read More...



Odoo Development: Settings fields for your module

Odoo modules store their settings on the settings page. The fields definitions for the settings are different from the module. These fields can be mapped with system parameters. I would like to show how you can add settings field for your Odoo module.

Read More...



Copy SSH private key to Termux

Termux is a beautiful terminal emulator Android app. As I am working mostly on the command line I wanted to be able to do the same on phone. And most importantly in a case of emergency where I don’t have access to my computer I want to able to access my servers and run some commands. This requires to setup existing SSH private keys in the Termux.

Read More...



Build and deploy Odoo with and without Jenkins

Jenkins is a popular but outdated CI/CD system. Compared to modern CI/CD systems such as GitHub Actions or GitLab Workflows, Jenkins does not deliver on containerization. As Docker containers are high in demand for building and hosting applications Jenkins has to go some extra miles. Nonetheless, Jenkins is yet the only self-hostable feature-rich CI/CD solution. For a project I went with Jenkins to deploy a multi-stage Odoo environment.

In this post I would like to present the main parts of the final project such as the Docker setup or the Jenkins pipeline. An important goal was that the deployment can be done without Jenkins.

Read More...



Don't overdo it

Being employed to think and to care can become a quite burden over time. I thought about “stress” a lot and would like to share my learnings:

Edit 2024-04-11: I updated the title and image, it felt too negative.

Read More...



2023 Book List

In 2023 I read 17 books. Most of them were great, it was difficult to choose my favorites. As most of them were science fiction books, I chose a non-fiction and a fiction book. My favorite fiction book was The Futurological Congress by Stanislaw Lem and the non-fiction book is Corruptible by Brian Klaas.

And here is the full 2022 book list:

Read More...



Noise Cancelling

Do you remember clickbaiting? In the two millennia, this was a vicious way to attract attention. The practice was simple: assign an exciting teaser to a boring article. That will get people excited and increase engagement. What was criticized by quality journalism then is the standard today.

Read More...



Convert Obsidian canvas to SVG

I am using Obsidian for note taking and writing documentation. With Canvas-Feature you can create simple visualizations and link notes from the vault. Here is an example:

As simple as it seems, there was not builtin-way to export the visualization and f.g. publish it on a website. Luckily, the canvas file is a simple JSON document and therefore can be processed pretty easy. I build a render Method in JavaScript that takes the canvas content and returns it as a SVG image.

Read More...



Hide native tabs with Tree Style tabs for Firefox

As the workspace for developers has moved almost entirely into the browser, browser extensions have become an integral part for customizing the workflow. Recently, I started to the use the Tree Style addons: https://addons.mozilla.org/en-US/firefox/addon/tree-style-tab/

When using this extension, the native tab bar becomes obsolete. The following part of the post is an instruction on how to hide the native tab bar (which is a bit difficult).

Read More...



Future Words

I feel very uncertain about the near future. Climate change, migration, pandemics, rise of populism, oligopolistic capitalism i, post-fact, artificial intelligence, the list goes on. It is a lot to think about and to make sense of. However, I try to embrace what comes and avoid doom and gloom. Making up new words is one way into the future.

Read More...



1