news.volyx.in

ChatGPT Containers can now run bash, pip/npm install packages and download files (simonwillison.net)

451 points by simonw · 268 days ago · 324 comments on HN

Article summary

ChatGPT's container feature has been upgraded to allow running Bash commands, installing packages via pip and npm, and downloading files from the web. This upgrade enables ChatGPT to write and test code in multiple languages, including Python, JavaScript, and others. The feature is available in free ChatGPT accounts and can be used to process files and solve problems. The upgrade also includes a custom proxy mechanism for installing packages.

Main themes

  • ChatGPT upgrades
  • Code execution
  • Package installation
  • File download
  • LLM capabilities
  • Dependency management

What commenters say

  • The ability to install dependencies and download files makes ChatGPT more powerful, but also raises concerns about potential security vulnerabilities.
  • Some commenters believe that LLMs will eventually replace the need for human-written code and package management, while others argue that this is unlikely.
  • The use of LLMs to generate code may lead to a shift towards compiled languages like Go and Rust, which offer better performance and portability.
  • Others argue that the idea of LLMs replacing human developers is exaggerated, and that human judgment and oversight are still essential for writing reliable and maintainable code.
  • Some commenters think that the trend of using LLMs to generate code will lead to the creation of single-use applications that can be written and discarded on the fly.
  • There is a debate about the trade-offs between using dynamic programming languages like Python and JavaScript versus compiled languages like Go and Rust in the context of LLM-generated code.
  • The ability of LLMs to generate code may also lead to new security risks, such as the creation of cross-platform malware.
  • Some argue that the use of LLMs to generate code will make dependency management more important, as the generated code may rely on external libraries and packages.