News for hackers. Stuff that matters.
Re:Show HN: A modern Jupyter client for macOS by ibash on Sunday July 07, 2024 @03:20PM (#40899770)
Thank you for attempting to use swift first. Electron apps are bloated and overused.

Excited to play around with this!

Re:Show HN: A modern Jupyter client for macOS by jackhodkinson on Sunday July 07, 2024 @03:25PM (#40899812)
I agree! At the very least I can port this to Tauri to make it have a smaller footprint.
Re:Show HN: A modern Jupyter client for macOS by mritchie712 on Monday July 08, 2024 @08:48AM (#40904941)
Might be some useful things you can do with the Tauri rust backend too
Re:Show HN: A modern Jupyter client for macOS by yboris on Tuesday July 09, 2024 @04:20PM (#40920664)
Since your app is currently Electron I'm surprised it doesn't work with Windows. Would it be hard to get the app to play nicely with Windows?
Re:Show HN: A modern Jupyter client for macOS by dmazzoni on Monday July 08, 2024 @02:29AM (#40903042)
Agreed about Electron apps!

But...a really good code editor is a good example of something that's extremely hard to implement using native text controls, but there are great ones based on web tech.

I wonder if embedding system WebKit on macOS or using something like NeutralinoJS would be a good alternative?

The pro is your app is much smaller and lighter.

The con is that any bugs in your system web control are out of your control, and certain tight integration with web APIs might not be possible.

Re:Show HN: A modern Jupyter client for macOS by Vegenoid on Monday July 08, 2024 @11:07AM (#40906090)
From the post:

> Full disclosure: it's built with Electron. I originally wrote it in Swift but couldn't get the editor experience to where I wanted it. Now it supports autocomplete, multi-cursor editing, and moving the cursor between cells just like you'd expect from JupyterLab or VS Code.

Consider taking this as evidence that Electron isn't bad, instead of evidence that you shouldn't use this program.

Re:Show HN: A modern Jupyter client for macOS by xenator on Monday July 08, 2024 @11:59AM (#40906518)
Except you are really can't use Jupyter notebooks without browser. Because of widgets and interactive elements.