News for hackers. Stuff that matters.
Re:How Python virtual environments work by anongraddebt on Monday March 13, 2023 @06:40PM (#35144122)
Twice bricking my laptop’s ability to do python development because of venv + symlink bs was the catalyst I needed to go all-in on remote dev environments.

I don’t drive python daily, but my other projects thank Python for that.

Re:How Python virtual environments work by mixmastamyk on Monday March 13, 2023 @08:15PM (#35145307)
System administration skills are necessary to be productive developer. There is nothing re: python that can't be fixed with a few shell commands.
Re:How Python virtual environments work by ElectricalUnion on Tuesday March 14, 2023 @12:34PM (#35154190)
If a rogue package rm's your root directory as root, you need a bit more that a few shell commands to fix it.
Re:How Python virtual environments work by mixmastamyk on Tuesday March 14, 2023 @04:39PM (#35158147)
Can't happen unless you install as root. You're NOT DOING THAT are you?

Also LiveCDs are a thing for about twenty years. Recovery has never been easier, even after hardware failure.

Re:How Python virtual environments work by ElectricalUnion on Thursday March 16, 2023 @12:50PM (#35184602)
It doesn't even need root to cause damage most of the time, it just needs to overwrite all files under your user by mistake.

> Recovery has never been easier, even after hardware failure.

If you can use a LiveCD to repair it, it most likely wasn't a hardware failure to start.

Re:How Python virtual environments work by bsg75 on Monday March 13, 2023 @11:07PM (#35146886)
How do you brick a machine with venvs?
Re:How Python virtual environments work by bombolo on Tuesday March 14, 2023 @03:12AM (#35148278)
He runs pip as root and doesn't use venvs.
Re:How Python virtual environments work by anongraddebt on Tuesday March 14, 2023 @03:39AM (#35148411)
By debugging homebrew issues during Moneterey updates.

I didn’t brick the machine, just the ability to setup a typical python venv.

Re:How Python virtual environments work by cwsx on Tuesday March 14, 2023 @02:22AM (#35148031)
I've managed to break venv, npm and composer (php).

I don't use that as a reason to choose what I'll use in my projects, that's decided by the PTSD incurred from 7 years of php.