Twitter | Pretraživanje | |
bunnie
Time to add feature to 7-year old Python script: 10 mins Time to set up Python env so I could run script: 3 hours Python scripts have a maintenance-free shelf life of a few years: it is not suitable for long-term codebases. I wish someone told me before I started using Python.
Reply Retweet Označi sa "sviđa mi se" More
Matt Guthaus 24. tra
Odgovor korisniku/ci @bunniestudios
What special python environment was this??
Reply Retweet Označi sa "sviđa mi se"
bunnie 24. tra
Odgovor korisniku/ci @mguthaus
It's just Python2.7 but I've been recently developing in Python3 and that broke something in Python2 which broke pip...and all the guides are like "use pip to fix it" and I'm like but pip doesn't work...and now there is some notice about Python2.7 support going away in 2020...😕
Reply Retweet Označi sa "sviđa mi se"
ubbut 24. tra
Odgovor korisniku/ci @bunniestudios
But is there a more sustainable alternative?
Reply Retweet Označi sa "sviđa mi se"
bunnie 24. tra
Odgovor korisniku/ci @ubbut1
I've got C code from the 90's that still compiles and runs...
Reply Retweet Označi sa "sviđa mi se"
Kevin Hubbard 24. tra
Odgovor korisniku/ci @bunniestudios
The stagnation of Perl has the advantage here.
Reply Retweet Označi sa "sviđa mi se"
Sam Littlewood 24. tra
Odgovor korisniku/ci @bml_khubbard @bunniestudios
Tcl would like you to hold its beer.
Reply Retweet Označi sa "sviđa mi se"
Edje Electronics 24. tra
Odgovor korisniku/ci @bunniestudios
Python repositories can come with a dependencies file that automatically installs all package versions needed in the environment. Is that not a good long term solution? Genuinely curious since I am still a rookie to .
Reply Retweet Označi sa "sviđa mi se"
3-5 30-50x elves in a trench coat 24. tra
Odgovor korisniku/ci @EdjeElectronics @bunniestudios
Yes, it's just that appears to have used an installation method which broke pip for one of the Python versions (which I would blame on the OS primarily for not packaging a usable one).
Reply Retweet Označi sa "sviđa mi se"
Ivan Kozik 24. tra
Odgovor korisniku/ci @bunniestudios
An ad for - you can use nix-shell on Linux or macOS to bring in old Python and dependencies e.g. nix-shell -p python27 -p python27Packages.twisted
Reply Retweet Označi sa "sviđa mi se"
Stephen A. Ridley 25. tra
Odgovor korisniku/ci @bunniestudios
Dude. DOCKER!
Reply Retweet Označi sa "sviđa mi se"