Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
benno128
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
Git-reabsorb: Reorganize Git commits with new structure using an LLM
(github.com)
6 points
by
benno128
10mo ago
|
2 comments
2.
▲
MCP Servers are surprisingly easy. I made one that runs code in a sandbox
(runno.dev)
1 points
by
benno128
1y ago
|
1 comments
3.
▲
by
benno128
1y ago
Yeah for sure: run it inside a virtual machine, or do some sort of docker magic. You kind of need to pretend you are a whole computer for a programming language to be happy. There's built in assumptions they're running on a "
4.
▲
by
benno128
1y ago
I've got one that uses WebAssembly to run Python, Ruby, C/C++, JS: https://runno.dev/articles/sandbox/
5.
▲
Runno/Sandbox: A WebAssembly Sandbox for Running Code in Node (etc)
(runno.dev)
4 points
by
benno128
1y ago
|
0 comments
6.
▲
Show HN: MCP Server for secure code execution (Python, Ruby, C, and more)
(github.com)
7 points
by
benno128
1y ago
|
0 comments
7.
▲
by
benno128
1y ago
Thanks! Yeah I'm very aware of Pyodide and interested in adopting some of their techniques. A big difference between my approach and their approach is that Runno is generic across programming languages. Pyodide only works for Python (a
8.
▲
by
benno128
1y ago
Working on Runno ( https://runno.dev/ ) as a side project. It's a tool for running code in the browser for educational use. [Edit]: I wrote a re-introduction to Runno: The WebComponent for Code over the weekend ( https:&
9.
▲
by
benno128
1y ago
Sounds really interesting. Where can I try it out? I struggled to find a link in the article.
10.
▲
Runno: The Web Component for Code
(runno.dev)
2 points
by
benno128
1y ago
|
0 comments
11.
▲
Show HN: I made a Python package for sandboxing code
(runno.dev)
2 points
by
benno128
2y ago
|
0 comments
12.
▲
Crashing your production app with iteration
(shiplog.nspain.dev)
1 points
by
benno128
2y ago
|
0 comments
13.
▲
by
benno128
3y ago
Really impressed by the depth and breadth of this project, well done! A particularly interesting part is the socket layer inside the browser. Other people solving this problem have previously used a proxy to a server that does the real sock
14.
▲
by
benno128
3y ago
This is the use case I've been tackling with Runno ( https://runno.dev ), it's more performant than OP's approach but not as flexible.
15.
▲
by
benno128
3y ago
There is support in Docker to run wasm-wasi binaries directly (see: https://wasmlabs.dev/articles/docker-without-containers/ ). The downside compared to OP's approach is that whatever you're running has t
16.
▲
by
benno128
3y ago
I'm working on this problem as well and would be happy to sling you some thoughts and notes. Check my website https://runno.dev and send an email to the address on that website!
17.
▲
by
benno128
3y ago
Snapshot Preview 1 is the standard all tools are building to right now. The specification is available here: https://github.com/WebAssembly/WASI/blob/main/legacy/preview... It's pretty unreadab
18.
▲
by
benno128
3y ago
Yeah of course! They've got STDIN/STDOUT/STDERR and I've built a Virtual Filesystem. But if you're using WASI binaries locally they don't have that restriction. You might be interested in WAGI: https:/&#x
19.
▲
by
benno128
3y ago
Thanks for the feedback! It’s also cost me about $15 so far. I don’t think I’ll do that again, but it was fun as a demo!
20.
▲
by
benno128
3y ago
SPA sense. It’s cobbled together because I just have fun with it. Not sure why it’s temperamental, haven’t bothered investigating.
21.
▲
by
benno128
3y ago
I wouldn't put it in prod, but it would be possible. You'd need a JS binding layer that dealt with the output and wrote it to the page, but it could be minimal. There are other projects that are targeted more at this kind of thing
22.
▲
by
benno128
3y ago
Might be this particular build of Python, or might be that I implemented one of the `fd` functions in a way Python/SQlite is surprised by. I'll have a look into it some time!
23.
▲
by
benno128
3y ago
Thanks! Yeah WebAssembly has an exciting future ahead of it.
24.
▲
by
benno128
3y ago
Looking forward to it!
25.
▲
by
benno128
3y ago
You just need to create the file first! >>> open("data.db", "w+").close() >>> db = sqlite3.connect("/data.db") >>> db <sqlite3.Connection object at 0x8b3fd8&
26.
▲
by
benno128
3y ago
Sorry! It is running ffmpeg in your browser on page load, which might not make it happy.
27.
▲
by
benno128
3y ago
Is this on the blog post, or are you trying it out yourself? If it's on the blog post, it sounds like your browser doesn't support `SharedArrayBuffer` ( https://developer.mozilla.org/en-US/docs/Web/Ja
28.
▲
by
benno128
3y ago
Sorry! Sometimes web is hard.
29.
▲
by
benno128
3y ago
It's a bit temperamental on some browsers sorry (I've seen it fail on Arc). I implemented my own front-end router and I have done a bad job. I've seen it work today on Chrome, Firefox and Safari.
30.
▲
by
benno128
3y ago
Haha thanks, you too!
More ›