A big nail in the coffin of MySQL

After five years in Oracle’s MySQL team, Steinar H. Gunderson resigned a few days ago. On the same day, he dropped the bomb on his blog: let me point out something that I’ve been saying both internally and externally for the last five years (although never on a stage—which explains why I’ve been staying away from stages talking about MySQL): MySQL is a pretty poor database, and you should strongly consider using Postgres instead1. ...

December 9, 2021

On the incredible opportunities offered by Starship

Space-junkie me is back, this time reading about the innumerable opportunities that SpaceX’s Starship will offer once it becomes operational, hopefully no later than this year or the next. In his Science Upside for Starship, the exceptionally knowledgeable Casey Handmer makes a case for Starship relevance in the future of space exploration by listing an astounding number of reasonable use-cases for the vessel. I think it is relatively straightforward to think of cool things to do with SpaceX Starships, so recent posts have focused on trying to understand the more mixed consequences for incumbent industrial organizations that are not ideally positioned to exploit the coming advances. It is, however, a fun exercise to enumerate all the ways in which Starship and related technologies can help execute bold, ambitious missions of scientific discovery. ...

December 8, 2021

Book Review: A useless man

Sait Faik Abasıyanık is an acclaimed Turkish storyteller. A useless man is a collection of short stories that spans nearly two decades of the author’s output, offering a glimpse into his imaginative and troubled mind. His overflowing love for others (even sensual, with a preference for street kids) combined with a “mal de vivre” that pushes him towards self-destruction are apparent. His passion for the most popular areas of Istanbul and, in contrast, the atavistic nostalgia for the simple life of the nearby fishermen islets exudes from these stories, which often run similar one after another. The composition is sometimes complex, making the text hard to parse and comprehend. Several novels are noteworthy, though, especially those narrated in third-person, where the narrator is not involved. The author is holding back his poetic prowess and the resulting text is more linear. Notable examples are The samovar, on the elaboration of mourning, and A story for two, a touching story of friendship between a bird and a fisherman. Some first-person ones are exceptional, too. For example, Milk is Sait Faik’s worthy tribute to Proust’s madeleine. One short story on the protagonist’s struggle with a street kid was profoundly touching. ...

December 4, 2021

Chet Baker, born to be cool

A great piece of writing on jazz has recently been posted on The Smart Set. In Born to be cool, Matthew Duffus writes about jazz trumpeter Chet Baker, reporting about his troubled life, musical prowess, influence, and legacy. Some facts are well known, like the reception and then the competition with trumpet legends such as Miles Davis and Dizzy Gillespie; other tidbits are less known (to me at least). On Baker legacy: ...

November 29, 2021

Book Review: Endurance, Shackleton's Incredible Voyage

Of all the stories of maritime adventures I’ve read, that of the Endurance, masterfully told by Alfred Lansing in this book, is the most incredible and shocking. Unbelievable to say, given the premise (a crew of 28 men stranded on the Antarctic pack, camped on floating slabs of ice hundreds of miles from any human settlement, at the gates of the Antarctic winter), but the story does not end in tragedy. The original expedition failed, but what followed the capture of Endurance (never was the name of a ship more prophetic) by the Antarctic ice borders on the impossible, if not the miraculous. ...

November 28, 2021

I'm a Moka guy

I’m a Moka guy, always have been. Admittedly, I also like so-called American coffee and, of course, espresso. But every day at my place, I’ll have a Moka-brewed coffee. Twice. As I wake up, and then in the afternoon before getting back to work. I’ve been observing the pods frenzy spreading all around me with curiosity and bewilderment in recent years, with dedicated retailers opening (and often closing soon after) everywhere in my town. Bialetti’s Moka coffee pots have always been around my life. Not disposable, for they are pretty expensive even here in Italy, but common, everyday kitchen gadgets? Absolutely. ...

November 27, 2021

Book Review: Mathematics is politics

Mathematics as the study of relationships: in this aspect lies the similarity and affinity with politics. And then the need in both cases to proceed with stubbornness and trust, without fearing error which, as in all difficult things, is not only lying in wait but inherent, and often, when it is discovered, it is the stimulus and engine of new successes and goals. Hence the need to respect rules and (not or, mind you) the compelling need for revolutions. The parallel narration of the author’s life and the change, over the years, of her own beliefs and points of view, makes this short essay more credible and streamlines the story. ...

November 25, 2021

How to automatically pull and deploy updated Docker images

We want our test and production stacks to be automatically updated every time something new is pushed to the test or release branch. CI builds the docker image on successful test runs, then stores it in our private registry. But how do you automatically pull and deploy those updated images? I looked into the Watchtower project, which is interesting. You add Watchtower to the stack, and it will diligently check for new versions of the images used by the containers in the stack, pulling, building and deploying as needed while the stack is up and running. In my experiments, however, I had little luck in making it talk with our private registry. Also, I’m not too fond of polluting my stack with foreign containers. I want my docker stack to be simple, tidy, clean, and single-tasked. ...

November 21, 2021

Learn in public

Today I searched the internet for something, and the first result I got from @duckduckgo was a note I wrote months ago to my future self; how meta is that. Learn in public, it gives superpowers1. Also, in recent years, adopting POSSE was the best thing I did for my personal development. I should do better. Post more TILs, for example. [rss]: https://nicolaiarocci.com/index.xml [tw]: http://twitter.com/nicolaiarocci [nl]: https://buttondown.email/nicolaiarocci ↩︎

November 16, 2021

My ASP.NET 5 migration to .NET 6

I spent the last few days migrating our ASP.NET REST services, MVC web applications and Blazor server apps to .NET 6. Overall the process was pretty straightforward. The few issues I went through were easy to solve and well documented. Things got more involved with the EF Core 6 transition, especially with the Npgsql Entity Framework Core Provider. The official ASP.NET Core 5.0 to 6.0 migration guide was my first stop. It offers the perfect entry point, rich with in-depth links. At this stage, I am not interested in switching to the new .NET 6 minimal hosting model (aka Minimal APIs). I think it’s a significant improvement, and we will likely adopt it for new projects, but our production projects aren’t going to be refactored right away. Should minimal APIs also prove to be remarkably performant, we’ll reconsider them1. ...

November 14, 2021