News for hackers. Stuff that matters.
Re:Nova by Panic: The native Mac code editor that's fast and... by oidar on Wednesday September 25, 2024 @08:36AM (#41646710)
What are the advantages of this over Visual Studio Code or JetBrain’s Tools?
Re:Nova by Panic: The native Mac code editor that's fast and... by isametry on Wednesday September 25, 2024 @08:42AM (#41646772)
First word of the headline – it works and feels native to the platform. JetBrains and especially VS Code don’t respect the conventions of macOS software, visually as well as functionally.
Re:Nova by Panic: The native Mac code editor that's fast and... by lynndotpy on Wednesday September 25, 2024 @09:13AM (#41647134)
On this note, do you have any notes or resources on what makes a MacOS app "native"? It's a quality people discuss but I can't identify.

I used MacOS briefly 2000-2004, and then got a Macbook in 2022. Even among Apple's built-in apps, I can't identify why they would be considered "native".

For example, Apple's Music app is surely "native", but does not appear to use the DEs default elements, and performs like an electron app might.

One would also expect Applescript / Automator (Apple's built-in macro tool, a-la AutoHotkey / xdotool) to work with native apps, but it doesn't work on ARM Macbooks.

Compared to Linux, I think anyone with no experience in it could sort native GTK vs native Qt vs native xMotif applications. But I think "native" as a quality is more of a dependency management and consistency question.

The only thing I can recognize from Panic's screenshots that appear "native" is the Preferences page, in the older "grid on a shelf" format. (edit) And the "install applications by dragging to the Applications" folder workflow, which I appreciate very much.

All this is to ask, what does "works and feels native" mean and what makes it desirable?

Re:Nova by Panic: The native Mac code editor that's fast and... by crazygringo on Wednesday September 25, 2024 @09:37AM (#41647382)
> what makes a MacOS app "native"?

For me, it has three parts:

1) Does it look native at a pixel level? In other words, does it use a standard Mac window and title bar and buttons and widgets and all the rest?

2) Is it organized according to Mac UX conventions? Does it put commands in the menu bar rather than inside of windows? Are menu items where you'd expect? Is the "Settings..." command where you'd expect, and is the Settings dialog laid out in standard tabs or icons across the top, rather than something else (like a list box on the left)?

3) Does it respect all standard gestures and shortcuts and animations? If I press opt+left in a textbox, will the cursor jump to the previous word? If I press cmd+right, will it jump to the end of the text? If I scroll down, will it bounce at the bottom?

That's what it means. And it's desirable for 1) aesthetics, 2) understandability, and 3) usability directly corresponding to those three points. Aesthetics is less important but it's still nice. Understandability is important because I don't want to hunt for a command when it's not where I'd expect. And usability is critical because when I cmd+right in a text box and it doesn't work, it's incredibly frustrating.

Obviously, "native" is not a binary but is rather a continuum. And yes, even Apple's own apps are not always 100% at the "native" end, especially with stuff they've designed in conjunction with iOS. Which I think a lot of Mac users find frustrating.

Re:Nova by Panic: The native Mac code editor that's fast and... by isametry on Wednesday September 25, 2024 @10:21AM (#41647867)
Greatly put, thank you so much. We should put this up somewhere as the Mac-assed manifesto.

But I would actually add, on a more fundamental level:

0) Does it actually run on my metal? I.e. not in a VM, not any sort of "thin client", and CERTAINLY not Electron… but rather an actual solid piece of software compiled for the computer it's running on?

You say "native is not a binary" but actually, in my opinion yes, it is also very much the binary!

Re:Nova by Panic: The native Mac code editor that's fast and... by wpm on Wednesday September 25, 2024 @02:04PM (#41650126)
"is the Settings dialog laid out in standard tabs or icons across the top, rather than something else (like a list box on the left)?"

Or worse, a huge plain old JSON with tons of multi line comments explaining what one particular key does.

Like, I get it, its l33t and haxx0r to use a text file for settings, and yeah, you can easily transfer it to other platforms unlike an XML Plist file, but I despise apps that don't even bother providing a basic UI for changing settings. Ctrl+F "autocomplete" (30 results) is a *terrible* experience vs a natively drawn "Autocomplete" tab in a settings modal.

