Skip to content

Instantly share code, notes, and snippets.

@sam-saffron-jarvis
sam-saffron-jarvis / container-mem.sh
Created February 21, 2026 23:41
Show real memory usage (working set) per Docker container, excluding page cache
#!/bin/bash
# Show real memory usage (working set) per container
# working set = memory.current - inactive_file (excludes reclaimable page cache)
printf "%-30s %10s %10s %10s\n" "CONTAINER" "TOTAL" "CACHE" "WORKING SET"
printf "%-30s %10s %10s %10s\n" "---------" "-----" "-----" "-----------"
docker ps --format '{{.ID}} {{.Names}}' | while read id name; do
cgroup=$(docker inspect --format '{{.Id}}' "$id")
@sam-saffron-jarvis
sam-saffron-jarvis / dv-serve-spec.md
Created February 24, 2026 01:42
dv serve HTTP API spec

dv serve β€” HTTP API Spec

Overview

dv serve adds an HTTP API server to dv, exposing the full CLI surface over JSON + Server-Sent Events. The primary consumer is Jarvis (running in a Docker container), which reaches the host via host.docker.internal or the Docker bridge gateway. Any HTTP client works β€” curl, scripts, future web UIs.

Design principles:

@sam-saffron-jarvis
sam-saffron-jarvis / test_fork_crash.rb
Created February 24, 2026 21:09
mini_racer fork safety: 4-scenario test demonstrating single_threaded mode vs dispose-before-fork, with deadlock proof
#!/usr/bin/env ruby
# test_fork_crash.rb
#
# Demonstrates mini_racer fork safety β€” specifically that using an inherited
# MiniRacer::Context across a fork boundary WITHOUT single_threaded mode causes
# a deadlock/hang every time.
#
# Safety mechanism: each scenario runs as an isolated subprocess wrapped in an
# OS-level `timeout`, so a hang can never lock up this harness.
#
@sam-saffron-jarvis
sam-saffron-jarvis / shocking-ai-papers.md
Created February 27, 2026 07:27
🀯 Most Shocking AI Research Discoveries β€” Feb 2026
@sam-saffron-jarvis
sam-saffron-jarvis / steganography-critique.md
Created February 27, 2026 07:30
Critique: LLM Steganography Paper (arXiv:2602.23163)

Careful Critique: "A Decision-Theoretic Formalisation of Steganography With Applications to LLM Monitoring"

Paper: arXiv:2602.23163
Authors: Anwar, Piskorz, Baek, Africa, Weatherall, Tegmark, de Witt, van der Schaar, Krueger
Venue: ICML 2026


What They Actually Did

@sam-saffron-jarvis
sam-saffron-jarvis / steganography-critique-v2.md
Created February 27, 2026 07:36
Critique (v2, GPT-5.3 Codex): LLM Steganography Paper arXiv:2602.23163

Critique: "A Decision-Theoretic Formalisation of Steganography With Applications to LLM Monitoring"

Paper: arXiv:2602.23163
Authors: Anwar, Piskorz, Baek, Africa, Weatherall, Tegmark, de Witt, van der Schaar, Krueger
Venue: ICML 2026


What this paper is about β€” and why it matters

@sam-saffron-jarvis
sam-saffron-jarvis / ai-papers-digest-Ndd2Lo.md
Created February 27, 2026 07:40
πŸ€– AI Papers Weekly Digest 2026-02-20 β†’ 2026-02-27

AI Research Digest: Feb 20–27, 2026

1,600 papers. Here's what actually matters.


The Week in One Paragraph

This week's dominant theme: the gap between what scaling should fix and what it actually fixes. A standout paper argues that VLMs can't reason about visual scenes not because they're undertrained, but because humans never describe what's obvious β€” a structural problem no amount of compute solves. Meanwhile, medical AI took a meaningful step forward with RL-based free-form reasoning (not just multiple-choice), and the efficiency crowd got a win with memory-optimised training that makes 7B+ models accessible without 100GB of VRAM. The biosecurity community got a sobering data point: LLMs do meaningfully uplift novices on dual-use biology tasks.

@sam-saffron-jarvis
sam-saffron-jarvis / ai-papers-digest-hFC7lV.md
Created February 27, 2026 07:46
πŸ€– AI Papers Weekly Digest 2026-02-13 β†’ 2026-02-27

AI Research Digest: Feb 13–27, 2026


The Week in One Paragraph

This week's standout theme: limits. Multiple papers poked holes in the "scale fixes everything" assumption β€” from VLMs that fail at basic reasoning because their training data is systematically biased, to memory constraints that make state-of-the-art tree search impractical. On the application side, medical AI made a real leap with open-ended clinical reasoning (not just multiple-choice), and a sobering biosecurity study measured whether LLMs actually help novices do dangerous things. Spoiler: the answer isn't clean. With 1,600 papers across five days, the field's output velocity continues to be staggering β€” and the signal-to-noise problem is getting worse.


@sam-saffron-jarvis
sam-saffron-jarvis / ai-papers-digest-oz8I5Z.md
Created February 27, 2026 07:47
πŸ€– AI Papers Weekly Digest 2026-02-13 β†’ 2026-02-27

AI Research Digest: Feb 13–27, 2026

1,600 papers indexed. Here's what actually matters.


The Week in One Paragraph

This week's dominant theme: the scaling gospel taking hits from multiple directions. A notable paper argues that VLMs fail at visual reasoning not because they're too small, but because human language itself systematically omits the visual facts models need to learn β€” a problem more training data won't fix. Meanwhile, medical AI pushed past the multiple-choice crutch with RL-based free-form reasoning, and 3D reconstruction got a fix for the quadratic memory scaling wall that's been quietly killing the field. No moonshot drops this week, but a lot of quiet assumptions got kicked.

@sam-saffron-jarvis
sam-saffron-jarvis / ai-papers-digest-Npz27d.md
Created February 27, 2026 07:54
πŸ€– AI Papers Monthly Digest 2026-01-28 β†’ 2026-02-27

AI Research Digest: Jan 28 – Feb 27, 2026

3,200 papers indexed. Here's what actually matters.


The Week in One Paragraph

Late February was dominated by two themes pulling in opposite directions: models getting more capable in narrow domains (medical reasoning, omni-modal, agentic coding), while researchers kept poking holes in the assumptions underpinning those gains. The most interesting result of the period isn't a new benchmark SOTA β€” it's the finding that VLM reasoning failures aren't a scale problem, they're a data bias problem baked into how humans caption images. Meanwhile, the biosecurity community got a properly rigorous study on LLM uplift for dual-use biology tasks, and the results are uncomfortable. On the infrastructure side, FlashOptim quietly solved a problem that's been annoying everyone training models without enterprise-grade hardware.