Post

Replies

Boosts

Views

Activity

Reply to df command missing
How are you testing for df, when troubleshooting? Logged in via Terminal.app, or via a Java app? Checked for any surprises in PATH? Used whereis or such to go looking for the df executable? From Monterey 12.6.2: $ whereis df df: /bin/df /usr/share/man/man1/df.1` Is full disk access enabled for the Java app, and for Terminal.app?
Topic: App & System Services SubTopic: Core OS Tags:
Dec ’22
Reply to Programming language to develop macOS launch daemon
Swift, Objective C, C, etc., it depends rather more on what the daemon is going to be doing. Docs: https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/CreatingLaunchdJobs.html https://developer.apple.com/library/archive/technotes/tn2083/_index.html#//apple_ref/doc/uid/DTS10003794 pmset is the usual command for accessing this info, I don't know off-hand if there's an official callable interface. Here's a semi-recent version of the pmset source code that's part of the Apple open source: https://opensource.apple.com/source/PowerManagement/PowerManagement-1132.81.1/ The Apple code is written in Objective C, and hasn't changed in a while per the comments.
Topic: App & System Services SubTopic: Core OS Tags:
Oct ’22
Reply to Practical folder sizes in Ventura
See if your storage is simply saturated. RAID-5 doesn't scale at all well, both around ever-larger disk sizes and failures, and around apps with higher write loads. Current RAID-5 trends are toward inevitable secondary and catastrophic failure during RAID-5 recovery from an initial error too, as the overhead and risks of failures arising during recovery from the initial error is higher than many might even realize. Try some tests with other storage with equivalent file counts. I've been migrating all RAID-5 to RAID-6, or otherwise migrating from RAID-5 to more and bigger HDDs and RAID-10, or RAID-6 SSD. Some reading from ServerFault: What are the different widely used RAID levels and when should I consider them? PS: RAID is not a backup strategy.
Topic: App & System Services SubTopic: Core OS Tags:
Oct ’22
Reply to Enabling SIP while disabling specific parts, is it safe?
Nobody here can answer that, short of reverse-engineering the app or reviewing the app source code if available, and not even really then. Whether it’s “safe” depends entirely on the app and the app developer. Both the safety of the app now, and across future app updates. This app is clearly hooking in oddly and deeply, or is otherwise doing something unusual. Disabling SIP is not something I’d do for anything short of a critical app from a well-regarded and trusted developer. There’ve been too many problems due to apps that have “burrowed” into macOS over the years, too. Malware, and system add-ons. That’s all part of why SIP exists.
Topic: App & System Services SubTopic: Core OS Tags:
Oct ’22
Reply to Digital certificate
Try a Time Machine restore of the Keychain files in ~/Library/Keychains and restoring those into different filenames for access? More likely to work: restore your entire Mac from your Time Machine backup immediately prior to the errant deletions.
Topic: Privacy & Security SubTopic: General Tags:
Sep ’22
Reply to New MacBook for Web Development
There isn't one best, as different folks have different requirements. Weight, screen size, numbers of I/O connections, etc. Visit an Apple Store. See the alternatives for yourself. For web development... Review the recommended configurations for whatever Web development apps and frameworks you prefer. If you're editing HTML and JavaScript in vim or emacs, you won't need a fast Mac. if you're using some more complex process, you'll need to account for those apps and requirements and likely increases over time. As for app development... Xcode requires lots of memory. 16 is minimal for that, and—with occasional exceptions—I'd expect Xcode memory and storage requirements will increase over time. If you're working on larger web or larger app development projects, you may or will want a larger internal display, or a connection to a larger external display. Budget for at least one external HDD of 4 to 6 TB for backups. You might want or need an external keyboard, mouse or trackpad, maybe a spare cable and charger for a second location where you might routinely also work, USB-C to USB-A adapters or a dock, a satchel or messenger bag or other carrying case, or other add-on gear in addition to the external backup storage. For Mac with Apple silicon more generally: minimally 16 GB memory and as much internal storage as you can afford, as neither can be increased over the lifetime of any portable Mac Apple is currently selling. And if you don't absolutely need mobility with your Mac, the desktop Macs can be a better value—I've worked with various folks that wanted and bought portables, but always used them on the same desk.
Topic: App & System Services SubTopic: Core OS Tags:
Sep ’22