News for hackers. Stuff that matters.
Re:Ask HN: Machine Learning Engineers, what do you do at work? by fragmede on Sunday June 09, 2024 @02:27PM (#40626428)
Yeah that sucks. something like:

    for venv in $(find ~/projects/ -type d -name 'venv'); do
      (
        source ${venv}/bin/activate
        pip install --upgrade pip
        pip install --upgrade package_with_cve
        deactivate
      ) &
    done
should do the trick. Sucks that we're in that world, but let's not work any harder than we have to.
Re:Ask HN: Machine Learning Engineers, what do you do at work? by fragmede on Monday June 10, 2024 @03:54AM (#40631228)
I forgot about parallel, which would do better than spawning off all the pip install --upgrade at once.