Live data from Hacker News

Cherri – programming language that compiles to an Apple Shortuct

github.com

31–40 of 82 posts

Re: Cherri – programming language that compiles to an Apple Shortuct

#31
post #19
post #16

What can you do on a Mac with Shortcuts vs AppleScript vs Hammerspoon?

There are some things that are only available in Shortcuts because Apple gave the app entitlements to communicate with parts of the system that an AppleScript or other apps can't. Things like setting/getting the Focus Mode, changing some system settings like Airdrop Receiving, Color Filters, Background Sounds etc. Also some apps export Shortcut actions that can run in-app code: for example my Lunar app has an action…

I didn't realize you were the Lunar guy! I freaking love your apps! Thank you for making good and useful software.

Being able to adjust my monitor brightness during the pandemic actively changed my quality of life for the better (I was in a small SF apartment).

Re: Cherri – programming language that compiles to an Apple Shortuct

#32

Cool! As a professional programmer few things consistently succeed in making me feel inept like trying to build an Apple Shortcut

I felt really smart after I made a fancy Shortcut that did complex playlist generation based on rules and whatnots.

Of course, adding music to a playlist broke a couple of updates down the line and, as far as I'm aware, still doesn't work properly several years later.

(I moved to Marvis Pro[0] because it has reasonably complex smart playlists that just about mimic what I was doing with my generator except they're transient and not saved as mine were. Win some, lose some.)

[0] No link, sorry, because it'd either be iOS App Store or ad-laden bloat sites "reviewing" it. https://www.reddit.com/r/MarvisApp/ might be worth a read though.

Re: Cherri – programming language that compiles to an Apple Shortuct

#33
post #19

Earlier quoted context omitted.

There are some things that are only available in Shortcuts because Apple gave the app entitlements to communicate with parts of the system that an AppleScript or other apps can't. Things like setting/getting the Focus Mode, changing some system settings like Airdrop Receiving, Color Filters, Background Sounds etc. Also some apps export Shortcut actions that can run in-app code: for example my Lunar app has an action…

I didn't realize you were the Lunar guy! I freaking love your apps! Thank you for making good and useful software. Being able to adjust my monitor brightness during the pandemic actively changed my quality of life for the better (I was in a small SF apartment).

Thank you for the kind words! Love to hear from people that were helped by my work!

That was also my pain point with Lunar, working on a small balcony in a small apartment where the light from the window was constantly changing and the monitor always being way too bright or way too dim.

I broke one of those LG monitor joystick OSD buttons before I got to building Lunar.

Re: Cherri – programming language that compiles to an Apple Shortuct

#34
post #25
post #21

Earlier quoted context omitted.

What you're doing is visual programming. On its own there isn't anything wrong with it. However, specifically with Shortcuts it's not very pleasant for anything complex. I had a full garden automation running on shortcuts, but it was extreme hard to maintain and improve due to "editor" being so bare bones.

Thanks for sharing. By the editor being bare bones do you mean some missing feature might change your mind about using it, or do you find the text-based editor much more comfortable?

I was talking specifically about Apple Shortcuts. Once you have anything complex, you're going to need code reuse and its a sad story with shortcuts as provided by Apple.

Re: Cherri – programming language that compiles to an Apple Shortuct

#36
post #16

What can you do on a Mac with Shortcuts vs AppleScript vs Hammerspoon?

[flagged]

> Apple designed Shortcuts to look like a shiny toy demo

Apple bought Workflow from DeskConnect (they may have bough the entire company).

Re: Cherri – programming language that compiles to an Apple Shortuct

#39
I wish Apple hadn’t gone with shortcuts. Instead I wish they’d given us a proper sdk for iOS and macOS as a Python module.

Python is so easy to pick up they could have given it a low code drag and drop front end but for us who can code why not a proper language ?

Re: Cherri – programming language that compiles to an Apple Shortuct

#40
post #18

Is this vibe coded? The README at least looks very LLM-ish.

It's been around for a long time. It's from well before vibe-coding was a thing. I first saw it ~3 years ago.

oh okay. I had no idea and was lazy to check the commit logs.
Post reply on HN