In the future, I want to start building battery powered projects, so understanding power consumption becomes critical. In this post, I will explore deep sleep power consumption on the ESP32-C6 board using Rust with Embassy and Esp-hal. Beyond simply putting the board to sleep, I’ll also examine the key factors that affect deep sleep current on this board, such as providing the correct voltage to the battery pin.

Continue reading

To keep an eye on my services and servers by monitoring how resources are being used and whether something is about to break, I took some time to explore what tools and services exist that are open-source and lightweight. I found that Beszel fits in nicely: it’s quick to deploy and easy to understand.

Continue reading

Recently, I set out to explore how to read and write the memory of a running process in Rust. Programming isn’t just about writing code that runs—it’s also about understanding what happens under the hood. Sometimes it is necessary to understand how memory works, for debugging, or even implement a simple IPC mechanism without going through sockets or shared memory. This experiment turned into a neat experiment that combines Linux internals (process_vm_readv/process_vm_writev), unsafe Rust, and a reminder of why process isolation is such an important security boundary.

Continue reading

For future projects and out of personal curiosity, I want to explore authentication management platforms beyond Keycloak, which I’ve already used. In this post, I’ll take a look at Casdoor, an Identity and Access Management (IAM) and Single Sign-On (SSO) solution with a user-friendly UI, built in Go 😎. I chose Casdoor for its extensive third-party login support, customizable login themes, and a unique payment integration feature. Let’s see how it performs! 🚀

Continue reading

ESP32 Net Sentinel Dongle

To sharpen my Rust skills for embedded systems, I embarked on creating a project that uses Discord (and soon MQTT) to receive commands for network tasks. Users can monitor devices, perform network scans, execute pings, send WOL packets and get alerts when applications running on edge devices fail.

Continue reading

SVG animation

Recently, I needed to create some animated diagrams and discovered that it’s possible to animate SVG images directly within the SVG element itself. However, the process isn’t exactly straightforward. To simplify it, I decided to write this blog post to share my findings. I even developed a tool to make building SVG animations easier, which I’ll introduce as well.

Continue reading

Author's picture

David Melo

engineer and a techie

Telco Engineer

Portugal