Damus

Recent Notes

ARGVMI~1.PIF profile picture
The *original* original soundtrack for #Descent 2, on an (emulated in this case) #OPL3.

This is what you'll hear if you're playing the Descent 2 demo or if you turn the CD music off.

https://youtu.be/A7_X9rH7kk0

As you can see, it slaps.

Why Parallax decided not to complete this soundtrack and hire some metal bands to record a handful of CD music tracks for this game instead, I cannot fathom. They clearly got it right the first time.

#retrogaming
ARGVMI~1.PIF profile picture
After some digging, I found the code change I was looking for.

It's complete crap. I decided to rewrite it properly. 😂

And yes, I'm the one who wrote the aforementioned complete crap.

#programming
ARGVMI~1.PIF profile picture
The existence of best friends implies the existence of worst friends, mean friends, median friends, and outlying friends who are more than three standard deviations from mean.

#statistics #shitpost
ARGVMI~1.PIF profile picture
@nprofile1q...

Yeah, I find C's lack of proper dependency management disturbing.

In Rust/JS/Java land, you can ask your dependency manager to give you a list of transitive dependencies and their licenses. Then you can redistribute them (or, in Rust, statically link them) without hearing from anyone's lawyers.

What's happening here is this project is redistributing a bunch of libraries from MSYS2. It's probably legal, but without proper dependency management, it's hard to be completely sure.
ARGVMI~1.PIF profile picture
@nprofile1q...

Yeah, I'd better do that.

I'm not familiar with CMake, so I can't do anything about the GCC build failure or the fact that CMake doesn't automatically use Clang, but I can at least update the README to match the CI script.
ARGVMI~1.PIF profile picture
Is there a program that can find every #DLL required by an #EXE, recursively, except DLLs inside C:\WINDOWS, and hardlink/symlink/copy them all into the folder that the EXE is in?

Because the way dxx-redux is doing it right now https://github.com/dxx-redux/dxx-redux/blob/57b933783bf16c178b722604114aa50f34579be7/contrib/packaging/windows/build_package.sh#L30 looks fragile af. If any of those DLLs is in a path with a space or newline in it, that script won't work right. Among other issues.

There's gotta be a better way to do this, but I have no idea what.

#programming
ARGVMI~1.PIF profile picture
Project #maintainers: *please* make sure your #README build instructions and your #CI script agree with each other! Whenever you update one, you should be updating the other as well.

#programming
ARGVMI~1.PIF profile picture
Spent entirely too long failing to follow a project's README build instructions.

Then I noticed that it has GitHub CI so I ran those commands. *That* worked.

Why?

The CI script tells CMake to use Clang via envvars. The README instructions don't.

MSYS2 CMake defaults to GCC. The project's #CMake configuration files don't say Clang is required.

GCC somehow fails to link in a needed Windows system library, where Clang does not.

That's 3 separate epic fails all at once. 🤦‍♂️

#programming