frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Look up macOS system binaries

https://macosbin.com
45•tolerance•3d ago

Comments

evolve2k•8h ago
Pretty cool tool, I used it to lookup system ruby.

https://macosbin.com/bin/ruby

Younger me loved that Apple used Ruby and that Ruby was “pre installed” on the Mac.

This of course was because macOS relies on Ruby for certain things. However as a more experienced dev, the system Ruby (which is almost always very outdated), really gets in the way especially for beginners.

Anyone have more background on system Ruby and why it’s in macOS?

lloeki•4h ago
Back then macOS as a platform was quite polyglot with multiple scripting languages and bindings/bridges to ObjC. Being an OOTB dev box was a feature, notably with Web 2.0, and there was Rails right there as well as Apache too, and a thing called Mac OS X Server. IIRC they even had Java in there, with WebObjects, until the Oracle debacle.

Today on Tahoe, this is what remains:

    $ uname -sr
    Darwin 25.0.0
    $ /usr/bin/ruby --version
    ruby 2.6.10p210 (2022-04-12 revision 67958) [universal.arm64e-darwin25]
    $ /usr/bin/bundle --version
    Bundler version 1.17.2
    $ /usr/bin/gem --version
    3.0.3.1
    $ /usr/bin/rails 
    Rails is not currently installed on this system. To get the latest version, simply type:
    
        $ sudo gem install rails

    You can then rerun your "rails" command.

    $ perl -v
    This is perl 5, version 34, subversion 1 (v5.34.1) built for darwin-thread-multi-2level
    (with 2 registered patches, see perl -V for more detail)

    $ python3 --version
    Python 3.9.6
One can note the irony of the most up to date of those being Perl, probably a testament to its insane backwards compatibility.
WesolyKubeczek•3m ago
The most insane thing of them all insane things is that that Perl ships with DBIx::Class — in /System/Library/Perl/5.34, no less!

I'm wondering what in the world is the system using DBIx::Class for.

qalmakka•3h ago
> the system Ruby (which is almost always very outdated), really gets in the way

This also applies to Perl and especially Python. While relying on system Perl is bad but not terrible (Perl is very backward compatible, has good versioning of features, ...), I always have to fight against Mac users that keep using the outdated system Python instead of pulling a new one from Brew. Don't use the system interpreters folks! This is not Linux

WesolyKubeczek•6m ago
The advice applies to Linux, too. The interpreter that "comes with the system" is usually there to accommodate other software within the distribution that is powered by that interpreter, and it's not guaranteed to stay where it is as you like it, or update when you want it updated, because there might be an application keeping it from getting updated.
ysleepy•6h ago
I'd love to see some deeper automated analysis.

For example the XPC endpoints the binary offers and a list of other binaries which reference those.

Maybe the launch modalities, system vs. User session, which paths it reads/writes.

Not sure if all of those things can be staically determined by some tooling, but it would be really helpful.

burnt-resistor•5h ago
Basically, links to virustotal and results of running in their sandboxes.
burnt-resistor•4h ago
It seems to work for most stuff in /usr/{,s}bin /{,s}bin /usr/libexec but not all of /System/Library just yet.

Automator Installer -> /System/Library/CoreServices/Automator Installer.app/Contents/MacOS/Automator Installer

"There is no exact information for this binary file."

webdavfs_agent -> /System/Library/Extensions/webdav_fs.kext/Contents/Resources/webdavfs_agent

"The webdavfs_agent binary is unknown"

latexr•3h ago
Looks pretty much abandoned. First thing I looked for was jq (added in Sequoia) but it isn’t there. Then I looked at the repo. All commit activity was during the same week, three years ago. A couple issues opened, with no progress.
qalmakka•3h ago
One thing that always grinds my gears is how the macOS filesystem is a hodgepodge of stuff thrown around without any apparent logic (similarly to Windows), which is in stark contrast to the also apparently illogical but standardised hierarchy of Linux and the BSDs. I do understand their need to keep the /System directory around for the Classic days, but /usr? /sbin? The only "fixed" file should be /usr/bin/env, all the rest should be in /System. The mix of classic UNIX directories and Classic is annoying
curt15•41m ago
On the other hand, their /Applications directory is genius. No need for databases to track which files belong to which application. Everything belonging to an application resides in its subdirectory of /Applications. Installing and removing software becomes incredibly simple.
WesolyKubeczek•9m ago
Except stuff in /Library/Application Support. Oh, and /Library/Extensions. Oh, and /Library/DriverExtensions. Oh, and /Library/LaunchAgents. And /Library/LaunchDaemons. Also /Library/Perl (this is Apple-provided) and /Library/TeX (this is not, this is MacTeX). And /Library/Developer.

Also, the dread of "removal instructions" that include stuff like "go through these directories and delete things that look like they belong to this software".

Igrom•32m ago
Would it be possible to list all binaries alphabetically on one page?

How to Firefox

https://kau.sh/blog/how-to-firefox/
70•Vinnl•1h ago•26 comments

Complete silence is always hallucinated as "ترجمة نانسي قنقر" in Arabic

https://github.com/openai/whisper/discussions/2608
358•edent•6h ago•145 comments

Global hack on Microsoft Sharepoint hits U.S., state agencies, researchers say

