• 0 Posts
  • 731 Comments
Joined 3 years ago
cake
Cake day: June 20th, 2023

help-circle






  • His quote from the article:

    “[…] I need to come to terms with the fact that the level of dopamine I’ve been getting from interacting with LLMs…with doing more and more and more and more…is not healthy for me or good for the world. It is careless, and has disconnected me from where people are on this.

    I was talking about this with [my wife] Katherine last night and she did not pull any punches. Frankly, neither did [my brother] John. Neither of them think I’ve been being healthy. I need to readjust.”

    Not really knowing the drama before today, it seems like he is being very rational and speaking honestly about the effects LLMs are having on his behavior and that he identified he needs to change, which is what the whole article is about.



  • Well if the requirements.txt is pinned to a specific version of a dependency of a dependency, you might not know or really care why that’s set. But then this becomes a nightmare and dependency hell laterif you want a newer version of some package, and that newer version requires a bunch of newer packages and loses the others. At that point you probably will toss your old file and start a new one from scratch piecing together all the requirements with like pip freeze in a new virtual environment.

    Sure you could omit the versions, but then everytime you deploy, you don’t know what you’re going to get and a deployment today would be very different next week with a whole bunch of different versions of dependencies.


  • Yes exactly, like if I know my app needs the requests library, I will just put that in requirements.in but after compile requirements.txt will include the exact version of requests and every version of each dependency. So that every time pip install is run, all dependencies are always the same despite what happens upstream


  • Curious what others have to say, but my go to is to have a requirements.in with direct packages I need for the project, and then run pip-compile to generate all the dependencies with their exact version at the time so that deployments are repeatable. This works well for deployment, but if I were writing a library for others to use, I think you put the direct dependencies in setup.py