Jacob

@jacobmealey
34 Followers
107 Following
197 Posts
I often write code
It often works out nicely
But often it breaks
GitHubhttps://github.com/jacobmealey/
Do you have ANY idea how incredibly privileged I am, that I get to live a life that allowed me to get PAID for making my own game console? That's literally absurd.

The worst part about programming is setting up a project and getting dependencies working. There's a reason we make such a big deal about "Hello, world!".

I spent several hours this weekend trying to get SDL3 working on my Mac in a new app. It turned out my mistake was creating a "CLI Command" (which worked fine in the past) and not an "App". WTF.

In case it spares anyone else this pain: https://journal.stuffwithstuff.com/2025/07/13/setting-up-an-sdl3-mac-app-in-xcode-16/

Setting Up an SDL3 Mac App in XCode 16 – journal.stuffwithstuff.com

incredible number of lightning bugs/fireflies out lately
The final solution I landed on is to use the index and index to the Token I want, which now feels very obvious.
I spent a while trying to hold a reference to &Token in my parser, but Rust doesn't like holding multiple references while also mutating state, which makes sense but I kept trying to force it to work.

I've just rewritten part of my parser to use references instead of copying tokens... it took longer than I care to admit to figure it out.

I'm happy with the final results, but sometimes the borrow checker rears its head in ways I do not expect.

https://github.com/jacobmealey/slush/commit/29e01a76e52ba3d07c30bf6473316ebf10704b76

parser: Uses references to Vec<Token> instead of cloning tokens · jacobmealey/slush@29e01a7

A shell you can drink! Contribute to jacobmealey/slush development by creating an account on GitHub.

GitHub

Almost everytime my linux laptop wakes from sleep, it's unbearably slow for a while where unlocking the GNOME Shell takes longer, applications take longer to load etc...

After using the laptop for a few minutes, it returns back to normal. I think it's related to CPU clock speeds or something and I haven't been able to solve this for so long. I hope someone can point me to how to fix it.

It's an HP with an Intel CPU and 32gb of RAM. I run alpine linux on it.

#askfedi #Linux #alpine

So, I’ve been toying with #OCaml and found a pretty frustrating issue with some syntax in the cookbook.

I figured out the problem, while, admittedly, barely understanding OCaml, did a PR and it got merged in less than 12 hrs.

For me there is always a little bit of a rush when you get a PR merged in a new project and domain.

https://github.com/ocaml/ocaml.org/pull/3196#event-18471919557

Cookbook: fix syntax issues on json serialise by stockholmux · Pull Request #3196 · ocaml/ocaml.org

Fixes #3195 Updated yojson version Corrected deriving Corrected assignment syntax

GitHub

"your game sucks" from my #inbox

Short and to the point.

https://daniel.haxx.se/email/2025-06-08.html

Looking into some curl tests behaving oddly on OpenBSD and I found this gem:

HTTP/1.1 200 funky chunky!
Server: fakeit/0.9 fakeitbad/1.0