Out of time, but got _an_ implementation for what the sync route could look like. Tomorrow night, let's verify it matches my notes and write some tests. See you then!
🔜 Tomorrow’s stream: https://youtube.com/live/pHcJWUmLoZ0
⏮️ Playlist so far: https://www.youtube.com/playlist?list=PLRxjf93xotuofCtaxtGOcWeuxVZYJyY-m
📲 Download Jiiiii: https://apps.apple.com/app/apple-store/id6472801548?pt=14724&ct=MastodonCCStreams&mt=8
#Jiiiii #DevStream #tvOS #visionOS #macOS #iOS #iPadOS #Anime #Swift #SwiftUI #Vapor #WebAuthn #BuildInPublic #TestFlight #PWA #WebPush

Got a good chunk of the commit code thought out, but still need to think through some nuanced aspects. Tomorrow night, let's integrate the commit with a sync in general and see what else crops up. See you then!
🔜 Tomorrow’s stream: https://youtube.com/live/-5GnbjQelMg
⏮️ Playlist so far: https://www.youtube.com/playlist?list=PLRxjf93xotuofCtaxtGOcWeuxVZYJyY-m
📲 Download Jiiiii: https://apps.apple.com/app/apple-store/id6472801548?pt=14724&ct=MastodonCCStreams&mt=8
#Jiiiii #DevStream #tvOS #visionOS #macOS #iOS #iPadOS #Anime #Swift #SwiftUI #Vapor #WebAuthn #BuildInPublic #TestFlight #PWA #WebPush

Which is possible a side effect, idek if you'd call it a feature of the function, I believe its in place for when you accidentally pass a null pointer. But who knows, either way fflush(nil) flushes all output streams so managed to resolve the issue I was having where I'd have to wait to pass a new line to flush the output stream.
Only took 2 days of light prodding so I do think my Swift skills are improving!
Anyways, enough "politics", I actually came across a kinda out there swift issue!
In Swell, I used to use a C/CPP function called fflush to flush the stdout output stream everytime a new character is typed into the prompt.
In Swift 6+, and specifically in Linux, any reference to stdout throws the error "reference to var stdout is not concurrency-safe because it involves shared mutable state"
I resolved it by...not referencing mutable state... i.e. fflush(nil)
Found out that SwiftPackageIndex provides a way to host documentation on their website. Neat. I used it for a plugin I worked on.