I've been recently started experimenting with Raspberry Pi 3B+ and Kubernetes for my thesis. Because of the constrained resources on devices like the Pis, I've chosen K3s as Kubernetes distribution meant for IoT and Edge, though I have more to say about that later. Setting up Ubuntu Server and K3s…
Gmail Smart Compose is a feature introduced in the popular Google email service back in 2018, which helps to save time on repetitive writing by suggesting relevant contextual phrases. In this report, I explore the approach taken to reproduce a Proof-of-Concept implementation of the same feature…
The following article is a brief summary of the past, current and future trends in system virtualization. The papers as source are linked at the end of the page. The rapid pace of innovation in datacenters and the software platforms within them has transformed how companies build, deploy, and…
Io-ts is runtime type system which provides safe encoding and decoding, but if you landed on this page you probably already have a slight idea of what it is. As a matter of fact, I wrote this article to remind a future version of myself about how to use the library to validate the requests coming…
CSS Custom Properties, aka CSS variables, have been available in stable Firefox since 2014 and Chrome since 2016. Despite its availability, its usage has not spread yet, and performance could be one of the reasons. You can read about what are Custom Properties on MDN. In particular, custom…
Now that also Firefox 63 is supporting Web Components, they are definitely the new shiny technology in the front-end which allow creating reusable Custom Elements using standard JavaScript APIs. With Shadow DOM, they are even well encapsulated, but this raises some questions like how to reset the…
Jason Miller is the author of Preact and he delivers a lot of high-quality small packages like Preact itself. I wanted then to read his source code for some time since I'm a fan of minimal implementations myself. Reading his repos is very instructive, for they deal with problems of different nature…
With the release of RxJS6 there has been a great improvement of Observables testing and this article will guide you in the path of using RxJS marble syntax with the latest testing APIs.In the second part, we'll cover instead how to improve the testing developer-experience, especially if you're not…
When dealing with blog comments, I've been using Disqus for the last years but I was interested in giving GitHub issues a shot. Besides my blog is already completely freely hosted on GitHub Pages, therefore moving the comments to the platform would have been a nice addition. I can't say Disqus is a…
Recently I've been dealing very often with Angular 2+ AOT compilation in Webpack and I've always found it an exhausting activity. The information is completely missing or extremely incomplete in the official Angular documentation, with no mentions about how to run it with a custom Webpack…