I'm leaving Substack

If you are one of the few following me on Substack, I have news: I’m leaving Substack and moving to a different platform. I actually left a couple of weeks ago; my latest posts are not on Substack and you can find them on my website (the source of all my content), or you can subscribe to the new newsletter or the RSS feed like hackers do. If you’re an old-time Substack subscriber, you already know because I transferred all the active subscriptions to the new platform....

January 19, 2024

How to implement a PKCE code challenge in C#

Today’s fun was implementing OAuth2’s RFC 7636’s PKCE (Proof Key for Code Exchange) in C#. It’s relatively straightforward, but I decided to share my implementation should it be helpful to someone else out there. PKCE is an extension to the Authorization Code flow to prevent CSRF and authorization code injection attacks. [..] It was originally designed to protect the authorization code flow in mobile apps, but its ability to prevent authorization code injection makes it useful for every type of OAuth client, even web apps that use client authentication (source)....

January 17, 2024

Quoting Guillermo del Toro

The structure [of most Miyazaki’s works] is not bound by the western-culture Aristotelean three act setup, conflict, pay-off, and resolution… its about showing you the sweet and sour of life. The loss and the love and the beauty all at the same time. – Guillermo del Toro For more context, see: Move review: The Boy and the Heron.

January 15, 2024

NTS Radio

NTS Radio is a family of like-minded and passionate individuals, dedicated to supporting exciting music and culture through online radio and events. NTS uncovers the best of the musical past, celebrates the present and cultivates the future of the underground music scene, and prides itself on being open-minded and experimental. (source) I’m certainly a latecomer, but NTS Radio is the bomb. I have not opened Spotify (whose algorithm I find dull and repetitive) in the last week, not even once....

January 13, 2024
*A Tramp's Nest in Ludlow Street*, How the Other Half Lives: Studies Among the Tenements of New York (1890), by Jacob Riis

Fabio the tramp

Last night, I was preparing dinner while waiting for Serena to return home when I received an unexpected call from her: she was in her parked car, petrified as the car’s headlights had illuminated a person lying on the floor of our building’s entrance, right in front of the elevator1. I told her to stay in the car and rushed down the stairs. When I got to the ground floor, no one was there; I checked the basement, and it was empty, too....

January 12, 2024

The strage story of the grave of Copernicus

Upon his death in 1543 in Frombork, Poland, Copernicus was buried in the local cathedral. Over the subsequent centuries, the location of his grave was lost to history. There were several unsuccessful attempts to locate Copernicus’s remains, dating as far back as the 16th and 17th centuries. Another failed attempt was made by the French emperor Napoleon after the 1807 Battle of Eylau. Napoleon held Copernicus in high regard as a polymath, mathematician and astronomer....

January 10, 2024

pg_rman: a backup and restore management tool for PostgreSQL

The goal of the pg_rman project is to provide a method for online backup and PITR that is as easy as pg_dump. Also, it maintains a backup catalog per database cluster. Users can maintain old backups including archive logs with one command. We’ve always been doing our Postgres backups the rudimentary way via pg_dumpall, which works and is purely logical (one can restore across different Postgres versions), but pg_rman maintains a catalog and has point-in-time recovery....

January 9, 2024

FatturaElettronica for .NET v3.4.13

Today I released Fattura Elettronica for .NET v3.4.13. The Fattura Elettronica project allows for the validation and de/serialization of electronic invoices that adhere to the standard defined by Italian Revenue Agency (Agenzia Entrate). See the changelog for details (Italian).

January 8, 2024

Movie review: The Boy and the Heron

We watched Hayao Miyazaki’s The Boy and the Heron yesterday at the theatre, and I liked it. The official plot goes like this: A young boy named Mahito yearning for his mother ventures into a world shared by the living and the dead. There, death comes to an end, and life finds a new beginning. Unsurprisingly, the animation is stunning, and the complex story is beautifully narrated. Mahito Maki, the protagonist, is a kid grappling with inner conflicts and insecurities who recently lost his beloved mother in a dramatic accident....

January 7, 2024

Some hints about what the next year of AI looks like

Professor Ethan Mollick’s Signs and Portents analyzes what AI has achieved, what the effects have been so far, and what we might expect in 2024. To ground ourselves, we can start with two quotes that should inform any estimates about the future. The first is Amara’s Law: “We tend to overestimate the effect of a technology in the short run and underestimate the effect in the long run.” Social change is slower than technological change....

January 7, 2024