Played around with mach APIs a little to see how hard it is to inject code into a running process. Pretty similar to what you need to do on Windows.
Maybe this PoS code is helpful to others.
Fun fact: On ARM64, trivial functions may not have enough space for a long jump to a newly allocated memory area with new machine code.
Praise be x86_64 for its generous prologues and epilogues! ðŸ«


Played around with mach APIs a little to see how hard it is to inject code into a running process. Pretty similar to what you need to do on Windows.
Maybe this PoS code is helpful to others.
Built a little BlueSky related thing these past two days. Let's you watch posts with a specific #hashtag in it live, as well as create a thread for that #hashtag yourself. Great if you want to comment on a TV show together with others.
The somewhat more interesting part: it's entirely running client-side. That includes sipping from the firehose. There's no libf or that yet, so here you go, ymmv:
https://github.com/badlogic/skychat/blob/main/firehose.ts
Also ...
For all its faults, Mastodon is the better platform for people who care about having control over their data. It's definitely not perfect in that regard either, but at least it tries.
Also, it has GIFs and videos and polls. Based on BlueSky's dev velocity, they'll have that sometime 2032.
Quite a few people sure were surprised to learn that all their posts can be read without a BlueSky account. Especially those who fled Xitter to be a bit more sheltered from harassers and nazis.
Welp.
The past two nights I wrote a "thread reader app" for BlueSky.
Oh boy. The protocol is absolutely insane. RPC galore, responses are only partially typed. The docs are pretty much useless.
But the "funniest" part is this: there's no privacy. And I don't mean missing DMs.
All your posts are available through API endpoints. Without any authentication. By design.
The "invite-only" thing may have you think otherwise.
Here are my last 100 posts.

Today was ... interesting. If you followed me for the past months over on the shitbird site, you might have seen a bunch of angry German words, lots of graphs, and the occassional news paper, radio, or TV snippet with yours truely. Let me explain.
In Austria, inflation is way above the EU average. There's no end in sight. This is especially true for basic needs like energy and food.
Our government stated in May that they'd build a food price database together with the big grocery chains. But..