Programmer.ie
Technical library for the AI era
Menu
Home
Books
Examples
Solutions
Learn
Prompts
Articles
Search
About
English
简体中文
Example library
Examples
Search examples
Search
Book
All books
Agents From First Principles
Applied AI
Browser AI From First Principles
Cellular Automata From First Principles
Context From First Principles
Debugging AI
DSPy From First Principles
Embeddings From First Principles
Hallucination From First Principles
Inference From First Principles
Language
Adversarial Mathematics: From First Principles
Memory From First Principles
Models From First Principles
Pi Agents
PyTorch From First Principles
Loading examples…
·
Open example →
Previous results
Next results
Search requires JavaScript. Browse examples below.
Find the first divergence, then move the failure with an override
— Debugging AI
Follow one request through every inference stage
— Inference From First Principles
One model, four sub-models, and one shared tensor
— Models From First Principles
Watch the agent loop call a tool
— Pi Agents
Find what changed in a model checkpoint
— Inference From First Principles
Map availability to an action, not to a boolean
— Browser AI From First Principles
One rule, one row, and a step that never mixes time
— Cellular Automata From First Principles
Refute Fermat's prime formula with one division
— Adversarial Mathematics: From First Principles
Score three memory systems against the same six tasks
— Memory From First Principles
Stop at the first stage boundary that disagrees with intent
— Debugging AI
The loss fell to 11.25 and the model learned nothing
— PyTorch From First Principles
Two embeddings in, one number out, and what gives the number meaning
— Models From First Principles
Validate the whole proposal before any side effect
— Agents From First Principles
Account for the context you did not type
— Context From First Principles
Check the cosine-sum identity behind Abel's counterexample
— Adversarial Mathematics: From First Principles
Keep a softmax stable when the logits are huge
— Inference From First Principles
Measure the gap between what you generated and what you chose
— Agents From First Principles
Resolve a provider credential in precedence order
— Pi Agents
The loss went to zero and half the model never moved
— PyTorch From First Principles
Calculate a context budget
— Pi Agents
Check a transformer's shapes and causality
— Inference From First Principles
Count what you send, and do not send the text you will not use
— Browser AI From First Principles
Find where Haraux's two collision times start
— Adversarial Mathematics: From First Principles
Catch a correct proof of the wrong theorem
— Adversarial Mathematics: From First Principles
Read a session file and its tree
— Pi Agents
The same cosine means two different things in two spaces
— Embeddings From First Principles
Watch a generation loop stop on its own
— Inference From First Principles
Assemble a request, a backend and a sampler into an engine
— Inference From First Principles
Count the neighbors, then decide
— Cellular Automata From First Principles
Read what the kernel certified about an AI proof
— Adversarial Mathematics: From First Principles
See which tools Pi declares to the model
— Pi Agents
A boundary table convicts a rule, not a single input
— Debugging AI
Break Kempe's four-colour step on Heawood's map
— Adversarial Mathematics: From First Principles
Count the operations before timing the matrix
— Inference From First Principles
Keep one reading of a source and render from it
— Language
Merge user and project settings
— Pi Agents
Choose a language, or say that you cannot
— Browser AI From First Principles
Compare naive attention with the library kernel
— Inference From First Principles
Decide whether to trust a project
— Pi Agents
Keep derived, external and model content apart
— Language
See Simpson's paradox in two published tables, exactly
— Adversarial Mathematics: From First Principles
Tell a current fact from a historical one
— Memory From First Principles
The error names the classifier; the trace names the convolution
— PyTorch From First Principles
The optimizer is a model too: two averages and a preconditioner
— Models From First Principles
Find the loops nobody wrote down
— Memory From First Principles
Inspect the shell prefix and session environment
— Pi Agents
Measure Gabriel's horn: finite volume, unbounded area
— Adversarial Mathematics: From First Principles
Separate finding a candidate, labelling it, and showing it
— Language
Separate prefill time from decode time
— Inference From First Principles
Declare what must survive, then measure what did
— Language
Know the pressure before you attempt a request
— Browser AI From First Principles
Prove a KV cache preserves the answer
— Inference From First Principles
Refute a 'for all' claim with one exact witness
— Adversarial Mathematics: From First Principles
The nearest neighbour can be wrong, and a readout can be right
— Embeddings From First Principles
Two tensors, the same shape, and not the same tensor
— PyTorch From First Principles
A car moves only when the road ahead is empty
— Cellular Automata From First Principles
A reading is a decision, and only a person settles it
— Language
Decide which Pi mechanism a requirement needs
— Pi Agents
Delete a hypothesis and watch the theorem break
— Adversarial Mathematics: From First Principles
Place a matmul on the roofline before calling it fast
— Inference From First Principles
Staged gates beat one big prompt, and the ablation shows it
— Memory From First Principles
Diffusion is only nearest-neighbor exchange
— Cellular Automata From First Principles
One source, four readers, one gate
— Language
Quantize a matrix and measure what the rounding costs
— Inference From First Principles
Route a claim through a policy, not through a threshold
— Hallucination From First Principles
Take two limits in both orders and get two answers
— Adversarial Mathematics: From First Principles
Turn a Markdown file into a /review command
— Pi Agents
Advertise a skill by description, load the body on demand
— Pi Agents
Find out which attention kernel actually ran
— Inference From First Principles
See where floating point and high precision mislead
— Adversarial Mathematics: From First Principles
A threshold calibrated on one domain does not transfer to another
— Embeddings From First Principles
Allocate paged KV blocks and watch them get reused
— Inference From First Principles
Give a skill files and a check script it can run
— Pi Agents
Turn an hour of speech into units that walk back to timestamps
— Language
Walk through the hard case of the five-colour proof
— Adversarial Mathematics: From First Principles
Judge relevance against a purpose, not against a unit
— Language
Read what a Lean statement actually says
— Adversarial Mathematics: From First Principles
Register a tool and a command from an extension
— Pi Agents
Step a scheduler through static and continuous batches
— Inference From First Principles
Block a force push with a tool_call handler
— Pi Agents
Next examples