
Classes start on Wednesday. I’m getting the master’s degree required to teach secondary school. I have not studied in more than 20 years, I’m a bit scared. (Also because it’s remote teaching and I’m not sure how I will adapt. I was a taking-notes-with-a-pen person, but writing using a pen is exhausting to me now. Not sure how I will keep engaged, as so far I dislike video as a way of learning stuff.)
I wrote a dumb Klondike solver (50% solve rate, apparently you can get to 80%. My brain does 14%). I was thinking about writing a Klondike game, but…
-
I’d like multidevice support, and I don’t want to run a service, nor I want to tie people to a single cloud storage provider. https://remotestorage.io/ sounds good, but I’d like something better and it does not seem to exist. (E.g. a library that allows you to target different cloud storage providers like Google Drive and iCloud. Unfortunately, Nextcloud does not have great support to work as an application storage backend :(
-
I’d like to write something I can deploy to phones and desktops. I’d like it to be accessible. I think my best option might be web technologies and perhaps Tauri. But I really feel a bit lazy about doing complex UI work. I did some Yew in the past and my solver is Rust, so I could go in that direction.
After finishing the solver, I started dabbling in a monitoring system which is Nagios with a few twists. Configuration so far is much simpler (just a bunch of commands to run), plugins are a bit more complex (a single plugin can provide n check results), and it’s based around DuckDB. I have two processes ready; one that schedules and runs checks, the other receives check results and dumps them to DuckDB. DuckDB has this fancy thing where you can start an HTTP/SQL API thing in process, so my plan was to have an alerting process that just queries DuckDB for stuff that should notify. With SQL/views I should be able to make the notification logic pretty customizable.
It’s a neat idea and what I have is close to being useful. However, I did this because my Nagios setup was annoying (Nagios sends alerts after X checks fail. Can’t have a different X for warning and critical states without a ton of configuration. My setup should make this easy.)… but I found that a) my warning notifications which were bothering me… I could just mute them without effect and b) they come from a monitoring agent I wrote ages ago that monitors many things, including systemd units… but I realized I can’t get systemd to report what I need properly :(
With regards to Klondike, I bought a deck of cards because that was the most convenient way I could think of to verify my solver. And then I realized that my motor skills suck. So I’ve been playing some physical Klondike to train a bit my hands. Also I’ve learned I have delicate hands, because fiddling with cards hurts my fingers! I might play a bit more.
score 1 · canonical
I do a simpler variant of this that works using some lovely accidents in Apache httpd’s content negotiation and (like the linked article) Gemini.
https://alex.corcoles.net/notes/tech/how-this-site-works describes and demonstrates the trick.
The key is here:
MultiViewsis a wonderful feature. It’s a real shame that services that host static sites do not seem to configure this. It also enables “proper nice URLs”.Many sites use URLs such as
https://example.com/my-article/with a trailing slash, notably WordPress. This makes turning sites static quite annoying- you should create a directory per article and stick anindex.htmlin each directory. If you use MultiViews, then you can just havemy-article.htmland usehttps://example.com/my-articlewithout the trailing slash, which is much more convenient.(This also enables my main trick above- making a site that works across different formats and protocols much more easily.)
I should run a static site hosting service that enables this trick and that allows dual Gemini+gemtext/HTTP+HTML sites. SourceHut pages is really close to this :(
score 1 · canonical