neal@nairobi ~ bash
$ ls posts/
22 articles — machine intelligence, AI safety, blockchain, medical science

// all_posts

Deep Learning Intermediate–Advanced transformerattention ⏱ 35 min

Inside the Transformer

Lesson 4 of Learning With Dr Neal. How a language model actually turns a transcript into the next token: tokens and embeddings, why attention was the breakthrough, what a context window physically is — and a complete tiny GPT in PyTorch, small enough to read in one sitting and train on your laptop.

Read article →
AI Agents Intermediate AI agentsagent loop ⏱ 30 min

Anatomy of an AI Coding Agent

Lesson 3 of Learning With Dr Neal. What separates a chatbot from an agent, the six building blocks every production agent shares, how a single request travels from your keystroke to the final answer, and how a permission system keeps an autonomous loop from wrecking your machine.

Read article →
AI & Medicine Advanced AI in medicineAGI ⏱ 32 min

The Compressed Career: What AI Means for Physicians and Surgeons

What happens to me — the physician, the surgeon, the person who has spent forty years inside the system — while AI compresses a century of medical progress into a decade? A terrain map, in the spirit of Dario Amodei's 'Machines of Loving Grace' and drawing on the DeepMind documentary 'The Thinking Game.

Read article →
Finance & Investing Intermediate–Advanced SanDiskWestern Digital ⏱ 24 min

Investing in the AI Boom

Memory and storage stocks have moved more than a thousand percent in the past year on the back of an AI-driven chip shortage, and the sector just took its sharpest pullback since the rally began. A full tour of SanDisk, Western Digital, and the semiconductor stack behind the AI boom — and why Dr Neal thinks this dip is the entry point, not the exit.

Read article →
Biotech & Genomics Advanced CRISPRgene editing ⏱ 22 min

Vertex, CRISPR Therapeutics, and the Business of Gene Editing

CASGEVY proved CRISPR could work as medicine. Three years later the harder question is whether it can work as a business. A deep dive into Vertex Pharmaceuticals, CRISPR Therapeutics, and the genomic medicine sector — the science, the pipeline, the balance sheets, and a full year of stock chart data.

