Archive for January 26, 2022

Wednesday, January 26, 2022 [Tweets] [Favorites]

macOS 12.2

Juli Clover (download):

macOS Monterey 12.2 is a bug fix update, and Apple’s release notes have no information other than generic bug fix information. We don’t yet have a full list of security updates, but we do know that macOS Monterey 12.2 addresses a Safari bug that could cause your recent browsing history and details about your identity to be leaked to malicious entities.

Howard Oakley:

Details of security fixes in macOS 12.2 are given here. They include one kernel vulnerability, and total 13.

See also: Mr. Macintosh.

Previously:

Update (2022-01-31): Howard Oakley:

Initial quick testing unfortunately demonstrates that one major bug in 12.0.1 and 12.1 hasn’t been fixed: the Finder still leaks memory badly when its Find feature is used. This doesn’t appear to have even been reduced.

Howard Oakley:

This memory leak appears to affect all models of Mac, both Intel and M1, running any version of Monterey from its initial public release 12.0.1 to the latest update 12.2. As it affects one of the key features of the Finder, if you use the macOS GUI sooner or later you’re likely to come across it, and for some users it’s severe.

[…]

The (literally) big danger is typing one character in and leaving the search to run: do that once, and the Finder’s memory use could readily rise into several GB.

Howard Oakley:

What I find unacceptable about Monterey 12.2 is that it still – three months and two updates after 12.0.1 – suffers a large and severe memory leak which is easily reproducible and renders a key feature in the Finder almost unusable.

Joe Rossignol:

Apple released macOS Monterey 12.2 earlier this week, and some Mac users who have installed the software update are experiencing excessive battery drain during sleep mode, seemingly due to Bluetooth accessories frequently waking the computers.

See also: Hacker News.

Previously:

Update (2022-02-08): My iMac has been having serious problems since updating to macOS 12.2.

iOS 15.3 and iPadOS 15.3

Juli Clover:

Apple will have a full list of security updates on its website, but today’s iOS and iPadOS 15.3 updates specifically address a recently publicized Safari exploit.

Previously:

Update (2022-01-31): Damien Petrilli:

iOS 15 big regressions still not fixed 5 months later:

  • HomeKit: status is totally buggy and unreliable
  • Siri: understand less and less stuff, conflicts between devices when talking
  • Syncing: no app can sync in background anymore. You have to open the App to trigger a sync

Update (2022-02-04): Scott Hanselman:

[S]omething has changed in dictation in 15.3. I dictate extensively on my phone and iPad, and i’m seeing regular crashes and lock ups with dictation in seemingly ordinary text boxes

Swift Foundation Formatter Improvements

Keith Harrison:

Unfortunately the documentation is not great so here’s a summary starting with date formatting.

[…]

In iOS 15 you apply the formatting directly to the Date without the need to create (and cache) a formatter. For example, the formatted(date:time) method applies predefined date and time styles[…]

[…]

You customize the output by adding fields to the style. The output then contains just the fields you want:

now.formatted(.dateTime.year().day().month()) // Jan 23, 2022

[…]

If you add the .attributed field to a format you get back a formatted attribute string. This is handy when you want to format components of the output[…]

The above example is for localized formatting, so the order that you specify the fields in doesn’t matter, and the styles and spellings are subject to the user’s settings.

To specify exactly the format that you want, there’s a new type-safe alternative to format strings. Instead of:

let dateFormatter = DateFormatter()
dateFormatter.dateFormat = "yyyy-MM-dd"
dateFormatter.string(from: date)

You can write:

date.formatted(Date.VerbatimFormatStyle(format: "\(year: .defaultDigits)-\(month: .twoDigits)-\(day: .twoDigits)", 
                                        timeZone: .current, 
                                        calendar: .current))

Yes, unfortunately this method leads to long code lines. And you probably still need to use Locale(identifier: "en_US_POSIX") to get dependable results.

Previously:

Update (2022-05-31): See also: Donny Wals.

The 5G Airline Controversy

James Fallows (via Jason Snell):

This post is a basic who-what-why primer on the controversy involving new 5G wireless networks, and airline operations at major U.S. airports.

[…]

Short version: 5G versus the airlines is potentially a real issue, rather than a bogus threat. But it’s likely that the parties involved will work out adjustments soon.

Julio Ojeda-Zapata:

Much has been made—at least by the industry—of 5G’s potential to remake society by enabling gee-whiz technologies such as autonomous vehicles, remotely controlled medical procedures, vast sensor networks, and much-talked-about metaverse (see “Understanding 5G, and Why It’s the Future (Not Present) for Mobile Communications,” 11 November 2020). It remains to be seen how much of this will come to pass, but the addition of C-band support by AT&T and Verizon goes a long way toward providing speedy, widely available 5G to more iPhone and iPad users.

Previously: