Full Width [alt+shift+f] Shortcuts [alt+shift+k]
Sign Up [alt+shift+s] Log In [alt+shift+l]

Stay updated

Get a weekly newsletter with the top 5 articles worth reading every week.

More from matt.sh

agent-shell: your output, your storage

agent-shell: stop spilling your outputs since the beginning of time, ai agents have wanted one thing at one thing only: redirecting stderr to stdout then piping the output to head or tail or grep or sed or awk. That’s all they really want. Except, they do it wrong the majority of the time (because “ai labs” are fundamentally incompetent at software engineering, as we’ve previously discussed before). Common ones I see routinely which are painful and require manual “reminders” into the agent to stop: uv run my-big-honking-test 2>&1 | grep -E "failed:|error:" | head -5 but then the test fails with a non-zero error code, the grep reports an error count, so then the agent RE-RUNS THE ENTIRE TEST with a different grep failure to “find the failing test case” except, the failing test case grep requires “guessing the future” regex, but the first attempt at “guessing the error regex” fails, then code agent continues re-running a 20 minute test suite with different grep filters until you remind it: “FILES EXIST! WE HAVE A FILE SYSTEM! WRITE OUTPUT TO FILES THEN READ THE FILES TO SEE THE ERRORS!” also, since current ai code agents have no feeling for “time” or “effort” they don’t care about running a 30 minute program-stderr-to-stdout-to-pipe-grep 10 times in a row even if each attempt takes 30 minutes. and a more toxic approach is where models decide to use live public URLs for reference material then curl | grep except, again, models try to “guess grep filters”, fail, then re-run the curl a dozen times with different “guess the regex” filters instead of saving the content locally and then searching through it (I often see claude get rate limited or blocked by upstream services because it “curls and greps” the same URLs in a loop, and you have to remind it every time “hey, files exist? you know? use files?”) I’ve run some bulk analysis about how often models “do the wrong thing” or “waste time guessing” (instead of following more proof-based data practices) over my claude session history (you do know all your claude session and all commands and tool calls are saved at ~/.claude right?) and here’s results: ways models try to read things Pattern Count Share of Bash commands Piped into a filter (grep/head/tail/awk/sed/etc.) 123,637 62.8% Bare narrowing command, no pipe 22,963 11.7% – Any pipe at all 135,413 68.8% Bare full-file read (cat) 1,573 0.8% Redirect-to-file, later read in full (“save then read”) 4,301 — common filter patterns guesses: Shape Count Likely context sed (bare, e.g. sed -n 'N,Mp' file) 15,123 line-range paging grep | head 9,497 search, then cap the results cd | head 5,998 cd dir && cmd \| head grep (bare) 4,523 direct search on a file uv | tail 3,864 tailing output of a uv run/uv pip command cd | tail 3,253 cd dir && cmd \| tail tail (bare) 2,764 log/output tailing ls | head 1,699 capped directory listing find | head 1,365 capped file search common slop guess counts: Metric Count Guess-then-give-up-and-read episodes (≥2 narrow attempts, then a full read) 541 Unresolved thrash episodes (≥3 narrow attempts, never followed by a full read) 2,701 Total narrow commands spent inside these episodes 5,006 Resolved episodes closed by the Read tool 447 (83%) Resolved episodes closed by a bare cat 94 (17%) multiple different cmd | filter guesses in a row here are full attempt-count distribution for episodes eventually resolving into a full read (example: running a command with a failed filter, then continuing to run cmd | filterA -> cmd | filterB over and over again until a “filter” matches instead of just saving output to a file and reading directly):

6th Sep 2026 • 1 votes
Claude Hooker: do you come here often?

img,video{width:100%} claude-hooker The mystery of claude code over the past year and a half has been how does a world leading ‘AI productization lab’ continually generate such shitty amatuer globally distributed software and services over and over again? It’s almost like staffing a company entirely by 24 year olds seeing their net worth increase by $2 million per month for two years is a bad idea? Even the tech brain infosphere has noticed how claude code’s architecture is absolutely mornoic and amatuer and anthropic just continually ego-sociopath lies and nobody can stop them because hey, when you spend over $2 billion a month renting GPUs run by globally polluting gas turbines, they let you do it. don’t worry, bro, “it’s a javascript game engine in your console, ur not smaht enouf to understand our god-ai logic here!!!” as you may be able to tell, i’m deploying this post in annoyance/anger mode because I don’t understand why me, somebody who can’t afford a place to live and has 20 years of detailed technical experience, is giving free work to trillion dollar “ai” “startups” with good models but apparently abysmally amatuer software engineering practices. i guess it’s part of industry bubble syndrome. It’s not really worth thinking about what drives weird un-self-aware ego-sociopathic-autistic billionaires if you aren’t close enough to change anything in their minds though. The Bad i guess back to the point: given they have made claude so same-system dangerous with its cavalier attitude towards running destructive or system-resource-consuming actions you must install your own safeguards using claude code event hooks.

