Archive for April 6, 2021

Tuesday, April 6, 2021 [Tweets] [Favorites]

Swift “Collections” Package

Karoy Lorentey (tweet):

I’m thrilled to announce Swift Collections, a new open-source package focused on extending the set of available Swift data structures. Like the Swift Algorithms and Swift Numerics packages before it, we’re releasing Swift Collections to help incubate new functionality for the Swift Standard Library.

[…]

The main benefit of Deque over Array is that it supports efficient insertions and removals at both ends.

[…]

OrderedSet is a powerful hybrid of an Array and a Set.

[…]

OrderedDictionary is a useful alternative to Dictionary when the order of elements is important or we need to be able to efficiently access elements at various positions within the collection.

Previously:

Use Emergency Bypass to Circumvent Do Not Disturb

Josh Centers and Adam Engst:

What’s the difference between Allow Calls From and Emergency Bypass? In essence, you can use Emergency Bypass to allow both calls and text messages. However, it’s not as straightforward as Allow Calls From. There’s no mention of Emergency Bypass in the Do Not Disturb settings, you have to find and enable it for individual contacts, and you shouldn’t confuse it with the unrelated Emergency Contacts used for Medical ID notifications.

[…]

There is one potentially unexpected caveat. If your Mac is awake and running Messages, it will likely capture text messages before they’re sent to your iPhone. In most situations, that’s sensible—you don’t want text message notifications to make sounds on every Apple device you own if you’re actively using your Mac. Obviously, if you’re away from your Mac, it should be sleeping, but if that’s not true for some reason, it could prevent messages from arriving on your iPhone regardless of Emergency Bypass.

[…]

The only thing to keep in mind is that Emergency Bypass will cause your iPhone to make sounds even if Do Not Disturb is on and the ring/silent switch is enabled. That’s the point, of course, but there are situations where silence is essential—a recital, a play, a meditation class. In other words, if Emergency Bypass overrides Do Not Disturb, how can you override Emergency Bypass every so often? Editing individual contact cards is clearly too much work. We found two levels of workaround[…]

This seems so complicated. But, then, it’s also not so simple to describe how you want it to behave.

Switching Back to Mac

Carlos Fenollosa (via Hacker News):

Due to very bad decisions by Apple’s product marketing teams, Mac hardware and software had been in steady decline since 2016.

Therefore, there has been a trickle of articles on the Geekosphere about people switching from Macs to Linux or Windows.

This is the contrarian view. Don’t do it.

The TL;DR is right there in the title: migrating to Linux is fine, but don’t expect a better experience than the Mac.

He really liked the Nautilus file manager, though.

Previously: