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

help-circle
  • 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











  • I had someone on my team who we had to let go for not showing up to work, and it took 3 tries to just get him to join the call. For the backstory, he basically didn’t work for ~9 months into the pandemic when we were all working from home. He wasn’t very productive when we’d be in the office, but when WFH, he seemed to only do work when we were on our one on ones, and it got to the point where I had to schedule a 3 hour call every day to motivate him to do work. Eventually he stopped showing up to most of those and was wasn’t getting anything done, and wasn’t fair to everyone else on the team picking up the slack. Sucked for everyone involved.





  • Nintendo is being singled out because they’re withholding the tariff refunds for tariffs they never paid and passed on to the customers. When the tariffs were imposed, no one really blamed Nintendo and knew it was the Administration’s fault. If Nintendo didn’t want sales to drop because of higher prices, they could have eaten the additional tariff cost until it all got sorted out. Had they done this, then they’d be entitled to that tariff refund money. Instead they passed on the tariff cost to customers, which sucks for customers but was really the only sensible thing Nintendo could have done given the circumstances, and most people aren’t really blaming Nintendo on that decision. But now Nintendo is trying to have it both ways, not pay any of the tariffs and keep all of the tariff refunds which is why they’re being singled out. It’s pure greed on their part with blatant disrespect to their customers.