https://www.washingtonpost.com/technology/2025/07/20/microsoft-sharepoint-hack/
672•spenvo•1d ago•325 comments

The .a File Is a Relic: Why Static Archives Were a Bad Idea All Along

https://medium.com/@eyal.itkin/the-a-file-is-a-relic-why-static-archives-were-a-bad-idea-all-along-8cd1cf6310c5
32•eyalitki•3d ago•29 comments

Uv: Running a script with dependencies

https://docs.astral.sh/uv/guides/scripts/#running-a-script-with-dependencies
364•Bluestein•12h ago•103 comments

An unprecedented window into how diseases take hold years before symptoms appear

https://www.bloomberg.com/news/articles/2025-07-18/what-scientists-learned-scanning-the-bodies-of-100-000-brits
87•helsinkiandrew•4d ago•28 comments

Jujutsu for busy devs

https://maddie.wtf/posts/2025-07-21-jujutsu-for-busy-devs
230•Bogdanp•11h ago•279 comments

What went wrong inside recalled Anker PowerCore 10000 power banks?

https://www.lumafield.com/article/what-went-wrong-inside-these-recalled-power-banks
438•walterbell•17h ago•211 comments

The Hater's Guide to the AI Bubble

https://www.wheresyoured.at/the-haters-gui/
27•lukebennett•1h ago•1 comments

Python Audio Processing with Pedalboard

https://lwn.net/Articles/1027814/
31•sohkamyung•3d ago•5 comments

AI comes up with bizarre physics experiments, but they work

https://www.quantamagazine.org/ai-comes-up-with-bizarre-physics-experiments-but-they-work-20250721/
208•pseudolus•10h ago•119 comments

TrackWeight: Turn your MacBook's trackpad into a digital weighing scale

https://github.com/KrishKrosh/TrackWeight
566•wtcactus•21h ago•137 comments

AccountingBench: Evaluating LLMs on real long-horizon business tasks

https://accounting.penrose.com/
484•rickcarlino•19h ago•137 comments

Don't bother parsing: Just use images for RAG

https://www.morphik.ai/blog/stop-parsing-docs
274•Adityav369•18h ago•66 comments

Kapa.ai (YC S23) is hiring a software engineers (EU remote)

https://www.ycombinator.com/companies/kapa-ai/jobs/JPE2ofG-software-engineer-full-stack
1•emil_sorensen•5h ago

Show HN: A rudimentary game engine to build four dimensional VR evironments

https://www.brainpaingames.com/Hypershack.html
20•teemur•2d ago•1 comments

How to Migrate from OpenAI to Cerebrium for Cost-Predictable AI Inference

https://ritza.co/articles/migrate-from-openai-to-cerebrium-with-vllm-for-predictable-inference/
23•sixhobbits•3h ago•19 comments

'Shameful' CBA hiring Indian ICT workers after firing Australians

https://ia.acs.org.au/article/2025/-shameful--cba-hiring-indian-ict-workers-after-firing-australian.html
89•theteapot•3h ago•46 comments

Erlang 28 on GRiSP Nano using only 16 MB

https://www.grisp.org/blog/posts/2025-06-11-grisp-nano-codebeam-sto
168•plainOldText•16h ago•10 comments

New records on Wendelstein 7-X

https://www.iter.org/node/20687/new-records-wendelstein-7-x
230•greesil•20h ago•103 comments

Nasa’s X-59 quiet supersonic aircraft begins taxi tests

https://www.nasa.gov/image-article/nasas-x-59-quiet-supersonic-aircraft-begins-taxi-tests/
89•rbanffy•2d ago•54 comments

Losing language features: some stories about disjoint unions

https://graydon2.dreamwidth.org/318788.html
95•Bogdanp•3d ago•36 comments

Look up macOS system binaries

https://macosbin.com
45•tolerance•3d ago•13 comments

Largest piece of Mars on Earth fetches $5.3M at auction

https://apnews.com/article/mars-rock-meteorite-auction-dinosaur-sothebys-01d7ccfc8dc580ad86f8e97a305fc8fa
3•avonmach•3d ago•0 comments

The Game Genie Generation

https://tedium.co/2025/07/21/the-game-genie-generation/
130•coloneltcb•18h ago•56 comments

What will become of the CIA?

https://www.newyorker.com/magazine/2025/07/28/the-mission-the-cia-in-the-21st-century-tim-weiner-book-review
117•Michelangelo11•17h ago•199 comments

I've launched 37 products in 5 years and not doing that again

https://www.indiehackers.com/post/ive-launched-37-products-in-5-years-and-not-doing-that-again-0b66e6e8b3
180•AlexandrBel•23h ago•174 comments

I know genomes and I didn’t delete my data from 23andMe

https://stevensalzberg.substack.com/p/i-know-genomes-dont-delete-your-dna
67•bookofjoe•17h ago•97 comments

Tokyo's retro shotengai arcades are falling victim to gentrification

https://www.theguardian.com/world/2025/jul/18/cult-of-convenience-how-tokyos-retro-shotengai-arcades-are-falling-victim-to-gentrification
51•pseudolus•3d ago•32 comments

Occasionally USPS sends me pictures of other people's mail

https://the418.substack.com/p/a-bug-in-the-mail
183•shayneo•21h ago•171 comments