Assumed audience: people interested in learning and metacognitive tools.
Here are some of the things I learned this week, in the order I’ve noted them down.
# The Streisand Effect
Refers to the phenomenon that happens when the act of trying to hide or censor certain information ends up having the opposite effect of spreading it even further ((wiki)[https://en.wikipedia.org/wiki/Streisand_effect]).
# CryptoKit & Swift Crypto
I needed to migrate a few lines of code from CryptoKit in a Mac app to Swift Crypto in a server-side service, and was pleasantly surprised when I realized that the two frameworks expose the same APIs, making for a hassle-free migration and a happy Swift developer.
# Testing Executable Swift Packages
Is it only me or executable Swift packages can’t be tested in SPM and Xcode? I haven’t tried in the CLI but I was getting all sorts of cryptic errors that only went away when I moved the code to a standalone library. I need to take a closer look into this to get a more complete understanding of what’s going on.
# The Actor Model
While trying to follow along the Swift Concurrency Roadmap, I came across the concept of the actor model which, beside yielding some noteworthy image results in DuckDuckGo, seems to be a tried-and-true computation concurrency model that draws some inspiration from the laws of physics. I have a ton more reading to do to actually understand any of this, but I’m looking forward to that.
Found any typos? Edit the post here.