2035 came early (opens external site)
View full thread · View on Hacker News
To get push notifications on iPhone or iPad, add Hack and Chat to your Home Screen: tap Share → Add to Home Screen, then open the installed app and enable push in Settings.
View full thread · View on Hacker News
What do people foresee this being used for? `trynix` is only 1 fork downstream. What's 2 forks away? 3?
This interests me the way V8 isolates or pyodide originally but I've since learned to curb my enthusiasm bc it always turns out "oh its not actually realistic to use this in production because..."
[0] https://news.ycombinator.com/item?id=50533945#50598791
Replies (4)
Maybe you can do it with windows, but opening a browser tab and being able to be in an almost limitless ephemeral environment is amazing.
I asked as a top comment too... if you can download files from the filesystem, then it'd be great
In fact, as another commenter correctly said in a thread to me recently, WebAssembly is not the solution to "sandboxing" for various reasons, [0] [1] [2] especially when you are still dealing with browser engines that are written in C (QuickJS) and C++ (V8, Gecko) which are regularly targeted for memory corruption vulnerabilities with a kernel written in C (Linux) even when it is compiled to WASM.
They still bring over the very same C style vulnerabilities with them.
[0] https://soft.vub.ac.be/Publications/2022/vub-tr-soft-22-02.p...
[1] https://files.usenix.org/s3fs-public/cdn/sec20-lehmann.pdf
[2] https://bugzilla.mozilla.org/show_bug.cgi?id=2013741
Replies (2)
Replies (1)
As long as it is in a web browser with the existence of web apps, it absolutely does.
I don't think anyone other than techies here cares about Linux or any other distro. It is more convenient to end users to use macOS or Windows than to bother with trying or installing Linux at all.
They do not care whatsoever, and the only thing they care about with computers is that they don't get their passwords, data or internet banking accounts hacked when they use their browser.
Replies (2)
disclaimer: Am maintainer, https://github.com/smol-machines/smolvm
Interesting you give both V8 isolates and Pyodide as examples. At Cloudflare both are used in production for JS Workers and Python Workers.
(I work at Cloudflare on them both)
Replies (2)
I know that the Pydantic folks also built a similar MCP in the past[1] but abandoned it for "latency" and security/isolation concerns. All those are pretty easy to remedy with a pool of pre-initialized workers and subprocess isolation. Overall, it's one of the easiest ways to ship an easily on-premise-deployable solution like that.
[0]: https://github.com/EratoLab/code-interpreter-mcp
[1]: https://github.com/pydantic/mcp-run-python
Replies (1)
Replies (1)
The worst case would be that any of the isolation mechanisms significantly fails, and concurrent workers can see each others files, e.g. confidential files inside the company. This should be quite hard in the architecture, and barring a bug in our server code require escape from multiple layers of sandboxing, and beyond that would require coordinating timing with the attack target.
In terms of stability, if a single worker OOMs, that just leads to it being killed. If you were able to get multiple workers to reach high memory usage, the pod will just be OOM-killed by Kubernetes and restarted.
It's not perfectly resource-preserving if you are running with a pre-warmed worker, but economically it's still a steal. You get functionality for $10-20 of compute a month for ~1000 employees that you would with many alternative providers pay $5-10 _per user per month_.
[0]: https://github.com/EratoLab/erato
Replies (1)
Continue this thread (1 replies) →