The opponent strategy

Preamble In the last few months, my experiences have led me to a profound realization: the world is inherently problematic from any perspective. While addressing challenges is often a catalyst for growth and improvement, it’s not always a foolproof strategy—as evidenced by my numerous changes in approach throughout this year. This blog post delves into the complexities of navigating these challenges. Brace yourself for a narrative that aims to be both mundane and reflective simultaneously....

November 13, 2023 · 3 min

CSP (better, ASP) in Clingo to bet FantaSanremo

Preamble Recently (false) I became nostalgic and fascinated with stuff from the past, but someone told me many times I’m a future-man cause I tend to project everything in my life. So let’s play with the future - TA-DA! Sanremo Festival, precisely the 2023 Edition1 is coming to town (not mine) so I decided to play for real to FantaSanremo. What is this? Formally, FantaSanremo was born in 2020 from the idea of a group of friends working in the entertainment industry (musicians, music teachers, sound technicians) who are fans of the Sanremo Festival and were inspired by the Fanta-Game of Thrones, a fantasy game based on the TV series of the same name....

January 30, 2023 · 17 min

The Doomsday rule

The Doomsday rule This is a repost of an old article :) A few months ago I came across the name of J. H. Conway: you’re wondering who the hell he is. Well, Conway is an English mathematician active in the theory of finite groups, knot theory, number theory, combinatorial game theory and coding theory. He has also contributed to many branches of recreational mathematics and he is the invention of the Game of Life....

December 23, 2022 · 9 min

I hacked my blog to let AWS Polly create podcast over it

Prelude Hi guys, after a series of back-to-the-future-I-didn’t-have-time-to-write-new-things… I’m back. What happened in the last months… ok, covid19 put the whole world in trouble, I bought an apartment, I opened a company and I resign my contract. Really. Nothing. Special. But TODAY - I wanna talk about a project I have since a while, and I worked on a boring Sunday afternoon: I hacked my blog to let Polly read it for you!...

November 26, 2020 · 13 min

A Golang Turing machine library

Preamble This is a repost of an old article :) In 1962, Hungarian mathematician Tibor Radó introduced the Busy Beaver competition for Turing machines: in a class of machines, find one which halts after the greatest number of steps when started on the empty input. Even if it could seem trivial, the Busy Beaver competition has implications in computability theory, the halting problem, and complexity theory. I decided to use GoLang to implement a Turing machine library and accomplish three goals: first, having a Turing Machine model to play with for learning purpose; second, learning how to use interfaces and the factory pattern, other then testing package to test my code and let it be more flexible for future enhancement (at least I hope!...

May 20, 2020 · 9 min

Jails: confining the omnipotent root

Preamble Recently I became nostalgic and fascinated with stuff from the past, so I decided to create a Vagrantfile to work with FreeBSD1. Why FreeBSD? Because as a developer, I really like Docker and I started looking in the past to find its historical birth: in fact, as a concept, Docker is no so recent as you think, and I think it exists also because of the works of some other bigs from 80’, such as Poul-Henning Kamp2....

April 19, 2020 · 10 min

T.H.I.N.K: is all about problems, not data

Intro Mute post Bye

February 10, 2020 · 1 min

Devops strategies

Intro As you might know, I use to work with AWS doing and destroying stuff like many other devopssss out there: this post is all about some challenges and problems I had to deal recently - in the last months - and involves some notes about how to deal with multistage environments, decoupling and many other practices you should all know about. The first thing to emphasize is that each of these best practices is fairly clear and well-defined, for sure online (perhaps discussed by bloggers more experienced than me XD) and deeply described in many books....

December 8, 2019 · 12 min

From Jekyll to Hugo, from Travis to Gitlab: a time for changes

Intro In the last 50 days I had to work a lot for many… many different reasons. The main ones: I was accepted as a Speaker at FullStackConf19 in Turin, talking about coding in mobility. You can find the slide of my speech here and the material I prepared the talk in this Github repo. By the way, I was truly inspired by some of the talks during the conference, and I started brainstorming around the next post; I moved back to Italy and trust me -> it was a pretty complex goal to achieve, with particular regards to my car; I joined Enerbrain and I’m really having fun with theme building smart-energy solution as a Devops Engineer; I joined a softball team - yes, it’s mixed, but it’s officially played also by men hahe....

September 20, 2019 · 6 min

Time to say good bye

Prelude In the last two months, many things happened in my life, so this is the reason I wasn’t able to dedicate a lot of time to my blog. What can I say… I’ve been in South Africa, and I literally lived experiences I will never forget and cannot be described. I visited the Blyde Canyon and the Rain Forest. I made so many safaris, I saw the elephants in the morning washing and drinking from the river, the giraffes, I saw the warthogs - and by the way, they are exactly as Pumba in the Lion King by Disney - the lion, which was about to attack the buffalos, I found the white rhinos, the hyenas and the leopards....

September 3, 2019 · 10 min