Notebook archive

Notes

Notes & Essays

Tutorials, development notes, and reflections on health technology, data, automation, and clinical work.

22Notes
2019-2026Archive span
Selected notes

Why I Like Computers

From a monochrome computer, a TURBO button, and DOS games to HTML I could not preview, ASP with no server to run it, and the sound of a 56K modem connecting.

Read note

Clinical field note

An ATK data system developed during the COVID-19 response, preserved as a historical project note.

Talking with AI

A guide to how language models are trained, used, and evaluated.

Talking with AI, Part 1: What Does Training an LLM Mean?

What training changes in a model, and how pre-training, fine-tuning, RAG and information supplied in context differ.

Read note
Browse the other articles (10 articles)
02

Talking with AI, Part 2: How Can Predicting the Next Token Lead to Coding?

How a simple training objective can produce capabilities in language, programming and problem solving through learned representations.

03

Talking with AI, Part 3: Context, Attention and Memory During a Conversation

Why a model can use information you just supplied without changing its weights: context windows, in-context learning, attention and the KV cache.

04

Talking with AI, Part 4: Why More Thinking Can Improve an Answer

How inference-time compute, reasoning, multiple attempts and verification can improve results without changing the model’s weights.

05

Talking with AI, Part 5: GPUs, VRAM and the Infrastructure Behind LLM Training

Where parameters live, why training consumes so much memory, and how GPUs divide the work, from numerical precision to mixture-of-experts models.

06

Talking with AI, Part 6: From a Base Model to an Assistant

An introduction to SFT, RLHF, reward models and tool-use training, and the difference between changing a model and supplying a system prompt.

07

Talking with AI, Part 7: Does an LLM Memorize, Learn or Guess?

Memorization, generalization, overfitting, data contamination and hallucination explain both the capabilities and limitations of language models.

08

Talking with AI, Part 8: Following a Token Through a Transformer

From tokenization and embeddings through attention, MLPs and residual streams to logits, softmax and next-token selection.

09

Talking with AI, Part 9: From an LLM to an AI System and Agent

What happens between pressing Send and receiving an answer: context construction, tools, verification and model-serving infrastructure.

10

Talking with AI, Part 10: More Compute for Training or for Answering?

Scaling beyond parameter counts through training-time and inference-time compute, best-of-N sampling, verifiers and distillation.

11

Talking with AI, Part 11: From More Capable LLMs to the Question of AGI

Why capability differs from reliability, and how long tasks, memory, continual learning, world models, AGI and ASI fit into the discussion.

Current notebook

Longer reference articles that I continue to review and update.

Historical notebook

Older technical notes kept for context. Their dates and software versions matter more than their position in the archive.

01

Why I Like Computers, Part 2: When My Computer Started Connecting to the Outside World

From a 56K modem, Sanook, Thaiware, and Google to Overclockzone, Ragnarok Online, and replacing a graphics card so KOTOR could run.

02

Reverse-Engineering a Medical Web Portal

Using Selenium and C# to understand a medical portal and automate repetitive clinical data entry.

Summary in English · Full article in Thai
03

Windows 11 Features I Tried in 2021

Notes from trying a Windows 11 preview build in July 2021; some interfaces and behaviour may differ from the current release.

Summary in English · Full article in Thai
04

Setting Up Python + Jupyter Lab on Windows

A step-by-step setup for Python, JupyterLab, Pandas, Plotly, and VS Code on Windows.

Summary in English · Full article in Thai
05

Multilingual EndNote Template

Configure EndNote X9 reference types and output styles to format Thai and English bibliographies in the same document.

Summary in English · Full article in Thai
06

Google Classroom Hotkey Bookmarklet

A bookmarklet that adds keyboard shortcuts for entering scores in Google Classroom.

Summary in English · Full article in Thai
07

Fixing iThesis at 70% and a Missing Word Add-in

Check COM Add-ins and Disabled Items before using the Registry when iThesis stops at 70% or its Word menu disappears.

Summary in English · Full article in Thai
08

Fixing Thai Text Display in EndNote X9

Change the display fonts in EndNote X9 when Thai text appears as square boxes in the Reference tab.

Summary in English · Full article in Thai