Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sd2k
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
sd2k
4mo ago
That is pretty wild, it took me a hell of a lot more coaxing and persevering to get to a similar point with eryx [0] (we spoke a bit about this before on Mastodon) using Opus, Fable seems to have a more optimistic 'sure, let's pro
2.
▲
Show HN: Eryx, a fast WASM-based Python sandbox with native extension support
(github.com)
2 points
by
sd2k
8mo ago
|
1 comments
3.
▲
by
sd2k
8mo ago
True, but while CPython does have a reputation for slow startup, completely re-implementing isn't the only way to work around it - e.g. with eryx [1] I've managed to pre-initialize and snapshots the Wasm and pre-compile it, to get
4.
▲
by
sd2k
8mo ago
I'm not super familiar with how pyodide works but I think it uses CPython compiled with Emscripten then needs to be run from a Javascript environment, and uses the browser's (or Node's) Wasm engine. This uses CPython compiled
5.
▲
by
sd2k
8mo ago
Good call, yes, I'll get that added soon!
6.
▲
by
sd2k
8mo ago
I posted this elsewhere in the thread, and don't want to spam it everywhere (or take away from Amla!), but you might be interested in eryx [1] - the Python bindings [2] get you a similar Python-in-Python sandbox based on a WASI build o
7.
▲
by
sd2k
8mo ago
Hah, that is exactly the same approach I landed on. Fortunately the most common tools either seem to have Rust ports or are fairly easy to port 80% of the functionality! Conch's Wasm file is around ~3.5MB and only has a few tools thoug
8.
▲
by
sd2k
8mo ago
Cool to see more projects in this space! I think Wasm is a great way to do secure sandboxing here. How does Amla handle commands like grep/jq/curl etc which make AI agents so effective at bash but require recompilation to WASI (wh
9.
▲
by
sd2k
2y ago
Yes, in fact this is exactly what it was written for! If you're writing a Grafana app plugin (using Grafana Scenes, a library to help write dashboard-like experiences in Grafana apps) you can use Scenes ML to add outlier detection, for
10.
▲
by
sd2k
2y ago
Most of the algorithms in augurs were chosen to solve problems we've had at Grafana, which tend to require a solution that doesn't require tweaking too many parameters and deals with higher frequency series than many other time se
11.
▲
by
sd2k
2y ago
I started writing this library a while ago after I couldn't find a time series library that really fit my needs (either in Rust or elsewhere, really). Specifically I wanted something that was: - fast - portable (I want to be able to ru
12.
▲
Show HN: Augurs, a time series toolkit for Rust
(sd2k.github.io)
2 points
by
sd2k
2y ago
|
1 comments
13.
▲
Ongoing Incident in Google Cloud
(status.cloud.google.com)
235 points
by
sd2k
4y ago
|
105 comments
14.
▲
by
sd2k
8y ago
You may like [ptipython]( https://github.com/prompt-toolkit/ptpython/blob/master/READM... python-support) for vim bindings in an ipython(-ish) environment.