Anthropic's https://
-
Craig Doremus π¦replied to Simon Willison last edited by
@simon I assume that window.fs is an AI hallucination. Right?
-
@simon >use client-side JavaScript running in a Web Worker.
So you can literally ask - "freeze my webbowser".
-
@danil or at least burn one available CPU core - Web Workers should get their own threads so in theory it should be be able to freeze a whole tab (in theory...)
-
Simon Willisonreplied to Craig Doremus π¦ last edited by
@cdoremus no that's real, Claude adds a fs.readFile(filename) function but it doesn't actually grant file system access, you can only read the files it's made available in-memory
-
Michael Hungerreplied to Simon Willison last edited by
@simon interesting choice.
Delegating the sandbox to the browser and compute to the user. what would be attack vectors here? -
Simon Willisonreplied to Michael Hunger last edited by
@mesirii I think it's pretty solid. Browsers are the most widely deployed and tested sandboxes on the planet, so I think the absolute worst that could happen is someone's CPU core gets stuck in a loop
-
Prem Kumar Aparanji πΆπ€πreplied to Simon Willison last edited by
@simon would be cool to see Llama 3.2 1B or similar doing it right inside the browser
-
Simon Willisonreplied to Prem Kumar Aparanji πΆπ€π last edited by
@prem_k that's VERY feasible - I've considered trying to build something like that myself in the past. https://chat.webllm.ai/ runs Llama 3.2 1B very neatly in the browser already
-
Stephan Druskatreplied to Simon Willison last edited by
@simon Interesting. Do you know (or does the code show) why the vis nodes for the dependencies are of different size?
-
Simon Willisonreplied to Stephan Druskat last edited by
@sdruskat looks like the circle size is based on the number of dependencies