OK I need a smarter way to encode the maze in #FingerMaze because the approach I'm using can't handle huge mazes (for example a 160×90 maze will result in a 414 Request URI Too Long error.)
I have found a better solution than the one I was using before: nest the table inside a div, force the div to have the same size as the viewport if the viewport was landscape-oriented, and then rotate the div. There are a few extra details to take care of, such as the page thinking it has more stuff in the horizontal direction than it actually does (because it considers the “landscape” div, even if it has been rotated) that require some minor fixups (overflow-x: hidden), but it works.
In fact, the outcome is better than the hack I had before, and if you've played #FingerMaze before you can try again now (particularly on mobile) and appreciate the difference: https://dropthemath.oblomov.eu/fm/
There's a new problem now though: I've moved the new/permalink/help links into a details element, and while I can open and close it on desktop, it doesn't seem to work as expected on mobile, and I don't understand why. And debugging on mobile is … nontrivial.
Well, this is annoying. I've started adding HTTPS support to my site, but apparently it's impossible to go completely protocol-agnostic because RSS and Atom feeds need fully qualified URLs (including protocol) in them, so I have to choose a canonical one.
We're playing #LoversInADangerousSpaceTime
(four-player co-op, perfect for me wife & kids) and we've just unlocked the rabbit (@ariadne would be happy).
BTW, this is the game we couldn't play because of the #Steam “let's pretend controllers are a kind of keyboard” thing I mentioned in one of my recent posts (https://sociale.network/@oblomov/112326184779611987). I'm glad I fixed that, and the kids are too.
Ho ordinato #Quoridor per il compleanno di mio figlio e per evitare di pagare €5,50 di spese di spedizione mi sono ordinato anche #LeStradeDInchiostro (edizione Rosso Fiammante) che ne costa €19,90.
Cat reading the newspaper meme: I should archive all the posts from people minimizing the new US Mastodon nonprofit and its onboarding of ex-Twitter tech bros to better laugh at them as enshittification accelerates.
@oblomov per me il 25 aprile è un promemoria del coraggio di chi ha rischiato e spesso lasciato la pelle, per evitare alle generazioni future lo spreco di vita, salute e fatica necessario a prendersi a sprangate sulle gengive, lasciando a nostra difesa una Costituzione che non si discute né si negozia. Anche perché storicamente quelli che si scambiavano sprangate sono finiti in galera, all’ospedale o al cimitero, chi li aizzava restando a guardare è finito in Parlamento.
A notification for my non-Italian followers: tomorrow (April 25) is a national holiday that celebrates the Anniversario della Liberazione (liberation anniversary). I may end up boosting a lot of antifascist stuff.
I was wondering why the heck would my gamepad interact with things like my browser or even console. Turns out that when Steam is running it does this thing, which is actually kind of creepy, and actually breaks lots of things.
A curious math problem I came up with: given a target, what's the fewest digits an integer must have (in a given base) to contain all integers from 0 to the target, as substrings?
e.g. for a target of 19 a candidate representative would be 1011213141516171819 in base 10, that has 19 digits. Can it be done in less, or is $\sigma_10(19) = 19$?
Can we find a general rule? Any properties of this function?
@oblomov Sadly I can't respond with anything of value, though this looks a lot like a generalized superpermutation problem. Maybe that's a start to more research?