Update : thanks to comments on GitHub and lobste.rs, I’ve been pointed to a) UASM 1 and b) Archlinux 2 , that means most Linux distros could build this version of 7-Zip from source. Now, if only I could convince Debian to add uasm to the dependencies. I’d still like to see benchmarks between the UASM and C-only versions of 7-Zip on Linux. If I was going to lean more into clickbait, I'd…
This is what I needed to do to get a completely static binary that will run on most (all?) Linux distros, regardless of what weird or ancient libc is on the system. The project file - where most of the hard parts happened: <Project Sdk= 'Microsoft.NET.Sdk' > <PropertyGroup> <OutputType> Exe </OutputType> <TargetFramework> net8.0 </TargetFramework> <ImplicitUsings> enable </ImplicitUsings>…
This article hasn’t quite gone where I wanted it to, but should serve as a warning to others. Maybe I’ll update it as I continue to learn the hard way. Siri’s just turned my kitchen lights red. I can’t really blame her, it does match my mood. I didn’t ask her to do it, but she thinks she’s talking to some premium light bulbs, so it’s probably my fault.…
I installed Postgres on my Windows 10 21H1 machine and was not able to start the database server - it insisted that port 5432 was in use. Event Viewer showed the following: 2021-08-14 13:03:04.273 AEST [19608] FATAL: could not create any TCP/IP sockets I got suspicious when running the server manually on different ports: PS C:\Users\Adam> & 'C:\Program Files\PostgreSQL\12\bin\postgres.exe' -D…
Booting a custom OS on a Redmi “onc” 7 I was gifted a Redmi Note 7. MIUI is okay, but there’s ads baked into the app installer and I’d really rather run something like LineageOS or even postMarketOS. Unfortunately, this is not the onclite variant that’s supported by things like TWRP, it’s a dual SIM variant that’s closer to the Redmi Y3, codename onc .…
Just a quick write up of what I’ve done to get rtl-sdr and kalibrate-rtl building for Windows. TL;DR: Builds can be found at my releases page , interesting Dockerfiles are rtlsdr builder and kalibrate builder Choosing a build environment I initially tried MSYS2, but I wasn’t able to get things working properly. I forgot to write down what went wrong, but I may revisit it. I knew Fedora…
Skill Trees I’m very good at getting side-tracked, but learning quite a lot while down a particular side track. This time I wanted to investigate how a particular app was working. The rise of HTTPS is fantastic for security and privacy, but terrible if you want to know what’s actually going out of your network. Instead of starting with the target app itself, I thought I’d build…
After losing some songs off a Spotify playlist, I started thinking about how I’d version control the playlist itself. What if I could git clone a Spotify playlist? git push to add new songs? git merge two playlists together? Sounds like an interesting experiment, at the very least. When you git clone from a https:// URL, git calls out to git-remote-https and does something to download the…