Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nightcraft
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
nightcraft
2y ago
Thanks!
2.
▲
by
nightcraft
2y ago
Thanks! That's correct: 2, 3, and 5 are currently available. This initial set was intended as a minimal (albeit limited) set that demonstrates the UI capabilities. More widgets/controls (including the ones you've mentioned) a
3.
▲
by
nightcraft
2y ago
It does show you the active variables (and bits of details like shapes and dtypes for numpy arrays, torch tensors, dataframes, etc): https://scripton.dev/assets/images/lib-symbols@2x.png However, I'm assuming
4.
▲
by
nightcraft
2y ago
Thanks! The C++ bit comes in for the IPC (inter-process communication) between the IDE and Python. There are a few different ways for the Python process to communicate (send data over for visualization, receive/transmit commands, etc)
5.
▲
by
nightcraft
2y ago
Some folks do like hold-to-quit to avoid accidentally quitting (similar to Chrome's default behavior). However, point taken - it'll be configurable in the next update.
6.
▲
by
nightcraft
2y ago
IMO, VSCode's codebase is excellent and quite well designed with most functionality abstracted out into injectable services. However, the interaction of these services and other bits of architecture do impose certain limitations that a
7.
▲
by
nightcraft
2y ago
Thanks, appreciate the feedback! While the initial focus is on visualization capabilities, the missing IDE features are actively under development. Beyond cross-platform support, which PyCharm features would you consider essential and would
8.
▲
by
nightcraft
2y ago
The vscode extensions path, unfortunately, would have been too restrictive for many of Scripton's features/technical requirements (tightly coupled REPL, minimal IPC overhead, ...)
9.
▲
by
nightcraft
2y ago
Yup, it was written from scratch. Yeah, having a flexible virtualized table certainly makes it easier to build more complex things on top (a lesson I initially learned from NSTableView/UITableView). Currently, it's not user extend
10.
▲
by
nightcraft
2y ago
Thanks! GitHub Copilot support is actively under development.
11.
▲
by
nightcraft
2y ago
The plan for now is just subscriptions. However, I would like to eventually have something like Jetbrains' "perpetual fallback license" where you can keep using up to a particular version after, say, a year of subscription.
12.
▲
by
nightcraft
2y ago
Coincidentally, one of the first components I wrote for Scripton was a virtualized table for handling million+ row dataframes with Tufte-esque inline visualizations (in a much evolved form, it currently backs the REPL). The data table got d
13.
▲
by
nightcraft
2y ago
The scripton Python library internally transforms many common Python data formats (regular arrays and dicts, numpy arrays, data frames, ...) to an intermediate format. These are transferred to the IDE when you call the plotting functions, a
14.
▲
by
nightcraft
2y ago
Not yet. Some internal prototypes did try using IOSurfaces on macOS to go with the zero copy route, but there were a fair number of limitations. That said, the IPC minimizes copies and is actually fairly efficient at handling large numerica
15.
▲
by
nightcraft
2y ago
Thanks! The initial prototype did use React, but the overhead in certain cases soon became an issue. It got replaced by a custom virtual dom implementation (coincidentally quite similar to Atom's Etch), but debugging complex updates re
16.
▲
Show HN: Scripton – Python IDE with built-in realtime visualizations
(scripton.dev)
449 points
by
nightcraft
2y ago
|
139 comments