kafkafuura (ZephyrRz)
zephyrrz.bsky.social
kafkafuura (ZephyrRz)
@zephyrrz.bsky.social
Kafka⇔ZephyrRz|日英翻訳家|秘封倶楽部|INFP|JP→EN Novel, Comics and Lyrics Translator|Vim Acolyte (pn: they/them)
Less of a complaint and more of an observation — it is great that you can select inverted X/Y individually for basically every situation in MP4.
December 7, 2025 at 3:45 AM
It's probably negligible for smaller lengths, but I imagine Array.sort would be faster over a certain limit (stdlib throws out 100,000 as an example) — worth benchmarking when n gets large, but I usually don't worry about it.
December 6, 2025 at 10:59 AM
There was a somewhat infamous testing year that used audio from Neon Genesis Evangelion — but forget exactly when
December 6, 2025 at 4:58 AM
I "trained" for the JLPT N1 by listening to anime audio without video (mostly in the car) — particularly 四畳半神話大系.
December 6, 2025 at 4:57 AM
I always thought listening was hard, but most people I talk to think it's the easiest part of the JLPT, so ymmv.
That nearly perfect on the reading will probably do a lot to help!
December 6, 2025 at 4:27 AM
Maybe that's why it's great for writing compilers? I wouldn't know.
December 6, 2025 at 3:52 AM
(Though I did start with a generic "let rec loop" before I realized I did not need as much flexibility.)
December 6, 2025 at 3:26 AM
The humble fold:

Array.sort compare ranges ;
Array.fold_left
(fun a (min1,max1) ->
match a with [] -> (min1,max1)::a | (min0,max0)::tl ->
if min1 > max0 + 1 then (min1,max1)::a
else (min0, max max0 max1)::tl) [] ranges |>
List.fold_left (fun a (rmin,rmax) -> a + rmax - rmin + 1) 0
December 6, 2025 at 3:26 AM
"The illusion of choice" meme.
December 4, 2025 at 8:58 PM