Composition vs. Inheritance: How to Choose?

26 maggio 2015 - Fonte: http://nicolaiarocci.com
Steven Lowe piece on Composition vs. Inheritance is a must read. Just to wet your appetite, let me quote the opening paragraph: In the beginning, there was no inheritance and no composition, only code. And the code was unwieldy, repetitive, blocky, unhappy, verbose, and tired. Copy and Paste were the primary mechanisms of code reuse. […]...

Leggi il seguito »

Fattura Elettronica Open Source: Web Service PA

21 maggio 2015 - Fonte: http://nicolaiarocci.com
this post is about an all-Italian open source release, so it’s going to be in Italian Il progetto Fattura Elettronica Open Source si è arricchito di un nuovo strumento: Web Services. Il namespace FatturaElettronicaPA.WebServices raccoglie una serie di client C# che consentono di consultare i Web Service per la Fattura Elettronica messi a disposizione dalla […]...

Leggi il seguito »

On my trip to Microsoft Build 2015

8 maggio 2015 - Fonte: http://nicolaiarocci.com
Last week I was in San Francisco for Build 2015, the annual conference event held by Microsoft and aimed toward software and web developers. Overall it has been a great experience. I especially enjoyed the opportunity to speak with Microsoft executives, Program Managers and developers about the new stuff they are cooking up and, in […]...

Leggi il seguito »

Talk Python To Me Podcast Episode #1: EVE RESTful APIs for Humans

1 aprile 2015 - Fonte: http://nicolaiarocci.com
I was lucky enough be the first guest for the shiny new Talk Python To Me Podcast hosted by Michael Kennedy. In this episode we talk about Eve an my other open source releases, which gives us an excuse to touch on a variety of topics such as Polyglot Programming, New Microsoft and the .NET […]...

Leggi il seguito »

New Releases for Cerberus and Eve

17 marzo 2015 - Fonte: http://nicolaiarocci.com
Yesterday Cerberus 0.8.1 was released with a few little fixes, one of them being more a new feature than a fix really: sub-document fields can now be set as field dependencies by using a ‘dotted’ notation. So, suppose we set the following validation schema: schema = { 'test_field': { 'dependencies': [ 'a_dict.foo', 'a_dict.bar' ] }, […]...

Leggi il seguito »

Attention is a Resource

15 marzo 2015 - Fonte: http://nicolaiarocci.com
Today, the New York Times’ SundayReview features a great column by Matthew B. Crawford: The Cost of Paying Attention. Attention is a resource; a person has only so much of it […] What if we saw attention in the same way that we saw air or water, as a valuable resource that we hold in […]...

Leggi il seguito »

Sam Altman on Machine Intelligence

7 marzo 2015 - Fonte: http://nicolaiarocci.com
Sam Altman has a great short series on the development of superhuman machine intelligence (SMI). Machine intelligence, Part 1 is on why machine intelligence is something that we should be afraid of while Part 2 is on what we should do about it. And then there’s Technology predictions, the perfect closer....

Leggi il seguito »

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 »