Thomas Ruschival

Author's posts

Once and for all – Loading Device tree overlays at runtime

Time for another Once-And-For-All – tasks I do periodically (but not weekly) and keep forgetting the command syntax. Loading Device tree overlays at runtime. # Mount kernel configfs mount -t configfs none /sys/kernel/config/ # Create the device tree node (name doesn’t really matter) mkdir /sys/kernel/config/device-tree/overlays/rotary-enc # cat the device tree overlay to a special file …

Continue reading

A new Emacs major mode

Screenshot with syntax-highlighting in emacs

The available tools to edit Electronic Device Description Language (EDDL) files feature rudementary editors – compared to Emacs. Playing around with EDD using a editor that sucks the logic step was to sit, think and create a new major mode for Emacs. The edd-mode was born. Since EDDL shares lot of syntactic constructs with plain …

Continue reading

Volatile superstition

Programmers memory seems to be volatile regarding the meaning of the C or C++ qualifier ‘volatile’. There are at least a dozen of articles on the internet referencing or copying in verbatim Jones Nigel and a zillion discussions on bulletin boards. Yet there is at least as much superstition among even experienced developers. Section 6.7.2 …

Continue reading

Once-And-For-All: iptables and udev rules

Time for another Once-And-For-All – tasks I do periodically (but not weekly) and keep forgetting the command syntax. I got myself a brand-new BeagleBone Black A6. When you attach the device via usb (and have a correctly configured kernel) it will appear as USB Gadget device with 3 classes a usb-uart serial device (CDC), a …

Continue reading

Leben ohne Facebook – eine quantenmechanische Betrachtung

Seltsam, ich bin nicht auf Entzug. Ich habe gar nicht bemerkt dass ich kein Facebook mehr habe, das heißt fast nicht: Am Montag bin ich, wie so oft in den letzten Tagen, in einer Schlange gestanden und hatte mein Kindle vergessen. In solchen Fällen akuter Langeweile und erzwungener Untätigkeit zücke ich mein Smartphone und vertreibe …

Continue reading

Once-And-For-All: substrings & substitiution in Bash

This is the first post in the new once-and-for-all category. Maybe it’s just me who keeps forgetting commands and syntax from one use to the other. I don’t know how often I already googled simple basic actions like bash-syntax only to forget the the other week. Now to avoid future googling I decided to write …

Continue reading

Bye-Bye Facebook (pt)

A questão central: quero realmente que o irmão do meu antigo vizinho tem a história dos meus comentários, os cliques “curtir” e fotos de mim na alcance dos dedos? Eu acho que todo mundo entendeu que nossas atividades no Internet não são confidenciais e estão à procura de pessoas e organizações. Alguns anos atrás, havia …

Continue reading

Bye-Bye Facebook (de)

Die zentrale Frage zuerst: Will ich, dass der Bruder meines ehemaligen Nachbarn die Historie meiner spontanten Kommentare, “like”-Klicks und Bilder auf denen ich zu sehen bin mit einem Mausklick erreichen kann? Ich denke, es mittlerweile bei allen angekommen, dass unsere Aktivitäten im Internet nicht geheim sind und sich einige Leute und Organisationen dafür interessieren. Schon …

Continue reading

Sorry guys, I won’t do your homework or master thesis….

plagiarism is rampant in the internet age, no doubt – even most prominent German politicians have lost their jobs for that dirty little copy-paste action. It seems tempting to take a google result and include it in “your” work. But that is easy to spot. If there is no content in the above paragraph and …

Continue reading

Um ano em Manaus

Fallen auf dem weg zur Arbeit

há 366 desde eu desembarcou no aeroporto “Eduardo Gomes”, Manaus no dia 13 de Julho 2011. Como incontáveis imigrantes nos últimos 500 anos antes de mim e eu chegei cheio de entusiasmo e energia para começar um novo capitulo da minha vida. Finalmente, o tempo de espera acabou e eu pude estar com minha amada …

Continue reading