Weeknotes 2025 W25: Blades in the Dark

June 16​–​22, 2025
700 words

Quick bits:


For Deniki, I’m struggling to figure out a good way to handle state management.

It is a 100% AppKit application, which gives me the power and the flexibility to build what I need. This is great, but also comes with quite the overhead: state management just isn’t an interesting problem to solve.

I have experimented with writing small parts in SwiftUI, which trades flexibility and power for conciseness, but sharing state between SwiftUI and AppKit is something I have no real good clue how to do. My attempts at using Observation framework have failed, as has my experimentation with the older ObservableObject protocol. More research is needed.

There’s also Cocoa Bindings, which could be useful in reducing some of the boilerplate. But does that increase the overall complexity, or decrease it? How does it interact with Observation/ObservableObject?


My curiosity got the better of me, and I tried Gemini again. It told me to rewrite my macOS Swift application into Electron/JavaScript/Tailwind. I said no, then it suggested rewriting it in Java+Swing.

Even when I got it to generate Swift/AppKit code, it often doesn’t compile, and even if it does, in 95% of the cases it does not actually work, either due to runtime exceptions or the code having a distinctly different effect from what I intended.

Why I still bother with LLM technology is beyond me.

The big question that is looming over all this: given my consistently abysmal experience with it, how can it be that there are people who claim that LLM-based code generation is genuinely helpful for them?


Entertainment:


Links:

Tech links:


  1. Unavowed (Wadjet Eye Games, 2018), published by Wadjet Eye Games. ↩︎

  2. Twin Peaks, written by David Lynch and Mark Frost (Lynch/Frost Productions, Propaganda Films, Spelling Entertainment, 1990). ↩︎

  3. Unfortunately, the car says “Sheriff Department” while the building is titled “Sheriff’s Department.” This discrepancy naturally makes the entire series barely watchable. ↩︎

  4. Midsommar, written and directed by Ari Aster (A24, B-Reel Films, Nordisk Film, 2019). ↩︎

You can reply to this weeknotes entry by email. I’d love to hear your thoughts!
If you like what I write, stick your email address below and subscribe. I send out my weeknotes every Sunday morning. Alternatively, subscribe to the web feed.
Incoming links: Blades in the Dark.