RSSAmplifier

Blog

Adam Young's Web Log

The Notebook of a Programmer Climber Musician Ex-Soldier Woodworker and a few other things

adam.younglogic.comRSS feed ↗10 posts

Latest posts

Teaching Python using a Caesar Cipher

A Caesar cipher is a letter for letter exchange from a clear text to a encrypted text by shifting a set distance in the alphabet. Thus, if your set distance is 2, the letter A becomes C, the letter X Continue reading

Father’s day project

Getting a little more organized in my workshop. My pain point was boxes of nails or screws falling off shelves. And, of course, I wanted an excuse to use the laser cutter. I took a lesson from Minecrafters and put Continue reading

Downloading from gitlab

We use gitlab to post internal releases of archives. I want to be able to automate the process of downloading these artifacts. Here it is using the glab CLI. export REPO=https://gitlab.com/YourCompany/sw-eng/product-manifest glab auth login --stdin ~/.token glab release list Continue reading

Debugging Rust in Vim

On Fedora: in ~/.vimrc Inside vim: Use Ctrl-W DownArrow to switch between windows Use :Break to set a breakpoint in the code window Use Ctrl-W UpArrow to go to the gdb window use run to run the program and cont Continue reading

Selecting a subset of files for ctags

I usually don t want all of the files in the linux Kernel for my ctags. Sometimes I want a cvery small subset: a set of C files and the included header files. #!/bin/sh for CFILE in drivers/net/mctp/mctp-pcc.c drivers/mailbox/mailbox.c drivers/mailbox/pcc.c drivers/mailbox/mailbox.h Continue reading

Fixing my virt Network

I got my network working again, and this time I am running the VM as non-root user. The hypervisor is an old Fedora install that I first upgraded to Fedora 43. I used nmcli to remove all connections (I was Continue reading

Resizing filesystem on A Fedora 43 Cloud image

THe cloud image is shipped as a qcow2 file. It has about 3 GB of usable space. I need more. The Root FS for my Fedora43 Cloud image is a btrfs mounted on /dev/vda3. First, stop the virtual machine. Then Continue reading

Network setup for a custom Qemu Virtual Machine

After building a custom Qemu, there are a couple ways to run a VM to get to it. The older approach to VM management is to create a block device, run the VM with a boot device, do a full Continue reading

A PCC driver in Qemu

In order to perform test driven development, you need a way to drive your code that can isolate behavior. Linux Kernel drivers that communicate with hardware devices can be hard to test: you might not have access to the hardware Continue reading

Maintaining a change log in a git commit message

Changes do not always get accepted upon initial submission. My current submission of the MCTP over PCC patch is at revision 37 and will likely have more. Previously, this patch was part of a series, and the change log was Continue reading