Blog
Latest articles and resources
HyperFrames-Gradle: Transform AsciiDoc into MP4 video
The `hyperframes-gradle` plugin transforms AsciiDoc into MP4 video via HyperFrames. AsciidoctorJ carries the configuration DSL. The Node.js bridge is isolated behind ProcessBuilder. This plugin bridges the gap between slides and standalone videos. Here’s why it exists, how it integrates with capsule-gradle, and what it brings to the content production pipeline.
Audit of My LLM Consumption: SQLite, OpenCode, Ollama Cloud, and Why My Pro Subscription Is Taking the Global Market by Storm
I opened OpenCode's SQLite database to audit my actual usage over 73 days. 2.6 billion tokens, 1,022 sessions, total API cost of 22 cents. Exhaustive comparison with Anthropic Claude ($300K+), OpenAI GPT, Groq, HuggingFace, Together AI, and Chinese providers. Result: my Ollama Cloud Pro subscription at €20/month is the best offer on the global market, including against direct Chinese offers.
The “Independent Plugin + Consumer Root” Architecture: Why My Gradle Builds Get Duplicated
A clone, a `./gradlew tasks`, and your Gradle plugin works. Zero config, zero README to read. Here's the architecture I deployed on my 6 foundry/public/ plugins: a minimal consumer root + an autonomous `{name}-plugin/` folder. Why this "apparent duplication" pattern is the most productive for Gradle plugin development — with native dogfooding, build isolation, and clear DAG contract.
The Knowledge Graph as a recommendation engine: how I killed the chronological “related articles”
The current “related articles” on cheroliv.com are just the last four posts published. A semantic aberration fixed by a three‑layer recommendation engine: explicit references (xref), emerging ontology (NLP clusters), and chronological fallback. All hooked into graphify’s Knowledge Graph, consumed by bakery — without the engine knowing anything about it.
27× to 45× more effective than Claude and GPT: how a fleet of 23 AI fine‑tuned experts crushes the market
Efficiency factor of 27× to 45× against Claude, GPT and peers: how a fleet of 23 AI experts fine‑tuned on my workspace dominates the market. Architecture, dataset, training and complete deployment.
In-house Gradle plugin for driving two Ollama Pro instances in parallel.
A homemade build.gradle.kts to control two Ollama Pro instances from Gradle tasks — start, stop, sign‑in, model pull, and health check. From infra‑driven to the build tool.
Combining Two Ollama Pro Subscriptions on the Same Machine Using Docker
Docker allows you to duplicate an Ollama Pro subscription on the same machine by isolating identity keys and network ports. Here’s how to do it step by step.
Install the Kitty terminal and configure Zsh as the default shell on Xubuntu
This post presents the full procedure for installing and configuring kitty terminal on Ubuntu.
DGX Spark vs Cloud vs LLM Subscriptions — The Economic Benchmark That Kills the Dream of Local Hardware
At $4,699 for the DGX Spark, $20/month Ollama Pro, $1.38/hour for the H100 in the cloud — the math is quickly done. This benchmark compares all the options available in 2026 for running LLMs, from inference to fine‑tuning. Verdict: the Spark is a luxury item, not a cost‑effective tool. The real reason to buy local hardware in 2026 isn’t economic — it’s political.
The LLM Governance Matrix — Why Your AI Security Starts with the Hierarchy
What if the security of your AI didn’t depend on a prompt but on a file system? This architectural manifesto defines a 4×4 matrix — physical zone × LLM access right — that mechanically makes secret leaks, the mixing of open/closed source, and the publishing of opinions disguised as facts impossible. No prompt to write. No rule to remember. Just folders.
The OSS/CSS Granularization — Why I Cut foundry/ in Two
foundry/` mixed open‑source and private code in the same folder. The RAG and the knowledge graph couldn’t tell the difference. The solution? Split this functional area in two — OSS/ for the public (Apache 2.0, free indexing), CSS/ for the closed source (private dataset only). No longer need to tell the LLM to be careful. The file system does it for it. And I took the opportunity to place cheroliv.com where it always should have been: in office/sites/.
Automated Epistemic Compartmentalization — How the LLM Protects My Mental Garden
The STIMULUS pattern does more than just capture raw ideas and dilute them in workspace documents. It adds a critical layer: the LLM is responsible for classifying each piece of information as Vision (publishable on the blog), Opinion (confined to the private circle), or Strategy (restricted dilution). This automated epistemic segregation is what allows free thinking in Circle 0 without fear of inappropriate publication.
Our First Hire: The Dataset Anonymizer — MVP0 in Trial Period
Before doing RAG, fine-tuning, or SaaS, you need clean data. Our first hire on probation — the Anonymizer — detects and cleans PII in multi-technology sources (SQL, pgvector, ONNX, Graphify, JSON, YAML, AsciiDoc). This is MVP0. Without it, everything else is either illegal or technically degraded. Here’s how this building block turns a universal problem into a marketable product.
Our First Hire: the Dataset Anonymizer — MVP0 in Probation Period
Before doing RAG, fine-tuning, or SaaS, you need clean data. Our first hire during the trial period — the Anonymizer — detects and cleans PII in multi-technology sources (SQL, pgvector, ONNX, Graphify, JSON, YAML, AsciiDoc). This is MVP0. Without it, everything else is either illegal or technically degraded. Here’s how this building block turns a universal problem into a marketable product.
The Developer's Secret Garden: How Spatial Ontology Aligns LLMs Without Prompt Engineering
And if the best way to align an LLM weren’t a prompt but a filesystem? My workspace is organized into four concentric circles of trust, from the innermost to the outermost. The LLM doesn’t need to memorize the rules—it encounters them along every file path. This spatial ontology makes agent governance far more robust than a single block of textual rules.
Supabase → Firebase Migration: Connecting a Contact Form to Firestore Without Backend
My contact form was running on a mock for months. The initial Supabase plan was abandoned in favor of Firebase. I recount the creation of the project, the Firestore configuration, the rewriting of the submission JS, the cleaning of dead code, and what this migration says about the mindset of “finishing what we started”.
DeepSeek-V4-Pro, Kimi K2.6, GLM-5.1: Three LLMs put to the test of Vibe Coding Long Context
For three weeks, I ran three major models during my Gradle plugin development sessions with Opencode. Context 30K tokens, governance Eager/Lazy/Hot/Warm/Cold, refactoring tasks, TDD and architecture. Here is the one that survived — and why the others failed.
Agent Context Audit: When Your Own Governance Becomes the Problem — and How to Fix It Without Losing Anything
After two articles on structuring and backing up the agent context, I discover that the file documenting the method has itself become the largest token consumer. A section‑by‑section audit of a 627‑line AGENT_MODUS_OPERANDI, identification of duplicates, and an encyclopedic split solution that preserves the engineering without saturating the context.
Sliding Window and Cold Wave: When the Agent Context Explodes and We Must Archive Without Losing
After months of Opencode sessions, the governance files explode. 5,200 lines are loaded automatically. I am designing a sliding‑window mechanism and an “identical cold wave” to keep an active, lightweight context while retaining everything.
When Gradle 9, Docker 29 and Testcontainers end up in a stew: debugging a JHipster build
A `./gradlew build` that fails on eleven successive errors, from a non‑existent `reportsDir` variable to Docker Engine 29 rejecting the docker‑java 1.32 client. Here is the complete debugging logbook of a JHipster build on Gradle 9, Java 21 and Testcontainers 2.0.5.
Managing an AI Agent with AsciiDoc: My Eager/Lazy Strategy for Leak-Free Opencode Sessions
Faced with the leakage of context between sessions of an AI agent, I've crafted a handcrafted governance strategy based on AsciiDoc files. The principle is an eagerly auto‑loaded dashboard, a lazily requested owner’s manual, and an essential end‑of‑session procedure.
Why did `serve` display an ugly site while `publishSite` was perfect
The `serve` task of my Gradle JBake plugin displayed rectangular buttons, unreadable text, and partially missing CSS, whereas `publishSite` produced a perfect site. Root cause: JBake CLI arguments passed with incorrect syntax. Here is the full diagnosis and how I fixed it.
OpenCode and the incomplete PATH: why your tools were not in the agent's shell
OpenCode runs non‑interactive shells that do not source .zshrc. Result: SDKMAN, NVM, ~/apps, and pnpm are absent from the agent’s PATH. Full diagnosis of the problem, comparison of SDKMAN vs NVM behavior, and definitive solution via .zshenv + symlink ~/.nvm/current.
Integrate Graphify into a Gradle workflow: from knowledge graph to PlantUML diagram in one command
Graphify extracts a Knowledge Graph from your codebase. The Gradle PlantUML plugin transforms this graph into deterministic PlantUML diagrams. Full pipeline: pip install graphify → graphify . --no-viz → ./gradlew generateKnowledgeGraphDiagram → versioned PNG diagrams in Git.
Integrate Graphify into a Gradle workflow: from Knowledge Graph to PlantUML diagram in one command
Graphify extracts a Knowledge Graph from your codebase. The Gradle PlantUML plugin transforms this graph into deterministic PlantUML diagrams. Full pipeline: pip install graphify → graphify . --no-viz → ./gradlew generateKnowledgeGraphDiagram → versioned PNG diagrams in Git.
The super tip of the `fg` command: when Ctrl+Z saves your terminal session
Did you launch a command that blocks your terminal? Ctrl+Z suspends it, fg resumes it. Discover how fg, bg, and jobs transform your productivity in the terminal.
VS Code in the Home: local installation and font customization without sudo
Install VS Code in your Linux home directory to retain full control without sudo. Then customize the fonts of the menu and file explorer — a journey riddled with obstacles that finally results in a readable UI.
Migrating an Asciidoctor RevealJS plugin to Kotlin buildSrc : reverse engineering a Groovy API
How to migrate the configuration of an AsciidoctorJRevealJSTask from the root buildscript to a standalone buildSrc Kotlin plugin, replacing the Groovy ruby { gems() } DSL with its underlying mechanisms discovered via bytecode introspection.
Architecture Portfolio JBake - Vision and Use Cases
Discover how I solved a series of complex Mockito mocking problems in tests of a Gradle plugin, from the "Wanted but not invoked" error to cascading "Unfinished Stubbing".
Hybrid Architecture: The Best of Both Worlds with Supabase and Spring Boot
Combine Supabase for simple CRUD and Spring Boot for complex logic. Pragmatic, scalable, and economical hybrid architecture.
Hybrid Architecture: The Best of Both Worlds with Supabase and Spring Boot
Combine Supabase for simple CRUD and Spring Boot for complex logic. Pragmatic, scalable, and cost‑effective hybrid architecture.
The Art of Preloading: Eliminating the "Flash" of Theme with JavaScript and CSS
Effective Logging in the Functional Tests of Gradle Plugins
Complete guide to setting up a robust and independent logging system in functional tests for Gradle plugins with SLF4J and Logback
Display colored squares in AsciiDoc: Practical guide
Practical guide for integrating color samples in AsciiDoc using the pass:[] macro with inline HTML and CSS. Compatible with JBake and all processors.
Internationalization of a static JBake site with Thymeleaf
Complete guide to implementing internationalization in JBake with Thymeleaf: message files for the UI, folder organization for multilingual articles.
Install and verify Tor Browser on Ubuntu
Full procedure to download, verify, and launch Tor Browser on Ubuntu, with a reflection on cryptographic verification and ethical and educational browsing in the Tor network.
Article 5: The Adventure of the Shared libs.versions.toml
A deep dive into the Gradle version catalog (libs.versions.toml) and how to share it in a composite build, through a concrete problem encountered with our site-baker plugin.
Article 4: The Trap of the Gradle Configuration Cache
An unexpected debugging adventure that took us deep into the intricacies of Gradle's configuration cache. Discover why our builds were behaving oddly and how we resolved the issue.
Article 3: Integrating Jackson for YAML Parsing with TDD in a Gradle Plugin
Learn how to integrate the Jackson library to parse YAML configuration files into Kotlin objects in a Gradle plugin, following a Test‑Driven Development (TDD) approach.
Article 2: Develop a Gradle Plugin with a TDD Approach
In this article, we will explore how to set up a solid development base for a Gradle plugin using a Test-Driven Development (TDD) approach.
Article 1: Creating a Gradle Plugin from A to Z with the gradle init command
A step‑by‑step guide to initializing a Gradle plugin project using the standard `init` task, understanding the generated structure and running the first build commands.
Article 0 : Setting Up the Environment for Creating Gradle Plugins
Before coding our first plugin, we must prepare our machine. This guide shows you how to install and configure the essential tools: a JDK, IntelliJ IDEA, Gradle, and JBake.
CI/CD Python – Part 3: Going further with Poetry, Docker and advanced publishing
Part 3 - Complete guide to setting up a robust CI/CD pipeline with GitHub Actions, from linting and automated tests to automatic deployment to PyPI on releases.
Part 2: Industrialize and secure an advanced Python CI/CD pipeline
Part 2 - Complete guide to setting up a robust CI/CD pipeline with GitHub Actions, from linting and automated tests to automatic deployment on PyPI during releases.
Part 1: Setting up a simple CI/CD pipeline for Python and PyPI
Part 1 - Comprehensive guide to setting up a robust CI/CD pipeline with GitHub Actions, from linting and automated tests through to automatic deployment to PyPI on releases.
Development of a Music Discord Bot: Functional Architecture and Log-Driven Development
Cooling and monitoring the temperature of your laptop on Ubuntu
A debugging story: taming Firefox’s quirks with Bootstrap 5
Solve the Gradle Unit Test Challenge with `gradle.properties
Discover an effective technique for unit testing Gradle plugins that depend on `gradle.properties`. This article explains how to use `ExtraPropertiesExtension` to mock properties, ensuring isolated, reliable, and maintainable tests, illustrated with PlantUML diagrams.
Optimize Gradle Task Management with Kotlin DSL and buildSrc
Optimize Gradle with buildSrc and Kotlin DSL for reusable tasks and cleaner builds.
TDD of a configurable Kotlin Gradle plugin with JBake and JGit
This post presents the full design and testing approach (TDD) for a Gradle plugin written in Kotlin DSL. This plugin automates generation of static sites with *JBake* and Git deployment via *JGit*, all from a YAML configuration file.
AsciiDoc : Discover and master the syntax for effective documentation
Dive into AsciiDoc syntax and learn to write clear, structured, and powerful documents for all your documentation and publishing needs.
Expose a local service on the Internet from Ubuntu: Complete guide to port forwarding
How to configure port forwarding to make a locally running service on Ubuntu accessible from outside your home network.
Debugging Mockito: Resolve the "Wanted but not invoked" error in Gradle plugin tests
Discover how I solved a series of complex Mockito mocking problems in a Gradle plugin’s tests, from the “Wanted but not invoked” error to cascading “Unfinished Stubbing.”
Kotlin Arrow: Mastering navigation in the Either monad
Discover advanced techniques to efficiently navigate the right and left sides of the Either monad with the Kotlin Arrow library.
Practical guide: searching for files under Linux
Learn to efficiently search for files on Linux with Zsh using find, locate, and grep.
Linux memo
Simple memo on Unix/Linux and the bash terminal
Expose a Linux subsystem port for the Windows host
Expose a Linux subsystem port for the Windows host, with the command `wsl --install`.
Install Pandoc
Install Pandoc which is a document transformer, on Linux and Windows WSL
Implementation of kotlin.Triple in JavaScript, TypeScript and Python
Let's propose an implementation of kotlin.Triple in JavaScript, TypeScript, and Python
Introduction to Google Apps Script
Complete introduction to Google Apps Script
Express Training on Google Form Script and Automation
Express Training on Google Form Script and Automation
Python memo
simple memo Python
Web dev
Web dev training
Trading card games (TCGs)
Training trading card games (TCGs)
TypeScript Memo
simple memo Typescript
CSS Memo
simple memo CSS
HTML memo
simple memo HTML
JavaScript memo
simple memo Javascript
Scope memo
simple memo on project framing
Kotlin memo
simple Kotlin memo
JVM memo
simple JVM memo
Gradle memo
simple gradle memo
Training - kotlin: enum, sealed classes
Programming in kotlin: enum, sealed classes
Training - Kotlin
Programming in Kotlin, plan.
Design system memo
Simple memo of useful links and references in the design system
Kubernetes, Microk8s, Docker: first steps
Installation, deployment of micro Kubernetes, Docker, and launching a helloworld on Linux/Unix
Gradle: Execute an external process from a Gradle task
How to launch an external binary from a Gradle task
Kotlin: NotImplementedException, NotImplementedError
Not yet implemented, it allows raising the correct exception.
Untar
the application untar
Gradle: Rerun tests even when the tests are UP-TO-DATE
add the argument --rerun-tasks to the command line
Docker does not install the application but pulls it instead.
docker optimization
Gherkin in French :
BDD, cucumber, gherkin in French
Gradle cli: override a parameter
./gradlew -Pparam_component=CUSTOM
Git memo
simple git memo
Fetch from a URL
wget URL vacuum
Create a bootable disk
make your bootable disk
Unzip via CLI in a target directory
unzip from the command line
Show the sum of file sizes in the directory list
the sum of file sizes in a folder
Destroy a branch on GitHub
git memo supplement
Asciidoc/Markdown Memo
simple memo ascidoc/markdown
Debian: Install a .deb file from the command line
install .deb from the command line
Gradle: resources folder visible in the IDE
add a folder to the classpath of a Gradle build
Groovy script, grab and ivy configuration
gradle groovy ivy
Groovy: a bit of algebra, the GCD and the LCM
of algebra in Groovy
Bash: Find files by extension, output to file using find
a bit of bash with find
Manage a digital project using a waterfall methodology
a bit of methodology for digital projects with the waterfall methodology
List the databases in a PostgreSQL instance
postgres feeling around
Groovy: Rename files recursively
recursion in Groovy
Groovy: Search for files with criteria, copy of the selection
file search by pattern in Groovy
Groovy: File manipulation, search and deletion
file manipulation and character search in groovy
Groovy: Replace a character sequence in a String and load a Properties from a file
manipulation of Properties and pattern search in Groovy
Groovy: ASCII characters
of groovy, loops and manipulation of ascii code