AxeCrafted wandering thoughts
EN · PT

A place to write about data, software, and whatever catches my curiosity — free from the pressure to monetize or to be right. Exploration, for the simple pleasure of it.

Browse: Data·Image Processing·Cryptography·Personal

2026

Dynamic Email Templates - Part 3: Stopping on Regret · latest

How we turned 'is my test done?' into a statistical verdict using an expected-regret stopping rule, and the lifecycle machinery around it: promoting winners and graduating finished tests into static templates.

Data  ·  August 4th, 2026

Dynamic Email Templates - Part 2: Allocating on Confidence

A field guide to allocation strategies for per-slot email bandits: probability matching versus proportional rules, per-slot rewards, cold-start gates, guardrails, and shrinkage - the math, the strengths, and the failure modes of each.

Data  ·  July 28th, 2026

Dynamic Email Templates - Part 1: One Bandit per Slot

How we evolved from A/B testing whole emails to dynamic templates with per-component variant pools, using independent multi-armed bandits per slot to escape combinatorial explosion - covering the architecture, the weights table, and the feedback loop.

Data  ·  July 21st, 2026
2025

Paint By Numbers - Victory At Last?

After a 10-month hiatus, the paint-by-numbers project reaches its conclusion. Discover how switching to CIELab color space, leveraging morphological transformations, and refining the algorithm produced stunning results with organic shapes and natural colors.

Image Processing  ·  December 12th, 2025

Winning with Multi-Armed Bandits: Smarter Experimentation in Databricks

Learn how Multi-Armed Bandits provide a powerful alternative to static A/B testing by balancing exploration and exploitation, using Bayesian methods to adapt experiments in real time and maximize results.

Data  ·  August 18th, 2025

Simple Anomaly Detection in Databricks Using Mean and Standard Deviation

Learn how Consumidor Positivo built a simple yet effective anomaly detection system in Databricks using mean, standard deviation, and generative AI for rapid data quality monitoring, automated diagnosis, and actionable insights.

Data  ·  June 23rd, 2025

A Stroll Through Encryption and Quantum Stuff

Explore the evolution of encryption from Caesar ciphers to RSA and quantum computing. Learn how modern cryptography works, why RSA is secure, and how quantum algorithms like Shor’s could change the landscape.

Cryptography  ·  April 21st, 2025

Why I Write

A reflection on the evolution of the internet from personal blogs to corporate-driven content, and the author's motivation to write authentically about topics of personal interest, free from monetization pressures.

Personal  ·  January 21st, 2025

An Attempt at Paint-by-Numbers - Part 3

Explore advanced techniques for removing thin regions, detecting boundaries, and labeling regions in images to achieve a classic Paint-by-Numbers effect using Python and OpenCV. This post covers practical algorithms, code examples, and visual results for image simplification and region labeling.

Image Processing  ·  January 15th, 2025

An Attempt at Paint-by-Numbers - Part 2

Explore advanced image processing techniques to transform photos into paint-by-number artworks. This post covers morphological transformations, region analysis, and Python code optimizations to simplify complex images for creative projects.

Image Processing  ·  January 1st, 2025
2024

An Attempt at Paint-by-Numbers - Part 1

Follow a hands-on journey to create your own paint-by-numbers artwork using Python and image processing techniques. Learn how to enhance images, extract color palettes, reduce color spaces, and simulate brush effects step by step.

Image Processing  ·  November 11th, 2024

Thoughts Under The Axe...

Discover the story behind AxeCrafted and its author, Leonardo Machado - a data enthusiast and lifelong learner sharing reflections on science, culture, and everyday curiosities. Explore thoughtful musings inspired by life, learning, and the art of observation.

Personal  ·  October 27th, 2024
Photo of Leonardo Machado
Written by
Leonardo Machado

Some guy from Brazil. Loves his wife, cats, coffee, and data — often found trying to make sense of numbers, or cooking something questionable.