3,089 karma · joined March 22, 2013
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.
When I was younger (but then, I'm from Europe), me and my parents subscribed to almost nothing, EXCEPT what we really and totally bought every single time - that was one (1) comic book magazine that I was buying every single week.
Newspapers? Sometimes my parents would read it at the local bar, sometimes at a friend's, sometimes at work, sometimes we would buy it, I'd say 2-3 times a week. But then: WE COULD CHANGE the newspaper every time! And, we DID switch what we bought, cycling between 2-3 newspaper we liked, so we had a kind of 360-degree view on what was happening.
Subscriptions prevent that kind of behaviour.
That said, I don't know whether they're part of the "intended" human condition. They don't seem to hold any advantage over non-Down people, only disadvantages. If anybody is scared about similar thoughts, consider doing a non-invasive pre-natal test (NIPT) during a pregnancy; it's a test that checks the infant's DNA in mother's blood, and has a great accuracy.
Sure: if you know Linux well enough, AND YOU SPEND ENOUGH TIME ON YOUR SYSTEM, you can fix most of the above issues (I could not fix the Gnome DE latency with hidpi, btw). But I don't want to waste my time fixing my desktop; I want to pay, and my desktop should just work.
Then: if you like the Linux desktop, feel free to use it.
"The whole desktop" -> I was talking EXPLICITLY about the exact setup of the desktop of the article, not about a "generic" Linux desktop. I don't know where you got that impression.
But distributions often say that it's the only way to keep the whole "ecosystem" of a distribution stable.
So? What I think is that Linux "distributions" are growing less and less useful nowadays. On the desktop, no Linux was able to gain significant traction, and many developers are just using Macs and Windows with WSL.
On the server side, ways to "build your own distro" for creating a tuned stack for your purposes ( read: docker images ) exist and seem more useful than standard distro components. Nixos is another take.
Yes, "just apt install foo" is nice, until it isn't. I think we're at a tipping point between the old and new approach.
https://www.conradbastable.com/essays/the-uncharity-of-colle...
The situation in northern Africa is horrible; is that Italy's only and sole responsibility? It's easy to blame my country, but it seems harder to help us. We'd be happy to host more people if we could share the burden. Old treaties don't work for this kind of humanitarian emergency.