alanfranzoni

Joined 13 years ago

Karma
3,089
Submissions
498
Member since
Mar 22
https://www.franzoni.eu
View on Hacker News

Recent submissions

Comment · 7 years ago
Shared database is an antipattern.

Microservices can be an antipattern by themselves, btw.

Comment · 7 years ago
Yes, I got that. But the "good parts" according to this artcle derive from where it can work like a statically typed language.
Comment · 7 years ago
So... The answer is fundamentally "statically typed", right?
Comment · 7 years ago
Site is down. Anyone's got a mirror/outline?
Comment · 7 years ago
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).

Comment · 7 years ago
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?

Comment · 7 years ago
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.

Comment · 7 years ago
Sort feed by date -> OK. But the setting is not retained. Terrible.
Comment · 7 years ago
Possible, but is it a good idea?

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

Comment · 7 years ago
Jdk 10 is unsupported already.
Comment · 7 years ago
This looked like a decent idea when the package was created, but turned into a disaster, an example of how NOT to do things.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton