Note di Matteo


Dicembre 2025

Netflix AV1

Il 30% dello streaming Netflix è in AV1. Prima Android (2020):

When we first set out to bring AV1 streaming to Netflix members, Android was the ideal starting point. Android’s flexibility allowed us to quickly integrate a software AV1 decoder using the efficient dav1d library, which was already optimized for ARM chipsets in mobile devices.

Poi TV e roba Apple:

Smart TVs depend on hardware decoders for efficient high-quality playback. We worked closely with device manufacturers and SoC vendors to certify these devices, ensuring they are both conformant and performant. This collaborative effort enabled our AV1 streaming to TV devices in late 2021. Shortly thereafter, we expanded AV1 streaming to web browsers (in 2022) and continued to broaden device support. In 2023, this included Apple devices with the introduction of AV1 hardware support in the new M3 and A17 Pro chips.

Nei browser il 40% degli stream sono con dav1d.

(Netflix)

#211 /
5 dicembre 2025
/
23:27
/ #video

Il postmortem del nuovo disservizio di Cloudflare, durato 25 minuti: la causa è di nuovo una configurazione distribuita globalmente senza rollout progressivo:

This second change of turning off our WAF testing tool was implemented using our global configuration system. This system does not perform gradual rollouts, but rather propagates changes within seconds to the entire fleet of servers in our network and is under review following the outage we experienced on November 18.

Unfortunately, in our FL1 version of our proxy, under certain circumstances, the second change of turning off our WAF rule testing tool caused an error state that resulted in 500 HTTP error codes to be served from our network.

Almeno stanno lavorando a una soluzione definitiva che non tiri giù tutto con un click:

Before the end of next week we will publish a detailed breakdown of all the resiliency projects underway, including the ones listed above. While that work is underway, we are locking down all changes to our network in order to ensure we have better mitigation and rollback systems before we begin again.

#210 /
5 dicembre 2025
/
21:06
/ #cloudflare#cdn

Utile sempre ricordare gli unici tre esiti possibili per una startup VC-funded:

  1. andare molto bene e quotarsi in borsa;
  2. essere acquisiti da un'azienda più grande che raramente prosegue la visione originale;
  3. fallire e chiudere perché non si è raggiunta una profitability tale da poter ripagare l'investimento (che magari era esagerato).

Viva le aziende bootstrapped.

#209 /
5 dicembre 2025
/
20:18
/ #business


Chiude Rewind e Limitless esce silenziosamente dai mercati dove la privacy conta qualcosa con un update della privacy policy. Nessuna menzione di chi ha comprato l'hardware e non può più usarlo.

Metodo strano di chiudere un servizio (Rewind) dopo aver promesso non avrebbe chiuso. Era stato promesso anche il cloud e2ee ("we built Confidential Cloud in such a way that only you can decrypt your data. Your employer, we as software providers, and the government cannot decrypt your data without your permission, even with a subpoena to do so."), poi la frase è semplicemente sparita dal sito. C'era la HIPAA compliance, ora non c'è più.

#207 /
5 dicembre 2025
/
16:35
/ #ai

ChatGPT (5.1) è diventato/tornato più colloquiale ("per evitare mille ... ovunque"):

#206 /
5 dicembre 2025
/
15:13
/ #ai#openai



Bending Spoons updated line up (credo):

  • Splice (2018)
  • Live Quiz † (?)
  • Remini (?)
  • 30 Day Fitness (?)
  • FiLMiC (settembre 2022)
  • Evernote (novembre 2022)
  • Meetup (gennaio 2024)
  • StreamYard (aprile 2024)
  • Issuu (luglio 2024)
  • WeTransfer (luglio 2024)
  • Brightcove (novembre 2024)
  • Komoot (marzo 2025)
  • Harvest (giugno 2025)
  • MileIQ (luglio 2025)
  • Vimeo (settembre 2025)
  • AOL (ottobre 2025)
#203 /
4 dicembre 2025
/
21:33
/ #bending-spoons

Mark Zuckerberg, ceo di Meta, prevede di ridurre in modo significativo le risorse destinate allo sviluppo del cosiddetto metaverso, progetto in passato definito come il futuro dell'azienda e che aveva motivato il cambio di nome da Facebook. In seguito alla notizia, il titolo è salito fino al 6% al Nasdaq. I dirigenti stanno valutando tagli al budget fino al 30% per il gruppo dedicato al metaverso nel 2026, che comprende il prodotto di mondi virtuali Meta Horizon Worlds e l'unità di realtà virtuale Quest. (Milano Finanza)

Chi l'avrebbe mai detto.

#202 /
4 dicembre 2025
/
20:45
/ #meta#internet#social

TIL i resi Amazon sono testati in modo dettagliato, es. le console di videogiochi sono testate, i droni sono messi in funzione per verificare che volino, ecc. e quasi tutti tornano in vendita come nuovi o usati/ricondizionati. (DDay)

#201 /
4 dicembre 2025
/
14:44
/ #italia#amazon



Ottimizzazioni di un'altra era nell'app Facebook:

