HNHacker News
TopNewBestAskShowJobs

alanfranzoni

3,089 karma · joined March 22, 2013

https://www.franzoni.eu
submissionscomments
alanfranzoni··on Why Julia
Yes, I got that. But the "good parts" according to this artcle derive from where it can work like a statically typed language.
alanfranzoni··on Why Julia
So... The answer is fundamentally "statically typed", right?
alanfranzoni··on Linus Torvalds on Why ARM Won't Win the Server Space
Site is down. Anyone's got a mirror/outline?
alanfranzoni··on Single File, Editable Python Scripts with Dependencies
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).

alanfranzoni··on Amazon Caught Selling Counterfeits of Publisher’s Computer Books–Again
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?

alanfranzoni··on What Happens When Techno-Utopians Run a Country
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.

alanfranzoni··on Skype contact lists may have been exposed (2017)
Sort feed by date -> OK. But the setting is not retained. Terrible.
alanfranzoni··on Ubuntu 18.04.2 LTS Released
Possible, but is it a good idea?

If the package is called "openjdk-11", I want JDK 11.

alanfranzoni··on Ubuntu 18.04.2 LTS Released
Jdk 10 is unsupported already.
alanfranzoni··on Ubuntu 18.04.2 LTS Released
This looked like a decent idea when the package was created, but turned into a disaster, an example of how NOT to do things.
alanfranzoni··on U.S. Telcos Sold Highly Sensitive Customer GPS Data Typically Used for 911 Calls
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?
alanfranzoni··on U.S. Telcos Sold Highly Sensitive Customer GPS Data Typically Used for 911 Calls
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.
alanfranzoni··on U.S. Telcos Sold Highly Sensitive Customer GPS Data Typically Used for 911 Calls
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!
alanfranzoni··on U.S. Telcos Sold Highly Sensitive Customer GPS Data Typically Used for 911 Calls
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.
alanfranzoni··on A KGB agent shipped a Sidewinder missile by mail to Moscow (2017)
I'm happy that 2017 is the date of the article, and not of the event.
alanfranzoni··on Pwn the LIFX Mini white
Not necessarily, if the private key is different for every device. What would you have done instead?
alanfranzoni··on The subscription-pocalypse
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.

alanfranzoni··on What I learned from reading over 100 weight loss studies
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.
alanfranzoni··on Developers Are Not Idiots
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.
alanfranzoni··on I Can No Longer Recommend Google Fi
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.
alanfranzoni··on A Daughter’s Disability and a Father’s Awakening
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.
alanfranzoni··on A Daughter’s Disability and a Father’s Awakening
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.

alanfranzoni··on So Long, Macbook. Hello Again, Linux
Some examples from my latest (Ubuntu 18.04) linux experience: - Does hidpi work? For ALL applications, and flawlessly? - Is the desktop responsive, or does it feel laggy? - File manager:Can I customize my favourites, including removing the builtin ones? - Can you use a lot of good desktop applications? Like MS Word, Adobe Photoshop, and similar? Or Google Drive, Pixelmator, Dash, Flux, tools in general that may have a small price but make your work considerably faster? - Does bluetooth audio work flawlessly, like, you can use a bt audio device, then stop, then start again? - does the system include a braindead, just-works backup-and-restore system?

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.

alanfranzoni··on So Long, Macbook. Hello Again, Linux
> I think any comments about the looks of a Linux desktop must be sure to talk about what Desktop Environment are you saying that about.

"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.

alanfranzoni··on So Long, Macbook. Hello Again, Linux
I must say that the whole desktop looks like something from the 90s. If you find it fine for your needs, that's great. But I don't think it's a general solution. Linux is so half-baked with respect to desktop, very often it's getting as problematic as a Windows system, especially on laptops.
alanfranzoni··on Homebrew 1.9.0
I totally agree with you. I think it's pretty pointless to have terabytes of repos for software that then grows stale.

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.

alanfranzoni··on Is Your Cat 6 Cable a Dog? (2013)
IIRC coaxial was terrible back then. It was stiffer and hence harder to place around corners, and the connectors were harder to clip on. I don't know if those reasons were important or even considered, back then.
alanfranzoni··on Talent Is Everywhere, Opportunity Is Not
About colleges... this was posted some days ago:

https://www.conradbastable.com/essays/the-uncharity-of-colle...

alanfranzoni··on Potholes to avoid when migrating to IPv6
This. The proper approach is to normalize/deduplicate on ip objects that understand ipv6 domain logic. Then most issues just go away.
alanfranzoni··on [dead]
Beside the issue with human trafficking, I still wonder why the issue should be about Italy only. Europe is unable to take a stand on migratory issues, and Italy alone should bear all the burden.

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.

Page 1 of 8Next →