Server is still under attack, but it looks like if I just permabanned the address ranges assigned to Alibaba Cloud and Meta that would cover most of it.

At just under 50K bans the attack is slowing down a little bit at least. The thing is, it's a gitea server. The bots could have just cloned the repos and be done with it instead of making hugely redundant requests and wasting everybody's resources.

Over 46K IP addresses in a 24h ban (almost all IPv4) and the bots still haven't figured out that all the requests that do go through are just returning 404s.

Show thread

You'd think the bot might get the hint after the first 10K IP addresses stop working, but no.

How many thousands of clanker IP addresses will have gotten banned by the time I wake up in the morning? It's currently over 5K on the new rule added less than an hour ago (24h ban)

Show thread

That server that ran out of disk space is getting absolutely hammered by what looks like badly behaved AI scraper bots. Time to crank up some fail2ban settings.

For now I'm planning to stick with the put out a new alpha release about once per month with whatever the current state of the code is, though I'm going to try to release a little earlier in December so that anybody trying that doesn't have to wait for me to get back from a vacation I'm taking at the start of the year if they run into problems with that.

Show thread

Put out a Mac build for Typica 2.0alpha2. Ran into a few issues getting that done (a server ran out of disk space and I needed to change some build stuff because don't know, old stuff randomly stopped working) as well as having a lot of work to get done at the shop so the Windows build and source code release are going to be delayed probably 1-2 days. End of the week at the latest.

The "something goes wrong" can be no fault of the user so I'm glad to have that in there and the disable the button thing gets rid of a pretty easy to trigger footgun.

Show thread

Hurt my back this morning. Bad for productivity, but I did take a bit of time after dinner to fix a crash. Started by disabling the button that triggered the crash if it's known that
the thing the button does can't possibly work, re-enabling it when it's likely to succeed. Then I added a couple more checks elsewhere to fail safely if something goes wrong.

Reworked some code. It's a tiny bit less efficient, but it's also about 1/12 the SLOC and a ton easier to read so I think I'll go with that.

Got a couple more items knocked off the to do list today. I'll want to get the alpha2 build taken care of Sunday and that'll have whatever's ready by then.

@jamey I let the h be silent. char as in car (so I guess I split the difference between the two options)

Grocery store was exceptionally poorly stocked tonight and I don't know if it's because Thanksgiving is coming up or because of the interminable road construction that makes getting there kind of a pain or what. Related: how do you sell a frozen pizza where one of the cooking options is not "put it in the oven at some temperature for some time"? I shouldn't need to use 2 different cooking appliances to heat up 1 pizza (I am taking a reasonable guess and hoping for the best).

New coffee from Colombia cups nicely. The one we usually get hadn't shown up yet so it's a substitute but from the same region. Slightly smaller seeds, but that doesn't mean worse flavor.

Most people will never notice the difference in speed here, but the new query is also easier for future me to understand and is more portable across different databases.

Show thread

Started work on the next report I want to move over and once again it's possible to massively simplify the SQL and get the same results faster.

Finished fleshing out that feature for one report and that's fully working now. Should be pretty straightforward to move that into the rest of the reports as well, but that will have to wait for another day.

Show thread

Thought through some alternatives for the next report feature I want to work on and did a proof of concept for the one I decided to try first. Compared to the equivalent feature in 1.x the new approach usually needs fewer clicks and never needs more. It also looks better.

Show older
Typica Social

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