Consciousness cannot be an algorithm In 1989, Roger Penrose — British mathematical physicist, the one who proved black holes are inevitable in general relativity, Nobel Prize 2020 — publishes The Emperor’s New Mind 1 and makes a claim that infuriates half the academic world: human consciousness is not computable . The reasoning goes like this. Gödel proved that for any sufficiently powerful…
A bedtime story generator, the second time around: tiers, judges, weekly broadcasts, image consistency, and the unreasonable cruelty of being judged on taste rather than on green checkmarks.
Preamble Recently I found myself in the delightful situation of wanting to rebuild my home network from scratch — again. This time, however, I decided to do it properly, so I literally broke everything. I’ll spare you the details of my home setup and the nightmares I haven’t fully emerged from. What I do want to talk about is a side problem I started thinking about during this little…
I wanted a personal assistant that knows my markdown notes, remembers ongoing ideas across sessions, and helps me navigate POCs, drafts, and technical decisions. Strands Agents, Bedrock AgentCore Memory, and Bedrock Knowledge Bases turned out to be a very interesting stack for that.
Lambda Managed Instances gives Lambda a very different compute model: EC2-backed, multi-concurrent, and tuned for predictable high-volume workloads. I tried to map where it actually fits and where classic Lambda is still the better choice.
Amazon S3 Vectors is now generally available. I used it to build a cheap semantic search layer for manuals, notes, and personal docs without standing up OpenSearch or another dedicated vector database.
Amazon ECS Express Mode removes a surprising amount of container boilerplate. I used it to publish a small FastAPI service with HTTPS, load balancing, canary deployments, and autoscaling without building the usual ECS stack by hand.
Overview When I presented Kroz at the AWS Summit 2024 in Milan, it was a fascinating but simple prototype: a text adventure dynamically generated by AWS Bedrock, with procedural rooms and basic game logic. The demo worked, people were intrigued, but I knew it was just the beginning. The game had potential, but it lacked depth, coherence, and the kind of carefully crafted experience that makes…
How I built an AI-powered bedtime story generator on AWS with App Runner, Bedrock and Lambda, then migrated the frontend to my home Kubernetes cluster using Pod Identity for secure AWS integration.
Building an ECS Cluster with Raspberry Pi 4 Nodes Using AWS ECS Anywhere In this guide, we’ll explore how to set up an Amazon Elastic Container Service (ECS) cluster using three Raspberry Pi 4 devices as external instances, leveraging AWS ECS Anywhere. We’ll delve into the capabilities of ECS, provide the necessary Terraform code to create the cluster, and walk through the steps to…
In recent years, concerns have emerged about a perceived decline in creativity across various domains, particularly in the arts and technology sectors. This phenomenon has sparked debates on the role of artificial intelligence (AI) and its impact on human artistry. The Impact of AI on Artistic Creativity Prominent artists have voiced apprehensions regarding AI’s influence on creative…
Building a Vue 3 Notes App with AWS Amplify V2 Introduction After the Summit, I decided for a while to give it a try to new amplify - boooom. You might be wondering why and this article is all about this :D and yes, that’s me in the left corner looking at the photo! AWS Amplify has undergone a significant evolution with the introduction of Amplify V2 , offering an improved developer…
Introduction Text-based adventure games were among the earliest forms of digital entertainment, immersing players in interactive storytelling through simple text commands. Inspired by these classic games, I set out to create my own using AWS Bedrock, Amazon’s managed GenAI service. This article details how I leveraged generative AI, AWS infrastructure, and modern development tools to build…
Introduction I’m thrilled to share that I’ve been selected as part of the AWS New Voices Program , an exclusive initiative by AWS designed to help community members refine their public speaking skills. As an AWS Community Builder and a Platform Engineer with over eight years of experience working with AWS, this opportunity is a game-changer in my journey as a tech speaker. What is AWS New…
Errare è umano, perseverare è bellissimo. (Anonymous) Per arrivare primo, devi partire. (Mark Twain, american writer, humorist, entrepreneur, publisher, lecturer - 1835/1910) The biggest communication problem is we do not listen to understand. We listen to reply. (Stephen R. Covey) Se uccidi uno scarafaggio allora sei un eroe, e se uccidi una farfalla sei cattivo. La morale ha standard estetici.…
I am a Platform Engineer working in Prima Assicurazioni with a Bachelor and a Master degree in Computer Science. I own several certification, including some from AWS , Google and Lego . I love Golang , Docker , serverless architecture and quantum computing /mechanics. In my free time, I like to write code - you can find me on Github at @made2591 , or write blog or experiments with elettronics. I…
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…
Prelude If you miss the beginning of my series, here ’s my article about how to build an e-learning platform on AWS. Otherwise, if you are following this serie, the last time we build our backend to safely serve our HLS contents (if you miss it, follow the link ).If you want to sell premium content you can leverage Stripe to handle multiple payments. This article will delve into the…
Prelude If you miss the beginning of my series, here ’s my article about how to build an e-learning platform on AWS. Otherwise, if you are following this serie, the last time we build our backend to safely produce and store our HLS contents (if you miss it, follow the link ). If you want to provide premium content you have put in place a solution to ensuring secure and efficient distribution…
Prelude To build a streaming platform, as discussed here - read it if you miss it! - you first need to know what’s behind a streaming. Have you ever notice that streaming from streaming platform constantly adapt to your network, trying to avoid buffering and slowing down of the stream itself? Today it’s pretty hard to have connection problems, but even only 10 years ago this was a…
Prelude Today I want to deep dive into how you can leverage AWS Amplify, a tool that provides a comprehensive set of tools and services that streamline the process of developing and deploying web applications on AWS infrastructure: we will explore how to build a web application served by AWS API Gateway and Lambda functions. We will walk through the steps of initializing an Amplify project, adding…
Prelude In the past year, I worked on a project to build an e-learning platform (actually, it’s so much more!). I started using AWS Amplify, and I end up testing so many different services around it. I’ll cover the following topics: Choosing the right AWS services; Designing the application architecture; Developing the backend; Developing the frontend; Deploying the application; I hope…
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 Edition 1 is coming to town (not mine) so I decided to play for real to FantaSanremo . What is this? Formally, FantaSanremo was…
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…
Introduction Function composition is something we as developers do every day, more or less. This concept come from Mathematics: if you search on Wikipedia, you find out that function composition is an operation that takes two functions \(f\) and \(g\) and produces a function \(h\) such that \(h(x) = g(f(x))\). In this operation, the function \(g\) is applied to the result of applying the function…
Much more than a post (again) 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…
Intro If you work with AWS, you might be involved in building infrastructure to enable some of your customers (both internal and external) to use a particular service, or just to try one of the hundreds open-source application available on Github. Furthermore, most of the ML/AI tools are shipped in docker containers and the philosophy -> if it runs on docker, it runs everywhere has been spread up…
Introduction This is a repost of an old article :) Everyone use Docker and normally when something is so diffused, there’s always someone else that try to figure out how to leverage the diffusion to do bad things (you know what happened in Breaking Bad). Only a few months ago it happened that someone pushed some malicious software - cryptomining - over lot of images: this happened because,…
Prelude Today I’m gonna talk about how you can leverage Traefik2 , k3s , Cloudflare , and RaspberryPI to get the best out of your…apartment. After the image, I’ll go through the setup of everything needed! Why Traefik2 For those of you who never heard the word Traefik before, here it is: Traefik is an open-source Edge Router that makes publishing your services seamless. I…
Introduction As you might know, at the re:Invent AWS recently announced the capabilities of running Lambda by getting the code directly from a docker image you provide, as illustrated here . Moreover, they also announced the Amazon ECR Public and Amazon ECR Public Gallery that you can reach at https://gallery.ecr.aws/ . And this was pretty much my reaction: What you might need to know before begin…
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…
Introduction This is a repost of an old article :) In the first part of this series - I run VSC in the browser and I was just fine - I wrote many stupid things around the possibility of having a VSC server instance running inside AWS over a simple, immutable, ec2 instance. The template {that can be easily deployed by a Lambda function [that can be easily deployed behind a route53 record (that can…
Introduction This is a repost of an old article - that actually also inspired my talk of the last year at FullStackConf2019 :) Serverless and managed things are the best choices if you don’t want to deal with infrastructure (3 2 1: fight) buuuuut…even immutable things are not so bad for this purpose - at least, if they are immutable for real 🤣 Today I wanna talk about a useful way to…
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…
Preamble Recently I became nostalgic and fascinated with stuff from the past, so I decided to create a Vagrantfile to work with FreeBSD 1 . 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…
Intro If you work with AWS, you might be involved in building infrastructure to enable some of your customers (both internal and external) to use a particular service, or just to try one of the hundreds open-source application available on Github. Furthermore, most of the ML/AI tools are shipped in docker containers and the philosophy -> if it runs on docker, it runs everywhere has been spread up…
Introduction Function composition is something we as developers do every day, more or less. This concept come from Mathematics: if you search on Wikipedia, you find out that function composition is an operation that takes two functions \(f\) and \(g\) and produces a function \(h\) such that \(h(x) = g(f(x))\). In this operation, the function \(g\) is applied to the result of applying the function…
Introduction First of all…happy new year! I decided after a while to come back online speaking about Golang. In this post, I will focus on parallelism and concurrency and how you can achieve the same behavioral pattern you can achieve with Node.js using await/async statements, without the difficulties (hopefully) of dealing with Single Threaded Event Loop and these primitives (that, btw,…
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…
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…
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…
Prelude This is a twin post of - I guess - a good one that I wrote a long time ago: I was just surfing the blog thinking about all I would like to do, and I came to my old thoughts. I was curious, you know? so I read it, and read it once again, I reflected a bit on it - and I found it inspiring in a sense: even better, I would say I found myself surprised to agree with myself of almost 1 year and…
Introduction In the first part of this series - I run VSC in the browser and I was just fine - I wrote many stupid things around the possibility of having a VSC server instance running inside AWS over a simple, immutable, ec2 instance. The template {that can be easily deployed by a Lambda function [that can be easily deployed behind a route53 record (that can be easily placed as the endpoint of a…
Introduction Serverless and managed things are the best choices if you don’t want to deal with infrastructure (3 2 1: fight) buuuuut…even immutable things are not so bad for this purpose - at least, if they are immutable for real 🤣 Today I wanna talk about a useful way to run an instance(s) of VSC server in AWS and code from everywhere (yes, even your iPad): let’s start! This…
Introduction In the last two weeks, I released a few CDK stacks: I made some experiments around API Gateway and service integration that came out in two serverless forms, the Contact Form and the Upload Form , read to be deployed in your static web page 😎. Actually, with CDK you can do so much more and so much more easily. The last stack I released - a producer-consumer chain presented here - it…
Introduction A few days ago I wrote about a simple stack that leverage API Gateway and Lambda-proxy integration to create a safe upload endpoint to let unknown users push inside a bucket of your choice. The stack I will present today is can be used to build a producer-consumer chain, by implementing the SQS Extended pattern you can find in AWS exams. For the most curious, here you can find the…
Introduction The AWS CDK is becoming day by day pretty easy to use. I use Typescript, and today I will talk about a common use case: a simple Upload Endpoint for your API Gateway than like a LEGO can be built with a few instructions and of course…without the need of any server. For the most curious, here you can find the core code. Scenario You want to provide an endpoint to upload object:…
Introduction Hi everybody, thanks for the claps, it was a great month - rain rain rain again - now I’m back. The only GOOD THING of this terrible May is that AWS CDK came to simplify our life and I started using it (just a little) bit - still, enough to say, sincerely: it’s awesome. I used the Typescript version, everything is broken 2 release out of 3 but the time you save exploring…