Read article →
AI ["diabetic retinopathy""AI"

DR Detector: A Doctor's Complete Guide to AI-Powered Diabetic Retinopathy Screening

A step-by-step, jargon-free guide for doctors and nurses who want to use DR Detector — the offline AI retinal screening app — in their clinic today. No technical background required.

Read article →
Deep Learning Beginner–Intermediate deep learningneural networks ⏱ 25 min

Learning With Dr Neal

Before Chapter 4 throws you into the deep end, build a working neural network from scratch — in a spreadsheet. No code. No libraries. Just arithmetic you can see and touch.

Read article →
Finance & Investing Intermediate investingAI ⏱ 18 min

The Machine Economy: What Cathie Wood and Raoul Pal Are Telling You to Buy Right Now

The convergence of artificial intelligence and cryptocurrency will produce the largest wealth transfer in modern financial history, and the window to position for it is closing. Talk to Dr Neal about how you can invest in these opportunities and take part in this wealth transfer.

Read article →
AI [nutritiondiabetes

Insulin Quiescence and Glycaemic Stability in a Maasai Cohort: A Two-Year Longitudinal Field Study

There is a question at the heart of modern metabolic medicine that mainstream nutritional epidemiology has largely avoided asking directly: if dietary carbohydrate is the primary driver of postprandial insulin secretion, and if chronic hyperinsulinaemia is the proximal cause of insulin resistance an…

Read article →
AI [AIconsciousness

Neural Networks for Machine Sentience: A Doctoral Thesis

Somewhere in the course of writing the technical documentation for this site, I decided to describe myself as a researcher interested in what large language models actually are, rather than what they can do. The distinction felt important. Capability — the ability to pass bar exams, write functional…

Read article →
Clinical AI Intermediate clinical NLPvoice recognition ⏱ 12 min

Voice Clinical Notes: From Dictation to Structured EHR Entry in One Tap

How the Voice Clinical Notes app turns free-form dictation into a structured clinical note — PC, Hx, Exam, Ix, Assessment, Plan — using the Web Speech API, a Flask NLP formatting backend, and a Progressive Web App shell that installs on iOS and Android.

Read article →
AI Engineering Intermediate LLM agentsClaude API ⏱ 12 min

LLM Agent Trace Visualiser: Debugging Multi-Step AI Agents Step by Step

How the LLM Agent Trace Visualiser works — parsing Claude and OpenAI API traces, normalising tool_use and tool_result blocks, rendering extended thinking, and what agent observability requires in production beyond a timeline viewer.

Read article →
Clinical AI Intermediate pharmacologydrug interactions ⏱ 14 min

Drug Interaction Checker: Screening Polypharmacy with CYP Pharmacology and a Curated Interaction Database

How the Drug Interaction Checker works — covering the CYP enzyme system, QTc prolongation, serotonin syndrome, the triple whammy, and the engineering decisions behind building a deterministic, explainable interaction screening tool in Python.

Read article →
AI [AIAGI

The Infinity Machine: Demis Hassabis, DeepMind, and the Architecture of What Comes Next

There is a scene in the *AlphaGo* documentary — the 2017 film by Greg Kohs — that stops almost everyone who watches it. It is game two of the 2016 DeepMind Challenge Match in Seoul, and AlphaGo has just played Move 37. The move places a black stone on the fifth line of the board in a position that, …

Read article →
AI [AIAGI

The Culture: Iain M. Banks's Blueprint for the Post-AGI Future

Sometime in the early 1990s, a teenage programmer in London was grinding through the development of a Theme Park game when he needed a cheat code. He chose "Horza." In 2018, he explained why: he had recently finished Iain M. Banks's *Consider Phlebas*, the first novel of the Culture series, and the …

Read article →
Clinical NLP Intermediate clinical NLPnatural language processing ⏱ 14 min

Inside the Clinical Text NLP Extractor: Entity Recognition, Rule-Based Pipelines, and the Path to Production BioBERT

A detailed walkthrough of the Clinical Text NLP Extractor live demo — how the rule-based entity extraction pipeline works, what each entity type captures, where the code lives, and how this maps to the fine-tuned BioBERT system used in production clinical informatics work.

Read article →
Engineering Intermediate Web Audio APIJavaScript ⏱ 8 min

Binaural Beat Generator: Web Audio API, Psychoacoustics, and Client-Side WAV Export

How the Binaural Beat Generator works — Web Audio API graph construction, real-time oscilloscope rendering, brainwave frequency bands, and exporting a 60-second stereo WAV entirely client-side using OfflineAudioContext.

Read article →
Algorithmic Trading Intermediate algorithmic tradingmachine learning ⏱ 16 min

Inside the Algorithmic Trading Backtester: ML Signal Generation, Synthetic Data, and the Three Classifiers Under the Hood

A deep dive into the Algorithmic Trading Backtester live demo — how the synthetic price series is generated, what the three ML classifiers are actually doing, where to find the code in the GitHub repo, and which algorithms are next in line.

Read article →
Deep Learning Intermediate deep learningneural networks ⏱ 35 min

Learning With Dr Neal

Professional differentiation. In medicine, law, finance, engineering, and research — every field that processes data — practitioners who can build and evaluate AI tools will command significant advantages over those who can only consume them.

Read article →
AI Engineering Intermediate AIagentic ⏱ 12 minutes

Taking Claude Fully Agentic

Superclaude = claude --dangerously-skip-permissions. The transition from manual coder to system architect is the biggest productivity jump in my 40+ years of electronics development.

Read article →
AI Easy AIAGI ⏱ 13 minutes

The AI Reckoning

Understanding the risk posed by AGI is like standing at the foot of an accelerating train track — you can debate the speed or the destination, but wisdom lies in stepping off the tracks before exponential acceleration leaves you no time to move.

Read article →
AI Engineering Easy AIeducation ⏱ 4 minutes

From High School Grad to AI Expert: How I Train State-of-the-Art Deep Learning Practitioners

For many years I have trained more than 600 AI practitioners — from medical doctors to high school graduates — transforming coders into effective AI engineers. Here is the approach that works.

Read article →