alanfranzoni
Joined 13 years ago
Joined 13 years ago
Microservices can be an antipattern by themselves, btw.
Virtualenv is "stateful" - you need a) to have it installed on the target system b) to deliver both your script AND the requirements.txt file c) to launch virtualenv d) execute your script via virtualenv.
Far more complex than just "run this script and you're done", right? If an "embedded virtualenv" functionality existed, something like
import virtualenv
virtualenv.install_requirements("asd==1.2.3")
# from there, the software goes on with the requirements actually available
Then my snippet would make no sense.Of course (but I don't know whether this was the real suggestion) I could evaluate using virtualenv (if available) instead of manually setting the sys.path. But I found that to be a bit more complex (virtualenv could actually be installed with a different Python interpreter since it allows the -p parameter, while pip is generally bound to each specific interpreter).
The problem with Amazon is that they seem not to take appropriate action. How can you not be held liable for printing books in an unauthorized fashion AND selling it from your warehouse?
I think the wired article is decent, maybe it misses one important notion: the five stars movement has been critical at giving a lot of millennials some new interest in politics. For sure it's not the perfect party, but from a participation pov is the best thing we've had in Italy since decades.
If the package is called "openjdk-11", I want JDK 11.