Blog & Articles
Original companion articles from Choral Software books, grouped by source book and language. Choose English, French, or Spanish explanations and continue to the corresponding book for the full treatment.
Algorithms Made Simple
English
Accessible explanations of algorithms, data structures, complexity, and practical problem-solving patterns.
Five Edge Cases to Test Before Calling an Algorithm Finished
Stack or Queue? A Simple Way to Choose
Big-O in Plain Language
Free Algorithm Cheat Sheet: Complexity, Patterns, and Data Structures
How to Choose the Right Data Structure
Binary Search Explained Visually
Hash Tables: How Lookups Become Nearly Instant
Arrays or Linked Lists? What You Gain and What You Pay
Heaps and Priority Queues: Always Knowing What Comes Next
Greedy Algorithms: When the Locally Best Choice Is Enough
A loop invariant explains why a search is correct
Recursion needs both a stopping case and measurable progress
A stable sort preserves the order of tied records
A comparator must define a consistent ordering
Prefix sums turn repeated range totals into two lookups
A set answers membership while a map also stores associated values
Breadth-first search finds a shortest path when all edges have equal cost
Depth-first search needs a visited rule on a graph
Topological ordering exposes dependencies in a directed acyclic graph
Dynamic programming starts by naming a reusable subproblem
Memoization and tabulation compute the same recurrence in different orders
A counterexample can invalidate a greedy rule quickly
Choose a representation before comparing graph algorithms
Union-find tracks connectivity as groups merge
A priority queue separates choosing the next task from storing all tasks
Test boundaries where an algorithm changes its behavior
Algorithmic Edge
English
Coding-interview patterns, correctness arguments, complexity choices, and communication strategies.
How to Explain Algorithm Correctness in an Interview
Greedy or Dynamic Programming? Test the Irreversible Choice
Dynamic Programming Starts with a State, Not a Table
BFS or DFS? A Practical Interview Decision Guide
Sliding Windows: Fixed Size or Variable Size?
Two Pointers: Recognizing the Pattern Before You Code
The C.L.E.A.R. Framework: A Repeatable Way to Start Any Interview Problem
Fast and Slow Pointers: Detecting Cycles Without Extra Memory
Merge Intervals: Sort First, Then Sweep
Amortized Analysis: Why Dynamic Arrays Still Append in O(1)
Counting the call stack in interview space complexity
Merge intervals by tracking the active endpoint
Cyclic sort when values encode array positions
Reverse a linked list by preserving the next link
Monotonic stacks and the nearest greater element
Choosing traversal, topological sorting, or union-find
Shortest paths and spanning trees answer different questions
Binary search on a monotone feasibility predicate
Tries for shared string prefixes
Prefix queries with Fenwick and segment trees
Reading asymptotic running time from nested loops
Tracing the work done by a recursion tree
Accounting for occasional array resizing over many appends
Using an exchange argument to justify a greedy choice
Bit operations as set and parity tools
Explaining a solution while keeping the interview moving
The AI Algorithms Compendium
English
Foundational and modern AI methods, from search and Bayesian reasoning to reinforcement learning and RAG.
RAG Is a Pipeline, Not a Single Algorithm
Q-Learning and Policy Gradients Solve Different Problems
Why Attention Replaced Recurrence in Many Sequence Models
Bias and Variance: Diagnosing Model Error
Bayesian Updating: From Prior Belief to Posterior Evidence
BFS, Uniform-Cost Search, and A*: What Changes?
Minimax and Alpha-Beta Pruning: Searching Games Without Visiting Every Move
Constraint Satisfaction: Why Backtracking Needs Inference
Designing Admissible Heuristics for A*
STRIPS Planning: Describing Actions by Preconditions and Effects
Pruning a game tree with alpha and beta bounds
Balancing exploration in Monte Carlo tree search
Choosing how many principal components to retain
Hidden Markov models for partially observed sequences
Expectation maximization for a mixture of Gaussians
Why a single perceptron cannot represent every decision boundary
Backpropagation as local derivatives passed backward
Why recurrent networks need gates
Separating value selection and evaluation in Double DQN
Variational autoencoders and a regularized latent space
Minimax when an opponent chooses the next position
Choosing a similarity assumption before clustering data
PCA as a search for high-variance directions
Momentum and stochastic-gradient updates in deep learning
Comparing batch normalization with layer normalization
Specifying states, actions, rewards, and policies in an MDP
LLMs Derived
English
The mathematics and engineering behind transformers, tokenization, adaptation, preference learning, and inference.
Speculative Decoding: Faster Generation Without Changing the Target
DPO: Preference Optimization Without a Reward Model Loop
LoRA: Fine-Tuning Through a Low-Rank Update
How to Count Transformer Parameters Without Guessing
Tokenization Changes What a Language Model Sees
Why Scaled Dot-Product Attention Divides by Square Root of d
Rotary Position Embeddings: Encoding Position as Rotation
Perplexity and Cross-Entropy: Measuring a Language Model
RMSNorm vs. LayerNorm: What Normalization Actually Does
Scaling Laws and Compute-Optimal Training
WordPiece and unigram tokenizers choose subwords differently
Byte-level tokenization and unfamiliar text
Why attention needs information about token order
The recurrent encoder bottleneck that attention addresses
What multiple attention heads can represent
Choosing an encoder, decoder, or encoder-decoder architecture
Sliding-window attention and access to distant tokens
Supervised fine-tuning starts with the training examples
Why predicting text leaves user preferences underspecified
What mechanistic interpretability can establish about a transformer
Choosing the objective and data for language-model pretraining
Interpreting apparently emergent abilities with care
Evaluating a language model on likelihood and downstream tasks
Auditing benchmark contamination in a language model
Understanding unsupported language-model answers probabilistically
Limits that remain after improving a language model
Les algorithmes en clair
Français
Des explications accessibles sur la complexité, les structures de données, la recherche et les tests.
Fiche mémo gratuite : complexité et structures de données
Cinq cas limites à tester pour un algorithme
La recherche binaire expliquée visuellement
Pile ou file : une méthode simple pour choisir
Comment choisir la bonne structure de données
La notation Big O en langage clair
Tables de hachage : comment la recherche devient quasi instantanée
Tableaux ou listes chaînées : ce que l’on gagne et ce que l’on paie
Tas et files de priorité : savoir toujours quoi traiter ensuite
Algorithmes gloutons : quand le meilleur choix local suffit
Hash Tables: How Lookups Become Nearly Instant
Arrays or Linked Lists? What You Gain and What You Pay
Heaps and Priority Queues: Always Knowing What Comes Next
Greedy Algorithms: When the Locally Best Choice Is Enough
A loop invariant explains why a search is correct
Recursion needs both a stopping case and measurable progress
A stable sort preserves the order of tied records
A comparator must define a consistent ordering
Prefix sums turn repeated range totals into two lookups
A set answers membership while a map also stores associated values
Breadth-first search finds a shortest path when all edges have equal cost
Depth-first search needs a visited rule on a graph
Topological ordering exposes dependencies in a directed acyclic graph
Dynamic programming starts by naming a reusable subproblem
Memoization and tabulation compute the same recurrence in different orders
A counterexample can invalidate a greedy rule quickly
Choose a representation before comparing graph algorithms
Union-find tracks connectivity as groups merge
A priority queue separates choosing the next task from storing all tasks
Test boundaries where an algorithm changes its behavior
Algoritmos explicados con claridad
Español
Explicaciones accesibles sobre complejidad, estructuras de datos, búsqueda y casos límite.
Guía rápida gratuita: complejidad y estructuras de datos
Cinco casos límite que todo algoritmo debe superar
La búsqueda binaria explicada visualmente
Pila o cola: una forma sencilla de elegir
Cómo elegir la estructura de datos adecuada
La notación Big O en lenguaje claro
Tablas hash: cómo la búsqueda se vuelve casi instantánea
Arreglos o listas enlazadas: qué ganas y qué pagas
Montículos y colas de prioridad: saber siempre qué toca después
Algoritmos voraces: cuándo basta con la mejor elección local
Hash Tables: How Lookups Become Nearly Instant
Arrays or Linked Lists? What You Gain and What You Pay
Heaps and Priority Queues: Always Knowing What Comes Next
Greedy Algorithms: When the Locally Best Choice Is Enough
A loop invariant explains why a search is correct
Recursion needs both a stopping case and measurable progress
A stable sort preserves the order of tied records
A comparator must define a consistent ordering
Prefix sums turn repeated range totals into two lookups
A set answers membership while a map also stores associated values
Breadth-first search finds a shortest path when all edges have equal cost
Depth-first search needs a visited rule on a graph
Topological ordering exposes dependencies in a directed acyclic graph
Dynamic programming starts by naming a reusable subproblem
Memoization and tabulation compute the same recurrence in different orders
A counterexample can invalidate a greedy rule quickly
Choose a representation before comparing graph algorithms
Union-find tracks connectivity as groups merge
A priority queue separates choosing the next task from storing all tasks
Test boundaries where an algorithm changes its behavior
AI Made Simple
English
A plain-language introduction to how AI, language models, and agents work, and how to use them well and responsibly.
What Is AI, Really? A Practical Way to Tell
How Machines Learn: Examples, Patterns, and Honest Testing
What a Language Model Actually Does When It Predicts Text
Why AI Models Sometimes Make Things Up
Generative AI Beyond Words: How Images, Audio, and Video Are Made
Working Well with AI: Five Habits That Improve Any Answer
AI That Writes Code: How to Use It Without Losing Control
From Chatbots to Agents: What Changes When AI Can Take Actions
Build a Simple AI Workflow: Start Small, Check Every Step
What Can Go Wrong: Privacy, Bias, and Overconfidence
Why an AI Assistant Forgets: Context Windows Explained
Prompt Injection in Plain Language: When Text Gives the AI Orders
How AI Models Are Trained: Pretraining, Fine-Tuning, and Human Feedback
Open Models, Cloud Services, and On-Device AI: What the Choice Means
How to Read an AI Claim: Demos, Benchmarks, and Marketing
Give an AI assistant a task it can check
Ask an AI assistant to separate supplied facts from assumptions
Compare AI drafts against the same checklist
Keep confidential details out of an AI example
Check an AI summary for missing exceptions
Use AI-generated practice questions with an answer check
Give document-based AI answers a source trail
Break a long AI task into reviewable stages
Read an AI confidence statement alongside evidence
Decide whether an AI tool helps by measuring the completed work
L’IA expliquée simplement
Français
Une introduction en langage clair au fonctionnement de l’IA, des modèles de langage et des agents, et à leur bon usage. Includes additional companion articles in English.
Qu’est-ce que l’IA, concrètement ? Une façon pratique d’en juger
Comment les machines apprennent : exemples, régularités et tests honnêtes
Ce que fait vraiment un modèle de langage quand il « prédit » du texte
Pourquoi l’IA invente parfois des choses
L’IA générative au-delà des mots : comment naissent images, sons et vidéos
Bien travailler avec l’IA : cinq habitudes qui améliorent toute réponse
Une IA qui écrit du code : comment l’utiliser sans perdre le contrôle
Des chatbots aux agents : ce qui change quand l’IA peut agir
Créer un flux de travail IA simple : commencer petit, tout vérifier
Ce qui peut mal tourner : vie privée, biais et excès de confiance
Pourquoi un assistant IA oublie : la fenêtre de contexte expliquée
L’injection de prompt en langage clair : quand un texte donne des ordres à l’IA
Comment les modèles d’IA sont entraînés : préentraînement, ajustement fin et retours humains
Modèles ouverts, services en ligne et IA sur l’appareil : ce que change le choix
Comment lire une annonce sur l’IA : démonstrations, tests de référence et marketing
What Is AI, Really? A Practical Way to Tell
How Machines Learn: Examples, Patterns, and Honest Testing
What a Language Model Actually Does When It Predicts Text
Why AI Models Sometimes Make Things Up
Generative AI Beyond Words: How Images, Audio, and Video Are Made
Working Well with AI: Five Habits That Improve Any Answer
AI That Writes Code: How to Use It Without Losing Control
From Chatbots to Agents: What Changes When AI Can Take Actions
Build a Simple AI Workflow: Start Small, Check Every Step
What Can Go Wrong: Privacy, Bias, and Overconfidence
Why an AI Assistant Forgets: Context Windows Explained
Prompt Injection in Plain Language: When Text Gives the AI Orders
How AI Models Are Trained: Pretraining, Fine-Tuning, and Human Feedback
Open Models, Cloud Services, and On-Device AI: What the Choice Means
How to Read an AI Claim: Demos, Benchmarks, and Marketing
Give an AI assistant a task it can check
Ask an AI assistant to separate supplied facts from assumptions
Compare AI drafts against the same checklist
Keep confidential details out of an AI example
Check an AI summary for missing exceptions
Use AI-generated practice questions with an answer check
Give document-based AI answers a source trail
Break a long AI task into reviewable stages
Read an AI confidence statement alongside evidence
Decide whether an AI tool helps by measuring the completed work
La IA explicada de forma sencilla
Español
Una introducción en lenguaje claro a cómo funcionan la IA, los modelos de lenguaje y los agentes, y cómo usarlos bien. Includes additional companion articles in English.
¿Qué es realmente la IA? Una forma práctica de distinguirla
Cómo aprenden las máquinas: ejemplos, patrones y pruebas honestas
Qué hace realmente un modelo de lenguaje cuando «predice» texto
Por qué los modelos de IA a veces se inventan cosas
La IA generativa más allá de las palabras: cómo se crean imágenes, audio y video
Trabajar bien con la IA: cinco hábitos que mejoran cualquier respuesta
IA que escribe código: cómo usarla sin perder el control
De los chatbots a los agentes: qué cambia cuando la IA puede actuar
Crea un flujo de trabajo de IA sencillo: empieza pequeño y revisa cada paso
Qué puede salir mal: privacidad, sesgo y exceso de confianza
Por qué un asistente de IA olvida: la ventana de contexto explicada
La inyección de instrucciones en lenguaje claro: cuando un texto da órdenes a la IA
Cómo se entrenan los modelos de IA: preentrenamiento, ajuste fino y comentarios humanos
Modelos abiertos, servicios en la nube e IA en el dispositivo: qué implica elegir
Cómo leer una afirmación sobre IA: demostraciones, pruebas de rendimiento y marketing
What Is AI, Really? A Practical Way to Tell
How Machines Learn: Examples, Patterns, and Honest Testing
What a Language Model Actually Does When It Predicts Text
Why AI Models Sometimes Make Things Up
Generative AI Beyond Words: How Images, Audio, and Video Are Made
Working Well with AI: Five Habits That Improve Any Answer
AI That Writes Code: How to Use It Without Losing Control
From Chatbots to Agents: What Changes When AI Can Take Actions
Build a Simple AI Workflow: Start Small, Check Every Step
What Can Go Wrong: Privacy, Bias, and Overconfidence
Why an AI Assistant Forgets: Context Windows Explained
Prompt Injection in Plain Language: When Text Gives the AI Orders
How AI Models Are Trained: Pretraining, Fine-Tuning, and Human Feedback
Open Models, Cloud Services, and On-Device AI: What the Choice Means
How to Read an AI Claim: Demos, Benchmarks, and Marketing
Give an AI assistant a task it can check
Ask an AI assistant to separate supplied facts from assumptions
Compare AI drafts against the same checklist
Keep confidential details out of an AI example
Check an AI summary for missing exceptions
Use AI-generated practice questions with an answer check
Give document-based AI answers a source trail
Break a long AI task into reviewable stages
Read an AI confidence statement alongside evidence
Decide whether an AI tool helps by measuring the completed work
Mathematics for AI and Machine Learning
English
The linear algebra, calculus, probability, optimization, and learning theory behind modern machine learning.
The Singular Value Decomposition: Linear Algebra's Workhorse for Machine Learning
Eigenvalues and the Spectral Theorem: What Symmetric Matrices Promise
Condition Numbers: When Small Errors Become Big Ones
Saddle Points, Not Local Minima, Dominate High-Dimensional Loss Surfaces
The Central Limit Theorem and Why Averages Behave
Maximum Likelihood vs. MAP: Two Ways to Estimate, One Hidden Prior
Convex Optimization and Duality: The SVM as a Convex Program
SGD, Momentum, and Adam: What Each Optimizer Adds
VC Dimension and Generalization: What Learning Theory Guarantees
Cross-Entropy and KL Divergence: Measuring Differences Between Distributions
A dot product depends on the scale of the vectors
Matrix dimensions are a first check on a learning calculation
The chain rule explains how a parameter affects a loss
Feature scaling changes the geometry seen by an optimizer
Covariance measures joint variation around the means
Bayes updating combines a prior with the observed evidence
A confidence interval describes a repeated-sampling procedure
Regularization changes the objective being optimized
Stable softmax starts by subtracting the largest score
Separate data roles before fitting a predictive model
RL for LLM Agents and Reasoning Models
English
Policy gradients, PPO, reward models, DPO, and group-relative methods for post-training language models.
Language Models as Policies: The Bridge from Likelihood to Reward
The KL-Regularized Objective: Staying Close to a Reference Model
Why Policy Gradients Have High Variance, and What Baselines Do
Generalized Advantage Estimation: Trading Bias for Variance
Trust Regions: Why Big Policy Updates Break Training
PPO's Clipped Objective, Explained
Bradley–Terry Reward Models: Turning Preferences into Scores
Reward Over-Optimization: When a Better Score Means a Worse Model
DPO: From the Optimal Policy to a Loss
GRPO and Group-Relative Baselines: Critic-Free Post-Training
Designing verifiable rewards for generated answers
Choosing between outcome and process supervision
Why a tool-using agent has only a partial view of its world
Failure modes of a partially observed language agent
Credit assignment across a multi-turn interaction
Environment design changes what an agent can learn
Self-play and the changing distribution of opponents
Recognizing reward hacking during language-model training
The engineering system around an RL post-training loop
Open measurement questions for reasoning-model training
Statistical Foundations for LLM Development and Evaluation
English
Uncertainty, hypothesis tests, LLM-as-judge validity, calibration, and monitoring for trustworthy model evaluation.
Evaluation as Measurement: Every Benchmark Score Is an Estimate
Confidence Intervals for Benchmark Scores
How Many Test Questions Do You Need? Sample Size and Power
Paired Comparisons: Comparing Two Models on the Same Questions
Multiple Comparisons and Leaderboards: How to Avoid Fooling Yourself
Ranking Models with Bradley–Terry and Elo
LLM-as-Judge: Bias, Calibration, and Validity
Data Contamination: When the Test Set Leaks
Calibration and Proper Scoring Rules
Where Variance Comes From in LLM Evaluation
Turning an evaluation rubric into observable outcomes
Keeping the resampling unit intact in model evaluation
Evaluating a cheaper model against a quality margin
Reporting a model improvement on an interpretable scale
Defining what a confirmatory evaluation can establish
Handling separation, ties, and slices in preference data
Randomizing at the unit that receives a model intervention
Treating an LLM judge as a measurement instrument
Testing whether answer order changes judge decisions
Auditing near-duplicate examples before reporting a benchmark
Building Production-Grade AI Agents
English
Context engineering, reliable runtimes, security, testing, and operations for AI agent systems.
From LLM Calls to Stateful Agents
Workflows vs. Agents: Setting Autonomy Boundaries
Token Budget Allocation: Treating Context as a Runtime Resource
Working, Episodic, Semantic, and Procedural Memory in Agents
Idempotent Tool Calls: Making Retries Safe
Retries, Timeouts, and Circuit Breakers for Agents
Sagas and Compensating Actions: Undoing Multi-Step Agent Work
Prompt Injection: Direct and Indirect
Capability-Based Tool Access: Least Privilege for Agents
Evaluating Trajectories, Not Just Outcomes
Designing a durable event record for an AI agent
Managing context as a bounded runtime resource
Representing time and identity in agent memory
Checking permissions before retrieved evidence reaches an agent
Explicit state transitions for an agent execution graph
Compensating actions when a distributed agent task fails
Replaying agent events to investigate a production incident
Tracing a run across models, tools, and policy checks
Canary releases for a changing agent runtime
Joining runtime, security, and evaluation in one agent architecture
Agentic Android App Development
English
Working with coding agents on Kotlin and Jetpack Compose projects: context, security, testing, and release.
Why Coding Agents Change Mobile Development
Inside the Coding Agent Loop: Plans, Tools, and Observations
Context Engineering for Mobile Codebases: Writing Instructions an Agent Can Use
Sandboxing a Coding Agent: Filesystem, Commands, and Network
Architecting an Android Codebase for Agents: Small Modules, Clear Boundaries
Navigation, Lifecycle, and Deep Links: Where Agent-Written Code Breaks
Data, State, and Persistence: Keeping Agent-Written Code Offline-Ready
Testing Agent-Written Android Code
Review, Signing, and Release: Keeping Humans in the Loop
Legacy Modernization with Agents
Verifying a reproducible Android application skeleton
Reviewing Android design-system changes from a coding agent
Testing Android navigation as state transitions
Making Android offline edits survive process recreation
Planning permission-aware Android background work
Separating Android test evidence by failure type
What belongs in an Android release evidence packet
Preserving Android behavior during agent-assisted modernization
Measuring an Android team pilot with accepted changes
Deciding where local Android coding models fit
Agentic iOS App Development
English
Working with coding agents on SwiftUI projects: context, security, testing, signing, and release.
The Case for Agentic iOS Development: Where an Agent Fits
Sizing a Local Model for iOS Development
A Bounded Tool-Calling Loop: The Heart of a Coding Agent
Repository Instructions: Giving an Agent the Rules of Your Codebase
Command Sandboxes and Secrets in iOS Projects
Package Boundaries: Structuring a Swift Codebase for Agents
Navigation and State in SwiftUI: Reviewing Agent Output
Testing Agent-Written Swift Code
Code Signing Raises the Stakes: Release Review for Agent-Built Apps
Evaluating Agents, Models, and Settings on Your Own Tasks
Creating a reproducible iOS application skeleton
Checking stateful SwiftUI components across their visible states
Reviewing navigation restoration in an iOS feature
Keeping iOS persistence and synchronization boundaries explicit
Wrapping device capabilities behind permission-aware iOS interfaces
Collecting distinct evidence for iOS logic and interface changes
Assembling an iOS release review packet
Modernizing an iOS feature behind a compatibility boundary
Measuring the accepted work in an iOS agent pilot
Choosing a model route for an iOS development task
Local AI Agents for Angular Teams
English
Running, securing, and rolling out local coding agents in Angular workspaces.
The Case for Local Coding Agents in Angular Teams
The Threat Model for Coding Agents: What Leaves Your Environment
Sizing a Local Model and Choosing a Runtime
Tool Calling with Small Models: What Goes Wrong
Instruction Files as Architecture Documents
Architecture Decision Records as Prompts
Prompt Injection Through Project Content
Sandboxing Commands for a Coding Agent
Boundaries as Lint: Making Angular Architecture Machine-Checkable
Types as Guard Rails: Agent-Ready TypeScript
Public interfaces that help a coding agent navigate Angular
Detecting an Angular agent edit outside the agreed boundary
Checking accessibility when an agent changes an Angular component
Keeping performance budgets in an Angular review
Protecting an Angular form submission boundary
Reviewing tests written by an Angular coding agent
Detecting a weakened test assertion in an Angular change
Making an Angular pull request independently reviewable
Observing an Angular site after a reviewed release
Accounting for review and rework in a local-agent cost model
Code Quest with Python
English
Beginner Python for young learners: variables, loops, functions, and debugging through hands-on quests.
How to Start Learning Python in Your Browser, With No Installs
What Is an Algorithm? A Recipe a Computer Can Follow
Variables Explained: Labeled Boxes That Hold Values
Getting Input: Making a Program Talk Back
Decisions with if, elif, and else
Loops: Teaching a Program to Repeat
Functions: Naming a Set of Steps So You Can Reuse Them
Turtle Graphics: Learning Loops by Drawing Shapes
Debugging Like a Detective: Predict, Run, Fix
Using AI Responsibly While Learning to Code
Trace a Python list before changing it
Count repeated values with a Python dictionary
Convert text input before doing arithmetic in Python
Use a Python return value to connect small functions
Check a Python loop for an off-by-one error
Make a Python guessing game stop on a clear condition
Compare Python strings with a deliberate text rule
Build a new Python list when filtering items
Use a small Python assertion to check a known answer
Use a fixed random seed when investigating a Python game
Code Quest avec Python
Français
Python pour débutants : variables, boucles, fonctions et débogage à travers des quêtes pratiques. Includes additional companion articles in English.
Apprendre Python dans un navigateur, sans rien installer
Qu’est-ce qu’un algorithme ? Une recette qu’un ordinateur peut suivre
Les variables expliquées : des boîtes étiquetées qui contiennent des valeurs
Lire une saisie : faire répondre un programme
Prendre des décisions avec if, elif et else
Les boucles : apprendre à un programme à répéter
Les fonctions : donner un nom à un groupe d’étapes pour le réutiliser
Les graphiques Turtle : comprendre les boucles en dessinant des formes
Déboguer comme un détective : prédire, exécuter, corriger
Utiliser l’IA de façon responsable en apprenant à coder
How to Start Learning Python in Your Browser, With No Installs
What Is an Algorithm? A Recipe a Computer Can Follow
Variables Explained: Labeled Boxes That Hold Values
Getting Input: Making a Program Talk Back
Decisions with if, elif, and else
Loops: Teaching a Program to Repeat
Functions: Naming a Set of Steps So You Can Reuse Them
Turtle Graphics: Learning Loops by Drawing Shapes
Debugging Like a Detective: Predict, Run, Fix
Using AI Responsibly While Learning to Code
Trace a Python list before changing it
Count repeated values with a Python dictionary
Convert text input before doing arithmetic in Python
Use a Python return value to connect small functions
Check a Python loop for an off-by-one error
Make a Python guessing game stop on a clear condition
Compare Python strings with a deliberate text rule
Build a new Python list when filtering items
Use a small Python assertion to check a known answer
Use a fixed random seed when investigating a Python game
Code Quest con Python
Español
Python para principiantes: variables, bucles, funciones y depuración a través de aventuras prácticas. Includes additional companion articles in English.
Cómo empezar a aprender Python en el navegador, sin instalar nada
¿Qué es un algoritmo? Una receta que una computadora puede seguir
Variables explicadas: cajas con etiqueta que guardan valores
Pedir datos al usuario: hacer que un programa responda
Tomar decisiones con if, elif y else
Bucles: enseñar a un programa a repetir
Funciones: ponerle nombre a un grupo de pasos para reutilizarlo
Gráficos con Turtle: aprender los bucles dibujando formas
Depurar como un detective: predecir, ejecutar y corregir
Usar la IA con responsabilidad mientras aprendes a programar
How to Start Learning Python in Your Browser, With No Installs
What Is an Algorithm? A Recipe a Computer Can Follow
Variables Explained: Labeled Boxes That Hold Values
Getting Input: Making a Program Talk Back
Decisions with if, elif, and else
Loops: Teaching a Program to Repeat
Functions: Naming a Set of Steps So You Can Reuse Them
Turtle Graphics: Learning Loops by Drawing Shapes
Debugging Like a Detective: Predict, Run, Fix
Using AI Responsibly While Learning to Code
Trace a Python list before changing it
Count repeated values with a Python dictionary
Convert text input before doing arithmetic in Python
Use a Python return value to connect small functions
Check a Python loop for an off-by-one error
Make a Python guessing game stop on a clear condition
Compare Python strings with a deliberate text rule
Build a new Python list when filtering items
Use a small Python assertion to check a known answer
Use a fixed random seed when investigating a Python game
Mathematics and Statistics Refresher
English
English-language companion articles covering the concepts in this edition.
The Singular Value Decomposition: Linear Algebra's Workhorse for Machine Learning
Eigenvalues and the Spectral Theorem: What Symmetric Matrices Promise
Condition Numbers: When Small Errors Become Big Ones
Saddle Points, Not Local Minima, Dominate High-Dimensional Loss Surfaces
The Central Limit Theorem and Why Averages Behave
Maximum Likelihood vs. MAP: Two Ways to Estimate, One Hidden Prior
Convex Optimization and Duality: The SVM as a Convex Program
SGD, Momentum, and Adam: What Each Optimizer Adds
VC Dimension and Generalization: What Learning Theory Guarantees
Cross-Entropy and KL Divergence: Measuring Differences Between Distributions
A dot product depends on the scale of the vectors
Matrix dimensions are a first check on a learning calculation
The chain rule explains how a parameter affects a loss
Feature scaling changes the geometry seen by an optimizer
Covariance measures joint variation around the means
Bayes updating combines a prior with the observed evidence
A confidence interval describes a repeated-sampling procedure
Regularization changes the objective being optimized
Stable softmax starts by subtracting the largest score
Separate data roles before fitting a predictive model
Python Refresher
English
English-language companion articles covering the concepts in this edition.
How to Start Learning Python in Your Browser, With No Installs
What Is an Algorithm? A Recipe a Computer Can Follow
Variables Explained: Labeled Boxes That Hold Values
Getting Input: Making a Program Talk Back
Decisions with if, elif, and else
Loops: Teaching a Program to Repeat
Functions: Naming a Set of Steps So You Can Reuse Them
Turtle Graphics: Learning Loops by Drawing Shapes
Debugging Like a Detective: Predict, Run, Fix
Using AI Responsibly While Learning to Code
Trace a Python list before changing it
Count repeated values with a Python dictionary
Convert text input before doing arithmetic in Python
Use a Python return value to connect small functions
Check a Python loop for an off-by-one error
Make a Python guessing game stop on a clear condition
Compare Python strings with a deliberate text rule
Build a new Python list when filtering items
Use a small Python assertion to check a known answer
Use a fixed random seed when investigating a Python game
Applied AI Under Uncertainty
English
Worked explanations and practical checks for the concepts in this technical book.
Defining the action before choosing a predictive model
Deciding whether another observation is worth its cost
Why an accurate ranking can still produce a poor decision
What a probability forecast commits you to measure
Checking calibration on an independent data partition
Interpreting prediction coverage before choosing an interval
Wrapping a black-box predictor with a calibration set
Distinguishing an observed association from a policy effect
A numerical example of confounding in a model comparison
Estimating a new policy from logged actions
Defining correctness for a grounded-answer system
Building a synthetic retrieval world with known answers
Term frequency, document frequency, and sparse retrieval
Checking that an answer citation supports its claim
Using uncertainty signals carefully in a grounded-answer system
Separating model evaluation from deployment distribution shift
Checking benchmark exposure before interpreting an apparent gain
Detecting label leakage in a predictive pipeline
Testing a model across changes in the data-collection setting
Evaluating ranking policies with exposure in view
Applied AI for Generation and Control
English
Worked explanations and practical checks for the concepts in this technical book.
Carrying uncertainty-aware decisions into generative AI
What an evaluation contract needs before generative modeling
Defining the task a diffusion model should solve
Choosing a transformation before claiming equivariance
Spending an experiment budget with Bayesian optimization
Deciding what a generative-model score measures
Evaluating generated scientific candidates before an experiment
Defining acceptance before asking a model to generate code
Evaluating a learned controller under explicit safety margins
Evaluating generated media against a stated use
Recognizing failures in a generated-media pipeline
Sandboxing the execution of generated software
Checking a generated software repair with independent evidence
Separating repository evidence from an agent action
Defining the unit of success in code-generation evaluation
Failure patterns in a code-generation workflow
Separating controller implementation from its evaluation
Evaluating a controller beyond average task reward
Why generated-media scores can disagree with the intended use
Attaching provenance evidence to generated media
Next-Generation AI, Explained and Evaluated
English
Worked explanations and practical checks for the concepts in this technical book.
Reading what a benchmark headline leaves unspecified
Four measurement questions for modern AI systems
Why a single AI score hides distinct uncertainties
Asking how often a benchmark gets the model ranking wrong
Reporting the cost of an AI evaluation alongside success
Resampling complete tasks in an AI comparison
Comparing two AI systems on matched tasks
Planning for multiple comparisons in an AI study
Why an agent task needs more than an answer check
Turning an agent failure into an engineering diagnosis
Designing a failure taxonomy that reviewers can apply
Defining reasoning performance before measuring it
Three ways to spend inference compute
Choosing units for a reasoning-model evaluation
Why thinking time costs more than generated tokens
Choosing an attention-head intervention for an interpretation claim
Moving from a detected representation to a causal question
Four locations where an AI system can retain information
Distinguishing a changed agent policy from changed agent memory
Limits that an AI evaluation tool cannot remove
Agentes de IA locales para equipos de Angular
English
English-language companion articles covering the concepts in this edition.
The Case for Local Coding Agents in Angular Teams
The Threat Model for Coding Agents: What Leaves Your Environment
Sizing a Local Model and Choosing a Runtime
Tool Calling with Small Models: What Goes Wrong
Instruction Files as Architecture Documents
Architecture Decision Records as Prompts
Prompt Injection Through Project Content
Sandboxing Commands for a Coding Agent
Boundaries as Lint: Making Angular Architecture Machine-Checkable
Types as Guard Rails: Agent-Ready TypeScript
Public interfaces that help a coding agent navigate Angular
Detecting an Angular agent edit outside the agreed boundary
Checking accessibility when an agent changes an Angular component
Keeping performance budgets in an Angular review
Protecting an Angular form submission boundary
Reviewing tests written by an Angular coding agent
Detecting a weakened test assertion in an Angular change
Making an Angular pull request independently reviewable
Observing an Angular site after a reviewed release
Accounting for review and rework in a local-agent cost model
Le compendium des algorithmes d’IA
English
English-language companion articles covering the concepts in this edition.
Minimax and Alpha-Beta Pruning: Searching Games Without Visiting Every Move
Constraint Satisfaction: Why Backtracking Needs Inference
Designing Admissible Heuristics for A*
STRIPS Planning: Describing Actions by Preconditions and Effects
Pruning a game tree with alpha and beta bounds
Balancing exploration in Monte Carlo tree search
Choosing how many principal components to retain
Hidden Markov models for partially observed sequences
Expectation maximization for a mixture of Gaussians
Why a single perceptron cannot represent every decision boundary
Backpropagation as local derivatives passed backward
Why recurrent networks need gates
Separating value selection and evaluation in Double DQN
Variational autoencoders and a regularized latent space
Minimax when an opponent chooses the next position
Choosing a similarity assumption before clustering data
PCA as a search for high-variance directions
Momentum and stochastic-gradient updates in deep learning
Comparing batch normalization with layer normalization
Specifying states, actions, rewards, and policies in an MDP
El compendio de algoritmos de IA
English
English-language companion articles covering the concepts in this edition.
Minimax and Alpha-Beta Pruning: Searching Games Without Visiting Every Move
Constraint Satisfaction: Why Backtracking Needs Inference
Designing Admissible Heuristics for A*
STRIPS Planning: Describing Actions by Preconditions and Effects
Pruning a game tree with alpha and beta bounds
Balancing exploration in Monte Carlo tree search
Choosing how many principal components to retain
Hidden Markov models for partially observed sequences
Expectation maximization for a mixture of Gaussians
Why a single perceptron cannot represent every decision boundary
Backpropagation as local derivatives passed backward
Why recurrent networks need gates
Separating value selection and evaluation in Double DQN
Variational autoencoders and a regularized latent space
Minimax when an opponent chooses the next position
Choosing a similarity assumption before clustering data
PCA as a search for high-variance directions
Momentum and stochastic-gradient updates in deep learning
Comparing batch normalization with layer normalization
Specifying states, actions, rewards, and policies in an MDP
AI 算法大全
English
English-language companion articles covering the concepts in this edition.
Minimax and Alpha-Beta Pruning: Searching Games Without Visiting Every Move
Constraint Satisfaction: Why Backtracking Needs Inference
Designing Admissible Heuristics for A*
STRIPS Planning: Describing Actions by Preconditions and Effects
Pruning a game tree with alpha and beta bounds
Balancing exploration in Monte Carlo tree search
Choosing how many principal components to retain
Hidden Markov models for partially observed sequences
Expectation maximization for a mixture of Gaussians
Why a single perceptron cannot represent every decision boundary
Backpropagation as local derivatives passed backward
Why recurrent networks need gates
Separating value selection and evaluation in Double DQN
Variational autoencoders and a regularized latent space
Minimax when an opponent chooses the next position
Choosing a similarity assumption before clustering data
PCA as a search for high-variance directions
Momentum and stochastic-gradient updates in deep learning
Comparing batch normalization with layer normalization
Specifying states, actions, rewards, and policies in an MDP
RL pour agents LLM et modèles de raisonnement
English
English-language companion articles covering the concepts in this edition.
Language Models as Policies: The Bridge from Likelihood to Reward
The KL-Regularized Objective: Staying Close to a Reference Model
Why Policy Gradients Have High Variance, and What Baselines Do
Generalized Advantage Estimation: Trading Bias for Variance
Trust Regions: Why Big Policy Updates Break Training
PPO's Clipped Objective, Explained
Bradley–Terry Reward Models: Turning Preferences into Scores
Reward Over-Optimization: When a Better Score Means a Worse Model
DPO: From the Optimal Policy to a Loss
GRPO and Group-Relative Baselines: Critic-Free Post-Training
Designing verifiable rewards for generated answers
Choosing between outcome and process supervision
Why a tool-using agent has only a partial view of its world
Failure modes of a partially observed language agent
Credit assignment across a multi-turn interaction
Environment design changes what an agent can learn
Self-play and the changing distribution of opponents
Recognizing reward hacking during language-model training
The engineering system around an RL post-training loop
Open measurement questions for reasoning-model training
RL para agentes LLM y modelos de razonamiento
English
English-language companion articles covering the concepts in this edition.
Language Models as Policies: The Bridge from Likelihood to Reward
The KL-Regularized Objective: Staying Close to a Reference Model
Why Policy Gradients Have High Variance, and What Baselines Do
Generalized Advantage Estimation: Trading Bias for Variance
Trust Regions: Why Big Policy Updates Break Training
PPO's Clipped Objective, Explained
Bradley–Terry Reward Models: Turning Preferences into Scores
Reward Over-Optimization: When a Better Score Means a Worse Model
DPO: From the Optimal Policy to a Loss
GRPO and Group-Relative Baselines: Critic-Free Post-Training
Designing verifiable rewards for generated answers
Choosing between outcome and process supervision
Why a tool-using agent has only a partial view of its world
Failure modes of a partially observed language agent
Credit assignment across a multi-turn interaction
Environment design changes what an agent can learn
Self-play and the changing distribution of opponents
Recognizing reward hacking during language-model training
The engineering system around an RL post-training loop
Open measurement questions for reasoning-model training
Construire des agents IA prêts pour la production
English
English-language companion articles covering the concepts in this edition.
From LLM Calls to Stateful Agents
Workflows vs. Agents: Setting Autonomy Boundaries
Token Budget Allocation: Treating Context as a Runtime Resource
Working, Episodic, Semantic, and Procedural Memory in Agents
Idempotent Tool Calls: Making Retries Safe
Retries, Timeouts, and Circuit Breakers for Agents
Sagas and Compensating Actions: Undoing Multi-Step Agent Work
Prompt Injection: Direct and Indirect
Capability-Based Tool Access: Least Privilege for Agents
Evaluating Trajectories, Not Just Outcomes
Designing a durable event record for an AI agent
Managing context as a bounded runtime resource
Representing time and identity in agent memory
Checking permissions before retrieved evidence reaches an agent
Explicit state transitions for an agent execution graph
Compensating actions when a distributed agent task fails
Replaying agent events to investigate a production incident
Tracing a run across models, tools, and policy checks
Canary releases for a changing agent runtime
Joining runtime, security, and evaluation in one agent architecture
Construcción de agentes de IA listos para producción
English
English-language companion articles covering the concepts in this edition.
From LLM Calls to Stateful Agents
Workflows vs. Agents: Setting Autonomy Boundaries
Token Budget Allocation: Treating Context as a Runtime Resource
Working, Episodic, Semantic, and Procedural Memory in Agents
Idempotent Tool Calls: Making Retries Safe
Retries, Timeouts, and Circuit Breakers for Agents
Sagas and Compensating Actions: Undoing Multi-Step Agent Work
Prompt Injection: Direct and Indirect
Capability-Based Tool Access: Least Privilege for Agents
Evaluating Trajectories, Not Just Outcomes
Designing a durable event record for an AI agent
Managing context as a bounded runtime resource
Representing time and identity in agent memory
Checking permissions before retrieved evidence reaches an agent
Explicit state transitions for an agent execution graph
Compensating actions when a distributed agent task fails
Replaying agent events to investigate a production incident
Tracing a run across models, tools, and policy checks
Canary releases for a changing agent runtime
Joining runtime, security, and evaluation in one agent architecture
Precalculus Refresher — Modules 0 and 1
English
Foundations and algebra companion articles for the local precalculus refresher booklet, with worked examples and checks on signs, fractions, equations, inequalities, and graphs.
Keep the sign attached to a number during a calculation
Find a common denominator before adding fractions
Multiply fractions by multiplying numerators and denominators
Dividing by a fraction uses its reciprocal
Distribute multiplication across every term in a sum
Combine like terms without changing their variable parts
Balance a linear equation by applying the same operation to both sides
Clear fractions in an equation while preserving excluded values
Reverse an inequality when multiplying by a negative number
Use interval notation to record endpoint rules
Read absolute value as distance from zero
Apply exponent rules to products and quotients with the same base
Scientific notation keeps the power of ten separate
A principal square root is nonnegative
Factor a quadratic by checking its expanded product
Use the zero-product property after writing an equation as a product
The discriminant predicts the real roots of a quadratic
Plot an ordered pair by keeping the coordinate roles fixed
Slope compares vertical change with horizontal change
Check a line equation using a point and its intercept
The AI Algorithms Compendium — Course Articles
English
A broad foundation connecting search, probability, machine learning, neural networks, reinforcement learning, language models, and evaluation.
Choosing the The AI Algorithms Compendium course
Minimax and Alpha-Beta Pruning: Searching Games Without Visiting Every Move
Constraint Satisfaction: Why Backtracking Needs Inference
Designing Admissible Heuristics for A*
STRIPS Planning: Describing Actions by Preconditions and Effects
Pruning a game tree with alpha and beta bounds
Balancing exploration in Monte Carlo tree search
Choosing how many principal components to retain
Hidden Markov models for partially observed sequences
Expectation maximization for a mixture of Gaussians
Why a single perceptron cannot represent every decision boundary
Backpropagation as local derivatives passed backward
Why recurrent networks need gates
Separating value selection and evaluation in Double DQN
Variational autoencoders and a regularized latent space
Building Production-Grade AI Agents — Course Articles
English
Python agent systems that can be tested, observed, recovered, and operated beyond a prototype.
Choosing the Building Production-Grade AI Agents course
From LLM Calls to Stateful Agents
Workflows vs. Agents: Setting Autonomy Boundaries
Token Budget Allocation: Treating Context as a Runtime Resource
Working, Episodic, Semantic, and Procedural Memory in Agents
Idempotent Tool Calls: Making Retries Safe
Retries, Timeouts, and Circuit Breakers for Agents
Sagas and Compensating Actions: Undoing Multi-Step Agent Work
Prompt Injection: Direct and Indirect
Capability-Based Tool Access: Least Privilege for Agents
Evaluating Trajectories, Not Just Outcomes
Designing a durable event record for an AI agent
Managing context as a bounded runtime resource
Representing time and identity in agent memory
Checking permissions before retrieved evidence reaches an agent
Algorithmic Edge — Course Articles
English
Recognizing reusable problem-solving patterns, explaining a solution, and checking its correctness and complexity.
Choosing the Algorithmic Edge course
The C.L.E.A.R. Framework: A Repeatable Way to Start Any Interview Problem
Fast and Slow Pointers: Detecting Cycles Without Extra Memory
Merge Intervals: Sort First, Then Sweep
Amortized Analysis: Why Dynamic Arrays Still Append in O(1)
Counting the call stack in interview space complexity
Merge intervals by tracking the active endpoint
Cyclic sort when values encode array positions
Reverse a linked list by preserving the next link
Monotonic stacks and the nearest greater element
Choosing traversal, topological sorting, or union-find
Shortest paths and spanning trees answer different questions
Binary search on a monotone feasibility predicate
Tries for shared string prefixes
Prefix queries with Fenwick and segment trees
Agentic Android App Development — Video Edition — Course Articles
English
Building Trailhead, a Kotlin field-service app with Jetpack Compose, while reviewing bounded coding-agent changes.
Choosing the Agentic Android App Development — Video Edition course
Why Coding Agents Change Mobile Development
Inside the Coding Agent Loop: Plans, Tools, and Observations
Context Engineering for Mobile Codebases: Writing Instructions an Agent Can Use
Sandboxing a Coding Agent: Filesystem, Commands, and Network
Architecting an Android Codebase for Agents: Small Modules, Clear Boundaries
Navigation, Lifecycle, and Deep Links: Where Agent-Written Code Breaks
Data, State, and Persistence: Keeping Agent-Written Code Offline-Ready
Testing Agent-Written Android Code
Review, Signing, and Release: Keeping Humans in the Loop
Legacy Modernization with Agents
Verifying a reproducible Android application skeleton
Reviewing Android design-system changes from a coding agent
Testing Android navigation as state transitions
Making Android offline edits survive process recreation
Agentic iOS App Development — Video Edition — Course Articles
English
Building Trailhead in SwiftUI and learning to review agent-generated changes from the app skeleton through release.
Choosing the Agentic iOS App Development — Video Edition course
The Case for Agentic iOS Development: Where an Agent Fits
Sizing a Local Model for iOS Development
A Bounded Tool-Calling Loop: The Heart of a Coding Agent
Repository Instructions: Giving an Agent the Rules of Your Codebase
Command Sandboxes and Secrets in iOS Projects
Package Boundaries: Structuring a Swift Codebase for Agents
Navigation and State in SwiftUI: Reviewing Agent Output
Testing Agent-Written Swift Code
Code Signing Raises the Stakes: Release Review for Agent-Built Apps
Evaluating Agents, Models, and Settings on Your Own Tasks
Creating a reproducible iOS application skeleton
Checking stateful SwiftUI components across their visible states
Reviewing navigation restoration in an iOS feature
Keeping iOS persistence and synchronization boundaries explicit
Local AI Agents for Angular Teams — Video Edition — Course Articles
English
Using local coding agents in the Harbor Angular workspace with explicit tool permissions, verification, and team rollout.
Choosing the Local AI Agents for Angular Teams — Video Edition course
The Case for Local Coding Agents in Angular Teams
The Threat Model for Coding Agents: What Leaves Your Environment
Sizing a Local Model and Choosing a Runtime
Tool Calling with Small Models: What Goes Wrong
Instruction Files as Architecture Documents
Architecture Decision Records as Prompts
Prompt Injection Through Project Content
Sandboxing Commands for a Coding Agent
Boundaries as Lint: Making Angular Architecture Machine-Checkable
Types as Guard Rails: Agent-Ready TypeScript
Public interfaces that help a coding agent navigate Angular
Detecting an Angular agent edit outside the agreed boundary
Checking accessibility when an agent changes an Angular component
Keeping performance budgets in an Angular review
Agentic AI for Developers — Build and Ship a Reading Tracker — Course Articles
English
A local Python reading-tracker project using Aider, Ollama, and OLMo, with a sequence from a small feature brief to a tested local release.
Choosing the Agentic AI for Developers — Build and Ship a Reading Tracker course
Reading-tracker acceptance checks: define success before the agent edits
Blank reading titles: put validation at the input boundary
Reading status changes: test the saved record after the update
Reading filters: preserve the full collection while selecting a view
Local tracker persistence: distinguish session state from durable state
Stable tracker identifiers: separate identity from the display title
Bound a coding-agent patch with a file and behavior scope
Agent-generated tests: check what the assertion establishes
Tracker error messages: preserve a useful recovery path
Local model configuration: record the setup used for a coding task
Reviewing an agent diff: connect each change to a requirement
Tracker regression checks: keep old commands working after a new feature
A local tracker release: verify installation and a complete user path
Measure coding-agent assistance by verified work and review effort
Jane Eyre — An Illustrated Reading and Study Course — Course Articles
English
Reading Charlotte Brontë’s complete novel through illustrated chapter lessons, English narration, close-reading notes, and writing exercises.
Choosing the Jane Eyre — An Illustrated Reading and Study Course
Reading Jane Eyre: Gateshead
Reading Jane Eyre: The Red Room
Reading Jane Eyre: A Way Out
Reading Jane Eyre: Speaking Back
Reading Jane Eyre: Arrival at Lowood
Reading Jane Eyre: Helen Burns
Reading Jane Eyre: The Stool
Reading Jane Eyre: Miss Temple
Reading Jane Eyre: Spring at Lowood
Reading Jane Eyre: Leaving Lowood
Reading Jane Eyre: Thornfield
Reading Jane Eyre: The Road to Hay
Reading Jane Eyre: The Portfolio
Reading Jane Eyre: A Conversation by the Fire
Applied AI for Generation and Control — Course Articles
English
Generative modeling and control through worked derivations, captioned explanations, and Python exercises.
Choosing the Applied AI for Generation and Control course
Carrying uncertainty-aware decisions into generative AI
What an evaluation contract needs before generative modeling
Defining the task a diffusion model should solve
Choosing a transformation before claiming equivariance
Spending an experiment budget with Bayesian optimization
Deciding what a generative-model score measures
Evaluating generated scientific candidates before an experiment
Defining acceptance before asking a model to generate code
Evaluating a learned controller under explicit safety margins
Evaluating generated media against a stated use
Recognizing failures in a generated-media pipeline
Sandboxing the execution of generated software
Checking a generated software repair with independent evidence
Separating repository evidence from an agent action
Applied AI Under Uncertainty — Course Articles
English
Making and evaluating AI decisions under uncertainty through derivations and Python examples.
Choosing the Applied AI Under Uncertainty course
Defining the action before choosing a predictive model
Deciding whether another observation is worth its cost
Why an accurate ranking can still produce a poor decision
What a probability forecast commits you to measure
Checking calibration on an independent data partition
Interpreting prediction coverage before choosing an interval
Wrapping a black-box predictor with a calibration set
Distinguishing an observed association from a policy effect
A numerical example of confounding in a model comparison
Estimating a new policy from logged actions
Defining correctness for a grounded-answer system
Building a synthetic retrieval world with known answers
Term frequency, document frequency, and sparse retrieval
Checking that an answer citation supports its claim
Statistical Foundations for LLM Development and Evaluation — Course Articles
English
Interpreting noisy language-model evaluations using confidence intervals, paired comparisons, and audits of model judges.
Choosing the Statistical Foundations for LLM Development and Evaluation course
Evaluation as Measurement: Every Benchmark Score Is an Estimate
Confidence Intervals for Benchmark Scores
How Many Test Questions Do You Need? Sample Size and Power
Paired Comparisons: Comparing Two Models on the Same Questions
Multiple Comparisons and Leaderboards: How to Avoid Fooling Yourself
Ranking Models with Bradley–Terry and Elo
LLM-as-Judge: Bias, Calibration, and Validity
Data Contamination: When the Test Set Leaks
Calibration and Proper Scoring Rules
Where Variance Comes From in LLM Evaluation
Turning an evaluation rubric into observable outcomes
Keeping the resampling unit intact in model evaluation
Evaluating a cheaper model against a quality margin
Reporting a model improvement on an interpretable scale
Python Refresher — Course Articles
English
A practical refresher spanning Python objects, containers, functions, scientific computing, testing, and integration.
Choosing the Python Refresher course
Python names and mutable lists: predict the alias before appending
Python dictionaries and sets: choose the membership contract
Python closures: trace a captured name before calling a function
Python iterators: why a second pass can be empty
Python dataclasses: separate stored fields from validation
Python file handling: use a context manager around the resource
NumPy shapes: write dimensions before multiplying matrices
NumPy broadcasting: compare trailing dimensions explicitly
Reproducible Python experiments: record more than a seed
Python tests: specify behavior at a boundary
Python concurrency: separate waiting work from shared-state rules
PyTorch gradients: identify the scalar objective first
Python text processing: characters and tokens count different things
Python command-line integration: keep parsing separate from the operation
Mathematics and Statistics Refresher — Course Articles
English
A compact refresher in the mathematical and statistical ideas used by machine-learning examples.
Choosing the Mathematics and Statistics Refresher course
The Singular Value Decomposition: Linear Algebra's Workhorse for Machine Learning
Eigenvalues and the Spectral Theorem: What Symmetric Matrices Promise
The Central Limit Theorem and Why Averages Behave
Maximum Likelihood vs. MAP: Two Ways to Estimate, One Hidden Prior
SGD, Momentum, and Adam: What Each Optimizer Adds
Cross-Entropy and KL Divergence: Measuring Differences Between Distributions
A dot product depends on the scale of the vectors
Matrix dimensions are a first check on a learning calculation
The chain rule explains how a parameter affects a loss
Covariance measures joint variation around the means
Bayes updating combines a prior with the observed evidence
A confidence interval describes a repeated-sampling procedure
Stable softmax starts by subtracting the largest score
Separate data roles before fitting a predictive model
Moby-Dick — A Free Illustrated Reading and Study Course — Course Articles
English
A guided route through Herman Melville’s novel using seven parts, video guides, vocabulary, discussion, and quizzes.
Choosing the Moby-Dick — A Free Illustrated Reading and Study Course
Reading Moby-Dick: Ishmael introduces a storytelling relationship
Reading Moby-Dick: the inn scene revises a first impression
Reading Moby-Dick: Father Mapple’s sermon frames interpretation
Reading Moby-Dick: Queequeg and the limits of labels
Reading Moby-Dick: Cetology makes classification part of the story
Reading Moby-Dick: the quarter-deck turns a purpose into a performance
Reading Moby-Dick: Starbuck’s objection defines a competing purpose
Reading Moby-Dick: whiteness accumulates incompatible associations
Reading Moby-Dick: a gam makes another ship an alternative story
Reading Moby-Dick: The Town-Ho’s Story has layers of telling
Reading Moby-Dick: cutting-in brings labor into the narrative
Reading Moby-Dick: the doubloon gathers different readers
Reading Moby-Dick: the try-works alter perception at night
Reading Moby-Dick: the epilogue changes the scale of survival
Le Malade imaginaire — An Illustrated Reading and Study Course — Course Articles
English
Reading and listening to Molière’s French comedy with illustrations, English study notes, and captioned video support.
Choosing the Le Malade imaginaire — An Illustrated Reading and Study Course
Reading Le Malade imaginaire: Argan audits the bill
Reading Le Malade imaginaire: Toinette disputes a household decision
Reading Le Malade imaginaire: Angélique’s wishes and Argan’s plan
Reading Le Malade imaginaire: Thomas Diafoirus and rehearsed speech
Reading Le Malade imaginaire: Béline’s affection and inheritance
Reading Le Malade imaginaire: apothicaire in its dramatic context
Reading Le Malade imaginaire: familiar words interrupt learned display
Reading Le Malade imaginaire: the courtly prologue addresses an audience
Reading Le Malade imaginaire: the alternate prologue changes the complaint
Reading Le Malade imaginaire: what comédie-ballet changes
Reading Le Malade imaginaire: Polichinelle and the interlude
Reading Le Malade imaginaire: Louison and staged testimony
Reading Le Malade imaginaire: disguise tests the household’s responses
Reading Le Malade imaginaire: the final ceremony performs authority
Pride and Prejudice — An Illustrated Reading and Study Course — Course Articles
English
Reading Jane Austen’s complete novel in illustrated chapter lessons with English narration, study notes, and discussion questions.
Choosing the Pride and Prejudice — An Illustrated Reading and Study Course
Reading Pride and Prejudice: Netherfield Is Let
Reading Pride and Prejudice: A Visit Already Paid
Reading Pride and Prejudice: The Meryton Assembly
Reading Pride and Prejudice: Two Sisters Compare Notes
Reading Pride and Prejudice: Pride and Vanity
Reading Pride and Prejudice: A Dance Declined
Reading Pride and Prejudice: Rain and the Entail
Reading Pride and Prejudice: At Netherfield
Reading Pride and Prejudice: A Morning Call
Reading Pride and Prejudice: Letters and Reels
Reading Pride and Prejudice: A Good Opinion Once Lost
Reading Pride and Prejudice: Leaving Netherfield
Reading Pride and Prejudice: The Heir’s Letter
Reading Pride and Prejudice: Fordyce’s Sermons
Reading & Listening Guides
English
Practical guidance for choosing editions, beginning a classic and combining books with audiobooks.
App Guides
Practical
Useful guides for comparing public healthcare information, planning national-park trips and building vocabulary through active practice.
