A friend of mine recently pointed me at a well hidden command line tool. In the JavaScript framework used by Safari and other parts of Apple’s products, there is a tool called jsc. It’s a command line interface for JavaScript that uses the same code as the rest of the system. You can find the […]
I’m pretty sure JSC is JavaScriptCore, which is what Bun is built on top of.
@simon Interesting… i was hoping it could replace this https://formulae.brew.sh/formula/webp but not the right this.
Lol @ “I asked ChatGPT for an example, but it halucinated something that didn't actually work.”
macOS by Tutorials is a series of epic-length tutorials where you’ll learn to build four complete native macOS apps! Each app explores a different style of interface and takes you step-by-step from start to finish. By the end of the book, you’ll be experienced enough to turn your ideas into real apps you can sell! You also get full source code, image files, and other resources you can re-use for your own projects. This book for developers with some experience developing for iOS using Swift and SwiftUI.
> I asked ChatGPT for an example, but it halucinated something that didn't actually work.
This feels like the TL;DR of ChatGPT.
Related tip:
If you quickly want to convert an image in MacOS you can do that under quick actions in the right click menu.
@simon this is really interesting timing. I reckon sips will ship on RealityOS for the Apple headset.
* alpha transparency will enable occlusion
* JavaScript based API for Web Experiences
@Sandra hah! Maybe I should have used a content warning
I did get in a little dig at it later on though:
> I asked ChatGPT for an example, but it halucinated something that didn't actually work.