Live data from Hacker News

MacOS Catalina: Slow by Design?

sigpipe.macromates.com

681–690 of 1001 posts

Re: MacOS Catalina: Slow by Design?

#681
post #98
post #23

Earlier quoted context omitted.

There are two new Security/Privacy Settings that I just noticed last night. "Full Disk Access" to allow a program to access any place on your computer without a warning. A few programs requested this, so it looks like it's been around for a while. The other one is "Developer Tools" and it looks pretty new. The only application requesting it is "Terminal". This "allows app to run software locally that do not meet the…

I don't see it on macOS 10.15.4 (19E287). The full list of categories on my Privacy tab: - Location Services - Contacts - Calendars - Reminders - Photos - Camera - Microphone - Speech Recognition - Accessibility - Input Monitoring - Full Disk Access - Files and Folders - Screen Recording - Automation - Advertising - Analytics & Improvements Granted I don't typically use Terminal.app (iTerm 2 user), so I launched term…

You can make the category appear and put Terminal in it with this command:

sudo spctl developer-mode enable-terminal

Re: MacOS Catalina: Slow by Design?

#682
post #644
post #2

> This is not just for files downloaded from the internet, nor is it only when you launch them via Finder, this is everything. So even if you write a one line shell script and run it in a terminal, you will get a delay! > Apple’s most recent OS where it appears that low-level system API such as exec and getxattr now do synchronous network activity before returning to the caller. Can anyone confirm this? Because hones…

Making this about speed is burying the lede. From a privacy and user-freedom perspective, it's horrifying . Don't think so? Apple now theoretically has a centralized database of every Mac user who's ever used youtube-dl. Or Tor. Or TrueCrypt.

Richard Stallman's ideals have become a bit less crazy for me now...

Either you have the ability to control the software, or it controls you

Re: MacOS Catalina: Slow by Design?

#683

This is also the case with APFS on rotational disk drives. Why does APFS perform so much worse on HDD vs SSD? Will Apple fix it? https://bombich.com/blog/2019/09/12/analysis-apfs-enumeratio...

APFS was not designed for spinning disks. No, they won't fix it; because they don't even sell a computer that ships with only a spinning disk (asterisk on the iMac's hybrid drive). HFS+ is still available, just use it if you need to format a spinning disk. I think this is a very different type of issue, with much more reasonable trade-offs.

Re: MacOS Catalina: Slow by Design?

#685

Earlier quoted context omitted.

Ah, Apple. When you can no longer innovate, just start removing features and call it simplicity...

Another way to look at it is that Apple is making it harder to run the system in an insecure fashion. You may not agree with that decision, but I certainly appreciate how Apple is looking out for the safety and security of the user. Tangent: as much as some developers hate that the only way to distribute apps for the iPhone is through the App Store, as a user I consider that walled garden of apps to be a real securit…

The problem is that there is more than one market here. There is a general market where people love the vendor looking after their security and doing things for them, and there is a pro/hacker market where people want to control things themselves and dont want a lot of this stuff.

Re: MacOS Catalina: Slow by Design?

#686

Earlier quoted context omitted.

What happens if you edit /private/etc/hosts to point ocsp.apple.com to 0.0.0.0 and flush the DNS cache?

This seems like an interesting line of inquiry. AIUI doing what you said would permit the network request to proceed, and it would fail because nothing is listening on port 80 [1] We already know that the phone-home bails out when there's no network connection, so perhaps that code also bails out on connection failure? Alternatively, is there some way to make DNS lookup itself fail for ocsp.apple.com? Last resort, if…

Sending to 0.0.0.0 will fail immediately. This differs from sending to 127.0.0.0/8 that may connect to a server on the local machine.

Re: MacOS Catalina: Slow by Design?

#687

Earlier quoted context omitted.

Another way to look at it is that Apple is making it harder to run the system in an insecure fashion. You may not agree with that decision, but I certainly appreciate how Apple is looking out for the safety and security of the user. Tangent: as much as some developers hate that the only way to distribute apps for the iPhone is through the App Store, as a user I consider that walled garden of apps to be a real securit…

Another way to look at it is that Apple is moving towards a future where all software for the mac must be purchased from the app store. Bubye Apple, my next machine will likely be a Dell Ubuntu.

Yeah, this is the future I've been foreseeing for years. Every new OS update just ever so slightly decreases your ability to control what software is on your device, and how you can use it.

For example, you used to be able to back up your purchased iOS apps to your computer, and restore them from your computer. In one iOS update (9 IIRC?), they removed the ability to back up the apps from your phone. In a later iOS/iTunes update, they removed the ability to restore backed up apps from your computer, making your existing backed-up apps useless, if you still had them.

Now, the only way to keep your software on your iPhone indefinitely is to never delete it, and never reformat your phone. Ohh and never update iOS because they will break backwards compatibility with apps you already have. For any app that is no longer supported by the developer, you're just out of luck (and I have purchased MANY such apps, being an iPhone user since 2009).

Re: MacOS Catalina: Slow by Design?

#688
Perhaps related: "How come someone notarized my app?"[0]

It mentions that anyone with an apple developer ID can notarize a qualifying app and submit this notary to the Apple Notary Service. However, the proof of notarization—the notarization ticket—might not be stapled to the application.

In the case of no stapled ticket, Catalina contacts the notary service to see whether a ticket exists. If so, the app is good to go.

[0]: https://eclecticlight.co/2020/05/22/how-come-someone-notariz...

EDIT. More informative link here[1]. It specifically outlines what happens on first run of an app. (and there's a great diagram if you scroll down)

[1]: https://eclecticlight.co/2020/01/27/what-could-possibly-go-w...

Re: MacOS Catalina: Slow by Design?

#689
post #46

Earlier quoted context omitted.

> IIRC there was no dedicated macOS “task force” like the one on iOS It's not surprising. Macs are less than 10% of Apple's revenue. https://www.macrumors.com/2020/04/30/apple-2q-2020-earnings/

Apples Macintosh division is the most profitable PC company in the world and has been for at least a decade. In fact, Macintosh is likely more profitable than all other PC companies combined. Less than 10% is no excuse.

Do you have a source for that claim?

Re: MacOS Catalina: Slow by Design?

#690

It seems like there is a lot of confusion here as to whether this is real or not. I've been able to confirm the behavior in the post by: - Using a new, random executable. Even echo $rand_int will work. Edit: What I mean here is generate your rand int beforehand and statically include it in your script. - Using a fresh filename too. Just throw a rand int at the end there. e.g. /tmp/test4329.sh I MITMd myself while rec…

Does this mean you can't run a custom shell script without an internet connection?

If the connection fails it goes ahead and grants permission.
Post reply on HN