ylliX - Online Advertising Network

How @MainActor works

@MainActor is a Swift annotation to coerce a function to always run on the main thread and to enable the compiler to verify this. How does this work? In this article, I’m going to reimplement @MainActor in a slightly simplified form for illustration purposes, mainly to show how little “magic” there is to it. The […]

iPhone owners are pickier about apps than Android users

Third-party iPhone apps scored significantly lower than their Android counterparts, according to an analysis of user reviews of 4,400 top mobile apps. This does not necessarily mean that Android offers better third-party software, though. iPhone users simply expect more from their apps. “The data shows iOS users are more critical of mobile apps than Android users […]

Why You’re NOT Getting Better at Tennis – Essential Tennis Podcast #380 | Essential Tennis Podcast – Instruction, Lessons, Tips

Tennis players blame all kinds of things for not improving as fast as they want including lack of time, money, training partners and quality coaching. Unfortunately there’s a much bigger, more important reason that nobody ever talks about. Find out what it is and how you can overcome it in this special episode of the […]

the memory palace

Episode 120 (The Prairie Chicken in Wisconsin: Highlights of a Study of Counts, Behavior, Turnover, Movement, and Habitat) The Memory Palace is a proud member of Radiotopia, from PRX, a curated network of extraordinary, story-driven shows. Music We move between three different pieces from Camille Saint-Saens’: Suite, Op. 90: II Menuet, and two from Carnival of… Source […]

iPhone shipments grow while Android tanks | Cult of Android

The global market for Android phones shrank considerably in the first quarter of 2022, even as iPhone shipments rose. Shipments from every major Android maker declined, from Samsung on down. Their combined drops were enough to reduce world smartphone shipments in Q1 by around 10%. iPhone sold well in Q1 2022 Quarterly shipment figures aren’t […]

AttributedString’s Codable format and what it has to do with Unicode

Here’s a simple AttributedString with some formatting: import Foundation let str = try! AttributedString( markdown: “Café **Sol**”, options: .init(interpretedSyntax: .inlineOnly) ) AttributedString is Codable. If your task was to design the encoding format for an attributed string, what would you come up with? Something like this seems reasonable (in JSON with comments): { “text”: “Café […]