8
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 spent a bit of time working on my window manager for the first time in a while to update it for Zig 0.17 and fix a few bugs. I also learned about the Idris language and I'm tempted to try create a River tinyrwm with some weird Wayland bindings for Idris as a way of learning.
I'm working on automation for the SPV administration processes. It's basically a checklist than then has some webautomation and a bit of capital accounting.
I managed to successfully migrate my Debian home server from Proxmox to Incus the other day. The following is just ramblings of my future plans for this new setup.
First, I'm looking to move from running Docker containers in a VM to k3s. I installed k3s on a single LXC and it seems to be running some test services well, but I'm looking to expand this setup to at least 2-3 nodes. The HA is kinda redundant here because I only have a small server (not even a separate NAS) that stores all my data, but its all for fun anyway.
To expand the k3s cluster to multiple nodes, I need Longhorn to replicate the data between the nodes. However, Longhorn doesn't play nice with ZFS, which is what the underlying host filesystem is, so I would have to use VMs instead of LXC containers, which is a shame because I quite like LXCs. I haven't been able to find another solution for this so oh well
And after that's ready, I'm looking to play around with replacing k3s' default Klipper/ServiceLB with MetalLB or even Ciliium because $WORK is interested in using Cilium.
Also, I probably need to set up a GitOps solution like Flux to really capitalize on the k8s benefits. And for that I'll need a private self hosted Git forge like forgejo because I'm not really comfortable putting all this in a public github repo, and github kinda sucks now anyway.
And finally, backups. My previous setup's backup solution was really straightforward - I just backed up my docker volume paths with restic to backblaze. With this new setup, I kinda want to leverage on either Incus snapshots or ZFS snapshots but I'm not sure if they're compatible with restic yet. This is probably the least fun but most important part.
I mentioned getting inspired by (not) solitaire to rework how cards are rendered and handled in my Yu-Gi-Oh! simulator.
That's all done and it works well, right now I gave every transition a basic ease-in-out curve so cards just move from point A to point B, but that's still a pretty nice visual uplift compared to having cards just snap into place. And I don't have to torture myself to hand-code every single card movement, they're all centralized into one system. The moment I want to vary the animations, I just have to add a enum defining the animation type and associate a CSS transition to it, then apply the relevant transitions to the card doing the movement as needed. Should be pretty simple overall.
I am taking a break from that however, as my partner wants an enhancement on his finance tracker app. He got tired of manually taking transactions from his bank statement and putting them in the system so now I gotta write a parser for Excel bank statements. Given that every bank that even supports Excel bank statements has their own format (you'd think they'd go with a CSV with a handful of columns, and that would be pretty standard, no? welp that's not the case) I'll have to make the parser hyper-specific on our relevant banks, with maybe some heuristics to try and figure it out for other banks. We'll see.
I felt like doing the UI first (who knew that writing parsers wasn't a desirable activity for my brain) and that's ready, but now I actually have to write the parser. Shouldn't take long, hopefully.