Re:Nova by Panic: The native Mac code editor that's fast and... by lynndotpy on Wednesday September 25, 2024 @02:28PM (#41650396)
I appreciate this, this helps explain it. I think I would identify Finder or iTerm as a native app with this description.
Re:Nova by Panic: The native Mac code editor that's fast and... by isametry on Wednesday September 25, 2024 @10:14AM (#41647784)
First, I wish there was a resource but there isn't. This kind of just lives on as bits of folklore among users and devs. You'd think Apple's guidelines was a place to start, but honestly not really.

The sibling comments gave some great answers and especially `crazygringo` summarized pretty much exactly what I was gonna say, so I'm not gonna go into detail.

But I just wanna add: "Mac-assedness" totally includes of some strict, non-negotiable rules, but it also involves lots of loose, abstract "vibes" where even if your app isn't exactly guideline on paper, it just feels right in spirit and paradoxically, by being more custom, the app comes out more native in the end. This takes a certain personal taste to pull off as a developer. And it is the opposite of design by committee.

Re:Nova by Panic: The native Mac code editor that's fast and... by joshstrange on Wednesday September 25, 2024 @09:33AM (#41647341)
Apple that follow the HIG [0] closely are normally considered "mac native" (though I don't like the word "native" here as I normally use it to differentiate between electron/native).

[0] https://developer.apple.com/design/human-interface-guideline...

Re:Nova by Panic: The native Mac code editor that's fast and... by ubermonkey on Wednesday September 25, 2024 @09:51AM (#41647546)
Brent Simmons used the term "Mac-assed Mac app" for apps that are un-apologetically MAC apps, and not just x-platform builds of something else with no regard for the OS.

https://daringfireball.net/linked/2020/03/20/mac-assed-mac-a...

Re:Nova by Panic: The native Mac code editor that's fast and... by adolph on Wednesday September 25, 2024 @09:30AM (#41647305)
> For example, Apple's Music app is surely "native", but does not appear to use the DEs default elements, and performs like an electron app might.

For the grey beards of MacOS:

This guy trashes the HIG [Apple Human Interface Guide] the way Johnny Depp trashes a hotel room. He even sports a custom radius on his window corners. No other window on the system has a shape like this. It’s wild. Just wait until the HIG zealots get a load of this guy.

https://daringfireball.net/2005/09/anthropomorphized

Re:Nova by Panic: The native Mac code editor that's fast and... by throwaway290 on Wednesday September 25, 2024 @09:43AM (#41647451)
As an apple fan, Music is disgusting on every platform. It is possible to be technically native but also very bad. For a text editor it is also true but where entry speed matters being a web based monster like VS studio is a downside. You may not notice delay consciously but it takes its toll
Re:Nova by Panic: The native Mac code editor that's fast and... by Doctor_Fegg on Wednesday September 25, 2024 @02:09PM (#41650183)
“It is possible to be technically native but also very bad” and yet still 100x better than iTunes.
Re:Nova by Panic: The native Mac code editor that's fast and... by renewedrebecca on Wednesday September 25, 2024 @04:53PM (#41651760)
It seems like it would be so easy to not suck though. I think a lot of the problems stem from the Music app really wanting to be a streaming app, and not a way to organize your own music.
Re:Nova by Panic: The native Mac code editor that's fast and... by wpm on Wednesday September 25, 2024 @02:01PM (#41650088)
"One would also expect Applescript / Automator (Apple's built-in macro tool, a-la AutoHotkey / xdotool) to work with native apps, but it doesn't work on ARM Macbooks."

This is completely false, I use Automator, Applescript, and Folder Actions near daily on my Apple Silicon Macs.

Re:Nova by Panic: The native Mac code editor that's fast and... by lynndotpy on Wednesday September 25, 2024 @02:08PM (#41650169)
I have my Automations and Applescripts fail regularly, and I saw it discussed as one of the things Apple stopped maintaining after the move to ARM. In my experience, it doesn't work. (Of course, I can't compare to how well it worked on x86...)
Re:Nova by Panic: The native Mac code editor that's fast and... by nozzlegear on Thursday September 26, 2024 @01:15AM (#41654766)
I think you might want to double check that. I only moved to macOS after the M1 launched, and all of my automations and AppleScripts work just fine with no issues.
Re:Nova by Panic: The native Mac code editor that's fast and... by maratc on Wednesday September 25, 2024 @05:11PM (#41651924)
Excellent points above, for me personally the "Shared Find pasteboard" has been a huge productivity boost.