In 2012 we took this wild ride at mobile infra at Facebook when trying to reduce the several-seconds long load time for “Newsfeed”. A few people worked on different approaches. Something we quickly realized was that setting up a connection with TCP and TLS was incredibly slow on mobile networks at the time. The fix was to have just one, keep it alive and multiplex. Shaved a whole second off. But it was still slow. Several people were convince that us sending JSON was the problem, so two different teams started to work on compact binary encoding. After a lot of experimentation what actually worked out best was to send JSON with ordered fields and a compile-time generated parser. Turns out both our iOS and Android app would do something silly like: 1) read all JSON data from server into a buffer, 2) decode that buffer with a generic JSON decoder into lists & dicts, 3) traverse those structures and build the final struct/class tree. Oh and another neat thing we eventually did—when the network connection needed to be setup—was to send an optimistic UDP packet to the server saying “get started fetching data for the following query”; once the real connection was established, TLS handshake completed and user session authenticated, the response was already ready to be sent back.

#198 /
3 dicembre 2025
/
23:39
/ #dev#reti

Costo dell'energia elettrica nel 2024

#197 /
3 dicembre 2025
/
21:19
/ #energia

In questo articolo di Hardware Upgrade qualche foto della loro visita nel datacenter OVHcloud di Parigi (il primo con 3 AZ).

#196 /
3 dicembre 2025
/
20:22
/ #ovh#cloud

Gli spazi nelle RFC

There are three forms of whitespace:

o WSP represents simple whitespace, i.e., a space or a tab character (formal definition in [RFC5234]).

o LWSP is linear whitespace, defined as WSP plus CRLF (formal definition in [RFC5234]).

o FWS is folding whitespace. It allows multiple lines separated by CRLF followed by at least one whitespace, to be joined.

The formal ABNF for these are (WSP and LWSP are given for information only):

WSP = SP / HTAB LWSP = *(WSP / CRLF WSP) FWS = [WSP CRLF] 1WSP

The definition of FWS is identical to that in [RFC5322] except for the exclusion of obs-FWS.

(fonte)

#195 /
3 dicembre 2025
/
10:21

It seems so rude and careless to make me, a person with thoughts, ideas, humor, contradictions and life experience to read something spit out by the equivalent of a lexical bingo machine because you were too lazy to write it yourself.

Pablo Enoc in It's insulting to read your AI-generated blog post

#194 /
2 dicembre 2025
/
17:18
/ #ai


CloudFront ora supporta mTLS (mutual TLS authentication con certificato client) senza costi aggiuntivi. Molto interessante.

#192 /
2 dicembre 2025
/
10:16
/ #cloud#aws


Nuova vita per JPEG XL, che forse arriverà in Chrome e Firefox con la nuova implementazione in Rust.

I benefici:

  • Lossless re-compression of JPEG images. This means you can re-compress your current JPEG library without losing information and benefit from a ~30% reduction in file size for free. This is a killer feature that no other format has.
  • Support for wide gamut and HDR.
  • Support for image sizes of up to 1,073,741,823x1,073,741,824. You won’t run out of image space anytime soon. AVIF is ridiculous in this aspect, capping at 8,193x4,320. WebP goes up to 16K, while the original 1992 JPEG supports 64K.
  • Maximum of 32 bits per channel. No other format (except for the defunct JPEG 2000) offers this.
  • Maximum of 4,099 channels. Most other formats support 4 or 5, with the exception of JPEG 2000, which supports 16,384.
  • JXL is super resilient to generation loss.
  • JXL supports progressive decoding, which is essential for web delivery, IMO. WebP or HEIC have no such feature. Progressive decoding in AVIF was added a few years back.
  • Support for animation.
  • Support for alpha transparency.
  • Depth map support.
#190 /
2 dicembre 2025
/
10:00
/ #browser

Il codice che decide l'esito della ruota della fortuna degli sconti Black Friday su efarma.com/spin:

const prizes = {
  BF5:  { label: "5% di sconto",  code: "BF5",  desc: "Senza minimo d'ordine" },
  BF15: { label: "15% di sconto", code: "BF15", desc: "Ordine minimo 69,90€" },
  BF25: { label: "25% di sconto", code: "BF25", desc: "Ordine minimo 129,90€" }
};

// ordine reale degli 8 spicchi partendo dall'alto (senso orario)
// 1: -15%  2: -25%  3: -5%  4: -15%
// 5: -25%  6: -5%   7: -15% 8: -5%
const segmentsPrizeKeys = [
  "BF15", // 1
  "BF25", // 2
  "BF5",  // 3
  "BF15", // 4
  "BF25", // 5
  "BF5",  // 6
  "BF15", // 7
  "BF5"   // 8
];

// scegli uno spicchio 0–7
const segmentIndex = Math.floor(Math.random() * 8);
const prizeKey = segmentsPrizeKeys[segmentIndex];
const prize    = prizes[prizeKey];
#189 /
1 dicembre 2025
/
13:27

Quante istruzioni un LLM di frontiera è in grado di rispettare in un prompt? Non più di 150-200:

(Writing a good CLAUDE.md)

#188 /
1 dicembre 2025
/
09:31
/ #ai