alexblog

notes and press, back to 2015.

The Chat Box Is a Language Model on Your Machine

A 1.2B model runs in your browser and answers from this site — no server, no API key. How the retrieval works, what the optimisation actually bought, and the three things I expected to be true that were not.

there is a chat box on this site. when you open it, your browser downloads a 760MB language model and runs it on your GPU. nothing is sent anywhere — there is…

What Is Running Behind This Page

Six simulations render the backgrounds on this site — Conway's Life, a simulated-annealing graph search, an FM synthesizer, A*, and a finite-difference PDE solver. What each one computes and what the controls do.

the backgrounds on this site are running, not looping. every one is computed per frame in your browser. the gear icon in the corner opens a panel with the…

Fugue: Monadic Probabilistic Programming for Rust

A probabilistic programming library for Rust built around a monad — models compose in direct style, and pluggable interpreters decide what running one means.

a probabilistic programming library for rust, built around a monad. a model in fugue is a Model<T> value that you compose in direct style with bind and map…

Finance Crew: AI-Powered Financial Analysis

A CrewAI system for market analysis — agents that pull data, develop a strategy, and separately assess the risk of running it.

a crewai system for market analysis: agents that pull financial data, work a strategy up against it, and assess the risk of actually running that strategy. the…

Vanilla ReAct: Minimalist Agent Framework

A ReAct agent in Python with no framework underneath it — the loop, in the open, against the OpenAI API.

a react agent in python with no framework underneath it, written when every agent library was adding abstraction faster than i could read it. react is a small…

Crewlit: Multi-Agent AI Systems in Your Browser

CrewAI in a browser — define agents, tasks and crews in a Streamlit UI instead of a Python file.

crewai in a browser, so that building a multi-agent system does not have to start with a python file. it is a streamlit app for defining agents, tasks and crews…

Resume Crew: AI-Powered Career Tools

A CrewAI system that tailors a resume to a specific posting and prepares you for the interview that follows.

a crewai system that tailors a resume to a specific job posting, then prepares you for the interview that follows. the agents split the work rather than sharing…

QCSim: Quantum Circuit Simulator in Python

A small quantum circuit simulator in Python, written to understand the subject rather than to be fast at it.

a quantum circuit simulator in python, written to understand the subject rather than to be fast at it. it implements the fundamental gates and lets you assemble…

Try Before You Buy? Test Driving a Supercomputer System

A piece for HPCwire on emulating a supercomputer before you buy one — turning procurement from a bet on benchmarks into a question you can answer with your own code.

a follow-up piece for hpcwire, this one about procurement rather than development. buying a supercomputer means committing tens of millions to a configuration…

Singapore Startup Hatches At-Scale HPC Dev Cloud

HPCwire covers Archanan's emergence from stealth — a cloud platform that emulates a target supercomputer so you can develop and debug at full scale.

hpcwire covered our beta launch, which was the first time we said in public what archanan actually did. the problem we were built around: most supercomputing…

Supercomputing Shouldn't Be Rocket Science

A piece for Asian Scientist arguing that the hard part of supercomputing is not the computing — it is the gap between a working laptop simulation and code that survives at scale.

a piece for asian scientist, written while running archanan, arguing that the hard part of supercomputing is not the computing. picture a researcher with a…

Optimal Wavelet Bases For Audio Compression

Searching for a general procedure to pick the best wavelet basis for a class of audio, rather than choosing one by taste. Run on the IACS supercomputers.

jpeg 2000 swapped the discrete cosine transform for wavelets and got visibly better images at the same bitrate, with none of the block artefacts that give away…

Supercomputers For Audio Research and Development

CEWIT's newsletter on my use of Stony Brook's supercomputing time for audio synthesis and modelling.

cewit's newsletter ran a short piece on what i was doing with the university's supercomputing allocation: audio synthesis and modelling at a scale that does not…

The Future of Sound

The Stony Brook Press on the intelligent synthesizers I was building as an undergraduate — pitch-tracking bass synthesis and convolution reverb.

the stony brook press came to talk to me about synthesizers that listen back. i was twenty and halfway through an applied maths degree, building pedals that…