Toots for jaredsinclair@mastodon.social account

Written by Jared Sinclair on 2025-01-10 at 20:31

A rich evil white dude getting found guilty of a felony and his “punishment” is literally nothing, legally-defined nothing, instead he … just gets to become president — this is Peak America.

=> More informations about this toot | View the thread

Written by Jared Sinclair on 2024-12-16 at 19:25

tfwu know that some public API surface has the wrong combination of @-MainActor and/or @-Sendable on some block parameter and you'd bet money it's because nobody outside the language maintainers (and a handful of 3rd-party nerds) are following the concurrency evolution closely enough to give a crap about it so now it’s up to you, dear third-party developer, to annotate dozens or hundreds of call-sites with MainActor.assumeIsolated because the platform library owners don't have the guts to do it.

=> More informations about this toot | View the thread

Written by Jared Sinclair on 2024-11-19 at 13:45

I'm glad ChatGPT exists if only to help me resolve my word-finding difficulties that seem to get worse all the time.

Today's example: “the calculus”.

Couldn't think of it, kept getting stuck on “the circumstances” or "the reckoning”.

=> More informations about this toot | View the thread

Written by Jared Sinclair on 2024-11-13 at 15:08

@mattiem @cocoaphony I've added a big update (the second half) to my post from yesterday, inspired by ya’ll's feedback: https://jaredsinclair.com/2024/11/12/beware-unchecked.html

TL;DR I went down the rabbit hole of ~Copyable (noncopyable) as it's used by Mutex and learned some helpful things I'm going to put into backportable Mutex alternatives.

=> More informations about this toot | View the thread

Written by Jared Sinclair on 2024-11-12 at 16:25

Beware @-unchecked Sendable, or Watch Out for Counterintuitive Implicit Actor-Isolation

Swift 6 puts runtime assertions on your code that are not possible to remove without refactoring to address compile-time issues, so you better hope you have write-access to the code in question.

https://jaredsinclair.com/2024/11/12/beware-unchecked.html

=> More informations about this toot | View the thread

Written by Jared Sinclair on 2024-11-02 at 16:44

@isaiah Help me remember something. I remember reading, or being told, that there were specific reasons to avoid, in Objective-C, providing a property named exactly id. Like, besides the way it creates human confusion as an exact match for the reserved keyword id, there was some reason (or reasons) beyond that which made it inadvisable to do so. I cannot recall the specific reasons anymore, and Google absolutely fails to find my answers. Can you recall what the specific reasons were?

=> More informations about this toot | View the thread

Written by Jared Sinclair on 2024-10-10 at 18:14

I don't remember writing this but I still dig it.

=> View attached media

=> More informations about this toot | View the thread

Written by Jared Sinclair on 2024-09-26 at 15:26

=> View attached media

=> More informations about this toot | View the thread

Written by Jared Sinclair on 2024-09-21 at 14:36

No matter how hard I try I am not getting better at this barista art thing.

=> View attached media

=> More informations about this toot | View the thread

Written by Jared Sinclair on 2024-09-21 at 13:46

Unable to install to an iPhone 16 Pro Max (Developer mode enabled, powered on, connected, unlocked) using Xcode 16's final release build (16A242d).

Anyone else seeing this?

=> View attached media

=> More informations about this toot | View the thread

Written by Jared Sinclair on 2024-09-10 at 13:07

@mattiem @cocoaphony The error disappears with (among other possible workarounds) prefixing the CoreData import with @-preconcurrency, however that feels like a cop-out. What's your gut take here: are we (Apple platform devs generally) facing a medium-term future where there are lots of valid "correct” API usages that, because they cannot be checked as valid and correct by the Swift concurrency checker, will permanently require manually suppressing and working around these warnings and errors?

=> More informations about this toot | View the thread

Written by Jared Sinclair on 2024-09-10 at 13:05

@mattiem and @cocoaphony I'm curious what ya'll think about this. So my teammates and I were hoping that by Xcode 16 RC there would be better support for concurrency when working with CoreData. That hasn't happened, and doesn't feel like it's ever going to happen. Problem: we want to be ready to opt into Swift 6, and we want to avoid having to jump through hoops to quell warnings and errors. But then we run into stuff like this all over the place: (1 of N)

=> View attached media

=> More informations about this toot | View the thread

Written by Jared Sinclair on 2024-08-23 at 13:33

I missed the "buildable folders" feature from the Xcode 16 release notes. This is going to be really helpful—avoiding the most common cause of merge conflicts—just need to manually apply it to existing projects.

=> View attached media

=> More informations about this toot | View the thread

Written by Jared Sinclair on 2024-08-22 at 16:16

Remember when writing Swift wasn't just about satisfying the Swift Compiler?

=> More informations about this toot | View the thread

Written by Jared Sinclair on 2024-08-11 at 02:34

My name is Blue Canary, one note spelled L-I-T-E. . . .

=> View attached media

=> More informations about this toot | View the thread

=> This profile without reblog | Go to jaredsinclair@mastodon.social account

Proxy Information
Original URL
gemini://mastogem.picasoft.net/profile/114232/reblog
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
483.45555 milliseconds
Gemini-to-HTML Time
7.391008 milliseconds

This content has been proxied by September (ba2dc).