Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mscolnick
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
1.
▲
by
mscolnick
5mo ago
team effort, but this awesome goes to Trevor
2.
▲
by
mscolnick
5mo ago
How do you teach the model to use this new API? Wouldn't they be more effective just using the polars/pandas API which is has been well trained with?
3.
▲
by
mscolnick
5mo ago
This is cool. Do you still use this? There has been ideas thrown around to add "prompt" cells to marimo that can similarly create outputs or downstream cells and the prompts are serialized to the notebook py file and part of the D
4.
▲
by
mscolnick
1y ago
it would be awesome if this embedded marimo notebooks that run on WebAssembly (via https://marimo.app/ )
5.
▲
by
mscolnick
1y ago
1. marimo
6.
▲
by
mscolnick
1y ago
It wasn't included in the blog, but marimo also supports a markdown format, in case you're interested: marimo edit notebook.md
7.
▲
by
mscolnick
1y ago
The parent comment wasn't fully correct. marimo doesn't store outputs in the notebook file, but it does have many ways outputs are stored alongside the notebook, or remotely if you'd like: HTML, ipynb, pickle
8.
▲
by
mscolnick
1y ago
It may be preferable to create a variable tied to a UI element that can be used as a toggle to view each analysis. choice = mo.ui.dropdown(['train', 'split') data = load(choice.value) processed = process(data) visualize(
9.
▲
by
mscolnick
1y ago
The default "store" is a local FileStore. In your case, it will save the outputs to a file on disk called `my_cache`. We plan to add more stores like Redis, S3-bucket, or an external server, since you may not always want to commit
10.
▲
by
mscolnick
1y ago
> One design decision they made is that outputs are not stored This is not quite true. Outputs are not stored...in the Python file*. marimo does store outputs in the `/__marimo__` folder with settings enabled. > writing the boile
11.
▲
by
mscolnick
2y ago
Looks awesome! big fans of pyodide, congrats on the launch
12.
▲
by
mscolnick
2y ago
You might be interested in marimo [1], which does not store your outputs in the notebook artifact. Also the files are stored at pure-python instead of json, which LLMs much prefer / easier for them to parse. [1]: https://git
13.
▲
by
mscolnick
2y ago
Thanks for sharing these resources
14.
▲
by
mscolnick
2y ago
It is much smaller than that, Pyodide is only 2.8mb and the Python stdlib is 2.3mb when zipped
15.
▲
by
mscolnick
2y ago
Yea, this can be hosted on GitHub pages without any vendor infra (no marimo.app) These are two separate features: 1) marimo.app + github.com/path/to/nb.ipynb does run on marimo.app infra. this is what the Show HN was about 2)
16.
▲
Show HN: WASM-powered codespaces for Python notebooks on GitHub
(docs.marimo.io)
204 points
by
mscolnick
2y ago
|
27 comments
17.
▲
by
mscolnick
2y ago
it’s already possible to do this: marimo export script nb.py Pure-python also helps to work with existing tools out of the box: formatting, linting, pytest, importing notebooks as modules, composition, PEP 723 inline metadata
18.
▲
Visualizing text embeddings with MotherDuck and marimo
(motherduck.com)
3 points
by
mscolnick
2y ago
|
0 comments
19.
▲
by
mscolnick
2y ago
this sort of hackery to work with jupyter notebooks is exactly why we are building marimo ( https://github.com/marimo-team/marimo ). this should not be the standard
20.
▲
Transform a repository of Python notebooks into a collection of data apps
(marimo.io)
1 points
by
mscolnick
2y ago
|
0 comments
21.
▲
Building AI chatbots with marimo, Python, and ell
(marimo.io)
1 points
by
mscolnick
2y ago
|
0 comments
22.
▲
Marimo notebooks bring Vega-Altair charts to life
(marimo.io)
1 points
by
mscolnick
2y ago
|
0 comments
23.
▲
Taming randomness in ML models with hypothesis testing and marimo
(blog.mozilla.ai)
54 points
by
mscolnick
2y ago
|
7 comments
24.
▲
by
mscolnick
2y ago
marimo has a playground to run notebooks via WebAssembly - similar to Bento - without having to deploy yourself: https://marimo.app/
25.
▲
by
mscolnick
2y ago
We would like to make this configurable via a setting so you don't need to pass it through the CLI every time. And I agree, maybe a tooltip/notification to nudge them in that direction. We would also like to auto-detect a pyprojec
26.
▲
Package reproducibility in Python notebooks using uv isolated environments
(marimo.io)
37 points
by
mscolnick
2y ago
|
14 comments
27.
▲
Sandbox Python notebooks with uv and marimo
(github.com)
4 points
by
mscolnick
2y ago
|
3 comments
28.
▲
by
mscolnick
2y ago
uv + marimo lets you run Python notebooks in a sandboxed environment. This increases reproducibility and helps prevent environment pollution. If your notebook has inline script metadata, marimo will automatically install the enumerated pack
29.
▲
by
mscolnick
2y ago
marimo notebooks support mermaid as well - https://docs.marimo.io/api/diagrams.html#marimo.mermaid It is a great tool for diagrams
30.
▲
by
mscolnick
2y ago
You can now build plugins inside marimo using anywidget ( https://github.com/manzt/anywidget ). For reference, we did a Show HN for marimo earlier this year ( https://news.ycombinator.com/item?id=38971966
More ›