A Golang Turing machine library

         · · ·      · · · · ·

Preamble 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!

Smart SPA Shower at home

         · · ·      · · · · ·

Preamble I recently bought 4 small smart bulbs - the latest one you most probably decide to buy for your smart home 😂😂 I think it’s useless talk about what you can do: I will only focus on the important things. They DON’T need an hub; They support Alexa; They support Google Assistant; They support IFTTT; There is an app, called Smart Life (iOS, Android) But most important you can build your small SPA in your bathroom.

Machine Learning is useless

         · ·      · · · · · ·

Preamble I would like to say “recently”, but actually is almost a few years I heard - and I’m still hearing a lot about Machine Learning and I didn’t want to believe it until now - believe me, I truly didn’t want to believe it - but yes here we are Machine Learning ufficially replace Big Data as buzzy word of the this past years, most problably will be still the word of the next year and I could not be more sad, frustrated, and worried about.

Migrations in modern companies: how to expect the unexpected from a real-life point of view

         ·      · · · ·

Prelude Disclaimer this post contains references to real problems, addressed in a disuruptive and totally not informed way. Lot of employees were mistreated to have enough material to write this post. What you will read is played by professionals: dont’t try this in your Company. The truth about companies Today every company in this beautifull world suffers the same problem: the migration problem. Yes, I know you got it and you’re kind of thinking “what the fuck?

DRY, immutable, opinionated, agnostic

         · · ·      · · · · · · · · · ·

Prelude As far as I know there are many ways to create today in IT. What is becoming more difficult is doing it properly and taking the right decisions but (spoiler)... But... I'm starting feeling that my repository is on the right direction to be self.deployable and agnostic. Above the infrastructure, which is provisioned by terragrunt and terraform, one or more actor(s) is placed (i.e. Jenkins, but whoever it is), the actors will be redeployed, the pipelines restored and they will start redeploy applications (even pieces of infrastructure with dependencies) on their behalf to the various parts of the infrastructure.

I'm still learning

         ·      · · · ·

Prelude Ok, first of all: I know, I have already used the yoda picture below in the past, but even if I am not at all a fan of the Star Wars saga, I like it. ATTENTION! This is a deeply desperate post: don’t judge me, I’m sad, I’m alone, it’s raining, I don’t feel to have any perspective but there’s a positive thing: I’m still learning. So… let’s divide the complaints by sectors.

A Quantum Experience

         · ·      · · · ·

Much more than a post What is the quantum theory? As said by quantumexperience official site by IBM, it's an elegant mathematical theory able to explain the counterintuitive behavior of subatomic particles, most notably the phenomenon of entanglement. In the late twentieth century it was discovered that quantum theory applies not only to atoms and molecules, but to bits and logic operations in a computer. This realization has been bringing about a revolution in the science and technology of information processing: I decided to write some notes to better explain, from a physics-agnostic computer scientist's point of view XD, what I understood - and it is certainly wrong - about Q until now and why I think it's an amazing field for computer science.

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.

Best wishes for Christmas holidays!

         · ·      · · · ·

Merry Christmas by nerds Here we are!! Christmas holidays are coming and it’s time to collect nerd greetings for nerd friends! In this article I have collected some of my favorites: starting from css to the most unhealthy c code in the world, I hope you enjoy these repositories / snippets / gist / sketch! Best wishes for happy holidays! CSS While I was looking for some cool css stuff to share with you, I found this fantastic gist that show the kind of magic a web expert can do with a bunch of css lines.

The Doomsday rule

         · ·      · · ·

The Doomsday rule 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. Ah, I was forgetting one last thing: he is currently Professor Emeritus of Mathematics at Princeton University in New Jersey1.