alanfranzoni
alanfranzoni on Hacker News
Yes, I got that. But the "good parts" according to this artcle derive from where it can work like a statically typed language.
So... The answer is fundamentally "statically typed", right?
Site is down. Anyone's got a mirror/outline?
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).
Posted by
alanfranzoni on Tuesday February 19, 2019 @04:00PM
from the franzoni.eu dept.
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.
Posted by
alanfranzoni on Friday February 15, 2019 @01:26PM
from the bloombergquint.com dept.
Posted by
alanfranzoni on Friday February 15, 2019 @01:26PM
from the nytimes.com dept.
Posted by
alanfranzoni on Friday February 15, 2019 @01:25PM
from the washingtonpost.com dept.
Sort feed by date -> OK. But the setting is not retained. Terrible.
Possible, but is it a good idea?
If the package is called "openjdk-11", I want JDK 11.
Jdk 10 is unsupported already.
This looked like a decent idea when the package was created, but turned into a disaster, an example of how NOT to do things.
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'm happy that 2017 is the date of the article, and not of the event.
Posted by
alanfranzoni on Wednesday January 30, 2019 @06:02AM
from the sci-hub.tw dept.
Not necessarily, if the private key is different for every device. What would you have done instead?
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.
Subscriptions prevent that kind of behaviour.
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.
Posted by
alanfranzoni on Friday January 18, 2019 @10:29AM
from the confs.tech dept.
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.
Posted by
alanfranzoni on Thursday January 17, 2019 @08:13AM
from the exchange.telstra.com.au dept.
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.
There are many pre-natal tests available. I was specifically referring to nipt, which is usually priced around $200-600, and can spot Down and other DNA issues with great accuracy.
I have worked with people with Down syndrome in the past, and I must say they are amicable, nice, and with the proper education they can quite compensate for their condition.
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.
Posted by
alanfranzoni on Thursday January 10, 2019 @12:11PM
from the franzoni.eu dept.