This DOS hacking is too much fun. Implemented a custom RLE-based encoding scheme yesterday with a 56% compression ratio on my test image with just a 16 byte decode loop!
Is the "eb" in NetBSD's "aarch64eb" an endianness joke? If so, well played 😄
Wrote a little VGA color swatch program to explore the BIOS interfaces for doing that and got sucked into a delicious bit banging puzzle:
https://codeberg.org/sjmulder/asm/src/branch/master/msdos/swatch.asm
https://www.msx.org has a music player in the sidebar. What a lovely site!
Really wanted to try writing some Z80 code. Picked the MSX as the target platform because it's popular and has built in text output routines. Here's the result: FizzBuzz without division or loops! (except the outer one)
https://codeberg.org/sjmulder/z80/src/branch/master/msx/fizzbuzz.asm
I'm a beginner to all of this so I probably did some dumb things* but overall I'm pretty happy with it.
(* in particular there must be a better way to do "ld a, b \ cp 0 \ jp z, foo" right?)
I played a bunch of The Lion King on SNES and Mega Drive (Genesis) and it was surprising to me how different these versions are.
Unlike Aladdin, they look and play very much alike superficially, but the details matter:
- SNES version doesn't let you flip hedgehogs by roaring, making some segments a bit harder
- Mega Drive version lets you easily climb the stage 2 elephants that you have to traverse with tail swinging on the SNES
- Ledge grabbing seems much easier in general with the Mega Drive version
There's probably more
Of course I'm sure this has been discussed to death so I'm open to any good literature suggestions 🙏
@joelle
I modified the MIT license with an inert passus that includes three banned words from the DEI list: "gender", "ethnicity" and "political".
https://gist.github.com/paniq/32c279691ad4e568dbe33ba72aa3546e
To me it seems that user-level threads (like async in C#) and system-level threads are mostly an implementation distinction, a distinction that shouldn't permeate the language as it tends to do.
Isn't his whole 'blocking vs async' duality is ridiculous if you think about it? In both cases, you wait for something to happen. For a high-level language, by what mechanism that waiting happens can be a runtime concern and exposed through common abstractions (e.g. for futures).
Bicep deployment errors: "script failed with exit code: 1". Helpful.
Go to the output and find "ERROR: " followed by a big single-line JSON dump containing, as a string, another JSON dump containing another string of the stack trace.
jq to the rescue!
jq -r .error.details[0].message |
jq -r .properties.comment
(the error was file-in-use)
I'd like to help a blind friend get on Mastodon. Anyone have experience using VoiceOver with any of the iPhone apps?
SDL3 is officially released! https://github.com/libsdl-org/SDL/releases/tag/release-3.2.0
A little after midnight on Christmas, I received an unsolicited "roast" for one of my open source libraries.
The roast was AI-generated.
Naturally, I decided to look into who's behind this spam campaign and expose them.
https://soatok.blog/2024/12/26/roasted-christmas-spam-from-muhu-ai/
#opensource #ai #spam #muhuai #tech #technology #enshitification
Programmer. Likes Unix in its various modern incarnations. NetBSD (pkgsrc) developer
Dutch and more about non-tech: @sjmulder