Did i mention that i like Blender?
Articles in Category "Technik"
Two Worlds, one Reality
19. Januar 2023 in Grafik, Multimedia, Sonstiges, Technik.
Sometimes, what topside constitutes an amazing engineering feat is turtles all the way down.
Eine Bemerkung über das Funktionieren
16. Dezember 2022 in Gesellschaft, Technik.
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 […]
Removing the Builtin Inline CSS from WordPress
27. August 2022 in Programmierung.
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 […]
Updated Common Prefix Notation Transformation
2. Februar 2024 in Programmierung.
This is an update to my previous article on determining the common prefixes of a set of strings (passed a sequence of lines) and printing them in common prefix notation (CPN). The problem of reconstructing strings from the original input that are complete prefixes of other input strings is addressed. The code is now in […]
Print XDG Desktop Definition for Application
3. November 2024 in Administration, GNU/Linux.
Update Nov 3 2024: There is an update to this article that provides this script as commandline utility. There is also a Git repository. For an application given by „application name“ or „executable name“, output the corresponding .desktop file, if any: #!/bin/sh IFS=“:“ xdg_data_dirs=${XDG_DATA_DIRS:-/usr/local/share:/usr/share} search=$1 for i in $xdg_data_dirs ; do a=“$i/applications“ [ -d $a […]
Transforming Sets of Strings to their Common Prefix Notation
2. Februar 2024 in Programmierung.
Update Aug 20 2022: There is an update to this article that fixes a known issue. There is also a Git repository containing a reference implementation. Any two strings s1, s2 have a common prefix cp, which is the string of characters that s1 and s2 have in common up from the start. If s1, […]