// blog

Software engineering, explained with real code.

Systems and low-level, Rust, security, AI and the web, and how to put them to work in a business. With primary sources, in Spanish and English.

13 articles 5 sections 2 series ES / EN RSS

Complete series · 3 parts

x86 privilege rings: from Ring 3 to Ring -2

A descent through x86 privilege levels: from user mode to the kernel, the hypervisor and the firmware.

Read the series from the start →
  1. Part 1From Ring 3 to Ring 0: what happens when your code crosses into the kernel
  2. Part 2Ring -1: the hypervisor watching over your kernel
  3. Part 3Ring -2: SMI, SMRAM and RSM, how firmware takes over the CPU below the hypervisor

Ongoing series · 1 of 5

AI from the inside: from tokens to agents

How a language model works, piece by piece and with code you can run: tokens, embeddings, attention, text generation and agents.

Read the series from the start →
  1. Part 1What an AI actually reads: tokens, explained with code
  2. Part 2Embeddings: how a number comes to mean somethingcoming soon
  3. Part 3Attention: how the model decides what to look atcoming soon
  4. Part 4Generating text: probabilities, temperature and hallucinationscoming soon
  5. Part 5Agents: the loop that turns a model into something that acts, and its riskscoming soon

By section

01 · 4 articles

Low-level

Kernels, drivers, virtualization and firmware: what runs beneath your code.

See all 4 articles →

Low-level · 12 min

Anatomy of a Windows driver: from DriverEntry to the IRP

What happens inside a Windows driver: DriverEntry, IRQL, an IRP's journey, the dispatch table, IOCTLs and why a misused spinlock brings the system down. With real code.

Low-level · Part 3 · 12 min

Ring -2: SMI, SMRAM and RSM, how firmware takes over the CPU below the hypervisor

What lives below the hypervisor: System Management Mode, the firmware code that runs hidden from the OS, and how to check from C++ which protections your firmware declares.

Low-level · Part 2 · 10 min

Ring -1: the hypervisor watching over your kernel

What lives below the kernel: the hypervisor, in VMX root mode (SVM host mode on AMD). How it works with VT-x, AMD-V and EPT, why Windows uses one to protect itself, and how to check it from C++ with CPUID.

02 · 3 articles

Rust

Memory safety, performance and the Rust ecosystem in real projects.

Go to Rust →

Rust · 11 min

Rate limiting an API by plan in Rust: GCRA, Redis and tower-rate-tier

How to limit requests by each user's plan with tower-rate-tier: why GCRA and not a fixed window, requests that cost more, limits shared between instances with Redis, and safe defaults. With an example service and real outputs.

Rust · 17 min

Using C++ from Rust: how a safe wrapper turns a use-after-free into a compile error

A C++ library used from Rust: what unsafe really is, how to design the C boundary, why a C++ bug stops compiling with the right wrapper, and what happens to exceptions and panics. With real code.

Rust · 5 min

Why Rust remains the safest language in 2026

Analysis of Rust's memory safety features and why it dominates in critical systems.

03 · 1 article

Security

How software is protected: vulnerabilities, mitigations and good practice.

Go to Security →

Security · 9 min

A secret that ran code: post-mortem of a vulnerability in my own secrets manager

How a secret's value could run commands in a CI pipeline through Vaultic, reproduced with the real binaries: the bug, who could exploit it, the fix, the smaller bugs behind it and how it was disclosed.

04 · 1 article

AI

Applied AI: models, tools and automation.

Go to AI →

AI · Part 1 · 13 min

What an AI actually reads: tokens, explained with code

A language model doesn't read letters or words: it reads tokens. What they are, how BPE builds them (coded from scratch in Python), and why they explain its trouble with letters and numbers, what each language costs and a trick to slip past filters.

05 · 4 articles

Business

Digitalization and AI for businesses: cases, costs and how to start.

See all 4 articles →

Business · 8 min

What AI can automate in your business (and what it can't)

A practical map of what a business can automate with AI, department by department: what AI adds to a traditional automation, what's best left to a person, and how to spot where to start.

Business · 10 min

Training your staff in AI: what the AI Act really requires after the 2026 change

Article 4 of the EU AI Act changed in July 2026. What it said, what it says now, which companies it affects, what it doesn't require and what to do in an SME, with the official text and the European Commission's answers.

Business · 4 min

How AI is transforming businesses in Badajoz

Practical AI guide for SMEs and freelancers in Extremadura. Real cases and first steps.

All articles

Business · 8 min

8 signs your company website has a security problem

Eight checks any business owner can do in a few minutes, with no technical knowledge, to find out whether their website has a security problem, and what to do if they find one. With the official source for every figure.

AI · Part 1 · 13 min

What an AI actually reads: tokens, explained with code

A language model doesn't read letters or words: it reads tokens. What they are, how BPE builds them (coded from scratch in Python), and why they explain its trouble with letters and numbers, what each language costs and a trick to slip past filters.

Business · 8 min

What AI can automate in your business (and what it can't)

A practical map of what a business can automate with AI, department by department: what AI adds to a traditional automation, what's best left to a person, and how to spot where to start.

Business · 10 min

Training your staff in AI: what the AI Act really requires after the 2026 change

Article 4 of the EU AI Act changed in July 2026. What it said, what it says now, which companies it affects, what it doesn't require and what to do in an SME, with the official text and the European Commission's answers.

Rust · 11 min

Rate limiting an API by plan in Rust: GCRA, Redis and tower-rate-tier

How to limit requests by each user's plan with tower-rate-tier: why GCRA and not a fixed window, requests that cost more, limits shared between instances with Redis, and safe defaults. With an example service and real outputs.

Rust · 17 min

Using C++ from Rust: how a safe wrapper turns a use-after-free into a compile error

A C++ library used from Rust: what unsafe really is, how to design the C boundary, why a C++ bug stops compiling with the right wrapper, and what happens to exceptions and panics. With real code.

Security · 9 min

A secret that ran code: post-mortem of a vulnerability in my own secrets manager

How a secret's value could run commands in a CI pipeline through Vaultic, reproduced with the real binaries: the bug, who could exploit it, the fix, the smaller bugs behind it and how it was disclosed.

Low-level · 12 min

Anatomy of a Windows driver: from DriverEntry to the IRP

What happens inside a Windows driver: DriverEntry, IRQL, an IRP's journey, the dispatch table, IOCTLs and why a misused spinlock brings the system down. With real code.

Low-level · Part 3 · 12 min

Ring -2: SMI, SMRAM and RSM, how firmware takes over the CPU below the hypervisor

What lives below the hypervisor: System Management Mode, the firmware code that runs hidden from the OS, and how to check from C++ which protections your firmware declares.

Low-level · Part 2 · 10 min

Ring -1: the hypervisor watching over your kernel

What lives below the kernel: the hypervisor, in VMX root mode (SVM host mode on AMD). How it works with VT-x, AMD-V and EPT, why Windows uses one to protect itself, and how to check it from C++ with CPUID.

Low-level · Part 1 · 11 min

From Ring 3 to Ring 0: what happens when your code crosses into the kernel

A journey through x86 privilege rings. What Ring 0 is, how a syscall works, why a kernel bug takes down the whole system, and which defenses guard that border today.

Business · 4 min

How AI is transforming businesses in Badajoz

Practical AI guide for SMEs and freelancers in Extremadura. Real cases and first steps.

Rust · 5 min

Why Rust remains the safest language in 2026

Analysis of Rust's memory safety features and why it dominates in critical systems.