miniblog.
← Back to all posts
Feb 4, 2021 at 06:38
1
Avoiding the Maybe/option type to make intent clearer:
Infrequent, Pragmatic, Lambda Blog - Maybe Overuse, Stories About Error Information Loss
Likes
Masanori Ogino 𓀁
Related Posts
May 22, 2022 at 01:20
On writing code to communicate an idea or intent:
Codebases as communication
Conventionally we communicate programming ideas with talks, papers, and blog posts. But we can also communicate ideas with entire codebases. If someone finds...
Jul 25, 2021 at 18:03
Rust has a lot of integer types, but I kinda like distinguishing u64 from usize. It communicates intent. A usize is probably going to be used as an index, whereas a u64 is probably just a measurement of something.
Apr 6, 2020 at 04:40
Upscaling textures on SNES emulators to improve graphics on today's displays:
https://arstechnica.com/gaming/2019/04/hd-emulation-mod-makes-mode-7-snes-games-look-like-new/
Really neat approach. I've seen emulators do clever 2D smoothing, but this feels closer to 'original intent'.
HD emulation mod makes “Mode 7” SNES games look like new
Bsnes addition cleans up matrix math, rounding errors on original SNES hardware.