Better HN
topnewbestaskshowjobs
Log inSign up

yijiahe

2 karma · joined Nov 9, 2023 (3y ago) · 2 submissions

Submissions

comment 2y ago · link · parent

I think an undo button would help.

It would make experimenting to get the right solution quicker by not having to restart from scratch and take away the pain of having to restart because you accidentally interacted with the game.

comment 2y ago · link · parent

The author mentions using pip freeze or pip-tools pip-compile as a solution to the indirect dependencies which are reliant on the Python environment, i.e. the platform and Python version.

But from what I understand pip cross-environment usage needs the requirements.txt file to be generated on the environment it is going to be run on. The solution of copying in the same requirements text for installing the packages locally might not work in the container.