Skip to main content

Posts

Showing posts from February, 2022

Rejunevate RE'AN 48 points patchbay

I have 4 of these patchbays, which I purchased used. As time goes on, I encountered some bad connections, and even dead channels. So I decided to do a cleanup and deoxidize session. The circuit The Re'an patchbay has 24 balanced channels, based on 24 identical circuits. Each circuit has 4 stereo female jack socket; 3 of them are similar, the last one is slightly different to break the normalization when a jack is inserted in bottom front. Front Circuit of one channel Back 2   1 3   4 Testing the patchbay Grab a pen and some paper. Select a source with a stereo headphone output (I used my Yamaha RX11), a stereo cable and a stereo headphone. Remove the patchbay from your setup and repeat the following procedure for each channel. Connect your source to position 1 and your headphone to 4 . Play your source: sound must be loud and clear, without gliches. Toggle slightly each cable, sound must stay clear. Then connect...

Ansible: summing the data disk space

The context On each host, I want to calculate the volume occupied by the OS and data disks. The OS is always installed on sda. The data disks are sdb, sdc, ... facter_disks provides info on the disks. I use the attribute size_bytes . The size of OS is easy to get: facter_disks.sda.size_bytes . However, it's less obvious to sum up the other disks since you don't know how many disks you have. Remember Ansible does not allow nested loops. Well, at least explicitely... The solution Extract sdb , sdc ,.. from facter_disks Convert it to a list Loop on this list to extract the path to attribute size_bytes Sum up the values (optional) Add the sum to facts - hosts: all gather_facts: true become: yes become_method: sudo ignore_errors: yes tasks: - set_fact: os_disk_total_size_gb: "{{facter_disks.sda.size_bytes/1073741824}}" data_disks_total_size_gb: "{{ facter_disks | map('regex_search'...

La Ford Mustang

Un été, alors que j'avais 6 ou 7 ans, nous jouions entre voisins du même âge sur un stationnement proche de la maison. Il y avait depuis là plusieurs semaines une Ford Mustang blanche décapotable. Ce jour, la capote était baissée, et une épaisse haie masquait la vue du propriétaire légitime. Le champ était alors libre pour que nous grimpions dans le véhicule, timidement d'abord, puis plus hardiment. Nous nous mettions à tour de rôle au volant, simulant des trajets sinueux où les entrelacs s'enchaînaient à grande vitesse. Avec l'excitation, nos cries devenaient plus intenses, attirant l'attention du propriétaire qui venait alors à la barrière nous effaroucher; comme une envolée de moineaux, nous quittions alors notre terrain de jeux précipitamment pour mieux y revenir quelques minutes plus tard, la tentation étant trop forte. Je me souviens de cette chaude journée et de l'odeur que dégageait le cuir de la sellerie. Je me souviens également qu'au retour à la ...