RSSAmplifier

Blog

Saverio Miroddi

64K RAM SYSTEM 38911 BASIC BYTES FREE

saveriomiroddi.github.ioRSS feed ↗10 posts

Latest posts

Install VMWare Workstation 17.6.0 modules with fixes, on Linux

In order to install VMWare Workstation on Linux, one needs to install the kernel modules. The problem is that such modules (vmmon and vmnet) are poorly written and maintained; for this reason, some developers created fixes, in particular, to make the modules work on recent kernels. The reference repository is mkubecek/vmware-host-modules, which, as of 11/Sep/2024, hasn’t been updated to v17.6.0.…

Upgrading the Bluetooth (Bluez) stack on Ubuntu

In some cases, it’s desirable to upgrade the Bluez (Bluetooth stack) version on Ubuntu; for example, on the stock Ubuntu 22.04 Jammy, some headphones may not work. In this article, I’ll describe the procedure to perform the upgrade, using the source code. Content: Procedure

Tiny: Grepping a program’s output while still displaying the progress

I needed to perform an rsync operation, which displayed the progress while running, filtering out some lines matching a pattern. This isn’t solvable with a oneliner, but I wanted to solve it nonetheless, in a simple way; this tiny article will show how. Content: The requirement The problem The solution Conclusion

Installing Ubuntu (22.04) on a mirrored (RAID-1) and encrypted btrfs root filesystem

Ubuntu (and derivatives) have been providing for some time a built-in way to setup last-generation systems (btrfs, ZFS), however, the installer provides very limited (essentially, none) configuration. In this article I’ll explain how to setup a mirrored and encrypted btrfs root filesystem. Content: Current outcome Cloned EFI partition Comparison with ZFS Overview of the possible approaches 1.…

Enabling the S3 sleep state (suspend-to-RAM) on the Lenovo Yoga 7 AMD Gen 7 (and possibly, others)

The lack of support for the Suspend-to-RAM functionality (ie. S3 sleep state), and its replacement with the disastrous Connected Standby (ie. S0ix sleep state) is a well-known plague on modern laptops. In this article I’ll describe how to restore support for it on the Lenovo Yoga 7 AMD Gen 7. This method likely applies to other models; for example, the HP ENVY x360) has the same S3 conditional…

SQLIte database file format diagrams

During my CodeCrafters SQLite project, I’ve found the SQLite database file format document to be rather complete, but nonetheless, for a variety of reasons, hard to use. In this article I present easy to read diagrams, that one can refer to while developing the exercises. Content: Introduction Index interior page Index leaf page Table interior page Table leaf page

A precise guide to building a custom Linux kernel

Under certain circumstances, it can be necessary to build a customized Linux kernel, for example, with a different configuration, or with patches applied. This is a relatively typical task, so there is plenty of information around, however, I’ve found lack of clarity about the concepts involved, outdated and incomplete information, etc. For this reason, I’ve decided to write a small guide about…

Unexpected things users will find when moving from metal to the cloud (AWS)

It’s a well-known fact that when moving from metal to the cloud, costs will typically increase (hopefully, trading it for reduced maintenance and/or increased system resilience). There are some important things that are very hard to assess, before moving to the cloud service itself. We moved, long ago, to AWS, and we had certain surprises; in this article, I’ll describe them, so that companies…

Improving the Github Actions caching effectiveness

Github Actions are the new de facto standard for projects CI (and many other tasks). Through a certain action, actions support data caching. I was very surprised though, when I’ve noticed that caching, as frequently described, has a very severe limitation - it’s not shared across PRs; this limits its performance severely. In this small article, I’ll describe the problem, the solution, and two…

Announcement: Release mini-book “Learn Bevy's ECS by ripping off someone else's project”

I’ve recently released my mini-book “Learn Bevy’s ECS by ripping off someone else’s project”; it’s a mini-book that uses the game Rusty Roguelike from the book Hands-on Rust as a base, in order to explain Bevy’s ECS. The idea is for a beginner to learn ECS concepts from the base book, then apply them using Bevy; the structure of the game is ideal for a gentle introduction to ECS architecture. Read…