Show newer

I'm having some work done on my house and was surprised to see the work truck still in my driveway when I got home, but figured I'd just keep driving, fail to find street parking, and just park in the municipal lot (free 24 hours) in the next block over. By the time I got back to my house, the driveway was free so I dropped my stuff off in the house and went back to my car to get it in my own driveway. The cat found this highly confusing.

Chipping away at some code tonight. It's kind of awful, but I'm having it show its work as I go and making sure that it's at least doing the parts that are implemented correctly. Still have a couple more chunks to write.

After checking out a few more options I've decided to change course on my plan for mathable fields in Typica. I found a decent enough decimal floating point library that's license compatible with my work, does what I need it to do, and I'll just hand-roll an expression evaluator for that.

Fixed a server configuration problem on CRUCS. If you were affected by the about 1 minute of downtime as I fumbled about with that, sorry, everything should be back in working order now.

crucs.net/

@Taweret Fun fact: around here it used to be illegal to sell margarine that had been colored to look like butter so margarine would come with a little pack of coloring that you could mix in yourself.

One of my employees brought in a "tree storage bag" because the box our fake Christmas tree lives in most of the year is in pretty bad shape and she no longer wished to own the bag. It came with its original packaging and listed among the selling points is "Festive - Holiday x-mas colored".

The company that made this apparently thinks that the color of "x-mas," perhaps the most festive of colors, is grey.

There's work on getting decimal floats into C and I wouldn't be surprised if C++ just absorbed that once it's ready, and I would expect this to also behave better for this use case so I can revisit that decision some time next decade.

Show thread

Most of the time the existing solution works just fine, but then you end up with things like 1+1.03=2.0300000000000002 (generally with slightly larger numbers since it's used for things like the roasted coffee not fitting in one bucket and adding the two bucket weights together) instead of the expected 2.03. Other options are heuristic hacks or exposing a setting for decimal places, but SQL already specifies the behavior I want so as much as I hate this "solution" I'll go with it for now.

Show thread

Considering switching the mathable fields in Typica away from using the ECMA-262 host environment and instead letting SQLite do the arithmetic for me because that's less work than implementing a proper solution myself, is less work and doesn't come with license issues compared with some of the libraries I looked at, and Typica 2 already has an SQLite dependency anyway and has better behavior for this use case.

We've decided to tweak our annual start of the year fundraiser for the local food bank. This time we're donating a smaller proportion of sales but running the period that we do that for longer so that we can get what we expect to be a higher sales day into the period, give more people a chance to notice that it's a thing if they want to bring in their own food/cash donations for us to pass along with ours.

@mhoye Not surprised. I'm pretty sure that's still inside a bunch of ATMs.

@mhoye Gitea is very easy to self-host if that's a direction you're considering.

@mhoye When I started adding translations to one of my programs, choosing which one to use based on system locale, my top support request became how to get the original English back from people now getting the translated version (I made it easy for people to just remove the translation file).

The cat says blood flow all the way to my feet is over rated.

Show older
Typica Social

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!