20 July 2019
12 June 2019
24 October 2018
This post describes how to validate JSON web tokens (JWTs) issued by Azure Active Directory B2C, using Python and working with RSA public keys and discovery endpoints.
06 August 2018
I used to store my family pictures and videos in Google Photos. Since I have two small children and we are in 2018, I rapidly ran out of the free space that Google offers to store original, full size, pictures. I decided to create my own media storage using Azure services, for a few reasons:
24 June 2018
In the last months I wrote an alternative Python SDK for Azure Storage using aiohttp, to take advantage of asynchronous web requests. Recently I did the same for Azure Application Insights. For those who don’t know it, Application Insights is a monitoring service that enables collecting telemetry data from applications, such as custom events and traces, unhandled exceptions, web requests, page views and much more.
13 January 2018
In the last months I had occasion to use Azure Storage as primary persistence layer for a document management system for my employer, William Demant Holding. For those who don’t know it, Azure Storage is a cloud based storage service by Microsoft, comprised of several services:
- Table Service - NoSQL database
- Blob Service - binary files storage, with support for virtual folders
- Queue Service - simple, cost-effective messaging system for large volume systems
- File Service - distributed file system
26 October 2017
In my previous post I wrote about performance comparison of ASP.NET Core applications hosted in Windows vs Linux + Docker, inside Azure Application Service Plans. Since this topic is interesting for many, I decided to write more about it.
Comparing Linux hosted to Windows hosted ASP.NET Core applications in Azure Application Service Plan
23 October 2017
What is faster? An ASP.NET Core application hosted inside a Linux machine and Docker container, or one hosted in a Windows machine, when using Azure Application Service Plan? Which setup offers the best performance, and to which extent?
13 October 2017
- how to push a custom Docker image to a public registry in Docker Hub
- how to prepare an ARM template to deploy a Docker powered web application in Azure Application Service Plan
- how to configure Docker containers so they can be accessed through SSH, optionally by application settings
07 October 2017
This post describes how to create an image for a Docker virtual machine, hosting a Python web application powered by PyPy 3, Gunicorn server, Gevent networking library and Flask web framework. I am using Linux, but the same concepts apply to Windows 10, assuming that you have Docker installed on your system.
06 October 2017
03 August 2017
Since I changed job and joined the wonderful William Demant, I have occasion to use Microsoft Azure daily at work. Recently I worked on a web application for documents administration (PDF, Word, Excel, etc.), featuring files upload, download, administration of metadata, search of documents by metadata and contents.
09 May 2017
11 November 2016
09 November 2016
I am not surprised by Trump’s victory and I don’t feel sorry about it. Because I saw it already happening in Italy (my home country), with Berlusconi. I was adolescent when Berlusconi started gaining popularity, I was already interested in politics and following the news regularly. Of course things in Italy were on a different scale: apparently, everything comes in bigger size in USA, but still the same substance.
30 October 2016
Few months ago I came across the picture of a slide on the internet, stating this sentence:
17 May 2015
I read few times a book with a collection of Murphy’s laws, and I don’t remember if I read anything like this:
10 May 2015
Ferdi Giardini is one of the best teachers I had during my university studies. He’s both artist and designer, and he’s famous in Italy for work of arts and objects he designed. Among the things he told during his lessons, is this sentence:
06 April 2015
For many centuries, in Europe, scholars used to say the latin words “ipse dixit”, that mean “he, himself, told it”, to end any debate and justify any of their subjective arguments, if the same arguments had been previously used by the ancient Greek philosopher Aristotle.