The problem with what I did seems obvious in hindsight and there's a pretty straightforward fix, but I need to be working on other areas today.
A bit of code I wrote recently in an attempt to make a program not use 100% of a CPU core ended up slowing down data propagation in such a way that everything looks like it works until you try to use it for real, at which point it quickly becomes apparent that it's become useless. I have a few ideas for how to really fix it, but for now I'll take useful operation at higher than needed CPU utilization over honestly still higher utilization than I'd like but not being useful.
Pulled out some old training material KSAs because one of my employees is getting school credit for the job (may as well if you're doing the job anyway) but one of the things I'm supposed to sign off on is so far outside sanity (crap rich people like that nobody else cares about) that I've made the allowable substitution coffee and barista skills, pulling key points from a recognized certification in the industry (I helped define those cert requirements, I may as well reuse the resources)
Did a big pile of refactoring in preparation for the next chunk of new functionality I want to add. I'm going to need to rewrite all of that again later, but I don't have the time right now to jump straight to what the implementation is going to be at release as that's a lot of additional work mostly unrelated to my current train of thought and I'd rather get the thing I'm working on up and running so I can make sure that's working properly while the relevant details are still in my head.
@Alonealastalovedalongthe Not as many as would have been saved had it not been for anti-cat-ers of the era.
Got an inquiry from someone hoping to rent a commercial space to me who seems to not really get what my business is and is apparently unaware of established businesses already serving the need within the same block. I'm not in any kind of hurry to have a landlord again and even if I was, I think I'd pass on this particular opportunity as their idea of what they want in the space would likely be a deeply unprofitable money pit.
Shop has been closed today and yesterday, but that doesn't mean I'm not there. I'm between lots on some coffees so I'm doing the roast plan design and verification work that needs to happen to get the new lots out on the shelf. Currently drinking a nice coffee from Costa Rica. I've been buying from this farm for over 20 years and while their farm management practices are geared toward delivering a product that's very consistent year to year, I usually need to tweak the roast just a little.
Found the source of the bug obnoxiously far away from the behavior that triggers it. I'll need to dig into that a little more later as there's really no excuse for the segfault to have happened where it did. Also because not my code changed a related thing to something visually much worse because of course when you add functionality it's only natural to take away any UI hint that the new feature might exist. *facepalm*
Finally got some code I've been working on far enough along that I could put some debug text in and see if it's doing what I expected and get some timing data out. I started with the slower approach that doesn't involve a bunch of bit level operations to see if that's fast enough and it looks like it should be. There's more to do to properly finish the feature, but that what's already written is working correctly is a good sign.
Author of Typica software for coffee roasters.