The real cost of interruption

I’m just back from reading Programmer Interrupted: The Real Cost of Interruption and Context Switching, an interesting short piece in which I learned about at least two new things. First, The Parable of the Two Watchmakers, introduced by Nobel Prize winner Herbert Simon, describes the complex relationship between sub-systems and their larger wholes. In the context of the article, it helps explain, even for non-programmers, the cost of an interruption. It also hints at a possible mitigation technique:...

April 7, 2023

ChatGPT is making up fake Guardian articles

Chris Moran, the Guardian’s head of editorial innovation: Last month one of our journalists received an interesting email. A researcher had come across mention of a Guardian article, written by the journalist on a specific subject from a few years before. But the piece was proving elusive on our website and in search. Had the headline perhaps been changed since it was launched? Had it been removed intentionally from the website because of a problem we’d identified?...

April 6, 2023

FatturaElettronica for .NET v3.4.7

Fattura Elettronica for .NET v3.4.7 was released on NuGet today. The Fattura Elettronica project allows for the validation and de/serialization of electronic invoices adhering to the canon defined by the Italian Revenue Agency. This release refines how the one-cent tolerance is accounted for in validation checks of types 00421 and 00423. As is often the case, there are subtle differences between the theoretical implementation defined in the official specs and the actual validation implemented by the same Agency that released said specs....

April 5, 2023

Book Review: Essere Lupo (Being Wolf)

I saw a wolf: that’s the phrase Ulf, a hunter and former forestry inspector now in his seventies, has been brooding, unable to confess to anyone since he spotted a majestic specimen at dawn on the first day of the year. Something clicks inside him, and Ulf, one of the most respected men in the village in deep Sweden where he lives, feels an increasingly solid and intimate connection with the creature....

April 3, 2023

Playing D&D with ChatGPT as the DM

A dad reunites with his three kids, ages 26, 23 and 15, and they decide to do a D&D campaign together. Now, this alone would be enough to catch my attention: I’ve been an avid D&D player as a boy, my older son has been playing too, and I always dreamed of playing one day with my three kids and maybe my wife. But there’s more to this story. Tenzin, the youngest son and long-time tabletop RPG gamer and DM, proposes to let OpenAI’s ChatGPT 4 be their DM....

April 3, 2023

Running .NET code in an isolated sandbox

Steve Sanderson is experimenting again, and when Steve plays with his toys, I pay attention. In a new video on his YouTube channel, Steve introduces an experimental new .NET package that allows the creation of isolated instances of the .NET runtime that will safely run code in a sandbox.

March 23, 2023

Web Performance meetup at DevRomagna

I know this is coming in a bit late; apologies, but… We’re doing a Web Performance meetup at DevRomagna today. Andrea ‘Verlok’ Verlicchi, a Google Developer Expert specialing in web performance, will share his extensive experience in web performance and provide practical, high-impact, and easily applicable tips on improving performance in 2023. Info and signup here.

March 22, 2023

Quoting John Carmack

John Carmack, while advising on the advent of AI and its influence on the Software Engineering profession: Software is just a tool to help accomplish something for people – many programmers never understood that. Keep your eyes on the delivered value, and don’t over-focus on the specifics of the tools. I have often fallen into the over-focusing trap in my career. The whole thread is well worth reading: (via)

March 20, 2023

Quoting Italo Calvino

Quoting the last paragraph from Italo Calvino’s Invisible Cities: The inferno of the living is not something that will be; if there is one, it is what is already here, the inferno where we live every day, that we form by being together. There are two ways to escape suffering it. The first is easy for many: accept the inferno and become such a part of it that you can no longer see it....

March 17, 2023

Book Review: No Sleep Till Shengal

Zerocalcare is an Italian cartoonist whose strips, especially in the form of illustrated books, have surged to an iconic level in the last decade. His drawing is excellent, but it is with his writing that, I think, he conquered fame. His stories are fun to read and yet profound and vibrant, all at the same time. Also, he often touches on themes nobody else covers, at least not in the comics world....

March 15, 2023