This reminds me of a time when I was in high school and an art teacher asked me to take a look at a computer cart she couldn't get working. I looked at it for a little while, pressed the power button on the monitor, and that fixed everything.
If you use a Repeater against a QAbstractItemModel and then remove data from the model, the delegate for that item automatically gets its index set to -1 and the item bindings get re-evaluated with that immediately before the delegate gets deleted. That's not the nicest design decision on the part of Repeater, but my code should have had the bounds check and there are workarounds for the other consequences.
Today's code edits involved adding a bunch of tiny little functions to support new features and adding a bounds check to a function that I'm amazed I wrote without one. Stuff mostly worked on the first try with the exception of the feature that exposed the lack of a bounds check (which worked once I fixed that). I also cleaned up some superfluous conditionals and did some other minor organizational tweaks.
reposting some previous gif because I really love those characters and characters turned out
🌈 support the project: http://patreon.com/lostalloy ✨
I've done enough test batches on the new sample roaster at this point that it's become clear that I want to adapt a program that I've been working on to do some of the work involved in designing roasting plans outside of their app and then get the data I need to efficiently copy in what I want.
I wasn't really looking for new features to add to that program, but I guess another use case that it covers at launch might be good for getting people to try it out.
@liaizon Wow, I dominate the search results for coffee.
@mwlucas I always felt like this adequately described the difference beginners and experts. We all make mistakes and achieve the same outcome; The difference is the tricks you've learned along the way.
sometimes you have a problem and think "I know, I'll use regular expressions", and now you've rolled it out worldwide and the CPUs are spiking everywhere and the internet is on fire oh god oh no https://blog.cloudflare.com/cloudflare-outage/
Saved 81 cents on today's shopping trip because the person ahead of me had 81 cents left over on a gift card and decided he'd rather just hand that off to me instead of needing to keep track of it for a future visit.
At my shop if someone has less than a dollar left on a gift certificate I'll usually just ask them if they want the left over back as change rather than need to deal with it again on their next visit.
Author of Typica software for coffee roasters.