Show newer

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.

First task of today was finishing up some work on blend adjustments. First one was just checking that a direct substitution of the new coffee into the old recipe works and it did. The espresso blend was going to be a bit more work. Took 4 attempts to get the flavor profile where I wanted that, but I'm very happy with the result there.

Today was excessively and unnecessarily stressful, but on the plus side I did get to see two good dogs out for walks.

There''s been a big uptick in people placing orders and then calling us to make sure we got their order (sometimes as soon as an hour after the order was placed).

If the web site told you the order got placed, the order got placed.

Also, please learn to check your spam folders and if Microsoft is running your mail account it's probably their fault that you're not seeing expected emails (Hotmail gave up on competence a long time ago and I can't fix your choice to use a crap provider).

Not that I plan on uploading any of this and pretending that I'm any kind of visual artist, but I recently had a play with diffusion models (that run surprisingly decently on my old laptop) and as near as I can tell they're good for generating various types of cosmic horrors and social media profile pictures of anime catgirls.

Stranger, I was able to look up their most recent meter reading and that looks right so they know I used electricity. I should probably just send an email to customer service and see if they can fix my bill.

I think I broke the power company's virtual assistant by asking if it can charge me more (they forgot to charge me for electricity this month)

Looking at the new energy bill, it looks like they just straight up forgot to charge me for electricity?

Energy bill just arrived and I think I need to look into that because it's way smaller than expected.

Show older
Typica Social

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