News for hackers. Stuff that matters.
Re:Leaving Haskell Behind by kevin_thibedeau on Thursday August 24, 2023 @05:25PM (#37254739)
I have issues precisely because of the misguided preference for virtualenvs in favor of traditional system package installation. It's obnoxious that pip now admonishes you for installing into site-packages even on a Debian system where that can't cause massive breakage. When you need isolated containers it's great. Everyone doesn't need a webdev focused, reproducible build for everyday shell life.
Re:Leaving Haskell Behind by dcow on Thursday August 24, 2023 @05:29PM (#37254775)
You really shouldn’t, though. If you use a dependency manager for some deps you should use it for all deps. Using a global/system cache would be great if dependencies were versioned and each script could specify which version is needed, but they’re not to my knowledge. And it’s all fun and games until some random install script somewhere updates a global dep and your stuff breaks and you don’t know where to even begin looking.
Re:Leaving Haskell Behind by Aerbil313 on Friday August 25, 2023 @04:06PM (#37266401)
I’m still waiting for Nix to mature and for its UX to improve.
Re:Leaving Haskell Behind by movpasd on Friday August 25, 2023 @03:15AM (#37258997)
In my personal experience, it's absolutely necessary. Breaking changes are all over the place. I have non-dev coworkers who have built Python tools without any knowledge of package management, and it's a minefield getting it up and running.

For individualised shell usage, sure. I have global installations of common data science utilities like pandas and jupyter, or requests.

Reproducibility isn't just about deployment, it's also about coordination with colleagues.