1st Aug 2026 • 1 votes
BlazeIt (macOS + iOS B2 Client)
4th Jul 2026 • 1 votes
Spring Cleaning 2026 Day 6: kvestigate (investigate k*)

Kvestigate - Investigate Kubernetes Clusters Ever find yourself given access to a piece of garbage kubernetes cluster and you need need to audit it to figure out what the hell is going on? Say hello to kvestigate your kubernetes investigation and auditing toolkit with the ability to even run ad-hoc workloads beyond the reach of the kubernetes scheduler allocator substrate system by just doing shit on the hosts themselves like computers are supposed to do. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Language Files Lines Code Comments Blanks ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Python 141 34192 28551 1381 4260 TOML 3 72 57 8 7 YAML 23 1059 718 257 84 ───────────────────────────────────────────────────────────────────────────────── Markdown 18 3983 0 3083 900 |- BASH 13 500 288 141 71 |- Python 6 177 132 27 18 |- YAML 3 218 187 11 20 (Total) 4878 607 3262 1009 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Total 185 40201 29933 4908 5360 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Features kvestigate is a read-first Kubernetes toolkit for investigating clusters, running workloads directly on host machines (no Docker), and safely handing a constrained slice of your cluster resources to AI agents. Three surfaces on one foundation (the official kubernetes client + a privileged node-access DaemonSet): Investigate & plan — audit a cluster, stream logs, exec into pods, and bin-pack a workload onto available GPU/CPU. Read-only by default. Run things host-native — create isolated workspaces on a node’s host OS (tmpfs / disk / hybrid storage, GPUs bound by UUID), sync code in, and launch processes. No container build, no pod scheduling. Host constrained cyberspaces — expose an allow-listed, quota’d, audited slice of those workspace capabilities over HTTP/MCP, so agents and other programs can “upload and run things” without cluster-wide power. Bonus Feature Natively integrates with nvidia-smi to query all nodes for cluster-wide gpu usage and power metrics to see how much of the world you are wasting with your “ai” “workloads”

6th Jun 2026 • 1 votes

More in AI

This ER Doctor Became a Hospital’s First Clinical AI Engineer

