S240 #1

Es war der 17. Juli, irgendwann kurz nach dem Aufstehen. Der Sommer war bereits in vollem Gange, auch wenn die Sonne sich in dieser Woche etwas zurückhielt.

Auf dem Weg zur Arbeit erinnerte ich mich an einen Artikel, den ich vor kurzem in der letzten Ausgabe der “Fahrstil” gelesen hatte. Darin ging es um Grant Petersen und seine Philosophie des “S240” (Sub 24h overnight) - ein kurzes, spontanes Abenteuer mit dem Fahrrad, das nicht länger als 24 Stunden dauern sollte. Eine kurze Flucht aus dem Alltag, um den Sommer nicht nur durch das Bürofenster zu erleben und den Kopf frei zu bekommen. In den letzten Jahren hat sich dafür auch der Begriff “Overnighter” eingebürgert, aber ich verbinde damit eher die Bushcraft Szene und bleibe deshalb an dieser Stelle bei S240.

[Read more]

Vim jj Esc

Today I learned vim powerusers use jj to escape insert mode. Even though I use keyd to map caps lock to escape, on most machines it can still be useful to use jj as well.

Dotfiles changes at Codeberg.

And next time we will look at jj the VCS not the keybinding. =)

[Read more]

From Hexo to Hugo

Forget anything I said about Hugo in my last post about SSG. I do not remember the reasons why I chose hexo over Hugo.

But on my mission to replace most software I use daily with something written in Go, I took a second look at Hugo. And now this site is powered by Hugo.

The migration was surprisingly easy as I only had to copy all markdown files and images from the hexo folder to Hugo, find (and tune) a theme and thats basically it. Gone is the gigantic pile of node modules and (nearly) the entire JavaScript crapchain.

[Read more]

Software zoom for DJI action cams used as webcam

Since return to office after COVID19, I also had to bring my company-sponsored Logitech webcam back with me. In order to have decent video on my homeoffice days, I first experimented with my Sony Alpha but in the end I bought a Razer Kiyo. It has decent video/audio quality and an integrated ringlight - that really did nothing for me ^^.

Exactly two weeks after I threw away the bill and the packaging during spring cleaning in March, the Kiyo stopped working. When I plugged it in, the LED ringlight started flickering and Linux reported a USB disconnect.

[Read more]

Program your Keychron/QMK keyboard with VIA on Linux

My daily driver is a wonderful Keychron Q65 Max keyboard. The one with the lovely knob, yes <3 !

It runs QMK and can be programmed either with VIA or since more recently with the official Keychron Launcher App.

For that to work a browser supporting WebHID API is required. Sadly, at the time of writing only Chrome-based browsers support this API. Still even on Chromium it did not work for me out-of-the-box on my Arch machine. The device showed in the permission request but nothing else happened for me. Looking at chrome://device-log/ revealed I was lacking system level permission to access this device from the browser:

[Read more]

Import JSON/CSV to Firestore

In my work life, more to this in a later post, our primary database currently is a Firestore. Booooh! .. yes .. working on that. :)

As such tooling is limited, both from Firebase itself and from third party vendors. But some tooling does exist. I have chosen refi-app as it was the only non-paid option I found. It is even Open Source. <3

Running it on Linux seems to require setting a specific chrome flag, otherwise it would not start on my machine:

[Read more]

Aging in Tech

Recently I read two - somehow related - comment threads on Reddit and (afaik) Hackernews. Unfortunately the article from HN got lost. In any case the thread on Reddit mainly deals with age discrimination and the one on HN focused on developer salary increasing to a point where companies would rather hire two or three junior developers than the senior one.

I thought about it for a while in mild fear .. as even I get older every year. In the end I came to the conclusion it is nothing to whine but do something about as an industry and as a community of like minded people. At least for the age discrimination .. salaries are a different kind of beast.

[Read more]

Static site generators

In recent years, static site generators have gained popularity among web developers and content creators alike. They offer a simple yet powerful solution for building and maintaining websites that are fast, secure (I am looking at you PHP ..), and easy to deploy. One of the key advantages of static site generators - at least for me - is their ability to work with Markdown, a lightweight markup language that allows you to write content using plain text formatting.

[Read more]

Tmux detach

Today I learned a very helpful tmux switch.

If, for any reason, you want to detach all other clients from a running session one can use the -d switch on the command line:

$ tmux ls
sys: 1 windows (created Fri Mar 24 13:43:08 2023)
blogging: 2 windows (created Sun Mar 26 10:04:53 2023) (attached)

$ tmux a -t blogging -d
[Read more]