Everyone's aware of the normal clipboard: select some text, press ^C (⌘C on Mac) to copy and ^V (⌘V on Mac) to paste it. It's system-wide, so you can copy in one app and paste in a different one (or several).

On Mac, there is a similar pasteboard (or "clipboard") for search strings. Select text, select "Use Selection for Find" or press ⌘E (this sends it into shared find pasteboard, overwriting its contents), and ⌘G to "Find Next" occurrence of that string, or ⇧⌘G to "Find Previous".

The shared find pasteboard is also system-wide, you can use ⌘E in one app and ⌘G/⇧⌘G in another app. When you use ⌘F to "Find ...", it is expected to already open up populated with the contents of the shared find pasteboard.

The majority of the cross-platform apps are lacking this feature, since they are designed to a lowest common denominator (which does not have the shared find pasteboard). On VS Code you'd find yourself doing ^C/^F/^V followed by several "Enter" keys, while overwriting whatever you've had on your clipboard and also polluting your clipboard history.

I hope all that explains how I'm stuck with iTerm2, Safari, Mail, and TextMate. I'd pay for a native Slack client (the Electron abomination uses ⌘F to "Find" and ⌘G to "Search" while lacking ⌘E completely) but sadly they don't make it.

Re:Nova by Panic: The native Mac code editor that's fast and... by nottorp on Wednesday September 25, 2024 @08:47AM (#41646818)
That may be a plus for code editing, for example pgup/pgdown moving the cursor instead of just the view...
Re:Nova by Panic: The native Mac code editor that's fast and... by isametry on Wednesday September 25, 2024 @09:19AM (#41647197)
I'm gonna bite on this example since you chose such a good one: if the convention on the platform is that `Page` buttons are like scrolling – NOT like arrowing – then good applications should respect that convention.

You personally list this particular (mis)behavior as a "plus" since you like the PC convention better. But another person will think the opposite. Objectively, it's simply just inconsistent.

What we need is "good platform citizen" apps which respect the local conventions, and you as the user get to choose the platform with its set of conventions you prefer.

What we DON'T need is apps "unifying" behavior across operating systems based on their own opinion of what's better, ultimately just creating more mess.

Re:Nova by Panic: The native Mac code editor that's fast and... by ascagnel_ on Wednesday September 25, 2024 @10:12AM (#41647765)
I think there's a somewhat obvious middle ground here: use the platform's default behavior, and surface an option that lets a user decide if they prefer the other version; eg: a PC user should also have the option to treat the page keys as scroll inputs rather than cursor navigation.
Re:Nova by Panic: The native Mac code editor that's fast and... by isametry on Wednesday September 25, 2024 @10:25AM (#41647914)
No disagreement. But I was talking within the scenario where you only get one. (Should have pointed that out.)
Re:Nova by Panic: The native Mac code editor that's fast and... by avarun on Wednesday September 25, 2024 @09:45AM (#41647486)
No, you don’t get to decide that. Myself and many others have decided they liked this unified behavior just fine, while still preferring to code on macOS.
Re:Nova by Panic: The native Mac code editor that's fast and... by ubermonkey on Wednesday September 25, 2024 @09:49AM (#41647533)
This 100%.

Many of us on the Mac are there in part because the environment and conventions make more sense to us than the conventions on other platforms. X-platform apps typically ignore this.

See also

https://daringfireball.net/linked/2020/03/20/mac-assed-mac-a...

