Fattura Elettronica Open Source

10 febbraio 2015 - Fonte: http://nicolaiarocci.com
this post is about an all-italian open source release, so it’s going to be in italian FatturaElettronicaPA è un nuovo progetto open source che ho rilasciato qualche giorno fa assieme alla mia azienda. Si tratta di una libreria C# che permette di leggere, scrivere e convalidare le Fatture Elettroniche aderenti alle specifiche del sistema di […]...

Leggi il seguito »

On Sustainable Open Source Management

6 febbraio 2015 - Fonte: http://nicolaiarocci.com
Tom Christie has some very good things to say on how to successfully maintain an open source project without losing sanity. Truth one: There are, and will always be, a non-finite number of possible valid issues to address. Your code can always be better polished, your APIs better defined, and your project more fully featured. […]...

Leggi il seguito »

How about a Sentinel for your Flask Application?

4 febbraio 2015 - Fonte: http://nicolaiarocci.com
Flask-Sentinel is a OAuth2 Server implementation of the Resource Owner Password Credentials Grant pattern described in Section 1.3.3 of RFC 6749. It is powered by Flask-Oauthlib, Redis and MongoDB and is bundled as a Flask extension so it can be used to add OAuth2 capabilities to an existing application. So what is the Resource Owner […]...

Leggi il seguito »

Why Microservices Matter

21 gennaio 2015 - Fonte: http://nicolaiarocci.com
In spite of being both a marketing spin and a link bait, Heroku article on Microservices does a pretty good job at explaining why microservices matter and, at a very high level, what challenges they pose. However, microservices aren’t a silver bullet, and they won’t make a sluggish IT organization fast. While individual services become […]...

Leggi il seguito »

Better Pull Requests

16 gennaio 2015 - Fonte: http://nicolaiarocci.com
I am not a big fan of top tens but 10 Tips for Better Pull Requests is well worth reading. A good Pull Request involves more than just some code. In most cases, there’s one or more reviewer(s) involved, who will have to review your Pull Request in order to evaluate whether it’s a good […]...

Leggi il seguito »

Announcing Eve-SQLAlchemy the official SQL extension for the Eve REST Framework

13 gennaio 2015 - Fonte: http://nicolaiarocci.com
Powered by SQLAlchemy and good intentions, Eve-SQLAlchemy is an official Eve extension which allows to effortlessly build and deploy highly customizable, fully featured RESTful Web Services with SQL backends. As with all Eve extensions, once installed with $ pip install eve-sqlalchemy using Eve-SQLAlchemy is very simple: from eve import Eve from eve_sqlalchemy import SQL app […]...

Leggi il seguito »

How to: Add custom JeSuisCharlie header to API responses

12 gennaio 2015 - Fonte: http://nicolaiarocci.com
A lot of servers have been including a JeSuisCharlie header with their responses. If you haven’t already, try with Charlie Hebdo site itself: $ curl -I charliehebdo.fr Date: Mon, 12 Jan 2015 15:56:13 GMT Content-Type: text/html; charset=iso-8859-1 Content-Length: 221 Connection: keep-alive Location: http://www.charliehebdo.fr/index.html Vary: Accept-Encoding X-Charlie-fr: Je suis toujours Charlie. X-Charlie-en: I am still Charlie. […]...

Leggi il seguito »

Interfaces out of Laziness

10 gennaio 2015 - Fonte: http://nicolaiarocci.com
Robert C. Martin is at it again this time targeting the (infamous?) Interface construct in a funny way. As both a C# and Python coder I couldn’t agree more. Also, let me quote my fellow polyglot developer Nicola Musatti, who went all out on the topic: Some of us have known that for the best […]...

Leggi il seguito »

Validating user objects with Cerberus

5 gennaio 2015 - Fonte: http://nicolaiarocci.com
People keep telling me that they want to validate class and instance attributes (object properties) with Cerberus. While it certainly wasn’t conceived with that goal in mind, it is actually very possible to leverage both the Python data model and Cerberus extensibility to achieve object validation. Nuts & Bolts Let’s say that we have a […]...

Leggi il seguito »

Some Thoughts on the new .NET (Redux)

4 dicembre 2014 - Fonte: http://nicolaiarocci.com
Like all those involved with the .NET ecosystem I’ve been slowly digesting the recent news on the whole thing going open source and cross platform. I’ve been jogging down a few notes in light of a future blog post, but then Jeremy Miller came out with his own Some Thoughts on the New .NET which […]...

Leggi il seguito »