Feel free to use what you feel is good for you. But this makes a lot of sense (to me!) for simpler scripts. Imagine cron jobs or other "internal" scripts, maybe things that you launch on a cluster via ansible or other tools for periodic or one shot tasks... things like that.
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).
eBay has no warehouse. eBay has no printing service. But I'd say that eBay should offer a fake-reporting system (which AFAIK exists) and should report users engaging in such activities to police or other institutions.
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?
Well, they forgot to say that five star online platform - https://rousseau.movimento5stelle.it - is a php handmade webapp with a lot of security problems. Not a good point for the movement.
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.
And how is that API call performed? To whom? To my device, via a specially exposed service? Or is it part of gsm/umts/lte specs, and every packet I send back to my carrier contains my gps data?
I understand a-gps from an end user pov. I don't understand how and when such data is retransmitted to the carrier. Carriers shouldn't have access to my gps data.
I do not understand. That carriers have my cell location data, that seems ok. But do they get my own phone GPS data along with it? The article seems to imply that such data is sent only when dialing certain emergency numbers... Not always!
Does anybody have an explanation about A-GPS? How does it work? I thought it was available to end users, I don't understand why carriers have such data.
I think that the point he'd like to make (a bit clumsily, IMHO) is that we should NOT rely on SUBSCRIPTIONS only. We need more micropayments for single-shot buys.
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.
As somebody who went from 240 to 180 lbs (I'm about 6 5" tall btw) and stayed there for long, the hard thing to cope with is homecooking. Once i had kids I had no more time for cooking, and hurried pasta/pizza dishes just drive me fat.
Essential security practices (not advanced PT skills) should be basic software quality concerns. Full stop. "But it works" is not an excuse e.g. for doing sql queries without proper parameter binding.
This happens because you use Google's own SMTP. If you configure an external SMTP (e.g. Amazon SES) then the gmail webapp won't tell your gmail address to third parties.