RSSAmplifier

Blog

Tommaso Amici

I'm a full stack web engineer based in Amsterdam

tommasoamici.comRSS feed ↗16 posts

Latest posts

How to handle `datetime-local` inputs in Phoenix with Ash

A working solution to a tedious problem that I couldn't wrap my head around too easily Read more

Demistifying list virtualization in React

A walkthrough of minimal implementation of a virtualized list component in React Read more

How to load a local Parquet file in Starrocks

A short guide on how to ingest data in Starrocks using Parquet files Read more

You may not need Nx Cloud

Some of the things I learned while migrating the frontend monorepo at FLYR from Lerna to Nx and how to make the most out of this setup without Nx Cloud. Read more

A reactive approach to backend response caching

In this post I discuss how to implement backend response caching based on dependencies between data, significantly simplifying invalidation. Read more

How to dynamically change the signature of a function in Python

Here's something I learned today when adding Redis backed caching to a FastAPI application. Read more

How to specify the type of a `column_property` in SQLAlchemy

A short post illustrating how to specify the type of a SQL expression addded to a model with a `column_property` in SQLAlchemy Read more

Adding dynamic Open Graph images and social cards to a Next.js application

Vercel recently announced a new service to generate OG Images dynamically. In this post I will show you how you can add this feature to a self hosted Next.js application. Read more

Estimating the size of Serie A fanbases using Pwned Passwords

I had a bit of fun today poking around the Pwned Passwords data breaches. I wanted to see which Serie A team had the most fans based on the number of leaked passwords that can be reasonably associated with a specific team. Read more

Wagtail as a headless CMS for JavaScript frontends

In this talk at Wagtail Space US 2022 I spoke about how to set up Wagtail as a headless CMS for JavaScript frontends Read more

Headless Wagtail, what are the pain points?

The first installment of my guide on how to set up Wagtail as a headless CMS for JavaScript frontends. Read more

How to write unit tests for functions using `timezone.now` in Django

A short post explaining how to mock `django.utils.timezone.now` in unit tests. Read more

How to setup the modern frontend toolchain in Django

So you want to deploy a traditional Django application, but you also want Typescript, Tailwind, and all the good that modern frontend offers? Read more

Custom Metrics Reports on GitLab

GitLab allows you to record Metrics Reports and will display a report on merge requests so that it’s easier and faster to identify changes without having to check the entire log Read more

What I wish I knew before building a Gatsby source plugin

What I learned building a Gatsby plugin to source my collection of board games through BoardGameGeek's API. Read more

Building a HomeKit compatible temperature and humidity sensor

In this short post I'll explain how I set up a HomeKit compatible temperature and humidity sensor with a ESP8266 chip, Homebridge, and an AM2302 sensor Read more