News for hackers. Stuff that matters.
Re:MCP Run Python by anentropic on Thursday April 17, 2025 @12:09PM (#43718841)
It's what ChatGPT does apparently...

https://simonwillison.net/2024/Dec/10/chatgpt-canvas/

Re:MCP Run Python by simonw on Thursday April 17, 2025 @01:14PM (#43719683)
Not exactly - ChatGPT has two ways it can run Python code. It can use Pyodide and run it directly in the user's browser (for Canvas), and it can also run Python code on one of their servers in a Jupyter environment in a locked-down Kubernetes container (their "Code Interpreter" tool).

To my knowledge they don't yet have a run-Python-in-WASM-on-the-server implementation.

Re:MCP Run Python by jamestimmins on Thursday April 17, 2025 @01:46PM (#43720046)
What’s the purpose of Jupyter here? Isn’t that optimized for notebooks, which presumably wouldn’t be relevant on the server?
Re:MCP Run Python by simonw on Thursday April 17, 2025 @02:16PM (#43720399)
I think it's more about tapping into the Jupyter ecosystem of visualization libraries etc, plus the fact that there's lots of data analyst examples in the training data that come from notebooks.
Re:MCP Run Python by jamestimmins on Thursday April 17, 2025 @05:18PM (#43722315)
That's an interesting dynamic of the training data impacting the architecture. I wonder if this is a one-off or we see that in other areas as well.
Re:MCP Run Python by fzzzy on Friday April 18, 2025 @08:10AM (#43727310)
I think this is inevitable. Whatever is most highly represented (correctly) will become even more dominant.
Re:MCP Run Python by __mharrison__ on Thursday April 17, 2025 @05:33PM (#43722467)
So that's why it writes such bad pandas code...