Jacob

@jacobmealey
34 Followers
107 Following
195 Posts
I often write code
It often works out nicely
But often it breaks
GitHubhttps://github.com/jacobmealey/
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

#curl 8.14.1 is out

https://daniel.haxx.se/blog/2025/06/04/curl-8-14-1/

Thanks to Calvin Ruocco, Dan Fandrich, Daniel Stenberg, denandz on github, Ethan Everett, Jacob Mealey, Jeremy Drake, Jeroen Ooms, John Bampton, Kadambini Nema, Michael Kaufmann, Rasmus Melchior Jacobsen, Ray Satiro, Samuel Henrique, Stefan Eissing, Viktor Szakats, x-xiang on github, Yedaya Katsman, Yuyi Wang, z2_

curl 8.14.1

This is a patch-release done only a week since the previous version with no changes merged only bugfixes. Because some of the regressions in 8.14.0 were a little too annoying to leave unattended for a full cycle. Release presentation At 10:00 CEST (08:00 UTC) I do a release presentation live-streamed on Twitch. Numbers the 268th … Continue reading curl 8.14.1 →

daniel.haxx.se
An excellent side effect of using an old laptop as a little server is you get a UPS for free.