Hacker News new | ask | show | jobs
by ftxbro 1180 days ago
> I don't get it why people love software running in a browser.

If you read the article, part of the argument was for the sandboxing that the browser provides.

"Obviously if you’re going to give a language model the ability to execute API calls and evaluate code you need to do it in a safe environment! Like for example... a web browser, which runs code from untrusted sources as a matter of habit and has the most thoroughly tested sandbox mechanism of any piece of software we’ve ever created."

2 comments

Thinking about it...

I don't know exactly about the browser sandboxing. But isn't it's purpose to prevent access to the local system, while it mostly leaves access to the internet open?

Is that really a good way to limit and AI system's API access?

The same-origin policy in browsers defaults to preventing JavaScript from making API calls out to any domain other than the one that hosts the page - unless those other domains have the right CORS headers.

https://developer.mozilla.org/en-US/docs/Web/Security/Same-o...

OSX does app sandboxing as well (not everywhere). But yeah, you're right i only skimmed the content and missed that part.