Eric Shapiro's Avatar

Eric Shapiro

@relium

20
Followers
28
Following
23
Posts
13.11.2024
Joined
Posts Following

Latest posts by Eric Shapiro @relium

Totally sucks. You can go settings > apps > safari > [change tabs to “bottom” instead of compact] and it reverts to how it was

13.12.2025 21:56 👍 177 🔁 17 💬 17 📌 8

Too quiet in the neighborhood tonight. I’m actually looking forward to the teenagers-without-costumes showing up.

31.10.2025 23:50 👍 0 🔁 0 💬 0 📌 0

You know you're getting old when your shoulder is sore from playing Skee-Ball.

07.08.2025 19:56 👍 0 🔁 0 💬 0 📌 0

Remember when "I've forgotten more about programming than you ever knew" was a flex and not admitting senility?

14.07.2025 21:51 👍 0 🔁 0 💬 0 📌 0
JSON Online Validator and Formatter - JSON Lint JSONLint is the free online validator, json formatter, and json beautifier tool for JSON, a lightweight data-interchange format. You can format json, validate json, with a quick and easy copy+paste.

I use this as a BBEdit plugin:

pretty-json.sh:
#!/bin/bash
python3 -c "import sys, json; print(json.dumps(json.load(sys.stdin), indent=2))"

and put it in /Library/Application Support/BBEdit/Text Filters

For validation, I usually use jsonlint.com

13.07.2025 00:25 👍 1 🔁 0 💬 0 📌 0
Post image

Apple "Intelligence"

27.06.2025 02:44 👍 0 🔁 0 💬 0 📌 0

Streamnesia: When you forget which streaming service a particular show is on.

12.06.2025 04:26 👍 0 🔁 0 💬 0 📌 0

Somebody please review all of the #WWDC videos and tell me which ones I should watch.

09.06.2025 23:01 👍 1 🔁 0 💬 1 📌 0
Post image

Siri no longer disappoints because expectations are so low.

08.06.2025 23:01 👍 0 🔁 0 💬 0 📌 0

If AIs are so good at creating computer code, why do all of their apps suck so much?

06.06.2025 03:44 👍 0 🔁 0 💬 0 📌 0

"sudo killall mds" is your friend.

26.04.2025 17:30 👍 2 🔁 0 💬 1 📌 0

he "" key isn' working on my MacBook Pro keyboard any more. his is annoying. Why couldn' i have been "z"?

21.04.2025 03:05 👍 1 🔁 0 💬 0 📌 0

Why did nobody ever tell me you can select a file in The Finder, Cmd-C, and then Cmd-Opt-V to move it rather than copy it?

Apparently this was added in 10.7 (2011), so still a "new" feature for me.

06.04.2025 06:41 👍 0 🔁 0 💬 0 📌 0
Celebrate Women's History Month with - wait for it - The Penguin.

Celebrate Women's History Month with - wait for it - The Penguin.

I think someone at #HBO is drinking tonight.

28.03.2025 03:58 👍 0 🔁 0 💬 0 📌 0

UPS: It will arrive by 7:45pm

Me: It didn't arrive until 7:48pm

UPS: Are you always this pedantic about time?

Me: Pretty-much

14.03.2025 00:12 👍 0 🔁 0 💬 0 📌 0

I am amused that Canada's retaliatory tariffs include:

Bombs, grenades, torpedoes, mines, missiles and similar munitions of war and parts thereof; cartridges and other ammunition and projectiles and parts thereof, including shot and cartridge wads.

03.02.2025 06:48 👍 0 🔁 0 💬 0 📌 0

♫ Forward down the field… ♫ #DetroitLions

19.01.2025 01:08 👍 0 🔁 0 💬 0 📌 0

Thanks. It's good to know I'm not missing something simple, but annoying that Swift concurrency can't more easily do something so commonly needed.

12.01.2025 21:34 👍 1 🔁 0 💬 1 📌 0

Yes. I was trying to transition old code to Swift concurrency, mostly as a learning exercise but also to make sure I'm updating properties on the right thread/task for SwiftUI. (That part isn't shown in the code I posted, though)

12.01.2025 21:27 👍 2 🔁 0 💬 1 📌 0

Simplified:

public class Log {
private let queue = DispatchQueue(label:"log")

public func log( _ msg: String ) {
queue.async {
writeStringToFile(msg)
}
}

Log entries get written in their entirety and in order† without locking up the current thread.

†For each calling thread

12.01.2025 20:20 👍 1 🔁 0 💬 1 📌 0

I recently switched a project to Swift concurrency and can't even figure out how to perform a series of operations in-order on another Task, like logging or network streaming - FIFO. I'm thinking of going back to DispatchQueues.

12.01.2025 18:43 👍 1 🔁 0 💬 1 📌 0

Good programming practices comes from experience, and experience comes from bad programming practices 😏

25.12.2024 03:33 👍 170 🔁 16 💬 3 📌 3

Love #Swift & #Xcode:

Non-sendable type '() -> ()' in implicitly asynchronous access to main actor-isolated property 'callback' cannot cross actor boundary

Cannot access property 'listener' here in nonisolated initializer; this is an error in the Swift 6 language mode

20.12.2024 22:09 👍 0 🔁 0 💬 0 📌 0
Preview
Festivitas — Holiday Lights for Your Mac Menu Bar and Dock Link to: https://festivitas.app/

“The undisputed king” seems a tad over the top, but I’ll accept and enjoy it anyway. #grouch

daringfireball.net/linked/2024/...

06.12.2024 18:20 👍 2 🔁 0 💬 0 📌 0

Idea of the day: Monetize a free app by selling the icon to corporate sponsors for a limited time.

24.11.2024 04:17 👍 2 🔁 0 💬 1 📌 0