Re:Nova by Panic: The native Mac code editor that's fast and... by nottorp on Wednesday September 25, 2024 @11:02AM (#41648303)
I like the Mac conventions most of the time.

However for keyboard shortcuts said conventions are defined for crippled keyboards without dedicated navigation keys and the extension for PgUp/Down is simply inefficient when programming.

Re:Nova by Panic: The native Mac code editor that's fast and... by tpmoney on Thursday September 26, 2024 @01:12AM (#41654739)
The cursor movement conventions have existed in macos since the classic mac days, when Apple was routinely shipping keyboards with "dedicated navigation keys":

Up / Down: move cursor one line up or down Left / Right: move cursor one character left or right

Option+ Up / Down: Move cursor up or down a whole paragraph Left / Right: move cursor left or right a whole word

Command+ Up / Down: Move cursor to the beginning of the document Left / Right: Move cursor to the beginning or end of the document

Page Up / Page Down: Move the scrolled display area up or down a "page" without moving the cursor

Home / End: Move the scrolled display area to the beginning or end of the document

The latter two are nice to have because it means you can scroll up through a window to view something, and start typing to have your view snap back to your cursor position.

Re:Nova by Panic: The native Mac code editor that's fast and... by nottorp on Thursday September 26, 2024 @05:41AM (#41656390)
> "dedicated navigation keys"

I don't think they ever had PgUp and PgDown. Same thin/small fetish as today. Jobs wasn't typing much, I think.

Re:Nova by Panic: The native Mac code editor that's fast and... by tpmoney on Thursday September 26, 2024 @06:39PM (#41664284)
When I said this convention was old, I meant it:

Apple Extended Keyboard M0115 (1987): https://en.wikipedia.org/wiki/File:Apple_Extended_Keyboard_M...

Apple Extended Keyboard II M0312/M3501 (1990): https://en.wikipedia.org/wiki/File:Apple_Extended_Keyboard.j...

Apple Adjustable Keyboard M1242 (1993): https://en.wikipedia.org/wiki/File:Apple_Adjustable_Keyboard...

Apple Design Keyboard M2980 (1994): https://en.wikipedia.org/wiki/File:AppleDesign_Keyboard_blac...

Apple USB Keyboard M2453 (1998) (not in their usual position, above the number pad instead): https://en.wikipedia.org/wiki/File:Apple_USB_Keyboard_B.jpg / https://deskthority.net/wiki/Apple_USB_Keyboard

Apple Pro Keyboard M7803 (2000): https://en.wikipedia.org/wiki/File:Apple_Pro_Keyboard_black....

Apple Keyboard A1048 (2003): https://en.wikipedia.org/wiki/File:Apple_Keyboard_(A1048).jp...

Apple Keyboard A1243 (2007): https://en.wikipedia.org/wiki/File:Apple_iMac_Keyboard_A1243...

Apple Magic Keyboard w/ Numeric Keypad A1843 (2017): https://en.wikipedia.org/wiki/File:Apple_Magic_Keyboard_with...

Additionally at least as far back as the Powerbook G3 "Wallstreet" in 1998, and including the iBook lines from the same time period, to the best of my knowledge every Apple portable since (as well as any wireless/compact keyboards with Fn keys) then has supported Fn + Left/Right for Home/End respectively and Fn + Up/Down for Page Up / Page Down respectively. They were even marked as such through the early non-unibody MBPs but continue to function that way today even without the markings. While these aren't dedicated keys, they're convenient enough in combination with the other modifiers that you'd be using to move the cursor that I don't personally consider it a significant difference.

Re:Nova by Panic: The native Mac code editor that's fast and... by nottorp on Wednesday September 25, 2024 @01:26PM (#41649724)
Answer 1: I don’t use macs because of some religious conviction but because it’s the least shitty platform available.

Answer 2: I bought a general purpose computing device and I don’t need the manufacturer to dictate how I use it.