When Boston Children’s Hospital posted a job listing for a prompt engineer in 2023, Dinesh Rai decided to apply. He didn’t expect to get the job. At the time, prompt engineering was being touted as one of the hot new jobs created by generative AI. Companies wanted people who knew how to coax the best answers from large language models (LLMs) by carefully wording instructions, supplying examples, and giving the systems personas or other context. Dinesh Rai Employer: Boston Children’s Hospital Occupation: Clinical AI Engineer Education: Bachelor’s degree in supply-chain management and marketing sciences, Rutgers Business School; Doctor of Medicine, Albert Einstein College of Medicine It was an unusual role for a hospital, but Rai had an unusual résumé. While he was trained as an emergency physician, he had also taught himself to code just before entering medical school. After completing a fellowship in clinical informatics—which focuses on the intersection of clinical practice and IT systems—he moved into health technology. Boston Children’s brought him on board in August 2023. Three years later, Rai still works there. Prompt engineering, however, has become a much less important part of the job. When he joined, the expectation was that prompting would become a job in itself. “Knowing how to prompt AI properly was going to be the job function of the future,” says John Brownstein, chief innovation officer at Boston Children’s. Early on, the hospital needed internal expertise about how to begin using AI, Brownstein says. Now, better models have made elaborate prompting less important, so the harder work is building AI into actual health care systems—and determining whether its answers can be trusted. Brownstein says the questions they focus on these days have shifted: “How do you embed these tools in your day-to-day operations? How do you build agents to manage literally everything that you do?” For Rai, that has meant embracing a job broader than the role that brought him to Boston. “I’m more like a clinical AI engineer now,” he says. Between medicine and engineering Rai originally studied business as an undergraduate and began teaching himself to code in 2014 (the same year he entered medical school), as neural networks and image recognition were starting to attract wider attention. He kept building software while training as a doctor. In medical school, for instance, he created a platform called Academius for students to track residency interviews and assemble their rank lists. For Rai, the appeal of coding was its scale. In emergency medicine, he could make a direct difference for the individual patient in front of him. Software offered the possibility of building something that thousands of clinicians might use for many more patients. His 2021–22 informatics fellowship made the possibility of doing that full-time feel real. In 2022, Rai took a job at Pieces, a health care AI company, where he led work to bring LLM-based medical summarization into clinical use. That meant taking a break from practicing medicine altogether. “Stepping away was definitely a hard decision,” Rai says. But he wanted to give the technology work his full attention. He has since reactivated his medical license and hopes to return to clinical practice in some capacity within the next year. At Boston Children’s, roughly half his day now looks like an engineer’s: working with developers, writing code, and advancing projects from the technical side. The other half is spent with clinicians, figuring out what they actually need. That combination has become the point of the job. Uncovering “clinical doppelgangers” One project, called clinical doppelgangers, is designed to help doctors treating complicated patients find similar cases buried in the hospital’s historical data. Medical guidelines are generally based on large populations, but at a hospital that handles rare and complex diseases, an individual child may not fit neatly into the populations represented in published studies. The system is being developed to let clinicians identify previous patients with relevant similarities, examine their trajectories, and see how different interventions turned out. It is not meant to replace randomized clinical trials. Instead, it could provide another source of evidence when a physician is facing a case for which the published literature offers little guidance. Projects like that require more than knowing how to ask an LLM the right question. They require understanding what hospital data means, how a clinician will use an answer, and how an AI system can go wrong. Rai recently encountered some of those challenges while working on another project with a clinical team and a development team. They were deciding how much of a patient’s medical record to give an AI model when asking it to identify findings relevant to a particular clinical outcome. Better models have made elaborate prompting less important, so the harder work is building AI into actual health care systems. Both groups initially favored giving the model access to more information, but for different reasons. The developers assumed any data point could be useful. The clinicians assumed the model would recognize irrelevant findings and ignore them. Rai saw a problem with both assumptions. Clinically, an abnormal lab result or vital sign is not necessarily relevant to the question being asked. And from a technical perspective, an LLM cannot be counted on to recognize that irrelevance. If the system asks the model whether a given abnormality matters, it may construct a plausible explanation for why it does, even when the record does not support the connection. “That’s where the dual perspective has been valuable,” Rai says, “not just translating between teams, but recognizing when an approach that looks reasonable from either perspective rests on assumptions we shouldn’t make.” After the prompt In medicine, the challenges surrounding the prompt are now more important than polishing the prompt itself. Is the model’s output consistent with the underlying data? How should its results be evaluated? Will the clinician using it be able to recognize a mistake? That also means listening to clinicians’ experience. For the platform Rai’s team built to draft clinical notes, the clinicians who would go on to use the tool reviewed a batch of generated notes before anything was finalized. Someone who had cared for a complicated patient in the cardiac intensive care unit for weeks would catch an error far more easily than someone skimming the chart afterward, Rai says. Although AI adoption in medicine is surging, some health care professionals still have concerns about its use. “I think some skepticism is healthy, and we don’t try to talk people out of it,” he says. The team told clinicians up front that it was a generative AI tool meant to support their judgment, not replace their own review of the chart. “People trust it more when they’ve seen its mistakes than when we just tell them it’s good.” An evolving career The evolution of Rai’s role reflects how quickly AI-focused jobs can change, so Rai is wary of telling people interested in careers like his to master any particular tool. For people who want hands-on engineering jobs, fundamental programming skills still matter. Some understanding of machine learning is useful, as is experience building and testing systems. But not every clinician who wants to work with AI needs to become a database architect or take a deep dive into algorithms. What Rai considers indispensable is domain knowledge. In the medical field, that means understanding how health care workflows operate, how electronic health record data is created, what that data actually represents, and where care breaks down. That may be the more durable lesson from a career that briefly carried one of AI’s buzziest job titles. “The value isn’t just knowing how to get an answer from a model,” Rai says. “It’s knowing what context it needs and whether that context supports the answer we’re asking it to give.”

55 minutes ago • 1 votes
What to Do When Benchmarks Fail

Why you don’t agree with benchmark scores, where agent benchmarks fall short, and how to measure the real user experience

2 days ago • 1 votes
What AI Is Bad at?

为什么 AI 几乎统治了所有智力活动,却还没在投资上打败人类?文章以全美投资大赛(USIC)最新成绩为引子,提出「简单输入→复杂输出」与「复杂输入→简单输出」的四象限框架,解释 AI 为何在围棋、编程、数学上已彻底超越人类,却在面对开放、复杂的真实世界输入时仍显不足。投资只是表象,真正的问题是:当输入不再有限且可离散化时,人类的经验、直觉与对异常的敏感仍具独特优势。 Why hasn’t AI beaten humans at investing, even as it dominates almost every other intellectual domain? Using recent US Investing Championship results as a starting point, this essay introduces a simple 2×2 framework of input/output complexity. It explains why AI has thoroughly surpassed humans in “simple input → complex output” tasks like Go, programming, and math, yet still struggles with open-ended, complex real-world inputs—of which investing is a prime example.

5 days ago • 3 votes
Slice of AI Life (With a Baby)

Parenting a Newborn with AI Is Radically Different from a Few Years Ago

a week ago • 3 votes
How Public Evals Work and Fail, and What Should Change

How to read benchmarks and what to question, from a teardown of 12 benchmarks.

a week ago • 3 votes
📚 BoredReading

You seem to be enjoying this.

Join free to unlock everything.

Create free account

Already have an account? Sign in