Avatar (Fabio Alessandro Locati|Fale)'s blog

Parse multi-CSV files in Go

August 22, 2022

As it happens every year, I had to pull a lot of information from various financial intermediaries and convert them into the way the local tax system wanted them. For this reason, I created a Go program that does this modularly. Whenever I have a new financial intermediary, I create a new module that can read whatever format they create and returns a structured object in the form that the application expects. This year I added a new financial intermediary with a very “interesting” CSV format.

Read More

MongoDB's SSPL

October 18, 2018

A couple of days ago, Eliot Horowitz, CTO & co-founder of MongoDB announced that MongoDB is moving from the AGPL to the SSPL license.

The SSPL is a new license, just created by MongoDB. In the post, Eliot points out that they created the SSPL starting from the AGPL, and he affirms that the new license guarantees all the freedoms the AGPL does. I firmly believe that the SSPL is not a FLOSS license since it limits the possibility of the cloud providers to provide an “as a service” version of it. This case might seem trivial and an edge case, but the complete freedom of usage is one of the FLOSS movement and licenses pillars.

Read More

PostgreSQL streaming replication for Ansible Tower

May 31, 2017

Ansible Tower 3.1 has recently been released, and it does implement real HA. In fact, up to version 3.0, Ansible Tower multi-node installation, only allowed a single machine to be primary and the switch was not possible in an automated fashion, so if the primary Ansible Tower would have collapsed, an operator should have promoted one of the secondary Ansible Tower to be primary to be able to carry on the work. With Ansible Tower 3.1 this is no longer the case, since all Ansible Tower machines are active all the time.

Read More

Innotop 1.10.0-0.3

December 22, 2015

Innotop is a tool that allows you to control the status of a MySQL/MariaDB database. It is widely used since it shows the data with an interface very similar to the top one.

Lately it’s development has slowed down, but small changes do come regularly.

The biggest change this time (compared to the 1.10.0-0.2 version) is the addition of a patch that allows innotop to work properly with MariaDB 10.1 and 10.2 that has recently hit the Fedora 24 repositories.

Read More

Innotop fixed for MariaDB 10

August 24, 2014

One of my clients asked me to upgrade their MySQL 5.1 installation to MariaDB 10. This caused some problems mainly due to the fact that many MySQL clients are not MariaDB 10 ready. An example of a MySQL client not yet ready for MariaDB 10 is Innotop.

Innotop is a widely used client for MySQL/MariaDB that shows you an interface similar to the “top” Unix command. To solve this, I found a patch online and, after some testing, I’ve added it to the Fedora package.

Read More

Strata Conference New York + Hadoop World 2012: Complete Video Compilation by O'Reilly Media, Inc.

December 28, 2012

When I’ve been selected to review, I was shocked by the amount of material that is hidden in this product.

This is more than 100 hours of videos of the Strata and Hadoop World conference.

The material is divided in three sections: Keynotes (14 videos), Tutorials (64 videos) and Sessions (81 videos).

The Keynotes are really short video (7~15 minutes each) that tend to be some sort of advertise of the companies that are sponsors (I guess) of the event. This is nice, but I would not waste time on these, if a person has really small amount of time.

Read More