Eric J Ma's Website

« 1 2 3 »

Agent-assisted data science with marimo notebooks

written by Eric J. Ma on 2026-10-14 | tags: marimo python agents notebooks llms workflows sandboxing reproducibility data science pair programming

In this post, I walk through my setup for agentic data science with marimo notebooks: picking a harness and model, writing instruction files that hold the agent to my standards, sandboxing environments with uv or pixi, and pairing the agent with a live notebook in an iterative loop. I also cover custom anywidget viewers, feedback with marimo-lens, and turning the finished notebook into a presentation. It all started as a whiteboard sketch headed for a video and course. What could you discover if an agent typed while you thought out loud?

Read on... (2063 words, approximately 11 minutes reading time)
Live-demoing data science in the age of agents

written by Eric J. Ma on 2026-10-14 | tags: marimo notebooks coding agents bioinformatics epistasis enzymes research data science structure live demo

In this post, I recount live-demoing an hour-long reanalysis of my published IRED-88 enzyme data at UMass Chan, pairing a coding agent with a reactive marimo notebook. New tools marimo Lens and Studio let me point at plots and project slides straight from the notebook. The agent flew through charts but stumbled on the epistasis transform I knew from hard-won experience. It's a candid look at data science in the age of agents. When machines master the obvious moves, how do we cultivate the judgment that remains ours?

Read on... (3614 words, approximately 19 minutes reading time)
I stress-tested Laya, an open decision model, on pharma surveillance

written by Eric J. Ma on 2026-10-13 | tags: laya decision models pharmacovigilance fine-tuning calibration modal marimo machine learning open source pharma

Laya is an open-source decision model that answers structured questions in a single forward pass, no text generation involved. I ran it through email triage, multilingual postmarket surveillance, real pharma document classification, a fine-tuning experiment, and a Modal deployment to see where it shines, where it breaks, and what its probabilities are really worth. Curious whether a 421M-parameter model can do the boring 90% of an AI pipeline cheaper than a giant LLM? Read on to find out!

Read on... (2311 words, approximately 12 minutes reading time)
Swapping the judge in a judgment language

written by Eric J. Ma on 2026-09-26 | tags: python programming ai agents creativity inference open source decision models machine learning

In this post, I share how I forked Seems, a Python-flavored judgment language, into seems-laya, swapping the hosted judge for an open-weight model running on my own machine. I walk through the one-file swap, getting judgment syntax into plain Python imports and marimo notebooks, and the concurrency, calibration, namespace, and bytecode-cache surprises along the way, most of them fixed by my coding agent. I also wrestle honestly with whether the work was creative at all. If I can't tell the difference between interpolation and invention, how would any of us know when a machine crosses that line?

Read on... (1601 words, approximately 9 minutes reading time)
A Multiplayer Chat Agent Is Just a Coding Agent in a Container

written by Eric J. Ma on 2026-09-25 | tags: ai discord modal python agents software community coding agents discord bots knowledge base

In this post, I share how I built Sage, a community-wide Discord chat agent, by simply wrapping a standard coding agent inside a persistent container. I'll walk you through the surprisingly straightforward architecture: a websocket, a subprocess, and a single hand-curated markdown file. We'll explore how multiplayer settings shift the rules around grounding, consistency, and cost, and why keeping the stack boring actually makes it more reliable. If you've ever wondered how to scale an AI assistant beyond a single user without overcomplicating things, what's the simplest way you could start building one for your own community?

Read on... (1690 words, approximately 9 minutes reading time)
A data scientist walks into a GxP conference

written by Eric J. Ma on 2026-09-21 | tags: gxp ai validation compliance fda pharmaceuticals biotech machine learning data science quality assurance

In this post, I share what I learned at a conference on AI in GxP, the regulations keeping medicines and devices safe, arriving from the research side where the acronym meant nothing to me three months ago. I sketch a map of SOPs, validation, and inspections, and how stochastic AI systems force a rethink: defining a range of acceptable behavior instead of pass/fail checks. I close with what data scientists can offer, from model cards to evaluation harnesses. If regulators set the principles but leave the numbers to us, who gets to decide what "good enough" means?

Read on... (3606 words, approximately 19 minutes reading time)
Reviewing the PLAUD Note Pro

written by Eric J. Ma on 2026-09-20 | tags: hardware review ai conference notes obsidian agents recorder productivity gxp

In this post, I share my hands-on review of the PLAUD Note Pro, a credit-card-sized recorder that carried me through a two-day conference on AI in GxP. I describe how it captured twenty-odd talks, survived two days without a charger, and let me highlight key moments with a single button press. I also walk through feeding the transcripts and slide photos into my agent pipeline and Obsidian vault. If a device this simple can disappear into a workflow and quietly do one job well, what else might we be overcomplicating?

Read on... (693 words, approximately 4 minutes reading time)
Funny Money Allocation: A Decision-Making Trick

written by Eric J. Ma on 2026-09-11 | tags: decision-making bayesian probability consensus teams facilitation collaboration uncertainty belief elicitation

When my team was stuck talking past each other with no slam dunk option in sight, I had everyone bet 1,000 points of funny money across the options, and the allocations revealed the team's collective belief distribution. It beats voting because it captures preference strength and confidence separately. Curious how a 70-point bet and a 900-point bet unblocked the discussion?

Read on... (1204 words, approximately 7 minutes reading time)
Learning how to learn anything, together, in the age of AI

written by Eric J. Ma on 2026-08-30 | tags: ai learning learning teaching retreat education community growth ai practice compounding

In this post, I share why Dan Chen and I are running the Learn Anything with AI retreat: a five-day, in-person gathering built on the idea that AI can either hand you answers you'll forget or accelerate genuine understanding. Drawing on my own journey from lab science to computing, I explore learning science, the cognitive debt of skipping deliberate practice, and why teaching what you learn makes it stick. The retreat week is for acquiring the skills of using AI to learn anything; mastering new fields is what those skills then deliver. What could a year of practicing those skills do?

Read on... (2306 words, approximately 12 minutes reading time)
Quantum Computing for the Probabilistic Bayesian

written by Eric J. Ma on 2026-08-07 | tags: quantum computing bayesian probability qubits entanglement interference superposition sampling inference amplitudes

In this post, I share what I've learned about quantum computing from the perspective of a probabilistic Bayesian. I strip away the physics to reveal a familiar picture: qubits as amplitude vectors whose squared magnitudes are probabilities, gates that shape distributions through interference, and measurement as sampling. The parallel to Bayesian inference is striking. Our priors and likelihoods shape posteriors; quantum gates shape amplitudes. What if the quantum computer isn't a magic box, but a sampler purpose-built for the combinatorial spaces we already struggle to navigate classically?

Read on... (1989 words, approximately 10 minutes reading time)
« 1 2 3 »
learn anything --with ai --feb 2027 → 5 days · in person · a small cohort → feb 14-20, 2027 · learn-anything.nonlinearlabs.ai