Robert Ryan

@robertryan
54 Followers
71 Following
140 Posts
Irrelevant Google ads are now appearing on StackOverflow (and other StackExchange sites) when visiting from my phone.

I’m not a fan of the iPadOS “Smart Activation” feature for focus modes. I prefer to manually control when and if I need different focus modes. However, my iPad keeps prompting me every few days to turn this feature on.

I gather that this is a known issue. I’ve already provided feedback to Apple, but has anyone found a workaround to stop this persistent prompt?

@cazencott “I'm not looking forward to the time we're going to waste on grading projects written by an algorithm” … I suggest this only partially tongue-in-cheek, but wouldn’t you use AI, yourself? One might use it as first-pass assessment of the student’s submissions, for (a) correctness; and/or (b) to estimate probability that the submission was generated by AI?
Anyone else seeing tech sites recycling old content? In the span of less than a week, I’ve stumbled across two egregious examples: MacRumors recently had an article about the best text editors and included Atom (sunset in Dec 2022). Medium also had a “recent” article talking about managing dependencies b/w asynchronous work by subclassing `Operation` (state of the art 7-10 years ago). In both cases, they could easily have generated interesting new content, but just recycled outdated content.

I hate Swift’s non-indentation of `case` statements of a `switch`. I know this was debated back in the day, and I understand the ultimate rationale, so I’ve been living with it, but I’m increasingly inclined to advise my team to turn on `case` indentation. We are increasingly using `switch` expressions, and find the lack of indentation unnecessarily unclear.

Interestingly, the switch expression proposal, SE-0380, indents the case statements (both for expressions and, largely, for statements)…

@j4ck @airspeedswift Perhaps https://thehill.com/homenews/senate/5184714-slotkin-slams-reckless-tariffs/. I think the representative quote is “a scalpel and not a sledgehammer.” (As an aside, Michigan politicians historically adopt slightly more protectionist positions given the automobile industry’s outsized role in local politics.)

This is the first app that I’ve actually deleted just because the icon was so bad; an assault on my visual senses. Sure, you can pick different app icon in settings (but you have to upgrade to premium to get a very simple one). But it just ended up prompting me to reconsider whether I need/want the app at all. In the end, it was cathartic to just delete the app.

It’s an object lesson of how important a thoughtful visual design can be (and how detrimental a less-thoughtful one can be, too).

@davedelong And there is the Combine’ RAII-esque nature contrasted with Swift concurrency, introduced just 2 years later. Or the very incomplete Swift Async Algorithms with a `throttle`/`_throttle` fiasco. Or that we have so many frameworks that just aren’t ready for Swift concurrency. The list goes on. I just don’t remember working in an environment where the language evolves so quickly and I spend so much time working around so many incomplete implementations or inconsistent paradigms. (2/2)
@davedelong For me, it is the dizzying array of syntax with Swift concurrency (`Sendable`, all the RBI kruft of `sending`/`consuming`/`borrowing`, the actor inheritance implementation, the task executor inheritance implementation, etc.; the list goes on). They’re flying along, foot on the gas, introducing more and more unintuitive syntax, it just getting worse and worse. And, as you said, the road is littered with half-baked solutions. To mix metaphors, the cure is worse than the disease. (1/2)
@cocoaphony I've been successful wrapping `Logger` with macro (to preserve the “jump to source” functionality), but have been unsuccessful in my attempts to concatenate/embed `OSLogMessage`. Obviously one can use a `String`, but then lose the privacy features. I constant feel like I’m fighting the system…