Archive for February 24, 2026

Tuesday, February 24, 2026

Swift Testing With Event Streams

Matt Massicotte:

The original implementation used XCTestExpectation to do it. […] At first, I thought that I could use Swift Testing’s confirmation system to handle this.

[…]

But this had two problems. The obvious one is the nesting. I couldn’t figure out an easy way to avoid it. And in fact, my real code had even more callbacks than this.

The second was about ordering. As far as I can tell, there’s no way for me to distinguish here between “a-b” and “b-a”.

[…]

Eventually, someone else suggested I use an AsyncStream to capture events.

Previously:

How to Replace Time Capsule

Howard Oakley:

Tahoe no longer lets you start a new backup on a Time Capsule, nor it appears to any other store requiring HFS+ (Mac Extended) format.

Time Capsule support is expected to end with macOS 26 Tahoe, as macOS 27 is unlikely to support AFP any more, so those Intel Macs compatible with Tahoe can continue backing up to Time Capsules until they’re replaced. Apple remains intentionally vague about this, stating only that AFP “won’t be supported in a future version of macOS”, and has been even less clear about support for backup stores on HFS+.

[…]

If you’ve upgraded to macOS Tahoe and erase your Time Capsule’s backups, you’ll be unable to store any new backups on it, unless you revert to Sequoia. This is yet another compelling reason not to upgrade to macOS 26.

This is of course an issue because Time Capsule backups frequently become inoperable and need to be reset.

Glenn Fleishman:

Time Capsule was always on, could be located anywhere you could plug it in, handled connections over Wi-Fi and Ethernet, and allegedly just worked. As any of us who owned one recalls, it often didn’t just work. Backups would fail, requiring erasure of the entire internal drive with no option to recover older backups. There was no Disk First Aid for Time Capsule.

[…]

Internet-hosted backups are a good supplement, but I don’t think there’s a drop-in replacement that boasts the same ease, even if reliability were not an issue.

[…]

What can you do today to replace a Time Capsule and provide the functionality it offered? You have effectively three choices:

  • Add a drive (or drives) to a desktop Mac.
  • Install a NAS that supports the features required for Time Machine.
  • Use a third-party tool that is tweakier than Time Machine, but may fit the bill better.

Helge Heß:

What do you recommend for a noob that wants to make sure his Mac laptop is backed up? I did setup my Synology to do the same, but it is pretty awkward and much worse than what Time Capsule provided.

Previously:

Annoying TextEdit Scroll Bar in Tahoe

susukang:

This problem is already reported not only on Reddit but also on Apple Community.

[…]

At least, one annoying problem is fixed that the scroll bar keeps moving to the right, which makes some letters on the left unreadable.

Via Jeff Johnson:

TextEdit rtf documents always appears horizontally scrolled with show ruler

Always showing the scroll thumb seems to be fixed in macOS 26.4 Developer Beta 1, but it adds a new problem. Now the scroll bars look funny, with a gray background behind the rounded, gray scroll track. (Johnson sees the extra gray background with macOS 26.3, so maybe there’s some other factor that triggers it?)

Previously:

TextEdit Love

Kyle Chayka (Hacker News):

What I’ve accrued the most of by far, though, are TextEdit files, from the bare-bones Mac app that just lets you type stuff into a blank window. Apple computers have come with text-editing software since the original Mac was released, in 1984; the current iteration of the program launched in the mid-nineties and has survived relatively unchanged. Over the past few years, I’ve found myself relying on TextEdit more as every other app has grown more complicated, adding cloud uploads, collaborative editing, and now generative A.I. TextEdit is not connected to the internet, like Google Docs. It is not part of a larger suite of workplace software, like Microsoft Word. You can write in TextEdit, and you can format your writing with a bare minimum of fonts and styling. Those files are stored as RTFs (short for rich-text format), one step up from the most basic TXT file. TextEdit now functions as my to-do-list app, my e-mail drafting window, my personal calendar, and my stash of notes to self, which act like digital Post-its.

