I went to CLT23 …

… and i got a new coffee mug. 🙂

Determine IPv4 Addresses of a Libvirt Qemu-KVM Domain

In the VM:

dnf install qemu-guest-agent

From the HV:

virsh qemu-agent-command --domain myvm \
    '{"execute":"guest-network-get-interfaces"}' | \
    jq -r '
        [.return[] | select(.name!="lo") | ."ip-addresses"] | flatten | .[] |
        select(."ip-address-type"=="ipv4")."ip-address"
    '

The result should be one IPv4 address per line.

 Two Paintings

Did i mention that i like Blender?

The Dark City (Version 3-7)

Cryptospheres (Version 1-1)

 Two Worlds, one Reality

Sometimes, what topside constitutes an amazing engineering feat is turtles all the way down.

 The Internet Security Architecture

Eine Bemerkung über das Funktionieren

Nach einer Weile hört man immer mal wieder gewisse Sprüche über das Funktionieren irgendwelcher Produkte, Technologien, Techniken, Lösungswege, Praktiken oder Konfigurationen X:

  • „Was funktioniert [also X], ist gut.“
  • X ist nicht schön, aber es funktioniert.“
  • „Hauptsache, es [gemeint ist X] funktioniert.“
  • „Wieso, es [X] funktioniert doch!“
  • „Wir wissen zwar nicht warum, aber es [X] funktioniert.“

Lösungen für drängende Probleme müssen gefunden werden, und es gibt Situationen, da müssen Nägel mit Köpfen gemacht werden. Zuweilen muss ich aber auch mal auf die Bremse treten, so etwa, wenn ich erkenne, dass ein Lösungsvorschlag X (vielleicht) momentan eine Lösung darstellt, auf Dauer aber zum Problem werden wird.

Die Geisteshaltung „was funktioniert, ist gut“ ist mitreißend, und die Sprüche sind eingängig, also habe ich mir für den Fall, dass ich dagegen halten muss, eine ähnlich eingängige Gegenbemerkung zurechtgelegt:

X ist total super, solange es funktioniert.“

Es gibt auch eine universelle Form:

„Alles ist total super, solange es funktioniert.“

 The Way Home

Removing the Builtin Inline CSS from WordPress

Should you – as i did – wonder why WordPress renders a bucket of inline CSS into the HTML output (such as --wp--preset--font-size--normal in <html> or  --wp--preset--color--white in <body>): This is done to accomodate frontend editing with Gutenberg. If you – as i do – are not using Gutenberg frontend editing, then the following PHP code can be included in the functions.php of a custom theme or the php file of a custom plugin. Sorry, Gutenberg folks – no means no. 🙂

Weiterlesen … »