Mark Bessey

@mbessey@sfba.social
111 Followers
359 Following
804 Posts
I mostly work on Mac and iOS applications these days, but have a wide range of experience covering <mumble> decades. When I'm not working, I dabble in making music, playing video games, and talking about movies.
I love science, art, mythology, science fiction, and chocolate.
Bloghttps://markbessey.blog/
The thing about Lower Decks is that every couple of episodes, they do something that makes me want to get up and chant β€œOne of us! One of us!”

I have just started re-reading the portion of "The Rust Programming Language" where they discuss asynch/await, and it starts with, basically, saying that just setting up the simplest example is so complicated that they've built a wrapper crate around the five different dependencies you need to include to do anything at all.

I get that the intent here is to just show how it's supposed to work without getting bogged down in the details, but it really leaves a bad taste in my mouth, you know?

Especially since I'm already familiar with a half-dozen different implementations of this idea, so I just want to know what's different, here. I guess I can just dig into the Tokio and reqwest docs after this...

#rust #programming

If you think it can’t happen here, remember that it already did. In 1942 soldiers came with rifles to our home and ordered us out. They put us in internment camps. Most of us were citizens.

We now have a political assassin impersonating a police officer on the loose in Minnesota, which, aside from being horrifying in and of itself, underscores the danger of the proliferation of anonymous federal law enforcement deployments from a wide variety of unfamiliar agencies conducting aggressive immigration operations across the country.

Is that uniformed person who's stopping you or demanding entry to your home legit or a psychotic vigilante seeking to harm you? It's impossible to know.

Padilla's assault & handcuffing is getting all the attention, but what Noem said is perhaps more terrifying.

"We are not going away. We are staying here to liberate the city from the socialists and the burdensome leadership that this governor and that this mayor have placed on this country and what they have tried to insert into the city."

Admitting they're not here for violent criminals, they're here to overthrow our elected officials

Aaarrrg. MacOS keychain is giving me fits today.

I just want to copy an item out of the keychain, and fail if the user would need to authenticate. SecItemCopyMatching keeps raising the "<a program> wants to make changes in your keychain" dialog, even though:

1. I'm not modifying anything, and
2. I have added the kSecUseAuthenticationUI key set to kSecUseAuthenticationFail to the query
3. I also tried creating an LAContext with interactionNotAllowed set

looking on the internet, all I see is people using approach number 2 or 3 successfully.

#swift #macos #cocoa #programming

If your app crashes on 0x400000000000bad0 when running on the new stuff, it means you have an ObjC strong variable/property being concurrently mutated. https://developer.apple.com/documentation/xcode-release-notes/xcode-26-release-notes#Objective-C-Runtime
Xcode 26 Beta Release Notes | Apple Developer Documentation

Update your apps to use new features, and test your apps against API changes.

Apple Developer Documentation

And now, I just need to make sure I don't accidentally install MacOS 26 over top of my existing OS. This was easier when they provided installer apps at WWDC. I don't really trust Software Update to give me a choice of where to install.

#wwdc #macos

Pour one out for the Intel-processor Macs. You were hot, and you were noisy, but at least you were slow, too.

#wwdc #goodriddance

SwiftUI performance improvements? That's nice to hear. And reduced 'mainactor' annotations. Nice!

#wwdc #swift