I trust in TextEdit. It doesn’t redesign its interface without warning, the way Spotify does; it doesn’t hawk new features, and it doesn’t demand I update the app every other week, as Google Chrome does. I’ve tried out other software for keeping track of my random thoughts and ideas in progress—the personal note-storage app Evernote; the task-management board Trello; the collaborative digital workspace Notion, which can store and share company information. Each encourages you to adapt to a certain philosophy of organization, with its own formats and filing systems. But nothing has served me better than the brute simplicity of TextEdit, which doesn’t try to help you at all with the process of thinking.

This resonated with me even though I mostly use TextEdit on secondary Macs that don’t have all my apps installed.

Via Michael Steeber:

I almost always have an unsaved document open on my Mac that I use like a scratchpad. And I have it set to create plain text files by default.

Louie Mantia:

Some things may not require redesigning. We might have simply figured them out.

Jason Anthony Guy:

Other than that final font faux pas—TextEdit’s default font is Helvetica—it’s a wonderful ode to an underappreciated app and a beautiful bit of writing.

John Gruber (Mastodon):

I get the feeling that Chayka would be better served switching from TextEdit to Apple Notes for most of these things he’s creating. Saving a whole pile of notes to yourself as text files on your desktop, with no organization into sub-folders, isn’t wrong. The whole point of “just put it on the desktop” is to absolve yourself of thinking about where to file something properly. That’s friction, and if you face a bit of friction every time you want to jot something down, it increases the likelihood that you won’t jot it down because you didn’t want to deal with the friction.

[…]

But a big pile of unorganized RTF files on your desktop — or a big pile of unsaved document windows that remain open, in perpetuity, in TextEdit — is no way to live. You can use TextEdit like that, it supports being used like that, but it wasn’t designed to be used like that.

Of course, I think EagleFiler offers the best of both worlds. You get the same delightful text engine as TextEdit, yet you skip the friction of creating and saving files. But there’s no opaque database or proprietary file format like with Apple Notes; the real RTF files are still there, organized in real folders, and you can double-click to edit them in TextEdit itself if desired.

Garrett Murray (Mastodon):

This exact scenario is what led me—22 years ago, in 2004!—to create xPad for macOS.

Jon Snader:

Since I write everything in Emacs, this never happens to me. Part of starting a new file is executing a find-file which specifies its name and file system location. Even then, I just specify it in the minibuffer; there’s no annoying open dialog to deal with.

[…]

As you all know, I solved the same problem with Journelly. I use it as my memo book and typically make about 10 entries per day. People think of Journelly as integrated with Emacs but it can also save its data in Markdown so it’s perfectly usable on any system and editor as long as you’re using an iPhone.

It’s amusing how 40 year old technology is still more convenient and easier to use than “modern” systems with dialog boxes for everything.

Marcin Wichary:

Notes are still evolving. The UI keeps changing. I’ve had a note shared by a friend hanging alongside my own notes for years, without me asking for it. I remember the moment when tags were introduced, and suddenly copy/​paste from Slack started populating things in the sidebar. Then there was this scary asterisked dialog that slid so well into planned obsolescence worries that it felt like a self-own[…]

[…]

On top of that, the last version of Apple Notes on my macOS occasionally breaks copy/​paste (!), which led to some writing loss on my part. (If you cut from one note intending to paste in another, and realize nothing was saved in the clipboard, you lost the text forever.)

Jeff Johnson:

“I trust in TextEdit. It doesn’t redesign its interface without warning”

Except TextKit 2 totally wrecked the TextEdit UI.

Rony Fadel:

Dang what a downgrade (macOS Tahoe)

Jeff Johnson:

I finally figured out a longstanding, annoying TextEdit bug:

FB21856749 Mouse pointer changes from I-beam to arrow when clicked on insertion point, thereby preventing text selection

This is especially problematic when you open a document in TextEdit, which places the insertion point at the beginning, and you want to select text from the beginning. It’s difficult to avoid clicking on the insertion point.

Wevah:

Oh wow. I wonder if it’s because the insertion point is now its own view instead of being drawn by the text view (iirc).

See also: Mac Power Users Talk.

Previously: