2
votes
What programming/technical projects have you been working on?
This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?
I'm slowly moving some of my projects from plain-old "bare" git repositories on my server machine, cloned over SSH, to a personal Forgejo instance I spent a couple of hours spinning up and configuring. Most of the projects will stay private / hidden, but there are one or two which I might host publicly, and for these I've been looking into and debating different permissive licenses- and diving into the complexities of the git rebase functionality.
I've somewhat got a handle on how to interactively rebase an entire project from the root commit, rewording and squashing commits, as well as flattening certain files so that the state looks consistent through the project history*. Another clean-up step which took me some time to figure out was the claiming of all commits in a project history (re-authoring) without resetting the authored / committed dates.
*This allows me to retroactively license code which has yet to be published- I know retroactive re-licensing is a touchy subject, but for code which is entirely written by me, and not-yet publicly accessible, it feels reasonable, and it will hopefully reduce confusion re:licensing of specific tags / versions, etc.
Two interesting things I stumbled on this week:
It's possible to know filesize of files as they are deleted via bpftrace: trace_unlinks_size.bt
My CPU was maxing out due to too many parallel processes which was causing realtime/low-latency processes like audio playback to stutter. I've experienced this problem before but I didn't think to pause processes to reduce the number of active parallel processes; ie. $ unparallel ffmpeg
(I should probably use just run these background processes in a systemd slice with a CPUQuota but this is working fine for now...)