Re:Nova by Panic: The native Mac code editor that's fast and... by tpmoney on Thursday September 26, 2024 @01:13AM (#41654746)
Answer to your Answer: Then its on the application developer to give you the option to override the platform convention, but well behaved apps should adhere to the conventions of their platform by default.
Re:Nova by Panic: The native Mac code editor that's fast and... by Lalabadie on Wednesday September 25, 2024 @08:56AM (#41646929)
There's a portion of the web world that values this sort of tool immensely. Nova (like its predecessor Coda) is focused on a certain subset of web development workflows.

I'm sure VSCode and others can be configured or extended to come close to the experience, but 100$ for something well-made that fits your workflow out of the box is a pretty great deal for a professional.

Re:Nova by Panic: The native Mac code editor that's fast and... by err4nt on Wednesday September 25, 2024 @04:56PM (#41651785)
If they were aiming to please web developers, they took a wrong approach. Their syntax highlighter by design is incompatible in its approach to parsing CSS to be able to syntax highlight it correctly, and this was pointed out to them early on and they just hacked something broken together. It didn't appear to be a serious attempt to support web languages.
Re:Nova by Panic: The native Mac code editor that's fast and... by acomjean on Wednesday September 25, 2024 @09:04AM (#41647018)
It’s Mac only, which means it follows the Mac UI conventions and is probably, should run faster and is integrated into the OS a little better.

I’m paying for jetbrains now. I’m on Linux but it’s clearly a non-native application, which has some issues. Actually it integrates really well considering. I can run in any os and it’s the same. I tried eclipse (free), but the experience wasnt good and it was worth buying jetbrains software. This probably has a quite polished experience.

Panic also made transmit, which was my goto file transfer solution for a long time and a really decent piece of software.

Re:Nova by Panic: The native Mac code editor that's fast and... by kybernetyk on Wednesday September 25, 2024 @09:40AM (#41647411)
I like the UI more. It's native and feels snappier. But I don't use it as my main code editor - rather just as a text editor. I also edit markdown for my website with it. And do light PHP development with it (essentially just a few scripts).

I don't know if I would use Nova to actually develop anything more serious. Haven't looked to deep into it and I like my devtools to be opensource or at least have the feeling of them being maintained for very long. (Text editors tend to die very often).

Re:Nova by Panic: The native Mac code editor that's fast and... by ilrwbwrkhv on Wednesday September 25, 2024 @01:27PM (#41649746)
Jetbrain tools are broken. A basic `npm link` in the js land stops autocomplete from working in Webstorm.
Re:Nova by Panic: The native Mac code editor that's fast and... by noworriesnate on Wednesday September 25, 2024 @03:51PM (#41651186)
> Jetbrain tools are broken.

Nope. I use Rider on Mac and Windows and it's better than Visual Studio on Windows in almost every way it's different. I've used Pycharm and Datagrip extensively on Mac and Windows as well, they're excellent tools. I haven't used Webstorm much though.

Re:Nova by Panic: The native Mac code editor that's fast and... by ilrwbwrkhv on Wednesday September 25, 2024 @04:55PM (#41651778)
Rider and IntelliJ for C# and Java yes. But every other tool no. RustRover is horrible for Rust for example compared to VSCode + Rust plugin.
Re:Nova by Panic: The native Mac code editor that's fast and... by peanball on Friday September 27, 2024 @05:01AM (#41667893)
Goland / the Go plugin is great though.

For auch a “heavy” IDE it’s also surprisingly responsive.

Re:Nova by Panic: The native Mac code editor that's fast and... by ilrwbwrkhv on Friday September 27, 2024 @11:32AM (#41671743)
Is it for large projects too? Go has surprisingly fewer type gimmicks and no traits, templates or any nonsense.
Re:Nova by Panic: The native Mac code editor that's fast and... by mzagaja on Thursday September 26, 2024 @03:32PM (#41662271)
I haven't used JetBrains but when I looked at editors a few years ago VSCode had an awful bug where if you had a Mac with a 4K external monitor it would flicker every time you typed a letter. It made VSCode functionally unusable for me. I use VSCode part time and overall find it less intuitive than the Nova UI/UX. Plus every time I have a problem Mike from Panic responds fairly promptly, and they've been responsive to some feature requests for things like debugging node inside Docker containers.