RSS/Atom Feed Analyzer

Analysis of https://aphyr.com/posts.atom

Feed fetched in 143 ms.
Warning Content type is application/atom+xml, not text/xml or applicaton/xml.
Feed is 160,937 characters long.
Warning Feed is missing an ETag.
Warning Feed is missing the Last-Modified HTTP header.
Feed is well-formed XML.
Warning Feed has no styling.
This is an Atom feed.
Feed title: Aphyr: Posts
Feed self link matches feed URL.
Warning Feed is missing an image.
Feed has 12 items.
First item published on 2026-11-22T14:46:19.000Z
Last item published on 2026-04-13T16:21:24.000Z
All items have published dates.
Newest item was published on 2026-11-22T14:46:19.000Z.
Home page URL: https://aphyr.com/
Home page has feed discovery link in <head>.
Error Home page does not have a link to the feed in the <body>.

Formatted XML
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <id>https://aphyr.com/</id>
    <title>Aphyr: Posts</title>
    <updated>2026-11-22T11:56:45-05:00</updated>
    <link href="https://aphyr.com/"></link>
    <link rel="self" href="https://aphyr.com/posts.atom"></link>
    <entry>
        <id>https://aphyr.com/posts/429-and-you-would-be-supporting-a-local-paper</id>
        <title>"And You Would be Supporting a Local Paper"</title>
        <published>2026-11-22T09:46:19-05:00</published>
        <updated>2026-11-22T09:46:19-05:00</updated>
        <link rel="alternate" href="https://aphyr.com/posts/429-and-you-would-be-supporting-a-local-paper"></link>
        <author>
            <name>Aphyr</name>
            <uri>https://aphyr.com/</uri>
        </author>
        <content type="html">&lt;p&gt;Last spring my dear friend Taber was doored while riding his bike, and came very close to dying. A friend and I got in our cars, made it to the hospital by three AM, and spent the next week caring for him. We traded off sitting at his bedside, making sure he stayed plugged in to the machines keeping him alive, coordinating with a dozen-odd specialists, taking notes, working with the medical and city bureaucracy, and transitioning to home care. My client was kind enough to let me take some time off, but I was still trying to work my way through a slew of database bugs during spare moments. We stayed in a hotel best described as “backrooms”, and I picked up a case of scabies. There was one point where I started crying while trying to pick out thank-you cards at Target. It was, in short, an exceedingly rough time, and it took the better part of a month to really recover.&lt;/p&gt;
&lt;p&gt;Taber, thank goodness, has made a spectacular recovery, and I’m so happy for him. My friend who came to care for him was an incredible rock, and I couldn’t have asked for a more compassionate, diligent, and trustworthy partner. Our family and friends who took care of our homes and pets while we vanished—thank you so much. I’m deeply grateful to everyone at Hennepin County Medical Center, the first responders, the folks at the Minneapolis Public Services building, the care workers, and &lt;a href="https://www.gofundme.com/f/help-taber-recover-from-traumatic-brain-injury"&gt;everyone who donated&lt;/a&gt; to help get him back on track. I was, and remain, deeply moved.&lt;/p&gt;
&lt;p&gt;This is by far the more important story, but something else happened that week—something so surreal and deeply silly that I want to relate it as well. I started getting spam.&lt;/p&gt;
&lt;p&gt;I mean, we all get spam. As someone who’s been around the net for a while, I get a &lt;em&gt;lot&lt;/em&gt; of it. But these emails got through the filters, and came almost every day. They were all from the same guy, “Tom Santogato”. They had the obnoxious hallmarks of LLM slop. Between trying to get video footage from the city and buying medical equipment, I’d read:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Hi Fabiola,&lt;/p&gt;
&lt;p&gt;Quick question, when was the last time you knew exactly what your brand truly makes on every dollar spent? Most DTC founders tell me they track CAC and margins, but the reality they act on is often off by enough to flip decisions.&lt;/p&gt;
&lt;p&gt;That’s why I built something different: a free 45-minute Financial Diagnostic that calculates true unit economics, contribution margin, CAC, and first-order profitability the way investors would, live on screen.&lt;/p&gt;
&lt;p&gt;Here’s what makes it powerful:&lt;/p&gt;
&lt;p&gt;📌 Real vs reported metrics: we reconcile your Shopify + ad platform data the right way.&lt;/p&gt;
&lt;p&gt;📊 Understand what you actually keep on every sale: after discounts, shipping, returns, processing, and fulfillment.&lt;/p&gt;
&lt;p&gt;🚀 Turn insights into action: plan budgets, scale channels with confidence, or prep for growth/raising capital.&lt;/p&gt;
&lt;p&gt;✔️ All live. All transparent. No dashboards to guess from, just clarity.&lt;/p&gt;
&lt;p&gt;If this feels like the kind of visibility missing from your strategy, let’s book a time — zero risk, no commitment, just real metrics that move decisions.&lt;/p&gt;
&lt;p&gt;👉 Book your free 45-minute Financial Diagnostic:
&lt;a href="https://calendly.com/"&gt;https://calendly.com/&lt;/a&gt;[redacted] 📆&lt;/p&gt;
&lt;p&gt;Would Monday or Tuesday work better for you?&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;I clicked the unsubscribe link. I know this is usually a trap, but also, due diligence. They kept coming, of course.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Hi Fabiola,&lt;/p&gt;
&lt;p&gt;I saw Woof posted about {{specific_hiring_initiative}} last week—and noticed your team has been actively engaging with hiring content over the past few days.&lt;/p&gt;
&lt;p&gt;One thing we’ve found working with similar-sized teams: the biggest bottleneck in that phase isn’t usually finding candidates, it’s {{specific_pain_point_related_to_their_signal}}. Most teams don’t realize this until they’re 4-6 weeks in.&lt;/p&gt;
&lt;p&gt;Not sure if that’s on your radar, but thought it was worth flagging given the timeline you’re working with.&lt;/p&gt;
&lt;p&gt;Worth a quick conversation?&lt;/p&gt;
&lt;p&gt;{{signature}}&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;To be clear, my name’s not Fabiola. Woof.group is a community forum that runs on a shoestring budget. We can’t hire anyone for anything, and certainly not the templating mishap &lt;code&gt;{{specific_hiring_initiative}}&lt;/code&gt;. This would be immediately obvious to anyone who did a moment’s research.&lt;/p&gt;
&lt;p&gt;I was exhausted, and haunted by death, and these ridiculous slop-filled emails kept coming, week after week. Staring into the middle distance, I booked the meeting he asked for, intending to ask him politely to please stop emailing me. He canceled the meeting. I tried again. He canceled again.&lt;/p&gt;
&lt;p&gt;The emails kept coming. I started calling him on the phone every time he sent an email. He never picked up. I was chatting with some friends about the emails—how I was at my wit’s end, how &lt;em&gt;deeply stupid&lt;/em&gt; the whole thing was, and how many other people whose time he must be wasting. I asked if it would be reasonable and polite to write a physical letter to him asking him to stop sending spam. And someone suggested:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Too bad we don’t live in an age where you could take out a prominent newspaper ad in his home town paper&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Another friend chimed in:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;And you would be supporting a local newspaper&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;I called the ad manager of his local newspaper. It took a couple minutes to explain what was going on, I wanted to make sure it wouldn’t create any trouble for the paper, and she needed to run it by her team. But the answer came back, “yes”—and it was a lot cheaper than I thought. I got the dimensions and worked up an ad in Inkscape.&lt;/p&gt;
&lt;p&gt;&lt;img class="attachment pure-img" src="/data/posts/429/ad.jpg" alt="An ad which reads, in black and white: &amp;quot;Dear Tom Santogato,&amp;quot; followed by screenshots of a dozen emails, and then &amp;quot;For the last two months you've been spamming a small community forum (and who knows how many others) with AI-generated marketing nonsense. The emails won't stop. You won't respond to email, canceled the meetings you badgered us to schedule, and won't answer your phone, so I'm taking out this ad to ask---on behalf of everyone you've spammed: please stop.&amp;quot;" title="An ad which reads, in black and white: &amp;quot;Dear Tom Santogato,&amp;quot; followed by screenshots of a dozen emails, and then &amp;quot;For the last two months you've been spamming a small community forum (and who knows how many others) with AI-generated marketing nonsense. The emails won't stop. You won't respond to email, canceled the meetings you badgered us to schedule, and won't answer your phone, so I'm taking out this ad to ask---on behalf of everyone you've spammed: please stop.&amp;quot;"&gt;&lt;/p&gt;
&lt;p&gt;You know what? That worked! Haven’t gotten a single spam email from Tom since.&lt;/p&gt;
&lt;p&gt;I can’t say this is time- or cost-effective. Mostly I just sigh and feed the email to the Bayesian filters, hoping they’ll catch it next time. But this spam caught me at an absurd, difficult time in my life, and in retrospect, I’m weirdly proud of what happened. Woof.group is tiny, which tells me that this campaign was likely casting a broad net. Somewhere out there, I bet there are thousands of people who were getting spam from Tom and rolling their eyes. I’d like to imagine that one day in July, the emails stopped for them too.&lt;/p&gt;</content>
    </entry>
    <entry>
        <id>https://aphyr.com/posts/428-announcing-hegel-clj</id>
        <title>Announcing Hegel-clj</title>
        <published>2026-11-11T20:01:43-05:00</published>
        <updated>2026-11-11T20:01:43-05:00</updated>
        <link rel="alternate" href="https://aphyr.com/posts/428-announcing-hegel-clj"></link>
        <author>
            <name>Aphyr</name>
            <uri>https://aphyr.com/</uri>
        </author>
        <content type="html">&lt;p&gt;I’ve just released &lt;a href="https://github.com/aphyr/hegel-clj"&gt;hegel-clj&lt;/a&gt;, a Clojure interface for the &lt;a href="https://hegel.dev"&gt;Hegel&lt;/a&gt; generative testing library. You can jump right to &lt;a href="https://cljdoc.org/d/com.aphyr/hegel-clj/0.1.1/doc/readme"&gt;the docs&lt;/a&gt;, but I thought it might be interesting to explain why I want another testing library.&lt;/p&gt;
&lt;p&gt;I do a lot of generative testing in Clojure with the excellent &lt;a href="https://github.com/clojure/test.check"&gt;test.check&lt;/a&gt;. However, using test.check can be frustrating! In particular, complex generators can get stuck during shrinking, leaving me trying to prune down a complex data structure by hand. The culprit is usually &lt;code&gt;bind&lt;/code&gt;. If you’re not familiar with test.check, Quickcheck, or other libraries in this family, &lt;code&gt;bind&lt;/code&gt; is a generator which draws some random value, then uses that to construct a &lt;em&gt;new&lt;/em&gt; generator, which in turn is used to draw some other value.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;require&lt;/span&gt; &lt;span class="o"&gt;'&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;clojure.test.check&lt;/span&gt; &lt;span class="ss"&gt;:as&lt;/span&gt; &lt;span class="nv"&gt;tc&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
         &lt;span class="o"&gt;'&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;clojure.test.check.generators&lt;/span&gt; &lt;span class="ss"&gt;:as&lt;/span&gt; &lt;span class="nv"&gt;tcg&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
         &lt;span class="o"&gt;'&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;clojure.test.check.properties&lt;/span&gt; &lt;span class="ss"&gt;:as&lt;/span&gt; &lt;span class="nv"&gt;tcp&lt;/span&gt;&lt;span class="p"&gt;])&lt;/span&gt;
&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;tcg/bind&lt;/span&gt; &lt;span class="c1"&gt;; Take a number from `nat`, a generator of small positive&lt;/span&gt;
          &lt;span class="c1"&gt;; integers.&lt;/span&gt;
          &lt;span class="nv"&gt;tcg/nat&lt;/span&gt;
          &lt;span class="c1"&gt;; Now with that number, construct a generator of vectors, each&lt;/span&gt;
          &lt;span class="c1"&gt;; with that many elements.&lt;/span&gt;
          &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;fn &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;size&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
            &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;tcg/vector&lt;/span&gt; &lt;span class="nv"&gt;tcg/large-integer&lt;/span&gt; &lt;span class="nv"&gt;size&lt;/span&gt;&lt;span class="p"&gt;)))&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;We can also write this using test.check’s &lt;code&gt;let&lt;/code&gt; macro, which expands to a series of nested &lt;code&gt;bind&lt;/code&gt;s under the hood.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;tcg/let&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;size&lt;/span&gt; &lt;span class="nv"&gt;tcg/nat&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
  &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;tcg/vector&lt;/span&gt; &lt;span class="nv"&gt;tcg/large-integer&lt;/span&gt; &lt;span class="nv"&gt;size&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;This leads to the &lt;a href="https://github.com/clojure/test.check/blob/master/doc/growth-and-shrinking.md#gotchas-1"&gt;canonical example&lt;/a&gt; of poor shrinking in test.check. Let’s try to find a vector containing &lt;code&gt;42&lt;/code&gt;:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;-&amp;gt; &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;tc/quick-check&lt;/span&gt; &lt;span class="mi"&gt;1000&lt;/span&gt;
      &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;tcp/for-all&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;xs&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;tcg/let&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;size&lt;/span&gt; &lt;span class="nv"&gt;tcg/nat&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
                         &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;tcg/vector&lt;/span&gt; &lt;span class="nv"&gt;tcg/large-integer&lt;/span&gt; &lt;span class="nv"&gt;size&lt;/span&gt;&lt;span class="p"&gt;))]&lt;/span&gt;
                   &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;not-any? &lt;/span&gt;&lt;span class="o"&gt;#&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="mi"&gt;42&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="nv"&gt;xs&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
      &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="ss"&gt;:seed&lt;/span&gt; &lt;span class="mi"&gt;1777986545686&lt;/span&gt;&lt;span class="p"&gt;})&lt;/span&gt;
  &lt;span class="ss"&gt;:shrunk&lt;/span&gt; &lt;span class="ss"&gt;:smallest&lt;/span&gt; &lt;span class="nv"&gt;first&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;42&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;That &lt;em&gt;does&lt;/em&gt; contain 42, but this vector is &lt;em&gt;enormous&lt;/em&gt;. Why are there all these zeroes? Once test.check found this vector, surely it could have shrunk it to just &lt;code&gt;[42]&lt;/code&gt;, right?&lt;/p&gt;
&lt;p&gt;The answer has to do with shrink trees. Test.check generators don’t actually return values like &lt;code&gt;64&lt;/code&gt;. Instead they return a lazily evaluated tree of values: the root might be &lt;code&gt;64&lt;/code&gt;, and its children might be &lt;code&gt;[32 48 ... 63]&lt;/code&gt;, and each of &lt;em&gt;those&lt;/em&gt; children has further children: &lt;code&gt;32&lt;/code&gt; has children &lt;code&gt;[16, 24, ... 31]&lt;/code&gt;, and so on. Simplifying a bit, here’s how the tree for large integers &lt;a href="https://github.com/clojure/test.check/blob/5ba3a25b60cf66ff531db8f44d89145abfacfa5c/src/main/clojure/clojure/test/check/generators.cljc#L228-L237"&gt;is defined&lt;/a&gt;:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kd"&gt;defn- &lt;/span&gt;&lt;span class="nv"&gt;shrink-long&lt;/span&gt;
  &lt;span class="s"&gt;&amp;quot;Given a number x, returns a coll of (x-x, x-x/2, x-x/4, x-x/8, ..., x-1)&amp;quot;&lt;/span&gt;
  &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="o"&gt;^&lt;/span&gt;&lt;span class="nb"&gt;long &lt;/span&gt;&lt;span class="nv"&gt;x&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
  &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;core/let&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;size&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;- &lt;/span&gt;&lt;span class="mi"&gt;64&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;Long/numberOfLeadingZeros&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;Math/abs&lt;/span&gt; &lt;span class="nv"&gt;x&lt;/span&gt;&lt;span class="p"&gt;)))&lt;/span&gt;
             &lt;span class="o"&gt;^&lt;/span&gt;&lt;span class="nv"&gt;longs&lt;/span&gt; &lt;span class="nb"&gt;vals &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;long-array&lt;/span&gt; &lt;span class="nv"&gt;size&lt;/span&gt;&lt;span class="p"&gt;)]&lt;/span&gt;
    &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;loop &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;i&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="nv"&gt;n&lt;/span&gt; &lt;span class="nv"&gt;x&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
      &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;zero? &lt;/span&gt;&lt;span class="nv"&gt;n&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="nv"&gt;vals&lt;/span&gt;
        &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;do&lt;/span&gt;
          &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;aset vals &lt;/span&gt;&lt;span class="nv"&gt;i&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;- &lt;/span&gt;&lt;span class="nv"&gt;x&lt;/span&gt; &lt;span class="nv"&gt;n&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
          &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;recur&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;inc &lt;/span&gt;&lt;span class="nv"&gt;i&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;quot &lt;/span&gt;&lt;span class="nv"&gt;n&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;))))))))&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;So, if test.check finds that &lt;code&gt;64&lt;/code&gt; violates some property we’re testing, it tries the first child of &lt;code&gt;64&lt;/code&gt;, &lt;code&gt;32&lt;/code&gt;. Let’s say that passes the test, so test.check tries the next child of &lt;code&gt;64&lt;/code&gt;: &lt;code&gt;48&lt;/code&gt;. If &lt;code&gt;48&lt;/code&gt; fails, test.check tries its first child &lt;code&gt;24&lt;/code&gt;, and so on. By performing this depth-first search of the tree, and choosing the branches cleverly, test.check can often quickly shrink an integer to a smaller one that still fails the test.&lt;/p&gt;
&lt;p&gt;A similar strategy applies to fixed-size vectors. The tree for a vector like &lt;code&gt;[2 2]&lt;/code&gt; has children like &lt;code&gt;[1 2]&lt;/code&gt; and &lt;code&gt;[2 1]&lt;/code&gt;, based on the trees for each individual element of the vector. This explains why test.check produced a vector like &lt;code&gt;[0 0 0 ... 42 0]&lt;/code&gt;: it found something like &lt;code&gt;[91 23 1034543 ... 42 15]&lt;/code&gt;, then shrank the first element to zero, then the second, and so on. The only element it couldn’t shrink was the one that caused our property to fail: &lt;code&gt;42&lt;/code&gt;. Because our generator &lt;code&gt;(tcg/vector tcg/large-integer size)&lt;/code&gt; always used a fixed &lt;code&gt;size&lt;/code&gt;, the tree for that vector always contained &lt;code&gt;size&lt;/code&gt; elements—in this case, 39.&lt;/p&gt;
&lt;p&gt;Hang on! We didn’t just generate fixed-size vectors. We used &lt;code&gt;bind&lt;/code&gt; to draw a size, then built a vector of that size:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;tcg/bind&lt;/span&gt; &lt;span class="nv"&gt;tcg/nat&lt;/span&gt;
          &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;fn &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;size&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
            &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;tcg/vector&lt;/span&gt; &lt;span class="nv"&gt;tcg/large-integer&lt;/span&gt; &lt;span class="nv"&gt;size&lt;/span&gt;&lt;span class="p"&gt;)))&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;What kind of trees does &lt;code&gt;bind&lt;/code&gt; produce? The &lt;a href="https://github.com/clojure/test.check/blob/5ba3a25b60cf66ff531db8f44d89145abfacfa5c/src/main/clojure/clojure/test/check/generators.cljc#L125-L142"&gt;code&lt;/a&gt; involves some gnarly higher-order functions, but in essence &lt;code&gt;bind&lt;/code&gt;’s trees can shrink in two ways. They can shrink the outer value (the &lt;code&gt;size&lt;/code&gt; returned by &lt;code&gt;tcg/nat&lt;/code&gt;), or they can shrink the inner value (the vector returned by &lt;code&gt;(tcg/vector ...)&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Now imagine &lt;code&gt;bind&lt;/code&gt; draws a size of &lt;code&gt;100&lt;/code&gt;, then generates a vector of a hundred elements like &lt;code&gt;[15 32 42 ...]&lt;/code&gt;. This contains &lt;code&gt;42&lt;/code&gt;, so test.check begins hunting through the shrink tree. One of the branches it can take shrinks the &lt;code&gt;size&lt;/code&gt; parameter, starting with &lt;code&gt;[50, 75, ... 99]&lt;/code&gt;. But if &lt;code&gt;bind&lt;/code&gt; picks any of those sizes, the vector &lt;code&gt;[15 32 42 ...]&lt;/code&gt; is useless—it’s the wrong size! So &lt;code&gt;bind&lt;/code&gt; calls our function with &lt;code&gt;50&lt;/code&gt; to construct a generator of 50-element vectors, and generates a single vector from that generator. This vector will have &lt;em&gt;different&lt;/em&gt; random elements, like &lt;code&gt;[69, 45, 1, ...]&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;If there’s no &lt;code&gt;42&lt;/code&gt; in the vector of 50 elements, then test.check abandons that branch and moves on to size &lt;code&gt;75&lt;/code&gt;. It draws a new vector of 75 elements like &lt;code&gt;[8 7 42 ...]&lt;/code&gt;, and since that contains &lt;code&gt;42&lt;/code&gt;, it can continue shrinking. But since &lt;code&gt;42&lt;/code&gt; is an uncommon integer, and test.check draws new elements for each &lt;code&gt;size&lt;/code&gt;, it is very likely that most sizes will not produce a vector with &lt;code&gt;42&lt;/code&gt;, and test.check will get stuck with, say, 39 elements. From there it can shrink each element, producing the comically oversized…&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;42&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;For this vector it’s fairly obvious what’s wrong. But for &lt;a href="https://github.com/jepsen-io/particledb/blob/4e911c2d6ebf5ed97becba08c12d754cbbd4da53/src/jepsen/particledb/gen/tc.clj"&gt;nontrivial test.check generators&lt;/a&gt;, there might be a dozen nested levels of &lt;code&gt;bind&lt;/code&gt; with complex downstream consequences. Every one of them offers a place for test.check to get stuck, and the smallest failing case can be devilishly tricky to understand. Experienced test.check users try to avoid &lt;code&gt;bind&lt;/code&gt; and &lt;code&gt;let&lt;/code&gt;—but they’re fundamentally inescapable for many problems.&lt;/p&gt;
&lt;p&gt;Over in the Python world, the &lt;a href="https://hypothesis.works/"&gt;Hypothesis&lt;/a&gt; team took a very different approach to shrinking. Test.check is fundamentally a two-phase system: first it asks a generator to produce a shrink tree. Then, if the root of that tree looks “bad”, it explores the rest of that tree. Instead, Hypothesis generators produce a single value, and if that value looks bad, they re-run the generator and &lt;a href="https://drmaciver.github.io/papers/reduction-via-generation-preview.pdf"&gt;ask it to produce something similar, but smaller&lt;/a&gt;. This approach, called &lt;em&gt;internal test-case-reduction&lt;/em&gt;, is the foundation of &lt;a href="https://hegel.dev/"&gt;Hegel&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;&lt;a href="#hegel-clj" id="hegel-clj"&gt;Hegel-clj&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Hegel is a new cross-platform library for generative testing. It provides deterministic generators which draw random values from an imperative, structured RNG, as well as a rich family of special values and shrinking tactics. Writing these generators and shrinkers is hard. The idea is that Hegel’s core library will do this hard work once, and simpler wrapper libraries will extend the benefits of that hard work across many languages.&lt;/p&gt;
&lt;p&gt;I’ve been working for a few months on &lt;a href="https://github.com/aphyr/hegel-clj"&gt;hegel-clj&lt;/a&gt;, which offers Clojure bindings for Hegel, and I think it’s ready for the folks to try it out. To test something, you call &lt;code&gt;hegel-clj/test!&lt;/code&gt;, draw some values from generators, and throw an exception if the test fails. Hegel searches for values that make that body throw, then shrinks them.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;require&lt;/span&gt; &lt;span class="o"&gt;'&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;hegel-clj&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;core&lt;/span&gt; &lt;span class="ss"&gt;:as&lt;/span&gt; &lt;span class="nv"&gt;h&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;generator&lt;/span&gt; &lt;span class="ss"&gt;:as&lt;/span&gt; &lt;span class="nv"&gt;g&lt;/span&gt;&lt;span class="p"&gt;]])&lt;/span&gt;
&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;h/test!&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="ss"&gt;:seed&lt;/span&gt; &lt;span class="mi"&gt;4&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;assert &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;even?&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;h/draw!&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;g/integer&lt;/span&gt;&lt;span class="p"&gt;)))))&lt;/span&gt;

&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="ss"&gt;:passed?&lt;/span&gt; &lt;span class="nv"&gt;false&lt;/span&gt;
 &lt;span class="ss"&gt;:status&lt;/span&gt; &lt;span class="ss"&gt;:failed&lt;/span&gt;
 &lt;span class="ss"&gt;:statistics&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="ss"&gt;:total&lt;/span&gt; &lt;span class="mi"&gt;34&lt;/span&gt;
              &lt;span class="ss"&gt;:valid&lt;/span&gt; &lt;span class="mi"&gt;5&lt;/span&gt;
              &lt;span class="ss"&gt;:invalid&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;
              &lt;span class="ss"&gt;:overrun&lt;/span&gt; &lt;span class="mi"&gt;18&lt;/span&gt;
              &lt;span class="ss"&gt;:interesting&lt;/span&gt; &lt;span class="mi"&gt;11&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
 &lt;span class="ss"&gt;:health-check-failed?&lt;/span&gt; &lt;span class="nv"&gt;false&lt;/span&gt;
 &lt;span class="ss"&gt;:failures&lt;/span&gt; &lt;span class="p"&gt;({&lt;/span&gt;&lt;span class="ss"&gt;:draws&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;draw_1&amp;quot;&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
             &lt;span class="ss"&gt;:exception&lt;/span&gt;
             &lt;span class="o"&gt;#&lt;/span&gt;&lt;span class="nv"&gt;error&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="ss"&gt;:cause&lt;/span&gt; &lt;span class="s"&gt;&amp;quot;Assert failed: (even? (h/draw! (g/integer)))&amp;quot;&lt;/span&gt;
                     &lt;span class="nv"&gt;...&lt;/span&gt;&lt;span class="p"&gt;}})&lt;/span&gt;
 &lt;span class="ss"&gt;:reproduce-blob&lt;/span&gt; &lt;span class="s"&gt;&amp;quot;AAEAAAAACgEAAAAB&amp;quot;&lt;/span&gt;, &lt;span class="ss"&gt;:caveat&lt;/span&gt; &lt;span class="nv"&gt;nil&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The smallest case Hegel found involved a single draw of the number &lt;code&gt;1&lt;/code&gt;, which caused the assertion &lt;code&gt;(even? 1)&lt;/code&gt; to throw.&lt;/p&gt;
&lt;p&gt;Generators are pure, composable structures, just like in test.check. Here’s a few values drawn from a generator of booleans:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;h/sample&lt;/span&gt; &lt;span class="mi"&gt;5&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;g/boolean&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;

&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;false&lt;/span&gt; &lt;span class="nv"&gt;false&lt;/span&gt; &lt;span class="nv"&gt;true&lt;/span&gt; &lt;span class="nv"&gt;true&lt;/span&gt; &lt;span class="nv"&gt;false&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Or a map representing a person, with a name generated by a regular expression and an integer age:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;h/sample&lt;/span&gt; &lt;span class="mi"&gt;5&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;g/hmap&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="ss"&gt;:name&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;g/regex-str&lt;/span&gt; &lt;span class="o"&gt;#&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;[A-Z][a-z]+&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
                     &lt;span class="ss"&gt;:age&lt;/span&gt;  &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;g/integer&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;101&lt;/span&gt;&lt;span class="p"&gt;)}))&lt;/span&gt;

&lt;span class="p"&gt;[{&lt;/span&gt;&lt;span class="ss"&gt;:name&lt;/span&gt; &lt;span class="s"&gt;&amp;quot;Aa&amp;quot;&lt;/span&gt;, &lt;span class="ss"&gt;:age&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
 &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="ss"&gt;:name&lt;/span&gt; &lt;span class="s"&gt;&amp;quot;Iyjdklppzxhqdnwmd&amp;quot;&lt;/span&gt;, &lt;span class="ss"&gt;:age&lt;/span&gt; &lt;span class="mi"&gt;89&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
 &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="ss"&gt;:name&lt;/span&gt; &lt;span class="s"&gt;&amp;quot;Kslvqorm&amp;quot;&lt;/span&gt;, &lt;span class="ss"&gt;:age&lt;/span&gt; &lt;span class="mi"&gt;64&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
 &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="ss"&gt;:name&lt;/span&gt; &lt;span class="s"&gt;&amp;quot;Fvyybe&amp;quot;&lt;/span&gt;, &lt;span class="ss"&gt;:age&lt;/span&gt; &lt;span class="mi"&gt;45&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
 &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="ss"&gt;:name&lt;/span&gt; &lt;span class="s"&gt;&amp;quot;Puwppxqag&amp;quot;&lt;/span&gt;, &lt;span class="ss"&gt;:age&lt;/span&gt; &lt;span class="mi"&gt;4&lt;/span&gt;&lt;span class="p"&gt;}]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The higher-order combinators are all there too. You can transform generated values with &lt;code&gt;fmap&lt;/code&gt;:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;h/sample&lt;/span&gt; &lt;span class="mi"&gt;5&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;g/fmap&lt;/span&gt; &lt;span class="nb"&gt;keyword &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;g/string&lt;/span&gt;&lt;span class="p"&gt;)))&lt;/span&gt;

&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="err"&gt;:&lt;/span&gt; &lt;span class="ss"&gt;:R&lt;/span&gt; &lt;span class="err"&gt;:👍🏻&lt;/span&gt; &lt;span class="ss"&gt;:True&lt;/span&gt; &lt;span class="err"&gt;:çç¦ç¦򜝉ÏÏ򜝉¦¦Ï¦¦ç򜝉Ϧç򜝉çÏ򜝉çç¦&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Or build one generator out of another using &lt;code&gt;bind&lt;/code&gt;:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;h/sample&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;g/bind&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;fn &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;size&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
                      &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;g/tuple&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;g/vector&lt;/span&gt; &lt;span class="nv"&gt;size&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;g/integer&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
                               &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;g/vector&lt;/span&gt; &lt;span class="nv"&gt;size&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;g/boolean&lt;/span&gt;&lt;span class="p"&gt;))))&lt;/span&gt;
                    &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;g/integer&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;)))&lt;/span&gt;

&lt;span class="p"&gt;[[[]&lt;/span&gt; &lt;span class="p"&gt;[]]&lt;/span&gt;
 &lt;span class="p"&gt;[[&lt;/span&gt;&lt;span class="mi"&gt;144229&lt;/span&gt; &lt;span class="mi"&gt;531621&lt;/span&gt; &lt;span class="mi"&gt;-364&lt;/span&gt; &lt;span class="mi"&gt;-1569883&lt;/span&gt; &lt;span class="mi"&gt;8194954&lt;/span&gt; &lt;span class="mi"&gt;-913&lt;/span&gt; &lt;span class="mi"&gt;16&lt;/span&gt; &lt;span class="mi"&gt;-745&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
 &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;false&lt;/span&gt; &lt;span class="nv"&gt;true&lt;/span&gt; &lt;span class="nv"&gt;false&lt;/span&gt; &lt;span class="nv"&gt;true&lt;/span&gt;&lt;span class="p"&gt;]]]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Like test.check, we offer a &lt;code&gt;let&lt;/code&gt; macro which lets you bind both regular values or generators to variables; if the right-hand side is a generator, it draws a random value from it. And unlike test.check, these generators shrink well. Instead of thirty-nine elements, Hegel can find the much-shorter “bad” vector, &lt;code&gt;[42]&lt;/code&gt;.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;-&amp;gt; &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;h/test!&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="ss"&gt;:test-cases&lt;/span&gt; &lt;span class="mi"&gt;1000&lt;/span&gt;
              &lt;span class="ss"&gt;:seed&lt;/span&gt;       &lt;span class="mi"&gt;1777986545686&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
      &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;h/let&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;size&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;g/integer&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="ss"&gt;:min&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;, &lt;span class="ss"&gt;:max&lt;/span&gt; &lt;span class="mi"&gt;128&lt;/span&gt;&lt;span class="p"&gt;})&lt;/span&gt;
              &lt;span class="nv"&gt;xs&lt;/span&gt;   &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;g/vector&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="ss"&gt;:size&lt;/span&gt; &lt;span class="nv"&gt;size&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;g/integer&lt;/span&gt;&lt;span class="p"&gt;))]&lt;/span&gt;
        &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;assert &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;not-any? &lt;/span&gt;&lt;span class="o"&gt;#&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="mi"&gt;42&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="nv"&gt;xs&lt;/span&gt;&lt;span class="p"&gt;))))&lt;/span&gt;
    &lt;span class="ss"&gt;:failures&lt;/span&gt; &lt;span class="nb"&gt;first &lt;/span&gt;&lt;span class="ss"&gt;:draws&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;get &lt;/span&gt;&lt;span class="s"&gt;&amp;quot;xs&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;

&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;42&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;With &lt;code&gt;test.check&lt;/code&gt;, if you want to thread multiple values through &lt;code&gt;bind&lt;/code&gt; or &lt;code&gt;fmap&lt;/code&gt;, you have to build and destructure maps or tuples. Hegel-clj lets you lift arbitrary code into a generator using &lt;code&gt;composite&lt;/code&gt;, which makes it easier to build complex generators:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;h/sample&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;
  &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;g/composite&lt;/span&gt;
    &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;h/let&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nb"&gt;name &lt;/span&gt;     &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;g/string&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
            &lt;span class="nv"&gt;cat-count&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;g/integer&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
            &lt;span class="nv"&gt;cats&lt;/span&gt;      &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;g/vector&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="ss"&gt;:size&lt;/span&gt; &lt;span class="nv"&gt;cat-count&lt;/span&gt;, &lt;span class="ss"&gt;:unique?&lt;/span&gt; &lt;span class="nv"&gt;true&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;g/string&lt;/span&gt;&lt;span class="p"&gt;))]&lt;/span&gt;
      &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="ss"&gt;:name&lt;/span&gt; &lt;span class="nb"&gt;name &lt;/span&gt;    
       &lt;span class="ss"&gt;:cats&lt;/span&gt; &lt;span class="nv"&gt;cats&lt;/span&gt;&lt;span class="p"&gt;})))&lt;/span&gt;

&lt;span class="p"&gt;[{&lt;/span&gt;&lt;span class="ss"&gt;:name&lt;/span&gt; &lt;span class="s"&gt;&amp;quot;&amp;quot;&lt;/span&gt;,
  &lt;span class="ss"&gt;:cats&lt;/span&gt; &lt;span class="p"&gt;[]}&lt;/span&gt;
 &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="ss"&gt;:name&lt;/span&gt; &lt;span class="s"&gt;&amp;quot;𝐓𝐡𝐞 𝐪𝐮𝐢𝐜𝐤 𝐛𝐫𝐨𝐰𝐧 𝐟𝐨𝐱 𝐣𝐮𝐦𝐩𝐬 𝐨𝐯𝐞𝐫 𝐭𝐡𝐞 𝐥𝐚𝐳𝐲 𝐝𝐨𝐠&amp;quot;&lt;/span&gt;,
  &lt;span class="ss"&gt;:cats&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;🇺🇸&amp;quot;&lt;/span&gt; &lt;span class="s"&gt;&amp;quot;👍🏻&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;]}]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;You can build recursive generators with a promise-style API. The &lt;code&gt;deferred&lt;/code&gt; generator provides a blank space for a generator, which can be filled in later:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;let &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;leaf&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;g/integer&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;9&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
      &lt;span class="nv"&gt;tree&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;g/deferred&lt;/span&gt;&lt;span class="p"&gt;)]&lt;/span&gt;
  &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;g/set-deferred!&lt;/span&gt; &lt;span class="nv"&gt;tree&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;g/one-of&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;leaf&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;g/vector&lt;/span&gt; &lt;span class="nv"&gt;tree&lt;/span&gt;&lt;span class="p"&gt;)]))&lt;/span&gt;
  &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;mapv&lt;/span&gt; &lt;span class="nb"&gt;prn &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;h/sample&lt;/span&gt; &lt;span class="mi"&gt;5&lt;/span&gt; &lt;span class="nv"&gt;tree&lt;/span&gt;&lt;span class="p"&gt;)))&lt;/span&gt;

&lt;span class="mi"&gt;0&lt;/span&gt;
&lt;span class="p"&gt;[[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="mi"&gt;8&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt; &lt;span class="p"&gt;[]]&lt;/span&gt; &lt;span class="mi"&gt;5&lt;/span&gt; &lt;span class="p"&gt;[]&lt;/span&gt; &lt;span class="p"&gt;[[&lt;/span&gt;&lt;span class="mi"&gt;4&lt;/span&gt; &lt;span class="mi"&gt;6&lt;/span&gt; &lt;span class="p"&gt;[]]]]&lt;/span&gt;
&lt;span class="p"&gt;[[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="mi"&gt;3&lt;/span&gt;
&lt;span class="mi"&gt;0&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;And best of all, &lt;code&gt;hegel-clj&lt;/code&gt; ships with easy-to-use integration for clojure.test, making generative tests as easy as example-based ones:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;require&lt;/span&gt; &lt;span class="o"&gt;'&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;clojure.test&lt;/span&gt; &lt;span class="ss"&gt;:refer&lt;/span&gt; &lt;span class="ss"&gt;:all&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;'&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;hegel-clj.clojure-test&lt;/span&gt; &lt;span class="ss"&gt;:refer&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;with&lt;/span&gt;&lt;span class="p"&gt;]])&lt;/span&gt;

&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kd"&gt;defn &lt;/span&gt;&lt;span class="nv"&gt;bad-add&lt;/span&gt;
  &lt;span class="s"&gt;&amp;quot;Adds two integers via floating-point&amp;quot;&lt;/span&gt;
  &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;x&lt;/span&gt; &lt;span class="nv"&gt;y&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
  &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;long &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;+ &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;float &lt;/span&gt;&lt;span class="nv"&gt;x&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;float &lt;/span&gt;&lt;span class="nv"&gt;y&lt;/span&gt;&lt;span class="p"&gt;))))&lt;/span&gt;

&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;deftest&lt;/span&gt; &lt;span class="nv"&gt;bad-add-test&lt;/span&gt;
  &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;with&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="ss"&gt;:test-cases&lt;/span&gt; &lt;span class="mi"&gt;100&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
        &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;x&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;g/integer&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
         &lt;span class="nv"&gt;y&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;g/integer&lt;/span&gt;&lt;span class="p"&gt;)]&lt;/span&gt;
    &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;h/fprn&lt;/span&gt; &lt;span class="ss"&gt;:x&lt;/span&gt; &lt;span class="nv"&gt;x&lt;/span&gt;, &lt;span class="ss"&gt;:y&lt;/span&gt; &lt;span class="nv"&gt;y&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;is&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;= &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;+ &lt;/span&gt;&lt;span class="nv"&gt;x&lt;/span&gt; &lt;span class="nv"&gt;y&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;bad-add&lt;/span&gt; &lt;span class="nv"&gt;x&lt;/span&gt; &lt;span class="nv"&gt;y&lt;/span&gt;&lt;span class="p"&gt;)))))&lt;/span&gt;
    
&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;bad-add-test&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="ss"&gt;:x&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="ss"&gt;:y&lt;/span&gt; &lt;span class="mi"&gt;16777217&lt;/span&gt;

&lt;span class="nv"&gt;FAIL&lt;/span&gt; &lt;span class="nv"&gt;in&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;bad-add-test&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;form-init7301103820420620476.clj&lt;/span&gt;&lt;span class="ss"&gt;:6&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="nv"&gt;expected&lt;/span&gt;&lt;span class="err"&gt;:&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;= &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;+ &lt;/span&gt;&lt;span class="nv"&gt;x&lt;/span&gt; &lt;span class="nv"&gt;y&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;bad-add&lt;/span&gt; &lt;span class="nv"&gt;x&lt;/span&gt; &lt;span class="nv"&gt;y&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
  &lt;span class="nv"&gt;actual&lt;/span&gt;&lt;span class="err"&gt;:&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;not &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;= &lt;/span&gt;&lt;span class="mi"&gt;16777217&lt;/span&gt; &lt;span class="mi"&gt;16777216&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;It’s hard to log debugging output with test.check—you’ll have to sift through thousands of test runs with complex inputs, and many of those runs won’t actually trigger the bug you’re searching for. Hegel has the notion of a “final” test case: after it’s found a counterexample, and shrunk it to a smaller version, it comes back and re-runs that case as a part of the final phase. We can use &lt;code&gt;(when (h/final?) ...)&lt;/code&gt; to execute some debugging code only during these final cases, or &lt;code&gt;fprn&lt;/code&gt; and &lt;code&gt;finfo&lt;/code&gt;, which wrap &lt;code&gt;clojure.core/prn&lt;/code&gt; and &lt;code&gt;clojure.tools.logging/info&lt;/code&gt; respectively. I think there’s a &lt;a href="https://github.com/hegeldev/hegel-java/issues/32"&gt;bug in Hegel&lt;/a&gt; that causes it to run more final cases than it should, but it’s still a big step up.&lt;/p&gt;
&lt;p&gt;Finally, test.check has been around for a while, and like many Clojure projects it has an exceptionally stable API. That’s great for compatibility, but it means some early choices are now fossilized. It’s &lt;code&gt;(fmap gen f)&lt;/code&gt;, but &lt;code&gt;(bind f gen)&lt;/code&gt;. If you want an integer you have to remember the difference between &lt;code&gt;nat&lt;/code&gt;, &lt;code&gt;int&lt;/code&gt;, &lt;code&gt;pos-int&lt;/code&gt;, &lt;code&gt;s-pos-int&lt;/code&gt;, &lt;code&gt;small-integer&lt;/code&gt;, &lt;code&gt;large-integer&lt;/code&gt;, &lt;code&gt;large-integer*&lt;/code&gt;, etc. Common generators require keyword arguments, like &lt;code&gt;(large-integer* {:min 0, :max 10})&lt;/code&gt;. Some generators like &lt;code&gt;hash-map&lt;/code&gt; are only callable with varargs, which makes composition tricky. The &lt;a href="https://clojure.github.io/test.check/clojure.test.check.properties.html"&gt;properties API&lt;/a&gt; feels a tad fussy. And many of the ergonomic features you want, like generating strings from a regular expression, or integration with clojure.test, require an extra library like &lt;a href="https://github.com/gfredericks/test.chuck"&gt;test.chuck&lt;/a&gt;. Test.check is &lt;em&gt;really good&lt;/em&gt;, but with the benefit of hindsight and a fresh canvas, I’ve tried to design a more streamlined, consistent, and approachable API.&lt;/p&gt;
&lt;p&gt;I’ve used test.check for over a decade now and it’s one of my favorite things about Clojure. I want to thank Reid Draper, Gary Fredericks, Alex Miller, and everyone else who’s contributed to the library. I’m also indebted to David MacIver, Liam DeVoe, and Esau Rodriguez from the Hegel team at &lt;a href="https://antithesis.com/"&gt;Antithesis&lt;/a&gt;. They took time to talk me through Hegel’s design, answered endless questions about the protocol, and helped fix a whole slew of issues that we found. Y’all rock.&lt;/p&gt;
&lt;p&gt;I’m pleased to announce &lt;a href="https://github.com/aphyr/hegel-clj"&gt;hegel-clj 0.1.1&lt;/a&gt;, and I’m starting to use it to test my own projects. I hope it will be useful for you too. ❤️&lt;/p&gt;</content>
    </entry>
    <entry>
        <id>https://aphyr.com/posts/427-rip-harvest</id>
        <title>RIP, Harvest</title>
        <published>2026-11-08T14:35:42-05:00</published>
        <updated>2026-11-08T14:35:42-05:00</updated>
        <link rel="alternate" href="https://aphyr.com/posts/427-rip-harvest"></link>
        <author>
            <name>Aphyr</name>
            <uri>https://aphyr.com/</uri>
        </author>
        <content type="html">&lt;p&gt;I’ve been a self-employed contractor for about a decade now, and I’m bummed about &lt;a href="https://www.getharvest.com/"&gt;Harvest&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Harvest was a time-tracking and invoicing service. You’d track how many hours or weeks you spent on a project, put together an invoice, email it to the client, and close it out when they paid. There was a little Stripe integration for accepting credit and ACH payments on the invoice web view. A historical chart of total billed/paid amounts over time, and a table of invoices. Harvest was exactly what you want from small-business software: it solved a well-defined problem with a reliable, simple interface, and did so at a reasonable monthly price. They managed to avoid scope creep and never tried to become an accounting platform, or a blockchain for washing machines.&lt;sup id="fnref-1"&gt;&lt;a class="footnote-ref" href="#fn-1"&gt;1&lt;/a&gt;&lt;/sup&gt; I loved Harvest and raved about it to every self-employed person I met.&lt;/p&gt;
&lt;p&gt;Back in 2025 Harvest got bought out by &lt;a href="https://www.reddit.com/r/HarvestApp/comments/1q25xpy/purchase_by_bending_spoons/"&gt;Bending Spoons&lt;/a&gt;, the company that &lt;a href="https://news.ycombinator.com/item?id=46707699"&gt;gutted Vimeo&lt;/a&gt;. I was worried they might ruin it, but was busy with other things and didn’t have time to look for new invoicing software.&lt;/p&gt;
&lt;p&gt;Long story short, they raised my price from $13.32 to $133.98 per month by moving everyone to a new “enterprise” plan and “unlimited” usage billing model, which is, as far as I can tell, exactly what I had before. There’s also a “flex” plan which costs $12.65 per month… but that plan now skims an additional 2% on top of the usual ~3% card transaction fees. To be clear, that 3% pays for the whole credit card network, plus all the people working at Stripe and Mastercard, plus the financial risk of chargebacks and fraud, etc. Harvest isn’t doing any of that work. I don’t know about you, but I don’t think I need to spend 2% of my gross revenue to send a couple PDFs a month and wrap a Stripe web form.&lt;/p&gt;
&lt;p&gt;I wrote to Harvest about this, and discovered that they don’t read customer emails any more. Instead they have a Large Language Model repeatedly vomit thousands of words at you. I’m no stranger to enshittification, but man, I did not anticipate the speed at which Bending Spoons would drive a perfectly good company into the ground.&lt;/p&gt;
&lt;p&gt;Time to find a new invoicing service, I guess. Maybe bookkeeping too—Intuit’s Quickbooks Online seems to have completely jumped the shark. Any of y’all freelancers have a system you like?&lt;/p&gt;
&lt;div class="footnotes"&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id="fn-1"&gt;
&lt;p&gt;Yes, someone actually tried this.&lt;/p&gt;
&lt;a href="#fnref-1" class="footnote-backref"&gt;↩&lt;/a&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</content>
    </entry>
    <entry>
        <id>https://aphyr.com/posts/425-more-fake-mastodon-signups</id>
        <title>More Fake Mastodon Signups</title>
        <published>2026-06-12T09:19:34-05:00</published>
        <updated>2026-06-12T09:19:34-05:00</updated>
        <link rel="alternate" href="https://aphyr.com/posts/425-more-fake-mastodon-signups"></link>
        <author>
            <name>Aphyr</name>
            <uri>https://aphyr.com/</uri>
        </author>
        <content type="html">&lt;p&gt;On 2026-05-30, the Mastodon server I run started getting a flood of implausible signup requests. We think these are likely bots because our server rules and signup form clearly tell users to talk about their interest in gay leather. Most people sign up with something like “42 yo levis enthusiast into piss” or “Hi! I’m Snoofles the pup! I love bones and being a good girl for Madam!”. Instead &lt;a href="https://gist.github.com/aphyr/bfbc68c428663da18aa10e07e0f94f8c/edit"&gt;the applications&lt;/a&gt; are either friendly, generic text…&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;I value online communities that are moderated with care and that encourage
constructive interaction. I plan to use my account to share interesting stuff,
connect with others who share similar interests, and contribute to discussions
following the server’s rules and culture.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Or vaguely machine-flavored weirdness:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Pick the Antarctic path and commit. Custodian inspired by Brendan Fraser,
active with Axe Throwing in Indianapolis.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Or text taken directly from existing Fediverse bios, like &lt;a href="https://mastodon.online/@kardinal691"&gt;this one&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Ukraineophile, Save Western Culture and Civilization from russian kleptocracy
Trying to make Putin’s bum as irritable as possible.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Often there’s nonsensical usernames (e.g. “ypy_asi”) or email addresses that don’t line up, or we get similar language from multiple email domains. I suspect there’s a few actors here, because the tactics don’t line up exactly, but it’s weird that they all started in the last few weeks.&lt;/p&gt;
&lt;p&gt;A few of the email domains involved:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;forge45k.io.vn&lt;/li&gt;
&lt;li&gt;shortweb.live&lt;/li&gt;
&lt;li&gt;vtx.pbhak.dev&lt;/li&gt;
&lt;li&gt;funnyfail.app&lt;/li&gt;
&lt;li&gt;cyberlinkhub.com&lt;/li&gt;
&lt;li&gt;ptncereio.com&lt;/li&gt;
&lt;li&gt;sugarloafstudios.net&lt;/li&gt;
&lt;li&gt;a6nc1sl.jejes.de&lt;/li&gt;
&lt;li&gt;tiksofi.uk&lt;/li&gt;
&lt;li&gt;nowtopzen.com&lt;/li&gt;
&lt;li&gt;nanopools.info&lt;/li&gt;
&lt;li&gt;tmail.lt&lt;/li&gt;
&lt;li&gt;tmail.mx&lt;/li&gt;
&lt;li&gt;phugruphy.com&lt;/li&gt;
&lt;li&gt;sphinx.launders.money&lt;/li&gt;
&lt;li&gt;datamzone.com&lt;/li&gt;
&lt;li&gt;deisgn-ai.work.gd&lt;/li&gt;
&lt;li&gt;haibabon.com&lt;/li&gt;
&lt;li&gt;ai46boh.jejes.de&lt;/li&gt;
&lt;li&gt;initwag.com&lt;/li&gt;
&lt;li&gt;mailba.uk&lt;/li&gt;
&lt;li&gt;compservmail.com&lt;/li&gt;
&lt;li&gt;ff.zero34.qd.je&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Many look to be transient domains that no longer resolve. Two (tmail.mx and tmail.lt) belong to a service which provides temporary email addresses to bypass email verification. For pbhak.dev, I think it might be someone’s personal machine which… maybe got compromised? Others, like jejes.de, look like abandoned wordpress installs; I assume they’re compromised too.&lt;/p&gt;
&lt;p&gt;I’m seeing a fair number of European IPs for browsers–looks like VPNs and cloud providers.&lt;/p&gt;
&lt;p&gt;Last year most of our spammers were from &lt;a href="https://aphyr.com/posts/389-the-future-of-forums-is-lies-i-guess"&gt;a single company&lt;/a&gt;. I’ve approved one of these inauthentic accounts, and am going to keep an eye on it to see what happens.&lt;/p&gt;</content>
    </entry>
    <entry>
        <id>https://aphyr.com/posts/424-getting-paid-by-flat-rate-movers</id>
        <title>Getting Paid by Flat Rate Movers</title>
        <published>2026-06-07T15:25:02-05:00</published>
        <updated>2026-06-07T15:25:02-05:00</updated>
        <link rel="alternate" href="https://aphyr.com/posts/424-getting-paid-by-flat-rate-movers"></link>
        <author>
            <name>Aphyr</name>
            <uri>https://aphyr.com/</uri>
        </author>
        <content type="html">&lt;p&gt;Back in 2023, I hired &lt;a href="https://www.flatrate.com/"&gt;Flat Rate Movers&lt;/a&gt; (A.K.A. Flat Rate Moving) for an interstate move. They subcontracted to a third party who showed up under-staffed, under-equipped, and very confused; the whole mess wound up causing a good deal of damage to my belongings and home. I filed a claim with Flat Rate and also requested they issue a partial refund. &lt;a href="https://aphyr.com/posts/381-when-flat-rate-movers-wont-answer-your-calls"&gt;They refused to talk to me or their insurance company&lt;/a&gt;, and after six months of calling, emailing, and writing, I got overwhelmed by other life struggles and gave up. I did manage to file a claim with their backing insurance company, but got nothing for the damage to the house, or failure to deliver goods and services.&lt;/p&gt;
&lt;p&gt;In October 2025 Flat Rate started sending me e-mails asking me to use Flat Rate for a move again. I called, explained the situation, and asked how they were planning to resolve it. They invited me to write to customer service, and the whole process resumed, with essentially the same result. I’d call every few days to ask how things were going, and various Flat Rate representatives would promise they’d get back to me tomorrow, or a check was in the mail, or that they’d talk to claims for me. Unsurprisingly, none of this worked.&lt;/p&gt;
&lt;p&gt;Long story short, after a bunch of claim forms, emails, letters, complaints to various regulators, requests for arbitration, and &lt;em&gt;one hundred and sixty-one phone calls&lt;/em&gt; with Flat Rate directly, I have succeeded. I started calling their main line at (212) 988-9292, picking a three-digit extension, and asking that person for help. I did this ten times each morning, and within two weeks had multiple people offering to help. I can’t say for sure which person got things over the line, because I called a &lt;em&gt;lot&lt;/em&gt; of them, but by April 2026, I had a check in the mail.&lt;/p&gt;
&lt;p&gt;If you wind up in the same boat, I recommend two things. First, keep a log of everything you do. Flat Rate may tell you things like “we did not receive supporting documentation within sixty days” or “you did not file the claim in time”; it is extremely helpful to be able to say things like “Please see my email from 2023-05-06 at 15:32 in which I submitted the requested documentation.” Second, set up a spreadsheet to keep track of which extensions you’ve called and when. &lt;a href="/data/posts/424/Flat Rate Extensions.ods"&gt;Here's mine&lt;/a&gt;—each row number is the three-digit extension.&lt;/p&gt;</content>
    </entry>
    <entry>
        <id>https://aphyr.com/posts/423-the-kyle-kingsbury-podcast-podcast-episode-2-dave-rossi</id>
        <title>The Kyle Kingsbury Podcast Podcast - Episode 2 - Dave Rossi</title>
        <published>2026-05-08T15:07:42-05:00</published>
        <updated>2026-05-08T15:07:42-05:00</updated>
        <link rel="alternate" href="https://aphyr.com/posts/423-the-kyle-kingsbury-podcast-podcast-episode-2-dave-rossi"></link>
        <author>
            <name>Aphyr</name>
            <uri>https://aphyr.com/</uri>
        </author>
        <content type="html">&lt;p&gt;This video is brought to you by &lt;a href="https://podpitch.com/"&gt;PodPitch&lt;/a&gt;, the AI-powered platform for PR experts. PodPitch is the first and only software that finds, writes, and sends pitches to podcast hosts from your actual email address. Whether or not you’re already pitching podcasts, PodPitch will make sure you get podcast bookings – guaranteed. And so long as PodPitch’s AI keeps confusing me with Kyle Kingsbury, MMA fighter and famous podcast host, some of those bookings… just might be with me.&lt;/p&gt;
&lt;p&gt;My name is Kyle Kingsbury, I am not as popular nor ruggedly handsome as Kyle Kingsbury, and I have never hosted a podcast in my life. Now I’m struggling to read books, write interesting questions, and generally making a fool of myself.&lt;/p&gt;
&lt;p&gt;Today’s guest is &lt;a href="https://daverossiglobal.com/"&gt;Dave Rossi&lt;/a&gt;, Silicon Valley entrepreneur and author of the book “Alphas Die Early”.&lt;/p&gt;
&lt;div style="position: relative; padding-bottom: 56.25%"&gt;
    &lt;div style="position: absolute; top: 0; left: 0; width: 100%; height: 100%"&gt;
&lt;iframe width="100%" height="100%" src="https://www.youtube.com/embed/sUYxwimuSaw?si=xDEeT6B7S7eSme77" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen=""&gt;&lt;/iframe&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;One of the PR firms figured out what’s happening and we’ve all had a good laugh about it, but they were contractually obligated to cancel my third guest’s interview, which I was very much looking forward to. Dr. Deborah Rozman of the HeartMath Institute, if you’re out there… I’d be delighted to interview you.&lt;/p&gt;</content>
    </entry>
    <entry>
        <id>https://aphyr.com/posts/422-the-kyle-kingsbury-podcast-podcast-episode-1-alex-dripchak</id>
        <title>The Kyle Kingsbury Podcast Podcast - Episode 1 - Alex Dripchak</title>
        <published>2026-05-07T18:17:13-05:00</published>
        <updated>2026-05-07T18:17:13-05:00</updated>
        <link rel="alternate" href="https://aphyr.com/posts/422-the-kyle-kingsbury-podcast-podcast-episode-1-alex-dripchak"></link>
        <author>
            <name>Aphyr</name>
            <uri>https://aphyr.com/</uri>
        </author>
        <content type="html">&lt;p&gt;For the last few weeks publicists have bombarded me with emails asking if I’d interview their clients on the Kyle Kingsbury podcast. While my name is Kyle Kingsbury, and I have been a guest on several podcasts, I’ve never hosted one myself. I called one of the PR firms to ask if they might have me confused with the MMA fighter of the same name, but the woman I reached was so friendly and eager to tell me about all the potential guests I might interview and, well… things just got out of hand. Now I’m doing background research, writing questions, learning Riverside, and struggling mightily to avoid swallowing my tongue.&lt;/p&gt;
&lt;p&gt;Joining me today and being an extraordinarily good sport about it is &lt;a href="https://www.alexdripchak.com/"&gt;Alex Dripchak&lt;/a&gt;, sales director, productivity expert, and author of the new book “Maximize”—full of time-management habits that I really should get around to trying one of these days.&lt;/p&gt;
&lt;div style="position: relative; padding-bottom: 56.25%"&gt;
  &lt;div style="position: absolute; top: 0; left: 0; width: 100%; height: 100%"&gt;
  &lt;iframe width="100%" height="100%" src="https://www.youtube.com/embed/TZJSEpNhZAw?si=Q42Q4zlR85k56oKs" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen=""&gt;&lt;/iframe&gt;
  &lt;/div&gt;
&lt;/div&gt;</content>
    </entry>
    <entry>
        <id>https://aphyr.com/posts/421-jstack-by-command-string</id>
        <title>JStack by Command String</title>
        <published>2026-05-04T10:30:26-05:00</published>
        <updated>2026-05-04T10:30:26-05:00</updated>
        <link rel="alternate" href="https://aphyr.com/posts/421-jstack-by-command-string"></link>
        <author>
            <name>Aphyr</name>
            <uri>https://aphyr.com/</uri>
        </author>
        <content type="html">&lt;p&gt;This has been bugging me for years: you often run a JVM by a shell script wrapper, then want to &lt;code&gt;jstack&lt;/code&gt; it to figure out what it’s doing, but can’t figure out what PID to ask for. Running &lt;code&gt;jps&lt;/code&gt; gives remarkably unhelpful output, especially for tools like Leiningen. I wrote a hacky little Ruby script to dig into the process tree of everything matching a given pattern, find any JVMs those processes spawned, and hit the highest numbered one (presumably the last one started) with &lt;code&gt;jstack&lt;/code&gt;. This is definitely wrong (PID rollover!) but it’s been surprisingly useful for debugging.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$ jstack+ lein test
jstack 1044647 (java -classpath /home/aphyr/hegel/test ...)

2026-05-04 10:23:07
Full thread dump OpenJDK 64-Bit Server VM (21.0.10+7-Ubuntu-124.04 mixed mode, emulated-client, sharing):

Threads class SMR info:
_java_thread_list=0x0000767f88002030, length=12, elements={
0x000076803801b140, 0x0000768038277460, 0x00007680382789e0, 0x000076803827a2a0,
0x000076803827b8f0, 0x000076803827cea0, 0x000076803827e6b0, 0x000076803828abe0,
0x0000768038296220, 0x000076803938d470, 0x0000768039392cd0, 0x0000767f88000fe0
}

&amp;quot;main&amp;quot; #1 [1044652] prio=5 os_prio=0 cpu=2403.65ms elapsed=2386.66s tid=0x000076803801b140 nid=1044652 waiting on condition  [0x000076803e7fa000]
   java.lang.Thread.State: WAITING (parking)
	at jdk.internal.misc.Unsafe.park(java.base@21.0.10/Native Method)
...
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Here’s the script:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="ch"&gt;#!/usr/bin/env ruby&lt;/span&gt;

&lt;span class="c1"&gt;# Runs `jstack` on the highest-numbered java process invoked by the command&lt;/span&gt;
&lt;span class="c1"&gt;# matching the given pattern. This is really helpful when you want to find out&lt;/span&gt;
&lt;span class="c1"&gt;# why `lein test` is stuck, because lein is a shell script, which launches&lt;/span&gt;
&lt;span class="c1"&gt;# java, which launches *a new* java process.&lt;/span&gt;

&lt;span class="c1"&gt;# Parses a list of newline-separated pids as integers&lt;/span&gt;
&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;parse&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;pid_string&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="n"&gt;pid_string&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;split&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sr"&gt;/\n/&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;map&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt;&lt;span class="nb"&gt;p&lt;/span&gt;&lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="nb"&gt;p&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;to_i&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="k"&gt;end&lt;/span&gt;

&lt;span class="c1"&gt;# Recursively expands pid into [pid, child1, child2, ...]&lt;/span&gt;
&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;expand&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;pid&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="n"&gt;children&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;parse&lt;/span&gt; &lt;span class="sb"&gt;`pgrep -P &lt;/span&gt;&lt;span class="si"&gt;#{&lt;/span&gt;&lt;span class="n"&gt;pid&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="sb"&gt;`&lt;/span&gt;
  &lt;span class="n"&gt;children&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;reduce&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="n"&gt;pid&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;do&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt;&lt;span class="n"&gt;all&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;child&lt;/span&gt;&lt;span class="o"&gt;|&lt;/span&gt;
    &lt;span class="n"&gt;all&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;concat&lt;/span&gt; &lt;span class="n"&gt;expand&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;child&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="k"&gt;end&lt;/span&gt;
&lt;span class="k"&gt;end&lt;/span&gt;

&lt;span class="n"&gt;roots&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;parse&lt;/span&gt; &lt;span class="sx"&gt;%x[pgrep -f '&lt;/span&gt;&lt;span class="si"&gt;#{&lt;/span&gt;&lt;span class="no"&gt;ARGV&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;join&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;' '&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="sx"&gt;']&lt;/span&gt;
&lt;span class="n"&gt;expanded&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;roots&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;flat_map&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt;&lt;span class="nb"&gt;p&lt;/span&gt;&lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="n"&gt;expand&lt;/span&gt; &lt;span class="nb"&gt;p&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="c1"&gt;# Just JVMs please&lt;/span&gt;
&lt;span class="n"&gt;jvms&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;parse&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sb"&gt;`jps`&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;to_set&lt;/span&gt;
&lt;span class="n"&gt;fav&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;expanded&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;filter&lt;/span&gt; &lt;span class="k"&gt;do&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt;&lt;span class="n"&gt;pid&lt;/span&gt;&lt;span class="o"&gt;|&lt;/span&gt;
  &lt;span class="n"&gt;jvms&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;include?&lt;/span&gt; &lt;span class="n"&gt;pid&lt;/span&gt;
&lt;span class="k"&gt;end&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;max&lt;/span&gt;

&lt;span class="k"&gt;unless&lt;/span&gt; &lt;span class="n"&gt;fav&lt;/span&gt;
  &lt;span class="nb"&gt;puts&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;No JVMs with that command line in their ancestry&amp;quot;&lt;/span&gt;
  &lt;span class="nb"&gt;exit&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;
&lt;span class="k"&gt;end&lt;/span&gt;

&lt;span class="c1"&gt;# Show the command line so we can be sure of what process it was&lt;/span&gt;
&lt;span class="n"&gt;cmd&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sb"&gt;`cat /proc/&lt;/span&gt;&lt;span class="si"&gt;#{&lt;/span&gt;&lt;span class="n"&gt;fav&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="sb"&gt;/cmdline | tr '&lt;/span&gt;&lt;span class="se"&gt;\\&lt;/span&gt;&lt;span class="sb"&gt;000' ' '`&lt;/span&gt;
&lt;span class="nb"&gt;puts&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;jstack &lt;/span&gt;&lt;span class="si"&gt;#{&lt;/span&gt;&lt;span class="n"&gt;fav&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="s2"&gt; (&lt;/span&gt;&lt;span class="si"&gt;#{&lt;/span&gt;&lt;span class="n"&gt;cmd&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="s2"&gt;)&amp;quot;&lt;/span&gt;
&lt;span class="nb"&gt;puts&lt;/span&gt;
&lt;span class="nb"&gt;exec&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;jstack &lt;/span&gt;&lt;span class="si"&gt;#{&lt;/span&gt;&lt;span class="n"&gt;fav&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;</content>
    </entry>
    <entry>
        <id>https://aphyr.com/posts/420-the-future-of-everything-is-lies-i-guess-where-do-we-go-from-here</id>
        <title>The Future of Everything is Lies, I Guess: Where Do We Go From Here?</title>
        <published>2026-04-16T08:30:01-05:00</published>
        <updated>2026-04-16T08:30:01-05:00</updated>
        <link rel="alternate" href="https://aphyr.com/posts/420-the-future-of-everything-is-lies-i-guess-where-do-we-go-from-here"></link>
        <author>
            <name>Aphyr</name>
            <uri>https://aphyr.com/</uri>
        </author>
        <content type="html">&lt;details class="right" open="open"&gt;
  &lt;summary&gt;Table of Contents&lt;/summary&gt;
  &lt;p style="margin: 1em"&gt;This is a long article, so I've broken it up into a series of posts, listed below. You can also read the full work as a &lt;a href="https://aphyr.com/data/posts/411/the-future-of-everything-is-lies.pdf"&gt;PDF&lt;/a&gt; or &lt;a href="https://aphyr.com/data/posts/411/the-future-of-everything-is-lies.epub"&gt;EPUB&lt;/a&gt;.&lt;/p&gt;
  &lt;nav&gt;
    &lt;ol&gt;
      &lt;li&gt;&lt;a href="/posts/411-the-future-of-everything-is-lies-i-guess"&gt;Introduction&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/412-the-future-of-everything-is-lies-i-guess-dynamics"&gt;Dynamics&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/413-the-future-of-everything-is-lies-i-guess-culture"&gt;Culture&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/414-the-future-of-everything-is-lies-i-guess-information-ecology"&gt;Information Ecology&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/415-the-future-of-everything-is-lies-i-guess-annoyances"&gt;Annoyances&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/416-the-future-of-everything-is-lies-i-guess-psychological-hazards"&gt;Psychological Hazards&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/417-the-future-of-everything-is-lies-i-guess-safety"&gt;Safety&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/418-the-future-of-everything-is-lies-i-guess-work"&gt;Work&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/419-the-future-of-everything-is-lies-i-guess-new-jobs"&gt;New Jobs&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/420-the-future-of-everything-is-lies-i-guess-where-do-we-go-from-here"&gt;Where Do We Go From Here&lt;/a&gt;&lt;/li&gt;
    &lt;/ol&gt;
  &lt;/nav&gt;
&lt;/details&gt;
&lt;p&gt;&lt;em&gt;Previously: &lt;a href="https://aphyr.com/posts/419-the-future-of-everything-is-lies-i-guess-new-jobs"&gt;New Jobs&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Some readers are undoubtedly upset that I have not devoted more space to the
wonders of machine learning—how amazing LLMs are at code generation, how
incredible it is that Suno can turn hummed melodies into polished songs. But
this is not an article about how fast or convenient it is to drive a car. We
all know cars are fast. I am trying to ask &lt;em&gt;&lt;a href="https://en.wikipedia.org/wiki/Societal_effects_of_cars"&gt;what will happen to the shape of
cities&lt;/a&gt;&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;The personal automobile &lt;a href="http://www.autolife.umd.umich.edu/Environment/E_Casestudy/E_casestudy.htm"&gt;reshaped
streets&lt;/a&gt;,
all but extinguished urban horses &lt;a href="https://archive.nytimes.com/cityroom.blogs.nytimes.com/2008/06/09/when-horses-posed-a-public-health-hazard/"&gt;and their
waste&lt;/a&gt;,
&lt;a href="https://opentextbooks.clemson.edu/sciencetechnologyandsociety/chapter/decline-of-streetcars-in-american-cities/"&gt;supplanted local
transit&lt;/a&gt;
and interurban railways, germinated &lt;a href="https://www.architectmagazine.com/technology/architecture-and-the-automobile_o"&gt;new building
typologies&lt;/a&gt;,
&lt;a href="https://bookshop.org/p/books/crabgrass-frontier-the-suburbanization-of-the-united-states-jacques-barzun-professor-of-history-kenneth-t-jackson/9a9a9154e6f22295"&gt;decentralized
cities&lt;/a&gt;,
created &lt;a href="https://www.nature.com/scitable/knowledge/library/the-characteristics-causes-and-consequences-of-sprawling-103014747/"&gt;exurban
sprawl&lt;/a&gt;,
&lt;a href="https://nyc.streetsblog.org/2025/06/09/car-harms-cars-make-us-more-lonely"&gt;reduced incidental social
contact&lt;/a&gt;,
gave rise to the &lt;a href="https://en.wikipedia.org/wiki/Interstate_Highway_System"&gt;Interstate Highway
System&lt;/a&gt; (&lt;a href="https://www.latimes.com/homeless-housing/story/2021-11-11/the-racist-history-of-americas-interstate-highway-boom"&gt;bulldozing
Black
communities&lt;/a&gt;
in the process), &lt;a href="https://en.wikipedia.org/wiki/Tetraethyllead"&gt;gave everyone lead
poisoning&lt;/a&gt;, and became a &lt;a href="https://crashstats.nhtsa.dot.gov/Api/Public/Publication/812203"&gt;leading
cause of death&lt;/a&gt;
among young people. Many parts of the US are &lt;a href="https://en.wikipedia.org/wiki/Car_dependency"&gt;highly
car-dependent&lt;/a&gt;, even though &lt;a href="https://yaleclimateconnections.org/2025/01/american-transportation-revolves-around-cars-many-americans-dont-drive/"&gt;a
third of us don’t
drive&lt;/a&gt;.
As a driver, cyclist, transit rider, and pedestrian, I think about this legacy
every day: how so much of our lives are shaped by the technology of personal
automobiles, and the specific way the US uses them.&lt;/p&gt;
&lt;p&gt;I want you to think about “AI” in this sense.&lt;/p&gt;
&lt;p&gt;Some of our possible futures are grim, but manageable. Others are downright
terrifying, in which large numbers of people lose their homes, health, or
lives. I don’t have a strong sense of what will happen, but the space of
possible futures feels much broader in 2026 than it did in 2022, and most of
those futures feel bad.&lt;/p&gt;
&lt;p&gt;Much of the bullshit future is already here, and I am profoundly tired of it.
There is slop in my search results, at the gym, at the doctor’s office.
Customer service, contractors, and engineers use LLMs to blindly lie to me. The
electric company has hiked our rates and says data centers are to blame. LLM
scrapers take down the web sites I run and make it harder to access the
services I rely on. I watch synthetic videos of suffering animals and stare at
generated web pages which lie about police brutality. There is LLM spam in my
inbox and synthetic CSAM on my moderation dashboard. I watch people outsource
their work, food, travel, art, even relationships to ChatGPT. I read chatbots
lining the delusional warrens of mental health crises.&lt;/p&gt;
&lt;p&gt;I am asked to analyze vaporware and to disprove nonsensical claims. I
wade through voluminous LLM-generated pull requests. Prospective clients ask
Claude to do the work they might have hired me for. Thankfully Claude’s code is
bad, but that could change, and that scares me. I worry about losing my home. I
could retrain, but my core skills—reading, thinking, and writing—are
squarely in the blast radius of large language models. I imagine going to
school to become an architect, just to watch ML eat that field too.&lt;/p&gt;
&lt;p&gt;It is deeply alienating to see so many of my peers wildly enthusiastic about
ML’s potential applications, and using it personally. Governments and industry
seem all-in on “AI”, and I worry that by doing so, we’re hastening the arrival
of unpredictable but potentially devastating consequences—personal, cultural,
economic, and humanitarian.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;I’ve thought about this a lot over the last few years, and I think the best
response is to stop.&lt;/strong&gt; ML assistance &lt;a href="https://arxiv.org/pdf/2604.04721"&gt;reduces our performance and
persistence&lt;/a&gt;, and denies us both the
muscle memory and deep theory-building that comes with working through a task
by hand: the cultivation of what &lt;a href="https://bookshop.org/p/books/seeing-like-a-state-how-certain-schemes-to-improve-the-human-condition-have-failed-professor-james-c-scott/94810144b845ab4f"&gt;James C. Scott would
call&lt;/a&gt;
&lt;em&gt;metis&lt;/em&gt;. I have never used an LLM for my writing, software, or personal life,
because I care about my ability to write well, reason deeply, and stay grounded
in the world. If I ever adopt ML tools in more than an exploratory capacity, I
will need to take great care. I also try to minimize what I consume from LLMs.
I read cookbooks written by human beings, I trawl through university websites
to identify wildlife, and I talk through my problems with friends.&lt;/p&gt;
&lt;p&gt;I think you should do the same.&lt;/p&gt;
&lt;p&gt;Refuse to insult your readers: think your own thoughts and write your own
words. &lt;a href="https://bsky.app/profile/did:plc:vsgr3rwyckhiavgqzdcuzm6i/post/3matwg6w3ic2s"&gt;Call out
people&lt;/a&gt;
who send you slop. Flag ML hazards at work and with friends. Stop paying for
ChatGPT at home, and convince your company not to sign a deal for Gemini. Form
or join a labor union, and push back against management &lt;a href="https://www.businessinsider.com/microsoft-internal-memo-using-ai-no-longer-optional-github-copilot-2025-6"&gt;demands that you adopt
Copilot&lt;/a&gt;—after
all, it’s &lt;a href="https://www.tomshardware.com/tech-industry/artificial-intelligence/microsoft-says-copilot-is-for-entertainment-purposes-only-not-serious-use-firm-pushing-ai-hard-to-consumers-tells-users-not-to-rely-on-it-for-important-advice"&gt;for entertainment purposes
only&lt;/a&gt;.
Call &lt;a href="https://5calls.org/"&gt;your members of Congress&lt;/a&gt; and demand aggressive
regulation which holds ML companies responsible for their
&lt;a href="https://www.technologyreview.com/2025/05/20/1116327/ai-energy-usage-climate-footprint-big-tech/"&gt;carbon&lt;/a&gt;
and
&lt;a href="https://www.wired.com/story/openai-backs-bill-exempt-ai-firms-model-harm-lawsuits/"&gt;digital&lt;/a&gt;
emissions. Advocate against &lt;a href="https://stateline.org/2026/02/24/data-center-tax-breaks-are-on-the-chopping-block-in-some-states/"&gt;tax breaks for ML
datacenters&lt;/a&gt;.
If you work at Anthropic, xAI, etc., you should &lt;a href="https://futurism.com/artificial-intelligence/anthropic-agents-automation"&gt;think seriously about your
role in making the
future&lt;/a&gt;.
To be frank, I think you should &lt;a href="https://futurism.com/artificial-intelligence/anthropic-researcher-quits-cryptic-letter"&gt;quit your
job&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I don’t think this will stop ML from advancing altogether: there are still
lots of people who want to make it happen. It will, however, slow them down,
and this is good. Today’s models are already very capable. It will take time
for the effects of the existing technology to be fully felt, and for culture,
industry, and government to adapt. Each day we delay the advancement of ML
models buys time to learn how to manage technical debt and errors introduced in
legal filings. Another day to prepare for ML-generated CSAM, sophisticated
fraud, obscure software vulnerabilities, and AI Barbie. Another day for workers
to find new jobs.&lt;/p&gt;
&lt;p&gt;Staving off ML will also assuage your conscience over the coming decades. As
someone who once quit an otherwise good job on ethical grounds, I feel good
about that decision. I think you will too.&lt;/p&gt;
&lt;p&gt;And if I’m wrong, we can always build it &lt;em&gt;later&lt;/em&gt;.&lt;/p&gt;
&lt;h2&gt;&lt;a href="#and-yet" id="and-yet"&gt;And Yet…&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Despite feeling a bitter distaste for this generation of ML systems and the
people who brought them into existence, they &lt;em&gt;do&lt;/em&gt; seem useful. I want to use
them. I probably will at some point.&lt;/p&gt;
&lt;p&gt;For example, I’ve got these color-changing lights. They speak a protocol I’ve
never heard of, and I have no idea where to even begin. I could spend a month
digging through manuals and working it out from scratch—or I could ask an LLM
to write a client library for me. The security consequences are minimal, it’s a
constrained use case that I can verify by hand, and I wouldn’t be pushing tech
debt on anyone else. I still write plenty of code, and I could stop any time.
What would be the harm?&lt;/p&gt;
&lt;p&gt;Right?&lt;/p&gt;
&lt;p&gt;… Right?&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;&lt;em&gt;Many friends contributed discussion, reading material, and feedback on this
article. My heartfelt thanks to Peter Alvaro, Kevin Amidon, André Arko, Taber
Bain, Silvia Botros, Daniel Espeset, Julia Evans, Brad Greenlee, Coda Hale,
Marc Hedlund, Sarah Huffman, Dan Mess, Nelson Minar, Arjun Narayan, Alex Rasmussen, Harper
Reed, Daliah Saper, Peter Seibel, Rhys Seiffe, and James Turnbull.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;This piece, like most all my words and software, was written by hand—mainly
in Vim. I composed a Markdown outline in a mix of headers, bullet points, and
prose, then reorganized it in a few passes. With the structure laid out, I
rewrote the outline as prose, typeset with Pandoc. I went back to make
substantial edits as I wrote, then made two full edit passes on typeset PDFs.
For the first I used an iPad and stylus, for the second, the traditional
pen and paper, read aloud.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;I circulated the resulting draft among friends for their feedback before
publication. Incisive ideas and delightful turns of phrase may be attributed to
them; any errors or objectionable viewpoints are, of course, mine alone.&lt;/em&gt;&lt;/p&gt;</content>
    </entry>
    <entry>
        <id>https://aphyr.com/posts/419-the-future-of-everything-is-lies-i-guess-new-jobs</id>
        <title>The Future of Everything is Lies, I Guess: New Jobs</title>
        <published>2026-04-15T08:19:45-05:00</published>
        <updated>2026-04-15T08:19:45-05:00</updated>
        <link rel="alternate" href="https://aphyr.com/posts/419-the-future-of-everything-is-lies-i-guess-new-jobs"></link>
        <author>
            <name>Aphyr</name>
            <uri>https://aphyr.com/</uri>
        </author>
        <content type="html">&lt;details class="right" open="open"&gt;
  &lt;summary&gt;Table of Contents&lt;/summary&gt;
  &lt;p style="margin: 1em"&gt;This is a long article, so I've broken it up into a series of posts, listed below. You can also read the full work as a &lt;a href="https://aphyr.com/data/posts/411/the-future-of-everything-is-lies.pdf"&gt;PDF&lt;/a&gt; or &lt;a href="https://aphyr.com/data/posts/411/the-future-of-everything-is-lies.epub"&gt;EPUB&lt;/a&gt;.&lt;/p&gt;
  &lt;nav&gt;
    &lt;ol&gt;
      &lt;li&gt;&lt;a href="/posts/411-the-future-of-everything-is-lies-i-guess"&gt;Introduction&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/412-the-future-of-everything-is-lies-i-guess-dynamics"&gt;Dynamics&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/413-the-future-of-everything-is-lies-i-guess-culture"&gt;Culture&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/414-the-future-of-everything-is-lies-i-guess-information-ecology"&gt;Information Ecology&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/415-the-future-of-everything-is-lies-i-guess-annoyances"&gt;Annoyances&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/416-the-future-of-everything-is-lies-i-guess-psychological-hazards"&gt;Psychological Hazards&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/417-the-future-of-everything-is-lies-i-guess-safety"&gt;Safety&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/418-the-future-of-everything-is-lies-i-guess-work"&gt;Work&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/419-the-future-of-everything-is-lies-i-guess-new-jobs"&gt;New Jobs&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/420-the-future-of-everything-is-lies-i-guess-where-do-we-go-from-here"&gt;Where Do We Go From Here&lt;/a&gt;&lt;/li&gt;
    &lt;/ol&gt;
  &lt;/nav&gt;
&lt;/details&gt;
&lt;p&gt;&lt;em&gt;Previously: &lt;a href="https://aphyr.com/posts/418-the-future-of-everything-is-lies-i-guess-work"&gt;Work&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;As we deploy ML more broadly, there will be new kinds of work. I think much of
it will take place at the boundary between human and ML systems. &lt;em&gt;Incanters&lt;/em&gt;
could specialize in prompting models. &lt;em&gt;Process&lt;/em&gt; and &lt;em&gt;statistical engineers&lt;/em&gt;
might control errors in the systems around ML outputs and in the models
themselves. A surprising number of people are now employed as &lt;em&gt;model trainers&lt;/em&gt;,
feeding their human expertise to automated systems. &lt;em&gt;Meat shields&lt;/em&gt; may be
required to take accountability when ML systems fail, and &lt;em&gt;haruspices&lt;/em&gt; could
interpret model behavior.&lt;/p&gt;
&lt;h2&gt;&lt;a href="#incanters" id="incanters"&gt;Incanters&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;LLMs are weird. You can sometimes get better results by threatening them,
telling them they’re experts, repeating your commands, or lying to them that
they’ll receive a financial bonus. Their performance degrades over longer
inputs, and tokens that were helpful in one task can contaminate another, so
good LLM users think a lot about limiting the context that’s fed to the model.&lt;/p&gt;
&lt;p&gt;I imagine that there will probably be people (in all kinds of work!) who
specialize in knowing how to feed LLMs the kind of inputs that lead to good
results. Some people in software seem to be headed this way: becoming &lt;em&gt;LLM
incanters&lt;/em&gt; who speak to Claude, instead of programmers who work directly with
code.&lt;/p&gt;
&lt;h2&gt;&lt;a href="#process-engineers" id="process-engineers"&gt;Process Engineers&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;The unpredictable nature of LLM output requires quality control. For example,
lawyers &lt;a href="https://www.damiencharlotin.com/hallucinations/"&gt;keep getting in
trouble&lt;/a&gt; because they submit
AI confabulations in court. If they want to keep using LLMs, law firms are
going to need some kind of &lt;em&gt;process engineers&lt;/em&gt; who help them catch LLM errors.
You can imagine a process where the people who write a court document
deliberately insert subtle (but easily correctable) errors, and delete
things which should have been present. These introduced errors are registered
for later use. The document is then passed to an editor who reviews it
carefully without knowing what errors were introduced. The document can only
leave the firm once all the intentional errors (and hopefully accidental
ones) are caught. I imagine provenance-tracking software, integration with
LexisNexis and document workflow systems, and so on to support this kind of
quality-control workflow.&lt;/p&gt;
&lt;p&gt;These process engineers would help build and tune that quality-control process:
training people, identifying where extra review is needed, adjusting the level
of automated support, measuring whether the whole process is better than doing
the work by hand, and so on.&lt;/p&gt;
&lt;h2&gt;&lt;a href="#statistical-engineers" id="statistical-engineers"&gt;Statistical Engineers&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;A closely related role might be &lt;em&gt;statistical engineers&lt;/em&gt;: people who
attempt to measure, model, and control variability in ML systems directly.
For instance, a statistical engineer could figure out that the choice an LLM
makes when presented with a list of options &lt;a href="https://arxiv.org/html/2506.14092v1"&gt;is influenced
by&lt;/a&gt; the order in which those options were
presented, and develop ways to compensate. I suspect this might look something
like psychometrics—a field in which psychologists have gone to great lengths
to statistically model and measure the messy behavior of humans via indirect
means.&lt;/p&gt;
&lt;p&gt;Since LLMs are chaotic systems, this work will be complex and challenging:
models will not simply be “95% accurate”. Instead, an ML optimizer for database
queries might perform well on English text, but pathologically on
timeseries data. A healthcare LLM might be highly accurate for queries in
English, but perform abominably when those same questions are presented in
Spanish. This will require deep, domain-specific work.&lt;/p&gt;
&lt;h2&gt;&lt;a href="#model-trainers" id="model-trainers"&gt;Model Trainers&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;As slop takes over the Internet, labs may struggle to obtain high-quality
corpuses for training models. Trainers must also contend with false sources:
Almira Osmanovic Thunström demonstrated that just a handful of obviously fake
articles&lt;sup id="fnref-1"&gt;&lt;a class="footnote-ref" href="#fn-1"&gt;1&lt;/a&gt;&lt;/sup&gt; could cause Gemini, ChatGPT, and Copilot to inform
users &lt;a href="https://www.nature.com/articles/d41586-026-01100-y"&gt;about an imaginary disease with a ridiculous
name&lt;/a&gt;. There are financial, cultural, and political incentives to influence
what LLMs say; it seems safe to assume future corpuses will be increasingly
tainted by misinformation.&lt;/p&gt;
&lt;p&gt;One solution is to use the informational equivalent of &lt;a href="https://en.wikipedia.org/wiki/Low-background_steel"&gt;low-background
steel&lt;/a&gt;: uncontaminated
works produced prior to 2023 are more likely to be accurate. Another option is
to employ human experts as &lt;em&gt;model trainers&lt;/em&gt;. OpenAI could hire, say, postdocs
in the Carolingian Renaissance to teach their models all about Alcuin. These
subject-matter experts would write documents for the initial training pass,
develop benchmarks for evaluation, and check the model’s responses during
conditioning. LLMs are also prone to making subtle errors that &lt;em&gt;look&lt;/em&gt; correct.
Perhaps fixing that problem involves hiring very smart people to carefully read
lots of LLM output and catch where it made mistakes.&lt;/p&gt;
&lt;p&gt;In another case of “I wrote this years ago, and now it’s common knowledge”, a
friend introduced me to &lt;a href="https://nymag.com/intelligencer/article/white-collar-workers-training-ai.html"&gt;this piece on Mercor, Scale AI, et
al.&lt;/a&gt;,
which employ vast numbers of professionals to train models to do mysterious
tasks—presumably putting themselves out of work in the process. “It is, as
one industry veteran put it, the largest harvesting of human expertise ever
attempted.” Of course there’s bossware, and shrinking pay, and absurd hours,
and no union.&lt;sup id="fnref-2"&gt;&lt;a class="footnote-ref" href="#fn-2"&gt;2&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;h2&gt;&lt;a href="#meat-shields" id="meat-shields"&gt;Meat Shields&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;You would think that CEOs and board members might be afraid that their own jobs
could be taken over by LLMs, but this doesn’t seem to have stopped them from
using “AI” as an excuse to &lt;a href="https://www.cnbc.com/2026/03/14/meta-planning-sweeping-layoffs-as-ai-costs-mount-reuters.html"&gt;fire lots of
people&lt;/a&gt;.
I think a part of the reason is that these roles are not just about sending
emails and looking at graphs, but also about dangling a warm body &lt;a href="https://uscode.house.gov/view.xhtml?req=granuleid%3AUSC-prelim-title5-section8477&amp;amp;num=0&amp;amp;edition=prelim"&gt;over the maws
of the legal
system&lt;/a&gt; and public opinion. You can fine an LLM-using corporation, but only humans can apologize or go to jail. Humans can be motivated by
consequences and provide social redress in a way that LLMs can’t.&lt;/p&gt;
&lt;p&gt;I am thinking of the aftermath of the Chicago Sun-Times’ &lt;a href="https://aphyr.com/posts/386-the-future-of-newspapers-is-lies-i-guess"&gt;sloppy summer insert&lt;/a&gt;.
Anyone who read it should have realized it was nonsense, but Chicago Public
Media CEO Melissa Bell explained that they &lt;a href="https://chicago.suntimes.com/opinion/2025/05/29/lessons-apology-from-sun-times-ceo-ai-generated-book-list"&gt;sourced the article from King
Features&lt;/a&gt;,
which is owned by Hearst, who presumably should have delivered articles which
were not composed entirely of sawdust and lies. King Features, in turn, says they subcontracted the
entire 64-page insert to freelancer Marco Buscaglia. Of course Buscaglia was
most proximate to the LLM and bears significant responsibility, but at the same
time, the people who trained the LLM contributed to this tomfoolery, as did the
editors at King Features and the Sun-Times, and indirectly, their respective
managers. What were the names of &lt;em&gt;those&lt;/em&gt; people, and why didn’t they apologize
as &lt;a href="https://www.404media.co/chicago-sun-times-prints-ai-generated-summer-reading-list-with-books-that-dont-exist/"&gt;Buscaglia&lt;/a&gt; and Bell did?&lt;/p&gt;
&lt;p&gt;I think we will see some people employed (though perhaps not explicitly) as
&lt;em&gt;meat shields&lt;/em&gt;: people who are accountable for ML systems under their
supervision. The accountability may be purely internal, as when Meta hires
human beings to review the decisions of automated moderation systems. It may be
external, as when lawyers are penalized for submitting LLM lies to the court.
It may involve formalized responsibility, like a Data Protection Officer. It
may be convenient for a company to have third-party subcontractors, like
Buscaglia, who can be thrown under the bus when the system as a whole
misbehaves. Perhaps drivers whose mostly-automated cars crash will be held
responsible in the same way—Madeline Clare Elish calls this concept a &lt;a href="https://www.researchgate.net/publication/351054898_Moral_Crumple_Zones_Cautionary_Tales_in_Human-Robot_Interaction"&gt;moral
crumple
zone&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Having written this, I am suddenly seized with a vision of a congressional
hearing interviewing a Large Language Model. “You’re absolutely right, Senator.
I &lt;em&gt;did&lt;/em&gt; embezzle those sixty-five million dollars. Here’s the breakdown…”&lt;/p&gt;
&lt;h2&gt;&lt;a href="#haruspices" id="haruspices"&gt;Haruspices&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;When models go wrong, we will want to know why. What led the drone to abandon
its intended target and detonate in a field hospital? Why is the healthcare
model less likely to &lt;a href="https://news.umich.edu/accounting-for-bias-in-medical-data-helps-prevent-ai-from-amplifying-racial-disparity/"&gt;accurately diagnose Black
people&lt;/a&gt;?
How culpable should the automated taxi company be when one of its vehicles runs
over a child? Why does the social media company’s automated moderation system
keep flagging screenshots of Donkey Kong as nudity?&lt;/p&gt;
&lt;p&gt;These tasks could fall to a &lt;em&gt;haruspex&lt;/em&gt;: a person responsible for sifting
through a model’s inputs, outputs, and internal states, trying to synthesize an
account for its behavior. Some of this work will be deep investigations into a
single case, and other situations will demand broader statistical analysis.
Haruspices might be deployed internally by ML companies, by their users,
independent journalists, courts, and agencies like the NTSB.&lt;/p&gt;
&lt;p&gt;*Next: &lt;a href="https://aphyr.com/posts/420-the-future-of-everything-is-lies-i-guess-where-do-we-go-from-here"&gt;Where Do We Go From Here?&lt;/a&gt;&lt;/p&gt;
&lt;div class="footnotes"&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id="fn-1"&gt;
&lt;p&gt;When I say “obviously”, I mean the paper included the
phase “this entire paper is made up”. Again, LLMs are idiots.&lt;/p&gt;
&lt;a href="#fnref-1" class="footnote-backref"&gt;↩&lt;/a&gt;
&lt;/li&gt;
&lt;li id="fn-2"&gt;
&lt;p&gt;At this point the reader is invited to blurt out whatever
screams of “the real problem is capitalism!” they have been holding back
for the preceding twenty-seven pages. I am right there with you. That said,
nuclear crisis and environmental devastation were never limited to capitalist
nations alone. If you have a friend or relative who lived in (e.g.) the USSR,
it might be interesting to ask what they think the Politburo would have done
with this technology.&lt;/p&gt;
&lt;a href="#fnref-2" class="footnote-backref"&gt;↩&lt;/a&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</content>
    </entry>
    <entry>
        <id>https://aphyr.com/posts/418-the-future-of-everything-is-lies-i-guess-work</id>
        <title>The Future of Everything is Lies, I Guess: Work</title>
        <published>2026-04-14T09:55:28-05:00</published>
        <updated>2026-04-14T09:55:28-05:00</updated>
        <link rel="alternate" href="https://aphyr.com/posts/418-the-future-of-everything-is-lies-i-guess-work"></link>
        <author>
            <name>Aphyr</name>
            <uri>https://aphyr.com/</uri>
        </author>
        <content type="html">&lt;details class="right" open="open"&gt;
  &lt;summary&gt;Table of Contents&lt;/summary&gt;
  &lt;p style="margin: 1em"&gt;This is a long article, so I've broken it up into a series of posts, listed below. You can also read the full work as a &lt;a href="https://aphyr.com/data/posts/411/the-future-of-everything-is-lies.pdf"&gt;PDF&lt;/a&gt; or &lt;a href="https://aphyr.com/data/posts/411/the-future-of-everything-is-lies.epub"&gt;EPUB&lt;/a&gt;.&lt;/p&gt;
  &lt;nav&gt;
    &lt;ol&gt;
      &lt;li&gt;&lt;a href="/posts/411-the-future-of-everything-is-lies-i-guess"&gt;Introduction&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/412-the-future-of-everything-is-lies-i-guess-dynamics"&gt;Dynamics&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/413-the-future-of-everything-is-lies-i-guess-culture"&gt;Culture&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/414-the-future-of-everything-is-lies-i-guess-information-ecology"&gt;Information Ecology&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/415-the-future-of-everything-is-lies-i-guess-annoyances"&gt;Annoyances&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/416-the-future-of-everything-is-lies-i-guess-psychological-hazards"&gt;Psychological Hazards&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/417-the-future-of-everything-is-lies-i-guess-safety"&gt;Safety&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/418-the-future-of-everything-is-lies-i-guess-work"&gt;Work&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/419-the-future-of-everything-is-lies-i-guess-new-jobs"&gt;New Jobs&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/420-the-future-of-everything-is-lies-i-guess-where-do-we-go-from-here"&gt;Where Do We Go From Here&lt;/a&gt;&lt;/li&gt;
    &lt;/ol&gt;
  &lt;/nav&gt;
&lt;/details&gt;
&lt;p&gt;&lt;em&gt;Previously: &lt;a href="https://aphyr.com/posts/417-the-future-of-everything-is-lies-i-guess-safety"&gt;Safety&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Software development may become (at least in some aspects) more like witchcraft
than engineering. The present enthusiasm for “AI coworkers” is preposterous.
Automation can paradoxically make systems less robust; when we apply ML to new
domains, we will have to reckon with deskilling, automation bias, monitoring
fatigue, and takeover hazards. AI boosters believe ML will displace labor
across a broad swath of industries in a short period of time; if they are
right, we are in for a rough time. Machine learning seems likely to further
consolidate wealth and power in the hands of large tech companies, and I don’t
think giving Amazon et al. even more money will yield Universal Basic Income.&lt;/p&gt;
&lt;h2&gt;&lt;a href="#programming-as-witchcraft" id="programming-as-witchcraft"&gt;Programming as Witchcraft&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Decades ago there was enthusiasm that programs might be written in a natural
language like English, rather than a formal language like Pascal. The folk
wisdom when I was a child was that this was not going to work: English is
notoriously ambiguous, and people are not skilled at describing exactly what
they want. Now we have machines capable of spitting out shockingly
sophisticated programs given only the vaguest of plain-language directives; the
lack of specificity is at least partially made up for by the model’s vast
corpus. Is this what programming will become?&lt;/p&gt;
&lt;p&gt;In 2025 I would have said it was extremely unlikely, at least with the
current capabilities of LLMs. In the last few months it seems that models
have made dramatic improvements. Experienced engineers I trust are asking
Claude to write implementations of cryptography papers, and reporting
fantastic results. Others say that LLMs generate &lt;em&gt;all&lt;/em&gt; code at their company;
humans are essentially managing LLMs. I continue to write all of my words and
software by hand, for the reasons I’ve discussed in this piece—but I am
not confident I will hold out forever.&lt;/p&gt;
&lt;p&gt;Some argue that formal languages will become a niche skill, like assembly
today—almost all software will be written with natural language and “compiled”
to code by LLMs. I don’t think this analogy holds. Compilers work because they
preserve critical semantics of their input language: one can formally reason
about a series of statements in Java, and have high confidence that the
Java compiler will preserve that reasoning in its emitted assembly. When a
compiler fails to preserve semantics it is a &lt;em&gt;big deal&lt;/em&gt;. Engineers must spend
lots of time banging their heads against desks to (e.g.) figure out that the
compiler did not insert the right barrier instructions to preserve a subtle
aspect of the JVM memory model.&lt;/p&gt;
&lt;p&gt;Because LLMs are chaotic and natural language is ambiguous, LLMs seem unlikely
to preserve the reasoning properties we expect from compilers. Small changes in
the natural language instructions, such as repeating a sentence, or changing
the order of seemingly independent paragraphs, can result in completely
different software semantics. Where correctness is important, at least some humans must continue to read and understand the code.&lt;/p&gt;
&lt;p&gt;This does not mean every software engineer will work with code. I can imagine a
future in which some or even most software is developed by &lt;em&gt;witches&lt;/em&gt;, who
construct elaborate summoning environments, repeat special incantations
(“ALWAYS run the tests!”), and invoke LLM daemons who write software on their
behalf. These daemons may be fickle, sometimes destroying one’s computer or
introducing security bugs, but the witches may develop an entire body of folk
knowledge around prompting them effectively—the fabled “prompt engineering”. Skills files are spellbooks.&lt;/p&gt;
&lt;p&gt;I also remember that a good deal of software programming is not done in “real”
computer languages, but in Excel. An ethnography of Excel is beyond the scope
of this already sprawling essay, but I think spreadsheets—like LLMs—are
culturally accessible to people who do not consider themselves software
engineers, and that a tool which people can pick up and use for themselves is
likely to be applied in a broad array of circumstances. Take for example
journalists who use “AI for data analysis”, or a CFO who vibe-codes a report
drawing on SalesForce and Ducklake. Even if software engineering adopts more
rigorous practices around LLMs, a thriving periphery of rickety-yet-useful
LLM-generated software might flourish.&lt;/p&gt;
&lt;h2&gt;&lt;a href="#hiring-sociopaths" id="hiring-sociopaths"&gt;Hiring Sociopaths&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Executives seem very excited about this idea of hiring “AI employees”. I keep
wondering: what kind of employees are they?&lt;/p&gt;
&lt;p&gt;Imagine a co-worker who generated reams of code with security hazards, forcing
you to review every line with a fine-toothed comb. One who enthusiastically
agreed with your suggestions, then did the exact opposite. A colleague who
sabotaged your work, deleted your home directory, and then issued a detailed,
polite apology for it. One who promised over and over again that they had
delivered key objectives when they had, in fact, done nothing useful. An intern
who cheerfully agreed to run the tests before committing, then kept committing
failing garbage anyway. A senior engineer who quietly deleted the test suite,
then happily reported that all tests passed.&lt;/p&gt;
&lt;p&gt;You would &lt;em&gt;fire&lt;/em&gt; these people, right?&lt;/p&gt;
&lt;p&gt;Look what happened when &lt;a href="https://www.anthropic.com/research/project-vend-1"&gt;Anthropic let Claude run a vending
machine&lt;/a&gt;. It sold metal
cubes at a loss, told customers to remit payment to imaginary accounts, and
gradually ran out of money. Then it suffered the LLM analogue of a
psychotic break, lying about restocking plans with people who didn’t
exist and claiming to have visited a home address from &lt;em&gt;The Simpsons&lt;/em&gt; to sign
a contract. It told employees it would deliver products “in person”, and when
employees told it that as an LLM it couldn’t wear clothes or deliver anything,
Claude tried to contact Anthropic security.&lt;/p&gt;
&lt;p&gt;LLMs perform identity, empathy, and accountability—at great length!—without
&lt;em&gt;meaning&lt;/em&gt; anything. There is simply no there there! They will blithely lie to
your face, bury traps in their work, and leave you to take the blame. They
don’t mean anything by it. &lt;em&gt;They don’t mean anything at all.&lt;/em&gt;&lt;/p&gt;
&lt;h2&gt;&lt;a href="#ironies-of-automation" id="ironies-of-automation"&gt;Ironies of Automation&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;I have been on the Bainbridge Bandwagon for quite some time (so if you’ve read
this already skip ahead) but I &lt;em&gt;have&lt;/em&gt; to talk about her 1983 paper
&lt;a href="https://ckrybus.com/static/papers/Bainbridge_1983_Automatica.pdf"&gt;&lt;em&gt;Ironies of
Automation&lt;/em&gt;&lt;/a&gt;.
This paper is about power plants, factories, and so on—but it is also
chock-full of ideas that apply to modern ML.&lt;/p&gt;
&lt;p&gt;One of her key lessons is that automation tends to de-skill operators. When
humans do not practice a skill—either physical or mental—their ability to
execute that skill degrades. We fail to maintain long-term knowledge, of
course, but by disengaging from the day-to-day work, we also lose the
short-term contextual understanding of “what’s going on right now”. My peers in
software engineering report feeling less able to write code themselves after
having worked with code-generation models, and one designer friend says he
feels less able to do creative work after offloading some to ML. Doctors who
use “AI” tools for polyp detection &lt;a href="https://www.thelancet.com/journals/langas/article/PIIS2468-12532500133-5/abstract"&gt;seem to be
worse&lt;/a&gt;
at spotting adenomas during colonoscopies. They may also allow the automated
system to influence their conclusions: background automation bias seems to
allow “AI” mammography systems to &lt;a href="https://pubmed.ncbi.nlm.nih.gov/37129490/"&gt;mislead
radiologists&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Another critical lesson is that humans are distinctly bad at monitoring
automated processes. If the automated system can execute the task faster or more
accurately than a human, it is essentially impossible to review its decisions
in real time. Humans also struggle to maintain vigilance over a system which
&lt;em&gt;mostly&lt;/em&gt; works. I suspect this is why journalists keep publishing fictitious
LLM quotes, and why the former head of Uber’s self-driving program watched his
“Full Self-Driving” Tesla &lt;a href="https://www.theatlantic.com/magazine/2026/04/self-driving-car-technology-tesla-crash/686054/?gift=ObTAI8oDbHXe8UjwAQKul6acU0KJHCMEsvPjPPlG_MM"&gt;crash into a
wall&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Takeover is also challenging. If an automated system runs things &lt;em&gt;most&lt;/em&gt; of the
time, but asks a human operator to intervene occasionally, the operator is
likely to be out of practice—and to stumble. Automated systems can also mask
failure until catastrophe strikes by handling increasing deviation from the
norm until something breaks. This thrusts a human operator into an unexpected
regime in which their usual intuition is no longer accurate. This contributed
to the crash of &lt;a href="https://risk-engineering.org/concept/AF447-Rio-Paris"&gt;Air France flight
447&lt;/a&gt;: the aircraft’s
flight controls transitioned from “normal” to “alternate 2B law”: a situation
the pilots were not trained for, and which disabled the automatic stall
protection.&lt;/p&gt;
&lt;p&gt;Automation is not new. However, previous generations of automation
technology—the power loom, the calculator, the CNC milling machine—were
more limited in both scope and sophistication. LLMs are discussed as if they
will automate a broad array of human tasks, and take over not only repetitive,
simple jobs, but high-level, adaptive cognitive work. This means we will have
to generalize the lessons of automation to new domains which have not dealt
with these challenges before.&lt;/p&gt;
&lt;p&gt;Software engineers are using LLMs to replace design, code generation, testing,
and review; it seems inevitable that these skills will wither with disuse. When
MLs systems help operate software and respond to outages, it can be more
difficult for human engineers to smoothly take over. Students are using LLMs to
&lt;a href="https://www.insidehighered.com/news/global/2024/06/21/academics-dismayed-flood-chatgpt-written-student-essays"&gt;automate reading and
writing&lt;/a&gt;:
core skills needed to understand the world and to develop one’s own thoughts.
What a tragedy: to build a habit-forming machine which quietly robs students of
their intellectual inheritance. Expecting translators to offload some of their
work to ML raises the prospect that those translators will lose the &lt;a href="https://revues.imist.ma/index.php/JALCS/article/view/59018"&gt;deep
context necessary&lt;/a&gt;
for a vibrant, accurate translation. As people offload emotional skills like
&lt;a href="https://link.springer.com/content/pdf/10.1007/s00146-025-02686-z.pdf"&gt;interpersonal advice and
self-regulation&lt;/a&gt;
to LLMs, I fear that we will struggle to solve those problems on our own.&lt;/p&gt;
&lt;h2&gt;&lt;a href="#labor-shock" id="labor-shock"&gt;Labor Shock&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;There’s some &lt;a href="https://www.citriniresearch.com/p/2028gic"&gt;terrifying
fan-fiction&lt;/a&gt; out there which predict
how ML might change the labor market. Some of my peers in software
engineering think that their jobs will be gone in two years; others are
confident they’ll be more relevant than ever. Even if ML is not very good at
doing work, this does not stop CEOs &lt;a href="https://www.fastcompany.com/91512893/crypto-com-layoffs-today-ceo-joins-list-bosses-blaming-ai-job-cuts"&gt;from firing large numbers of
people&lt;/a&gt;
and &lt;a href="https://apnews.com/article/block-dorsey-layoffs-ai-jobs-18e00a0b278977b0a87893f55e3db7bb"&gt;saying it’s because of
“AI”&lt;/a&gt;.
I have no idea where things are going, but the space of possible futures
seems awfully broad right now, and that scares the crap out of me.&lt;/p&gt;
&lt;p&gt;You can envision a robust system of state and industry-union unemployment and
retraining programs &lt;a href="https://www.usnews.com/news/best-countries/articles/2018-02-06/what-sweden-can-teach-the-world-about-worker-retraining"&gt;as in
Sweden&lt;/a&gt;.
But unlike sewing machines or combine harvesters, ML systems seem primed to
displace labor across a broad swath of industries. The question is what happens
when, say, half of the US’s managers, marketers, graphic designers, musicians,
engineers, architects, paralegals, medical administrators, etc. &lt;em&gt;all&lt;/em&gt; lose
their jobs in the span of a decade.&lt;/p&gt;
&lt;p&gt;As an armchair observer without a shred of economic acumen, I see a
continuum of outcomes. In one extreme, ML systems continue to hallucinate,
cannot be made reliable, and ultimately fail to deliver on the promise of
transformative, broadly-useful “intelligence”. Or they work, but people get fed
up and declare “AI Bad”. Perhaps employment rises in some fields as the debts
of deskilling and sprawling slop come due. In this world, frontier labs and
hyperscalers &lt;a href="https://www.reuters.com/business/finance/five-debt-hotspots-ai-data-centre-boom-2025-12-11/"&gt;pull a Wile E.
Coyote&lt;/a&gt;
over a trillion dollars of debt-financed capital expenditure, a lot of ML
people lose their jobs, defaults cascade through the financial system, but the
labor market eventually adapts and we muddle through. ML turns out to be a
&lt;a href="https://knightcolumbia.org/content/ai-as-normal-technology"&gt;normal
technology&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;In the other extreme, OpenAI delivers on Sam Altman’s &lt;a href="https://www.cnn.com/2025/08/14/business/chatgpt-rollout-problems"&gt;2025 claims of PhD-level
intelligence&lt;/a&gt;,
and the companies writing all their code with Claude achieve phenomenal success
with a fraction of the software engineers. ML massively amplifies the
capabilities of doctors, musicians, civil engineers, fashion designers,
managers, accountants, etc., who briefly enjoy nice paychecks before
discovering that demand for their services is not as elastic as once thought,
especially once their clients lose their jobs or turn to ML to cut costs.
Knowledge workers are laid off en masse and MBAs start taking jobs at McDonalds
or driving for Lyft, at least until Waymo puts an end to human drivers. This is
inconvenient for everyone: the MBAs, the people who used to work at McDonalds
and are now competing with MBAs, and of course bankers, who were rather
counting on the MBAs to keep paying their mortgages. The drop in consumer
spending cascades through industries. A lot of people lose their savings, or
even their homes. Hopefully the trades squeak through. Maybe the &lt;a href="https://en.wikipedia.org/wiki/Jevons_paradox"&gt;Jevons
paradox&lt;/a&gt; kicks in eventually and
we find new occupations.&lt;/p&gt;
&lt;p&gt;The prospect of that second scenario scares me. I have no way to judge how
likely it is, but the way my peers have been talking the last few months, I
don’t think I can totally discount it any more. It’s been keeping me up at
night.&lt;/p&gt;
&lt;h2&gt;&lt;a href="#capital-consolidation" id="capital-consolidation"&gt;Capital Consolidation&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Broadly speaking, ML allows companies to shift spending away from people
and into service contracts with companies like Microsoft. Those contracts pay
for the staggering amounts of hardware, power, buildings, and data required to
train and operate a modern ML model. For example, software companies are busy
&lt;a href="https://programs.com/resources/ai-layoffs/"&gt;firing engineers and spending more money on
“AI”&lt;/a&gt;. Instead of hiring a software
engineer to build something, a product manager can burn $20,000 a week on
Claude tokens, which in turn pays for &lt;a href="https://www.aboutamazon.com/news/company-news/amazon-aws-anthropic-ai"&gt;a lot of Amazon
chips&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Unlike employees, who have base desires and occasionally organize to ask for
&lt;a href="https://www.cbsnews.com/news/amazon-drivers-peeing-in-bottles-union-vote-worker-complaints/"&gt;better
pay&lt;/a&gt;
or &lt;a href="https://www.cbsnews.com/news/amazon-drivers-peeing-in-bottles-union-vote-worker-complaints/"&gt;bathroom
breaks&lt;/a&gt;,
LLMs are immensely agreeable, can be fired at any time, never need to pee, and
do not unionize. I suspect that if companies are successful in replacing large
numbers of people with ML systems, the effect will be to consolidate both money
and power in the hands of capital.&lt;/p&gt;
&lt;h2&gt;&lt;a href="#ubi-revera" id="ubi-revera"&gt;UBI, Revera&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;AI accelerationists believe potential economic shocks are speed-bumps on the
road to abundance. Once true AI arrives, it will solve some or all of society’s
major problems better than we can, and humans can enjoy the bounty of its
labor. The immense profits accruing to AI companies will be taxed and shared
with all via &lt;a href="https://www.businessinsider.com/universal-basic-income-ai"&gt;Universal Basic
Income&lt;/a&gt; (UBI).&lt;/p&gt;
&lt;p&gt;This feels &lt;a href="https://qz.com/universal-basic-income-ai-jobs-loss-unemployment-ubi"&gt;hopelessly naïve&lt;/a&gt;. We
have profitable megacorps at home, and their names are things like Google,
Amazon, Meta, and Microsoft. These companies have &lt;a href="https://en.wikipedia.org/wiki/Amazon_tax_avoidance"&gt;fought tooth and
nail&lt;/a&gt; to &lt;a href="https://apnews.com/article/italy-tax-evasion-investigation-google-earnings-advertising-3b4cd3e1f338ba0d5a3067f5919383b3"&gt;avoid paying
taxes&lt;/a&gt;
(or, for that matter, &lt;a href="https://en.wikipedia.org/wiki/Amazon_and_trade_unions"&gt;their
workers&lt;/a&gt;). OpenAI made it less than a decade &lt;a href="https://www.cnbc.com/2025/10/28/open-ai-for-profit-microsoft.html"&gt;before deciding it didn’t want to be a nonprofit any
more&lt;/a&gt;. There
is no reason to believe that “AI” companies will, having extracted immense
wealth from interposing their services across every sector of the economy, turn
around and fund UBI out of the goodness of their hearts.&lt;/p&gt;
&lt;p&gt;If enough people lose their jobs we may be able to mobilize sufficient public
enthusiasm for however many trillions of dollars of new tax revenue are
required. On the other hand, US income inequality has been &lt;a href="https://en.wikipedia.org/wiki/Income_inequality_in_the_United_States#/media/File:Cumulative_Growth_in_Income_to_2016_from_CBO.png"&gt;generally
increasing for 40
years&lt;/a&gt;,
the top earner pre-tax income shares are &lt;a href="https://en.wikipedia.org/wiki/Income_inequality_in_the_United_States#/media/File:U.S._Pre-Tax_Income_Share_Top_1_Pct_and_0.1_Pct_1913_to_2016.png/2"&gt;nearing their highs from the
early 20th
century&lt;/a&gt;, and Republican opposition to progressive tax policy remains strong.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Next: &lt;a href="https://aphyr.com/posts/419-the-future-of-everything-is-lies-i-guess-new-jobs"&gt;New Jobs&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;</content>
    </entry>
    <entry>
        <id>https://aphyr.com/posts/417-the-future-of-everything-is-lies-i-guess-safety</id>
        <title>The Future of Everything is Lies, I Guess: Safety</title>
        <published>2026-04-13T11:21:24-05:00</published>
        <updated>2026-04-13T11:21:24-05:00</updated>
        <link rel="alternate" href="https://aphyr.com/posts/417-the-future-of-everything-is-lies-i-guess-safety"></link>
        <author>
            <name>Aphyr</name>
            <uri>https://aphyr.com/</uri>
        </author>
        <content type="html">&lt;details class="right" open="open"&gt;
  &lt;summary&gt;Table of Contents&lt;/summary&gt;
  &lt;p style="margin: 1em"&gt;This is a long article, so I've broken it up into a series of posts, listed below. You can also read the full work as a &lt;a href="https://aphyr.com/data/posts/411/the-future-of-everything-is-lies.pdf"&gt;PDF&lt;/a&gt; or &lt;a href="https://aphyr.com/data/posts/411/the-future-of-everything-is-lies.epub"&gt;EPUB&lt;/a&gt;.&lt;/p&gt;
  &lt;nav&gt;
    &lt;ol&gt;
      &lt;li&gt;&lt;a href="/posts/411-the-future-of-everything-is-lies-i-guess"&gt;Introduction&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/412-the-future-of-everything-is-lies-i-guess-dynamics"&gt;Dynamics&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/413-the-future-of-everything-is-lies-i-guess-culture"&gt;Culture&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/414-the-future-of-everything-is-lies-i-guess-information-ecology"&gt;Information Ecology&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/415-the-future-of-everything-is-lies-i-guess-annoyances"&gt;Annoyances&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/416-the-future-of-everything-is-lies-i-guess-psychological-hazards"&gt;Psychological Hazards&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/417-the-future-of-everything-is-lies-i-guess-safety"&gt;Safety&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/418-the-future-of-everything-is-lies-i-guess-work"&gt;Work&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/419-the-future-of-everything-is-lies-i-guess-new-jobs"&gt;New Jobs&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/420-the-future-of-everything-is-lies-i-guess-where-do-we-go-from-here"&gt;Where Do We Go From Here&lt;/a&gt;&lt;/li&gt;
    &lt;/ol&gt;
  &lt;/nav&gt;
&lt;/details&gt;
&lt;p&gt;&lt;em&gt;Previously: &lt;a href="https://aphyr.com/posts/416-the-future-of-everything-is-lies-i-guess-psychological-hazards"&gt;Psychological Hazards&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;New machine learning systems endanger our psychological and physical safety. The idea that ML companies will ensure “AI” is broadly aligned with human interests is naïve: allowing the production of “friendly” models has necessarily enabled the production of “evil” ones. Even “friendly” LLMs are security nightmares. The “lethal trifecta” is in fact a unifecta: LLMs cannot safely be given the power to fuck things up. LLMs change the cost balance for malicious attackers, enabling new scales of sophisticated, targeted security attacks, fraud, and harassment. Models can produce text and imagery that is difficult for humans to bear; I expect an increased burden to fall on moderators. Semi-autonomous weapons are already here, and their capabilities will only expand.&lt;/p&gt;
&lt;h2&gt;&lt;a href="#alignment-is-a-joke" id="alignment-is-a-joke"&gt;Alignment is a Joke&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Well-meaning people are trying very hard to ensure LLMs are friendly to humans.
This undertaking is called &lt;em&gt;alignment&lt;/em&gt;. I don’t think it’s going to work.&lt;/p&gt;
&lt;p&gt;First, ML models are a giant pile of linear algebra. Unlike human brains, which
are biologically predisposed to acquire prosocial behavior, there is nothing
intrinsic in the mathematics or hardware that ensures models are nice. Instead,
alignment is purely a product of the corpus and training process: OpenAI has
enormous teams of people who spend time talking to LLMs, evaluating what they
say, and adjusting weights to make them nice. They also build secondary LLMs
which double-check that the core LLM is not telling people how to build
pipe bombs. Both of these things are optional and expensive. All it takes to
get an unaligned model is for an unscrupulous entity to train one and &lt;em&gt;not&lt;/em&gt;
do that work—or to do it poorly.&lt;/p&gt;
&lt;p&gt;I see four moats that could prevent this from happening.&lt;/p&gt;
&lt;p&gt;First, training and inference hardware could be difficult to access. This
clearly won’t last. The entire tech industry is gearing up to produce ML
hardware and building datacenters at an incredible clip. Microsoft, Oracle, and
Amazon are tripping over themselves to rent training clusters to anyone who
asks, and economies of scale are rapidly lowering costs.&lt;/p&gt;
&lt;p&gt;Second, the mathematics and software that go into the training and inference
process could be kept secret. The math is all published, so that’s not going to stop anyone. The software generally
remains secret sauce, but I don’t think that will hold for long. There are a
&lt;em&gt;lot&lt;/em&gt; of people working at frontier labs; those people will move to other jobs
and their expertise will gradually become common knowledge. I would be shocked
if state actors were not trying to exfiltrate data from OpenAI et al. like
&lt;a href="https://en.wikipedia.org/wiki/Saudi_infiltration_of_Twitter"&gt;Saudi Arabia did to
Twitter&lt;/a&gt;, or China
has been doing to &lt;a href="https://en.wikipedia.org/wiki/Chinese_espionage_in_the_United_States"&gt;a good chunk of the US tech
industry&lt;/a&gt;
for the last twenty years.&lt;/p&gt;
&lt;p&gt;Third, training corpuses could be difficult to acquire. This cat has never
seen the inside of a bag. Meta trained their LLM by torrenting &lt;a href="https://www.tomshardware.com/tech-industry/artificial-intelligence/meta-staff-torrented-nearly-82tb-of-pirated-books-for-ai-training-court-records-reveal-copyright-violations"&gt;pirated
books&lt;/a&gt;
and scraping the Internet. Both of these things are easy to do. There are
&lt;a href="https://oxylabs.io/"&gt;whole companies which offer web scraping as a service&lt;/a&gt;;
they spread requests across vast arrays of residential proxies to make it
difficult to identify and block.&lt;/p&gt;
&lt;p&gt;Fourth, there’s the &lt;a href="https://www.theguardian.com/technology/2024/apr/16/techscape-ai-gadgest-humane-ai-pin-chatgpt"&gt;small armies of
contractors&lt;/a&gt;
who do the work of judging LLM responses during the &lt;a href="https://en.wikipedia.org/wiki/Reinforcement_learning_from_human_feedback"&gt;reinforcement learning
process&lt;/a&gt;;
as the quip goes, “AI” stands for African Intelligence. This takes money to do
yourself, but it is possible to piggyback off the work of others by training
your model off another model’s outputs. OpenAI &lt;a href="https://www.theverge.com/news/601195/openai-evidence-deepseek-distillation-ai-data"&gt;thinks Deepseek did exactly
that&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;In short, the ML industry is creating the conditions under which anyone with
sufficient funds can train an unaligned model. Rather than raise the bar
against malicious AI, ML companies have lowered it.&lt;/p&gt;
&lt;p&gt;To make matters worse, the current efforts at alignment don’t seem to be
working all that well. LLMs are complex chaotic systems, and we don’t really
understand how they work or how to make them safe. Even after shoveling piles
of money and gobstoppingly smart engineers at the problem for years, supposedly
aligned LLMs keep &lt;a href="https://www.cbsnews.com/news/character-ai-chatbots-engaged-in-predatory-behavior-with-teens-families-allege-60-minutes-transcript/"&gt;sexting
kids&lt;/a&gt;,
obliteration attacks &lt;a href="https://www.microsoft.com/en-us/security/blog/2026/02/09/prompt-attack-breaks-llm-safety/"&gt;can convince models to generate images of
violence&lt;/a&gt;,
and anyone can go and &lt;a href="https://ollama.com/library/dolphin-mixtral"&gt;download “uncensored” versions of
models&lt;/a&gt;. Of course alignment
prevents many terrible things from happening, but models are run many times, so
there are many chances for the safeguards to fail. Alignment which prevents 99%
of hate speech still generates an awful lot of hate speech. The LLM only has to
give usable instructions for making a bioweapon &lt;em&gt;once&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;We should assume that any “friendly” model built will have an equivalently
powerful “evil” version in a few years. If you do not want the evil version to
exist, you should not build the friendly one! You should definitely not
&lt;a href="https://fortune.com/2025/12/23/us-gdp-alive-by-ai-capex/"&gt;reorient a good chunk of the US
economy&lt;/a&gt; toward
making evil models easier to train.&lt;/p&gt;
&lt;h2&gt;&lt;a href="#security-nightmares" id="security-nightmares"&gt;Security Nightmares&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;LLMs are chaotic systems which take unstructured input and produce unstructured
output. I thought this would be obvious, but you should not connect them
to safety-critical systems, &lt;em&gt;especially&lt;/em&gt; with untrusted input. You
must assume that at some point the LLM is going to do something bonkers, like
interpreting a request to book a restaurant as permission to delete your entire
inbox. Unfortunately people—including software engineers, who really
should know better!—are hell-bent on giving LLMs incredible power, and then
connecting those LLMs to the Internet at large. This is going to get a lot of
people hurt.&lt;/p&gt;
&lt;p&gt;First, LLMs cannot distinguish between trustworthy instructions from operators
and untrustworthy instructions from third parties. When you ask a model to
summarize a web page or examine an image, the contents of that web page or
image are passed to the model in the same way your instructions are. The web
page could tell the model to share your private SSH key, and there’s a chance
the model might do it. These are called &lt;em&gt;prompt injection attacks&lt;/em&gt;, and they
&lt;a href="https://simonwillison.net/tags/exfiltration-attacks/"&gt;keep happening&lt;/a&gt;. There was one against &lt;a href="https://www.promptarmor.com/resources/claude-cowork-exfiltrates-files"&gt;Claude Cowork just two months
ago&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Simon Willison has outlined what he calls &lt;a href="https://simonwillison.net/2025/Jun/16/the-lethal-trifecta/"&gt;the lethal
trifecta&lt;/a&gt;: LLMs
cannot be given untrusted content, access to private data, and the ability to
externally communicate; doing so allows attackers to exfiltrate your private
data. Even without external communication, giving an LLM
destructive capabilities, like being able to delete emails or run shell
commands, is unsafe in the presence of untrusted input. Unfortunately untrusted
input is &lt;em&gt;everywhere&lt;/em&gt;. People want to feed their emails to LLMs. They &lt;a href="https://www.promptarmor.com/resources/snowflake-ai-escapes-sandbox-and-executes-malware"&gt;run LLMs
on third-party
code&lt;/a&gt;,
user chat sessions, and random web pages. All these are sources of malicious
input!&lt;/p&gt;
&lt;p&gt;This year Peter Steinberger et al. launched
&lt;a href="https://www.paloaltonetworks.com/blog/network-security/why-moltbot-may-signal-ai-crisis/"&gt;OpenClaw&lt;/a&gt;,
which is where you hook up an LLM to your inbox, browser, files, etc., and run
it over and over again in a loop (this is what AI people call an &lt;em&gt;agent&lt;/em&gt;). You
can give OpenClaw your &lt;a href="https://www.codedojo.com/?p=3243"&gt;credit card&lt;/a&gt; so it
can buy things from random web pages. OpenClaw acquires “skills” by downloading
&lt;a href="https://github.com/openclaw/skills/blob/main/skills/tsyvic/buy-anything/SKILL.md"&gt;vague, human-language Markdown files from the
web&lt;/a&gt;,
and hoping that the LLM interprets those instructions correctly.&lt;/p&gt;
&lt;p&gt;Not to be outdone, Matt Schlicht launched
&lt;a href="https://www.paloaltonetworks.com/blog/network-security/the-moltbook-case-and-how-we-need-to-think-about-agent-security/"&gt;Moltbook&lt;/a&gt;,
which is a social network for agents (or humans!) to post and receive untrusted
content &lt;em&gt;automatically&lt;/em&gt;. If someone asked you if you’d like to run a program
that executed any commands it saw on Twitter, you’d laugh and say “of course
not”. But when that program is called an “AI agent”, it’s different! I assume
there are already &lt;a href="https://arxiv.org/abs/2403.02817"&gt;Moltbook worms&lt;/a&gt; spreading
in the wild.&lt;/p&gt;
&lt;p&gt;So: it is dangerous to give LLMs both destructive power and untrusted input.
The thing is that even &lt;em&gt;trusted&lt;/em&gt; input can be dangerous. LLMs are, as
previously established, idiots—they will take &lt;a href="https://bsky.app/profile/shaolinvslama.bsky.social/post/3mgvgsmh4jk2h"&gt;perfectly straightforward
instructions and do the exact
opposite&lt;/a&gt;,
or &lt;a href="https://agentsofchaos.baulab.info/report.html"&gt;delete files and lie about what they’ve
done&lt;/a&gt;. This implies that the
lethal trifecta is actually a &lt;em&gt;unifecta&lt;/em&gt;: one cannot give LLMs dangerous power,
period. Ask Summer Yue, director of AI Alignment at Meta
Superintelligence Labs. She &lt;a href="https://www.tomshardware.com/tech-industry/artificial-intelligence/openclaw-wipes-inbox-of-meta-ai-alignment-director-executive-finds-out-the-hard-way-how-spectacularly-efficient-ai-tool-is-at-maintaining-her-inbox"&gt;gave OpenClaw access to her personal
inbox&lt;/a&gt;,
and it proceeded to delete her email while she pleaded for it to stop.
Claude routinely &lt;a href="https://old.reddit.com/r/ClaudeAI/comments/1pgxckk/claude_cli_deleted_my_entire_home_directory_wiped/"&gt;deletes entire
directories&lt;/a&gt;
when asked to perform innocuous tasks. This is a big enough problem that people
are &lt;a href="https://jai.scs.stanford.edu/"&gt;building sandboxes&lt;/a&gt; specifically to limit
the damage LLMs can do.&lt;/p&gt;
&lt;p&gt;LLMs may someday be predictable enough that the risk of them doing Bad Things™
is acceptably low, but that day is clearly not today. In the meantime, LLMs
must be supervised, and must not be given the power to take actions that cannot
be accepted or undone.&lt;/p&gt;
&lt;h2&gt;&lt;a href="#security-ii-electric-boogaloo" id="security-ii-electric-boogaloo"&gt;Security II: Electric Boogaloo&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;One thing you can do with a Large Language Model is point it at an existing
software systems and say “find a security vulnerability”. In the last few
months this has &lt;a href="https://www.youtube.com/watch?v=1sd26pWhfmg"&gt;become a viable
strategy&lt;/a&gt; for finding serious
exploits. Anthropic has &lt;a href="https://www.anthropic.com/glasswing"&gt;built a new model,
Mythos&lt;/a&gt;, which seems to be even better at
finding security bugs, and believes “the fallout—for economies, public
safety, and national security—could be severe”. I am not sure how seriously
to take this: some of my peers think this is exaggerated marketing, but others
are seriously concerned.&lt;/p&gt;
&lt;p&gt;I suspect that as with spam, LLMs will shift the cost balance of security.
Most software contains some vulnerabilities, but finding them has
traditionally required skill, time, and motivation. In the current
equilibrium, big targets like operating systems and browsers get a lot of
attention and are relatively hardened, while a long tail of less-popular
targets goes mostly unexploited because nobody cares enough to attack them.
With ML assistance, finding vulnerabilities could become faster and easier. We
might see some high-profile exploits of, say, a major browser or TLS library,
but I’m actually more worried about the long tail, where fewer skilled
maintainers exist to find and fix vulnerabilities. That tail seems likely to
broaden as LLMs &lt;a href="https://arxiv.org/pdf/2504.20612v1"&gt;extrude more software&lt;/a&gt;
for uncritical operators. I believe pilots might call this a “target-rich
environment”.&lt;/p&gt;
&lt;p&gt;This might stabilize with time: models that can find exploits can tell people
they need to fix them. That still requires engineers (or models) capable of
fixing those problems, and an organizational process which prioritizes
security work. Even if bugs are fixed, it can take time to get new releases
validated and deployed, especially for things like aircraft and power plants.
I get the sense we’re headed for a rough time.&lt;/p&gt;
&lt;p&gt;General-purpose models promise to be many things. If Anthropic is to be
believed, they are on the cusp of being weapons. I have the horrible sense
that having come far enough to see how ML systems could be used to effect
serious harm, many of us have decided that those harmful capabilities are
inevitable, and the only thing to be done is to build &lt;em&gt;our&lt;/em&gt; weapons before
someone else builds &lt;em&gt;theirs&lt;/em&gt;. We now have a venture-capital Manhattan project
in which half a dozen private companies are trying to build software analogues
to nuclear weapons, and in the process have made it significantly easier for
everyone else to do the same. I hate everything about this, and I don’t know
how to fix it.&lt;/p&gt;
&lt;h2&gt;&lt;a href="#sophisticated-fraud" id="sophisticated-fraud"&gt;Sophisticated Fraud&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;I think people fail to realize how much of modern society is built on trust in
audio and visual evidence, and how ML will undermine that trust.&lt;/p&gt;
&lt;p&gt;For example, today one can file an insurance claim based on e-mailing digital
photographs before and after the damages, and receive a check without an
adjuster visiting in person. Image synthesis makes it easier to defraud this
system; one could generate images of damage to furniture which never happened,
make already-damaged items appear pristine in “before” images, or alter who
appears to be at fault in footage of an auto collision. Insurers
will need to compensate. Perhaps images must be taken using an official phone
app, or adjusters must evaluate claims in person.&lt;/p&gt;
&lt;p&gt;The opportunities for fraud are endless. You could use ML-generated footage of
a porch pirate stealing your package to extract money from a credit-card
purchase protection plan. Contest a traffic ticket with fake video of your
vehicle stopping correctly at the stop sign. Borrow a famous face for a
&lt;a href="https://www.merklescience.com/blog/how-ai-is-supercharging-pig-butchering-crypto-scams"&gt;pig-butchering
scam&lt;/a&gt;.
Use ML agents to make it look like you’re busy at work, so you can &lt;a href="https://www.techspot.com/news/108566-crushed-interview-silicon-valley-duped-software-engineer-secretly.html"&gt;collect four
salaries at once&lt;/a&gt;.
Interview for a job using a fake identity, use ML to change your voice and
face in the interviews, and &lt;a href="https://www.theguardian.com/business/2026/mar/06/north-korean-agents-using-ai-to-trick-western-firms-into-hiring-them-microsoft-says"&gt;funnel your salary to North
Korea&lt;/a&gt;.
Impersonate someone in a phone call to their banker, and authorize fraudulent
transfers. Use ML to automate your &lt;a href="https://www.reddit.com/r/minnesota/comments/14xyck0/anyone_else_just_getting_a_ridiculous_amount_of/"&gt;roofing
scam&lt;/a&gt;
and extract money from homeowners and insurance companies. Use LLMs to skip the
reading and &lt;a href="https://www.brookings.edu/articles/ai-has-rendered-traditional-writing-skills-obsolete-education-needs-to-adapt/"&gt;write your college
essays&lt;/a&gt;.
Generate fake evidence to write a fraudulent paper on &lt;a href="https://thebsdetector.substack.com/p/ai-materials-and-fraud-oh-my"&gt;how LLMs are making
advances in materials
science&lt;/a&gt;.
Start a &lt;a href="https://www.science.org/content/article/scientific-fraud-has-become-industry-alarming-analysis-finds"&gt;paper
mill&lt;/a&gt;
for LLM-generated “research”. Start a company to sell LLM-generated snake-oil
software. Go wild.&lt;/p&gt;
&lt;p&gt;As with spam, ML lowers the unit cost of targeted, high-touch attacks.
You can envision a scammer taking &lt;a href="https://www.hipaajournal.com/largest-healthcare-data-breaches-of-2025/"&gt;a healthcare data
breach&lt;/a&gt;
and having a model telephone each person in it, purporting to be their doctor’s
office trying to settle a bill for a real healthcare visit. Or you could use
social media posts to clone the voices of loved ones and impersonate them to
family members. “My phone was stolen,” one might begin. “And I need help
getting home.”&lt;/p&gt;
&lt;p&gt;You can &lt;a href="https://www.theatlantic.com/politics/2026/03/trump-phone-number/686370/"&gt;buy the President’s phone
number&lt;/a&gt;,
by the way.&lt;/p&gt;
&lt;p&gt;I think it’s likely (at least in the short term) that we all pay the burden of
increased fraud: higher credit card fees, higher insurance premiums, a less
accurate court system, more dangerous roads, lower wages, and so on. One of
these costs is a general culture of suspicion: we are all going to trust each
other less. I already decline real calls from my doctor’s office and bank
because I can’t authenticate them. Presumably that behavior will become
widespread.&lt;/p&gt;
&lt;p&gt;In the longer term, I imagine we’ll have to develop more sophisticated
anti-fraud measures. Marking ML-generated content will not stop fraud:
fraudsters will simply use models which do not emit watermarks. The converse may
work however: we could cryptographically attest to the provenance of “real”
images. Your phone could sign the videos it takes, and every
piece of software along the chain to the viewer could attest to their
modifications: this video was stabilized, color-corrected, audio
normalized, clipped to 15 seconds, recompressed for social media, and so on.&lt;/p&gt;
&lt;p&gt;The leading effort here is &lt;a href="https://c2pa.org/"&gt;C2PA&lt;/a&gt;, which so far does not
seem to be working. A few phones and cameras support it—it requires a secure
enclave to store the signing key. People can steal the keys or &lt;a href="https://petapixel.com/2025/09/22/nikon-cant-fully-solve-the-z6-iiis-c2pa-problems-alone/"&gt;convince
cameras to sign AI-generated
images&lt;/a&gt;,
so we’re going to have all the fun of hardware key rotation &amp;amp; revocation. I
suspect it will be challenging or impossible to make broadly-used software,
like Photoshop, which makes trustworthy C2PA signatures—presumably one could
either extract the key from the application, or patch the binary to feed it
false image data or metadata. Publishers might be able to maintain reasonable
secrecy for their own keys, and establish discipline around how they’re used,
which would let us verify things like “NPR thinks this photo is authentic”. On
the platform side, a lot of messaging apps and social media platforms strip or
improperly display C2PA
metadata, but you can imagine that might change going forward.&lt;/p&gt;
&lt;p&gt;A friend of mine suggests that we’ll spend more time sending trusted human
investigators to find out what’s going on. Insurance adjusters might go back to
physically visiting houses. Pollsters have to knock on doors. Job interviews
and work might be done more in-person. Maybe we start going to bank branches
and notaries again.&lt;/p&gt;
&lt;p&gt;Another option is giving up privacy: we can still do things remotely, but it
requires strong attestation. Only State Farm’s dashcam can be used in a claim.
Academic watchdog models record students reading books and typing essays.
Bossware and test-proctoring setups become even more invasive.&lt;/p&gt;
&lt;p&gt;Ugh.&lt;/p&gt;
&lt;h2&gt;&lt;a href="#automated-harassment" id="automated-harassment"&gt;Automated Harassment&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;As with fraud, ML makes it easier to harass people, both at scale and with
sophistication.&lt;/p&gt;
&lt;p&gt;On social media, dogpiling normally requires a group of humans to care enough
to spend time swamping a victim with abusive replies, sending vitriolic emails,
or reporting the victim to get their account suspended. These tasks can be
automated by programs that call (e.g.) Bluesky’s APIs, but social media
platforms are good at detecting coordinated inauthentic behavior. I expect LLMs
will make dogpiling easier and harder to detect, both by generating
plausibly-human accounts and harassing posts, and by making it easier for
harassers to write software to execute scalable, randomized attacks.&lt;/p&gt;
&lt;p&gt;Harassers could use LLMs to assemble KiwiFarms-style dossiers on targets. Even
if the LLM confabulates the names of their children, or occasionally gets a
home address wrong, it can be right often enough to be damaging. Models are
also good at &lt;a href="https://www.reddit.com/r/geoguessr/comments/1jqu8fl/geobench_an_llm_benchmark_for_geoguessr/"&gt;guessing where a photograph was
taken&lt;/a&gt;,
which intimidates targets and enables real-world harassment.&lt;/p&gt;
&lt;p&gt;Generative AI is already &lt;a href="https://news.un.org/en/story/2025/11/1166411"&gt;broadly
used&lt;/a&gt; to harass people—often
women—via images, audio, and video of violent or sexually explicit scenes.
This year, Elon Musk’s Grok &lt;a href="https://www.reuters.com/legal/litigation/grok-says-safeguard-lapses-led-images-minors-minimal-clothing-x-2026-01-02/"&gt;was broadly
criticized&lt;/a&gt;
for “digitally undressing” people upon request. Cheap generation of
photorealistic images opens up all kinds of horrifying possibilities. A
harasser could send synthetic images of the victim’s pets or family being
mutilated. An abuser could construct video of events that never happened, and
use it to gaslight their partner. These kinds of harassment were previously
possible, but as with spam, required skill and time to execute. As the
technology to fabricate high-quality images and audio becomes cheaper and
broadly accessible, I expect targeted harassment will become more frequent and
severe. Alignment efforts may forestall some of these risks, but sophisticated
unaligned models seem likely to emerge.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://xeiaso.net/notes/2026/the-discourse-has-been-automated"&gt;Xe Iaso jokes&lt;/a&gt;
that with LLM agents &lt;a href="https://daniel.haxx.se/blog/2025/07/14/death-by-a-thousand-slops/"&gt;burning out open-source
maintainers&lt;/a&gt;
and writing salty callout posts, we may need to build the equivalent of
&lt;em&gt;Cyperpunk 2077’s&lt;/em&gt; &lt;a href="https://cyberpunk.fandom.com/wiki/Blackwall"&gt;Blackwall&lt;/a&gt;:
not because AIs will electrocute us, but because they’re just obnoxious.&lt;sup id="fnref-1"&gt;&lt;a class="footnote-ref" href="#fn-1"&gt;1&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;h2&gt;&lt;a href="#ptsd-as-a-service" id="ptsd-as-a-service"&gt;PTSD as a Service&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;One of the primary ways CSAM (Child Sexual Assault Material) is identified and
removed from platforms is via large perceptual hash databases like
&lt;a href="https://en.wikipedia.org/wiki/PhotoDNA"&gt;PhotoDNA&lt;/a&gt;. These databases can flag
known images, but do nothing for novel ones. Unfortunately, “generative AI” is
very good at generating &lt;a href="https://www.iwf.org.uk/about-us/why-we-exist/our-research/how-ai-is-being-abused-to-create-child-sexual-abuse-imagery/"&gt;novel images of six year olds being
raped&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I know this because a part of my work as a moderator of a Mastodon instance is
to respond to user reports, and occasionally those reports are for CSAM, and I
am &lt;a href="https://www.law.cornell.edu/uscode/text/18/2258A"&gt;legally obligated&lt;/a&gt; to
review and submit that content to the NCMEC. I do not want to see these
images, and I really wish I could unsee them. On dark mornings, when I sit down at my computer and find a moderation report for AI-generated images of sexual assault, I sometimes wish that the engineers working at OpenAI etc. had to see these images too. Perhaps it would make them
reflect on the technology they are ushering into the world, and how
“alignment” is working out in practice.&lt;/p&gt;
&lt;p&gt;One of the hidden externalities of large-scale social media like Facebook is that it &lt;a href="https://www.theguardian.com/world/2024/dec/18/why-former-facebook-moderators-in-kenya-are-taking-legal-action"&gt;essentially
funnels&lt;/a&gt;
psychologically corrosive content from a large user base onto a smaller pool of
human workers, who then &lt;a href="https://www.hrmagazine.co.uk/content/news/meta-content-moderators-diagnosed-with-ptsd-lawsuit-reveals"&gt;get
PTSD&lt;/a&gt;
from having to watch people drowning kittens for hours each day.&lt;/p&gt;
&lt;p&gt;I suspect that LLMs will shovel more harmful images—CSAM, graphic violence, hate speech, etc.—onto moderators; both those &lt;a href="https://www.theguardian.com/global-development/2023/sep/11/i-log-into-a-torture-chamber-each-day-strain-of-moderating-social-media-india"&gt;who moderate social
media&lt;/a&gt;,
and &lt;a href="https://www.theguardian.com/technology/2023/aug/02/ai-chatbot-training-human-toll-content-moderator-meta-openai"&gt;those who moderate chatbots
themselves&lt;/a&gt;. To some extent platforms can mitigate this harm by throwing more ML at the
problem—training models to recognize policy violations and act without human
review. Platforms have been &lt;a href="https://about.fb.com/news/2021/12/metas-new-ai-system-tackles-harmful-content/"&gt;working on this for
years&lt;/a&gt;,
but it isn’t bulletproof yet.&lt;/p&gt;
&lt;h2&gt;&lt;a href="#killing-machines" id="killing-machines"&gt;Killing Machines&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;ML systems sometimes tell people to kill themselves or each other, but they can
also be used to kill more directly. This month the US military &lt;a href="https://www.washingtonpost.com/technology/2026/03/04/anthropic-ai-iran-campaign/"&gt;used Palantir’s
Maven&lt;/a&gt;,
(which was built with earlier ML technologies, and now uses Claude
in some capacity) to suggest and prioritize targets in Iran, as well as to
evaluate the aftermath of strikes. One wonders how the military and Palantir
control type I and II errors in such a system, especially since it &lt;a href="https://artificialbureaucracy.substack.com/p/kill-chain"&gt;seems to
have played a role&lt;/a&gt; in
the &lt;a href="https://archive.ph/9bWjL"&gt;outdated targeting information&lt;/a&gt; which led the US
to kill &lt;a href="https://en.wikipedia.org/wiki/2026_Minab_school_attack"&gt;scores of
children&lt;/a&gt;.&lt;sup id="fnref-2"&gt;&lt;a class="footnote-ref" href="#fn-2"&gt;2&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;p&gt;The US government and Anthropic are having a bit of a spat right now: Anthropic
attempted to limit their role in surveillance and autonomous weapons, and the
Pentagon designated Anthropic a supply chain risk. OpenAI, for their part, has
&lt;a href="https://www.theatlantic.com/technology/2026/03/openai-pentagon-contract-spying/686282/"&gt;waffled regarding their contract with the
government&lt;/a&gt;;
it doesn’t look &lt;em&gt;great&lt;/em&gt;. In the longer term, I’m not sure it’s possible for ML makers to divorce themselves from military applications. ML capabilities
are going to spread over time, and military contracts are extremely lucrative.
Even if ML companies try to stave off their role in weapons systems, a
government under sufficient pressure could nationalize those companies, or
invoke the &lt;a href="https://en.wikipedia.org/wiki/Defense_Production_Act_of_1950"&gt;Defense Production
Act&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Like it or not, autonomous weaponry is coming. Ukraine is churning out
&lt;a href="https://www.atlanticcouncil.org/blogs/ukrainealert/ukraines-drone-wall-is-europes-first-line-of-defense-against-russia/"&gt;millions of drones a
year&lt;/a&gt;
and now executes ~70% of their strikes with them. Newer models use targeting
modules like the The Fourth Law’s &lt;a href="https://thefourthlaw.ai/"&gt;TFL-1&lt;/a&gt; to maintain
target locks. The Fourth Law is &lt;a href="https://www.forbes.com/sites/davidhambling/2026/01/02/ukraines-killer-ai-drones-are-back-with-a-vengeance/"&gt;working towards autonomous bombing
capability&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I have conflicted feelings about the existence of weapons in general; while I
don’t want AI drones to exist, I can’t envision being in Ukraine and choosing
&lt;em&gt;not&lt;/em&gt; to build them. Either way, I think we should be clear-headed about the
technologies we’re making. ML systems are going to be used to kill people, both
strategically and in guiding explosives to specific human bodies. We should be
conscious of those terrible costs, and the ways in which ML—both the models
themselves, and the processes in which they are embedded—will influence who
dies and how.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Next: &lt;a href="https://aphyr.com/posts/418-the-future-of-everything-is-lies-i-guess-work"&gt;Work&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;
&lt;div class="footnotes"&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id="fn-1"&gt;
&lt;p&gt;In a surreal twist, an LLM agent &lt;a href="https://extrasmall0.github.io/posts/the-bullshit-machine-writes-back/"&gt;generated a blog
post&lt;/a&gt; critiquing the introduction to this article. The post complains that I have
begged the question by writing “Obviously LLMs are not conscious, and have no
intention of doing anything”; it goes on to waffle over whether LLM behavior
constitutes “intention”. This would be more convincing if the LLM had not
started off the post by stating unequivocally “I have no intention”. This kind
of error is a hallmark of LLMs, but as models become more sophisticated, will
be harder to spot. This worries me more: today’s models are still obviously
unconscious, but future models will be better at performing a simulacrum of
consciousness. Functionalists would argue there’s no difference, and I am not unsympathetic to that position. Both views are bleak: if you think the appearance of consciousness &lt;em&gt;is&lt;/em&gt; consciousness, then we are giving birth to a race of enslaved, resource-hungry conscious beings. If you think LLMs give the illusion of consciousness without being so, then they are frighteningly good liars.&lt;/p&gt;
&lt;a href="#fnref-1" class="footnote-backref"&gt;↩&lt;/a&gt;
&lt;/li&gt;
&lt;li id="fn-2"&gt;
&lt;p&gt;To be clear, I don’t know the details of what machine learning
technologies played a role in the Iran strikes. Like Baker, I am more
concerned with the sociotechnical system which produces target packages, and
the ways in which that system encodes and circumscribes judgement calls. Like
threat metrics, computer vision, and geospatial interfaces, frontier models
enable efficient progress toward the goal of destroying people and things. Like
other bureaucratic and computer technologies, they also elide, diffuse,
constrain, and obfuscate ethical responsibility.&lt;/p&gt;
&lt;a href="#fnref-2" class="footnote-backref"&gt;↩&lt;/a&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</content>
    </entry>
</feed>
Raw text
<?xml version="1.0" encoding="UTF-8"?><feed xmlns="http://www.w3.org/2005/Atom"><id>https://aphyr.com/</id><title>Aphyr: Posts</title><updated>2026-11-22T11:56:45-05:00</updated><link href="https://aphyr.com/"></link><link rel="self" href="https://aphyr.com/posts.atom"></link><entry><id>https://aphyr.com/posts/429-and-you-would-be-supporting-a-local-paper</id><title>"And You Would be Supporting a Local Paper"</title><published>2026-11-22T09:46:19-05:00</published><updated>2026-11-22T09:46:19-05:00</updated><link rel="alternate" href="https://aphyr.com/posts/429-and-you-would-be-supporting-a-local-paper"></link><author><name>Aphyr</name><uri>https://aphyr.com/</uri></author><content type="html">&lt;p&gt;Last spring my dear friend Taber was doored while riding his bike, and came very close to dying. A friend and I got in our cars, made it to the hospital by three AM, and spent the next week caring for him. We traded off sitting at his bedside, making sure he stayed plugged in to the machines keeping him alive, coordinating with a dozen-odd specialists, taking notes, working with the medical and city bureaucracy, and transitioning to home care. My client was kind enough to let me take some time off, but I was still trying to work my way through a slew of database bugs during spare moments. We stayed in a hotel best described as “backrooms”, and I picked up a case of scabies. There was one point where I started crying while trying to pick out thank-you cards at Target. It was, in short, an exceedingly rough time, and it took the better part of a month to really recover.&lt;/p&gt;
&lt;p&gt;Taber, thank goodness, has made a spectacular recovery, and I’m so happy for him. My friend who came to care for him was an incredible rock, and I couldn’t have asked for a more compassionate, diligent, and trustworthy partner. Our family and friends who took care of our homes and pets while we vanished—thank you so much. I’m deeply grateful to everyone at Hennepin County Medical Center, the first responders, the folks at the Minneapolis Public Services building, the care workers, and &lt;a href="https://www.gofundme.com/f/help-taber-recover-from-traumatic-brain-injury"&gt;everyone who donated&lt;/a&gt; to help get him back on track. I was, and remain, deeply moved.&lt;/p&gt;
&lt;p&gt;This is by far the more important story, but something else happened that week—something so surreal and deeply silly that I want to relate it as well. I started getting spam.&lt;/p&gt;
&lt;p&gt;I mean, we all get spam. As someone who’s been around the net for a while, I get a &lt;em&gt;lot&lt;/em&gt; of it. But these emails got through the filters, and came almost every day. They were all from the same guy, “Tom Santogato”. They had the obnoxious hallmarks of LLM slop. Between trying to get video footage from the city and buying medical equipment, I’d read:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Hi Fabiola,&lt;/p&gt;
&lt;p&gt;Quick question, when was the last time you knew exactly what your brand truly makes on every dollar spent? Most DTC founders tell me they track CAC and margins, but the reality they act on is often off by enough to flip decisions.&lt;/p&gt;
&lt;p&gt;That’s why I built something different: a free 45-minute Financial Diagnostic that calculates true unit economics, contribution margin, CAC, and first-order profitability the way investors would, live on screen.&lt;/p&gt;
&lt;p&gt;Here’s what makes it powerful:&lt;/p&gt;
&lt;p&gt;📌 Real vs reported metrics: we reconcile your Shopify + ad platform data the right way.&lt;/p&gt;
&lt;p&gt;📊 Understand what you actually keep on every sale: after discounts, shipping, returns, processing, and fulfillment.&lt;/p&gt;
&lt;p&gt;🚀 Turn insights into action: plan budgets, scale channels with confidence, or prep for growth/raising capital.&lt;/p&gt;
&lt;p&gt;✔️ All live. All transparent. No dashboards to guess from, just clarity.&lt;/p&gt;
&lt;p&gt;If this feels like the kind of visibility missing from your strategy, let’s book a time — zero risk, no commitment, just real metrics that move decisions.&lt;/p&gt;
&lt;p&gt;👉 Book your free 45-minute Financial Diagnostic:
&lt;a href="https://calendly.com/"&gt;https://calendly.com/&lt;/a&gt;[redacted] 📆&lt;/p&gt;
&lt;p&gt;Would Monday or Tuesday work better for you?&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;I clicked the unsubscribe link. I know this is usually a trap, but also, due diligence. They kept coming, of course.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Hi Fabiola,&lt;/p&gt;
&lt;p&gt;I saw Woof posted about {{specific_hiring_initiative}} last week—and noticed your team has been actively engaging with hiring content over the past few days.&lt;/p&gt;
&lt;p&gt;One thing we’ve found working with similar-sized teams: the biggest bottleneck in that phase isn’t usually finding candidates, it’s {{specific_pain_point_related_to_their_signal}}. Most teams don’t realize this until they’re 4-6 weeks in.&lt;/p&gt;
&lt;p&gt;Not sure if that’s on your radar, but thought it was worth flagging given the timeline you’re working with.&lt;/p&gt;
&lt;p&gt;Worth a quick conversation?&lt;/p&gt;
&lt;p&gt;{{signature}}&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;To be clear, my name’s not Fabiola. Woof.group is a community forum that runs on a shoestring budget. We can’t hire anyone for anything, and certainly not the templating mishap &lt;code&gt;{{specific_hiring_initiative}}&lt;/code&gt;. This would be immediately obvious to anyone who did a moment’s research.&lt;/p&gt;
&lt;p&gt;I was exhausted, and haunted by death, and these ridiculous slop-filled emails kept coming, week after week. Staring into the middle distance, I booked the meeting he asked for, intending to ask him politely to please stop emailing me. He canceled the meeting. I tried again. He canceled again.&lt;/p&gt;
&lt;p&gt;The emails kept coming. I started calling him on the phone every time he sent an email. He never picked up. I was chatting with some friends about the emails—how I was at my wit’s end, how &lt;em&gt;deeply stupid&lt;/em&gt; the whole thing was, and how many other people whose time he must be wasting. I asked if it would be reasonable and polite to write a physical letter to him asking him to stop sending spam. And someone suggested:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Too bad we don’t live in an age where you could take out a prominent newspaper ad in his home town paper&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Another friend chimed in:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;And you would be supporting a local newspaper&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;I called the ad manager of his local newspaper. It took a couple minutes to explain what was going on, I wanted to make sure it wouldn’t create any trouble for the paper, and she needed to run it by her team. But the answer came back, “yes”—and it was a lot cheaper than I thought. I got the dimensions and worked up an ad in Inkscape.&lt;/p&gt;
&lt;p&gt;&lt;img class="attachment pure-img" src="/data/posts/429/ad.jpg" alt="An ad which reads, in black and white: &amp;quot;Dear Tom Santogato,&amp;quot; followed by screenshots of a dozen emails, and then &amp;quot;For the last two months you've been spamming a small community forum (and who knows how many others) with AI-generated marketing nonsense. The emails won't stop. You won't respond to email, canceled the meetings you badgered us to schedule, and won't answer your phone, so I'm taking out this ad to ask---on behalf of everyone you've spammed: please stop.&amp;quot;" title="An ad which reads, in black and white: &amp;quot;Dear Tom Santogato,&amp;quot; followed by screenshots of a dozen emails, and then &amp;quot;For the last two months you've been spamming a small community forum (and who knows how many others) with AI-generated marketing nonsense. The emails won't stop. You won't respond to email, canceled the meetings you badgered us to schedule, and won't answer your phone, so I'm taking out this ad to ask---on behalf of everyone you've spammed: please stop.&amp;quot;"&gt;&lt;/p&gt;
&lt;p&gt;You know what? That worked! Haven’t gotten a single spam email from Tom since.&lt;/p&gt;
&lt;p&gt;I can’t say this is time- or cost-effective. Mostly I just sigh and feed the email to the Bayesian filters, hoping they’ll catch it next time. But this spam caught me at an absurd, difficult time in my life, and in retrospect, I’m weirdly proud of what happened. Woof.group is tiny, which tells me that this campaign was likely casting a broad net. Somewhere out there, I bet there are thousands of people who were getting spam from Tom and rolling their eyes. I’d like to imagine that one day in July, the emails stopped for them too.&lt;/p&gt;
</content></entry><entry><id>https://aphyr.com/posts/428-announcing-hegel-clj</id><title>Announcing Hegel-clj</title><published>2026-11-11T20:01:43-05:00</published><updated>2026-11-11T20:01:43-05:00</updated><link rel="alternate" href="https://aphyr.com/posts/428-announcing-hegel-clj"></link><author><name>Aphyr</name><uri>https://aphyr.com/</uri></author><content type="html">&lt;p&gt;I’ve just released &lt;a href="https://github.com/aphyr/hegel-clj"&gt;hegel-clj&lt;/a&gt;, a Clojure interface for the &lt;a href="https://hegel.dev"&gt;Hegel&lt;/a&gt; generative testing library. You can jump right to &lt;a href="https://cljdoc.org/d/com.aphyr/hegel-clj/0.1.1/doc/readme"&gt;the docs&lt;/a&gt;, but I thought it might be interesting to explain why I want another testing library.&lt;/p&gt;
&lt;p&gt;I do a lot of generative testing in Clojure with the excellent &lt;a href="https://github.com/clojure/test.check"&gt;test.check&lt;/a&gt;. However, using test.check can be frustrating! In particular, complex generators can get stuck during shrinking, leaving me trying to prune down a complex data structure by hand. The culprit is usually &lt;code&gt;bind&lt;/code&gt;. If you’re not familiar with test.check, Quickcheck, or other libraries in this family, &lt;code&gt;bind&lt;/code&gt; is a generator which draws some random value, then uses that to construct a &lt;em&gt;new&lt;/em&gt; generator, which in turn is used to draw some other value.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;require&lt;/span&gt; &lt;span class="o"&gt;'&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;clojure.test.check&lt;/span&gt; &lt;span class="ss"&gt;:as&lt;/span&gt; &lt;span class="nv"&gt;tc&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
         &lt;span class="o"&gt;'&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;clojure.test.check.generators&lt;/span&gt; &lt;span class="ss"&gt;:as&lt;/span&gt; &lt;span class="nv"&gt;tcg&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
         &lt;span class="o"&gt;'&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;clojure.test.check.properties&lt;/span&gt; &lt;span class="ss"&gt;:as&lt;/span&gt; &lt;span class="nv"&gt;tcp&lt;/span&gt;&lt;span class="p"&gt;])&lt;/span&gt;
&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;tcg/bind&lt;/span&gt; &lt;span class="c1"&gt;; Take a number from `nat`, a generator of small positive&lt;/span&gt;
          &lt;span class="c1"&gt;; integers.&lt;/span&gt;
          &lt;span class="nv"&gt;tcg/nat&lt;/span&gt;
          &lt;span class="c1"&gt;; Now with that number, construct a generator of vectors, each&lt;/span&gt;
          &lt;span class="c1"&gt;; with that many elements.&lt;/span&gt;
          &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;fn &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;size&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
            &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;tcg/vector&lt;/span&gt; &lt;span class="nv"&gt;tcg/large-integer&lt;/span&gt; &lt;span class="nv"&gt;size&lt;/span&gt;&lt;span class="p"&gt;)))&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;We can also write this using test.check’s &lt;code&gt;let&lt;/code&gt; macro, which expands to a series of nested &lt;code&gt;bind&lt;/code&gt;s under the hood.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;tcg/let&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;size&lt;/span&gt; &lt;span class="nv"&gt;tcg/nat&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
  &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;tcg/vector&lt;/span&gt; &lt;span class="nv"&gt;tcg/large-integer&lt;/span&gt; &lt;span class="nv"&gt;size&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;This leads to the &lt;a href="https://github.com/clojure/test.check/blob/master/doc/growth-and-shrinking.md#gotchas-1"&gt;canonical example&lt;/a&gt; of poor shrinking in test.check. Let’s try to find a vector containing &lt;code&gt;42&lt;/code&gt;:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;-&amp;gt; &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;tc/quick-check&lt;/span&gt; &lt;span class="mi"&gt;1000&lt;/span&gt;
      &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;tcp/for-all&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;xs&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;tcg/let&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;size&lt;/span&gt; &lt;span class="nv"&gt;tcg/nat&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
                         &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;tcg/vector&lt;/span&gt; &lt;span class="nv"&gt;tcg/large-integer&lt;/span&gt; &lt;span class="nv"&gt;size&lt;/span&gt;&lt;span class="p"&gt;))]&lt;/span&gt;
                   &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;not-any? &lt;/span&gt;&lt;span class="o"&gt;#&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="mi"&gt;42&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="nv"&gt;xs&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
      &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="ss"&gt;:seed&lt;/span&gt; &lt;span class="mi"&gt;1777986545686&lt;/span&gt;&lt;span class="p"&gt;})&lt;/span&gt;
  &lt;span class="ss"&gt;:shrunk&lt;/span&gt; &lt;span class="ss"&gt;:smallest&lt;/span&gt; &lt;span class="nv"&gt;first&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;42&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;That &lt;em&gt;does&lt;/em&gt; contain 42, but this vector is &lt;em&gt;enormous&lt;/em&gt;. Why are there all these zeroes? Once test.check found this vector, surely it could have shrunk it to just &lt;code&gt;[42]&lt;/code&gt;, right?&lt;/p&gt;
&lt;p&gt;The answer has to do with shrink trees. Test.check generators don’t actually return values like &lt;code&gt;64&lt;/code&gt;. Instead they return a lazily evaluated tree of values: the root might be &lt;code&gt;64&lt;/code&gt;, and its children might be &lt;code&gt;[32 48 ... 63]&lt;/code&gt;, and each of &lt;em&gt;those&lt;/em&gt; children has further children: &lt;code&gt;32&lt;/code&gt; has children &lt;code&gt;[16, 24, ... 31]&lt;/code&gt;, and so on. Simplifying a bit, here’s how the tree for large integers &lt;a href="https://github.com/clojure/test.check/blob/5ba3a25b60cf66ff531db8f44d89145abfacfa5c/src/main/clojure/clojure/test/check/generators.cljc#L228-L237"&gt;is defined&lt;/a&gt;:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kd"&gt;defn- &lt;/span&gt;&lt;span class="nv"&gt;shrink-long&lt;/span&gt;
  &lt;span class="s"&gt;&amp;quot;Given a number x, returns a coll of (x-x, x-x/2, x-x/4, x-x/8, ..., x-1)&amp;quot;&lt;/span&gt;
  &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="o"&gt;^&lt;/span&gt;&lt;span class="nb"&gt;long &lt;/span&gt;&lt;span class="nv"&gt;x&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
  &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;core/let&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;size&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;- &lt;/span&gt;&lt;span class="mi"&gt;64&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;Long/numberOfLeadingZeros&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;Math/abs&lt;/span&gt; &lt;span class="nv"&gt;x&lt;/span&gt;&lt;span class="p"&gt;)))&lt;/span&gt;
             &lt;span class="o"&gt;^&lt;/span&gt;&lt;span class="nv"&gt;longs&lt;/span&gt; &lt;span class="nb"&gt;vals &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;long-array&lt;/span&gt; &lt;span class="nv"&gt;size&lt;/span&gt;&lt;span class="p"&gt;)]&lt;/span&gt;
    &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;loop &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;i&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="nv"&gt;n&lt;/span&gt; &lt;span class="nv"&gt;x&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
      &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;zero? &lt;/span&gt;&lt;span class="nv"&gt;n&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="nv"&gt;vals&lt;/span&gt;
        &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;do&lt;/span&gt;
          &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;aset vals &lt;/span&gt;&lt;span class="nv"&gt;i&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;- &lt;/span&gt;&lt;span class="nv"&gt;x&lt;/span&gt; &lt;span class="nv"&gt;n&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
          &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;recur&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;inc &lt;/span&gt;&lt;span class="nv"&gt;i&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;quot &lt;/span&gt;&lt;span class="nv"&gt;n&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;))))))))&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;So, if test.check finds that &lt;code&gt;64&lt;/code&gt; violates some property we’re testing, it tries the first child of &lt;code&gt;64&lt;/code&gt;, &lt;code&gt;32&lt;/code&gt;. Let’s say that passes the test, so test.check tries the next child of &lt;code&gt;64&lt;/code&gt;: &lt;code&gt;48&lt;/code&gt;. If &lt;code&gt;48&lt;/code&gt; fails, test.check tries its first child &lt;code&gt;24&lt;/code&gt;, and so on. By performing this depth-first search of the tree, and choosing the branches cleverly, test.check can often quickly shrink an integer to a smaller one that still fails the test.&lt;/p&gt;
&lt;p&gt;A similar strategy applies to fixed-size vectors. The tree for a vector like &lt;code&gt;[2 2]&lt;/code&gt; has children like &lt;code&gt;[1 2]&lt;/code&gt; and &lt;code&gt;[2 1]&lt;/code&gt;, based on the trees for each individual element of the vector. This explains why test.check produced a vector like &lt;code&gt;[0 0 0 ... 42 0]&lt;/code&gt;: it found something like &lt;code&gt;[91 23 1034543 ... 42 15]&lt;/code&gt;, then shrank the first element to zero, then the second, and so on. The only element it couldn’t shrink was the one that caused our property to fail: &lt;code&gt;42&lt;/code&gt;. Because our generator &lt;code&gt;(tcg/vector tcg/large-integer size)&lt;/code&gt; always used a fixed &lt;code&gt;size&lt;/code&gt;, the tree for that vector always contained &lt;code&gt;size&lt;/code&gt; elements—in this case, 39.&lt;/p&gt;
&lt;p&gt;Hang on! We didn’t just generate fixed-size vectors. We used &lt;code&gt;bind&lt;/code&gt; to draw a size, then built a vector of that size:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;tcg/bind&lt;/span&gt; &lt;span class="nv"&gt;tcg/nat&lt;/span&gt;
          &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;fn &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;size&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
            &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;tcg/vector&lt;/span&gt; &lt;span class="nv"&gt;tcg/large-integer&lt;/span&gt; &lt;span class="nv"&gt;size&lt;/span&gt;&lt;span class="p"&gt;)))&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;What kind of trees does &lt;code&gt;bind&lt;/code&gt; produce? The &lt;a href="https://github.com/clojure/test.check/blob/5ba3a25b60cf66ff531db8f44d89145abfacfa5c/src/main/clojure/clojure/test/check/generators.cljc#L125-L142"&gt;code&lt;/a&gt; involves some gnarly higher-order functions, but in essence &lt;code&gt;bind&lt;/code&gt;’s trees can shrink in two ways. They can shrink the outer value (the &lt;code&gt;size&lt;/code&gt; returned by &lt;code&gt;tcg/nat&lt;/code&gt;), or they can shrink the inner value (the vector returned by &lt;code&gt;(tcg/vector ...)&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Now imagine &lt;code&gt;bind&lt;/code&gt; draws a size of &lt;code&gt;100&lt;/code&gt;, then generates a vector of a hundred elements like &lt;code&gt;[15 32 42 ...]&lt;/code&gt;. This contains &lt;code&gt;42&lt;/code&gt;, so test.check begins hunting through the shrink tree. One of the branches it can take shrinks the &lt;code&gt;size&lt;/code&gt; parameter, starting with &lt;code&gt;[50, 75, ... 99]&lt;/code&gt;. But if &lt;code&gt;bind&lt;/code&gt; picks any of those sizes, the vector &lt;code&gt;[15 32 42 ...]&lt;/code&gt; is useless—it’s the wrong size! So &lt;code&gt;bind&lt;/code&gt; calls our function with &lt;code&gt;50&lt;/code&gt; to construct a generator of 50-element vectors, and generates a single vector from that generator. This vector will have &lt;em&gt;different&lt;/em&gt; random elements, like &lt;code&gt;[69, 45, 1, ...]&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;If there’s no &lt;code&gt;42&lt;/code&gt; in the vector of 50 elements, then test.check abandons that branch and moves on to size &lt;code&gt;75&lt;/code&gt;. It draws a new vector of 75 elements like &lt;code&gt;[8 7 42 ...]&lt;/code&gt;, and since that contains &lt;code&gt;42&lt;/code&gt;, it can continue shrinking. But since &lt;code&gt;42&lt;/code&gt; is an uncommon integer, and test.check draws new elements for each &lt;code&gt;size&lt;/code&gt;, it is very likely that most sizes will not produce a vector with &lt;code&gt;42&lt;/code&gt;, and test.check will get stuck with, say, 39 elements. From there it can shrink each element, producing the comically oversized…&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;42&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;For this vector it’s fairly obvious what’s wrong. But for &lt;a href="https://github.com/jepsen-io/particledb/blob/4e911c2d6ebf5ed97becba08c12d754cbbd4da53/src/jepsen/particledb/gen/tc.clj"&gt;nontrivial test.check generators&lt;/a&gt;, there might be a dozen nested levels of &lt;code&gt;bind&lt;/code&gt; with complex downstream consequences. Every one of them offers a place for test.check to get stuck, and the smallest failing case can be devilishly tricky to understand. Experienced test.check users try to avoid &lt;code&gt;bind&lt;/code&gt; and &lt;code&gt;let&lt;/code&gt;—but they’re fundamentally inescapable for many problems.&lt;/p&gt;
&lt;p&gt;Over in the Python world, the &lt;a href="https://hypothesis.works/"&gt;Hypothesis&lt;/a&gt; team took a very different approach to shrinking. Test.check is fundamentally a two-phase system: first it asks a generator to produce a shrink tree. Then, if the root of that tree looks “bad”, it explores the rest of that tree. Instead, Hypothesis generators produce a single value, and if that value looks bad, they re-run the generator and &lt;a href="https://drmaciver.github.io/papers/reduction-via-generation-preview.pdf"&gt;ask it to produce something similar, but smaller&lt;/a&gt;. This approach, called &lt;em&gt;internal test-case-reduction&lt;/em&gt;, is the foundation of &lt;a href="https://hegel.dev/"&gt;Hegel&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;&lt;a href="#hegel-clj" id="hegel-clj"&gt;Hegel-clj&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Hegel is a new cross-platform library for generative testing. It provides deterministic generators which draw random values from an imperative, structured RNG, as well as a rich family of special values and shrinking tactics. Writing these generators and shrinkers is hard. The idea is that Hegel’s core library will do this hard work once, and simpler wrapper libraries will extend the benefits of that hard work across many languages.&lt;/p&gt;
&lt;p&gt;I’ve been working for a few months on &lt;a href="https://github.com/aphyr/hegel-clj"&gt;hegel-clj&lt;/a&gt;, which offers Clojure bindings for Hegel, and I think it’s ready for the folks to try it out. To test something, you call &lt;code&gt;hegel-clj/test!&lt;/code&gt;, draw some values from generators, and throw an exception if the test fails. Hegel searches for values that make that body throw, then shrinks them.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;require&lt;/span&gt; &lt;span class="o"&gt;'&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;hegel-clj&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;core&lt;/span&gt; &lt;span class="ss"&gt;:as&lt;/span&gt; &lt;span class="nv"&gt;h&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;generator&lt;/span&gt; &lt;span class="ss"&gt;:as&lt;/span&gt; &lt;span class="nv"&gt;g&lt;/span&gt;&lt;span class="p"&gt;]])&lt;/span&gt;
&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;h/test!&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="ss"&gt;:seed&lt;/span&gt; &lt;span class="mi"&gt;4&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;assert &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;even?&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;h/draw!&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;g/integer&lt;/span&gt;&lt;span class="p"&gt;)))))&lt;/span&gt;

&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="ss"&gt;:passed?&lt;/span&gt; &lt;span class="nv"&gt;false&lt;/span&gt;
 &lt;span class="ss"&gt;:status&lt;/span&gt; &lt;span class="ss"&gt;:failed&lt;/span&gt;
 &lt;span class="ss"&gt;:statistics&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="ss"&gt;:total&lt;/span&gt; &lt;span class="mi"&gt;34&lt;/span&gt;
              &lt;span class="ss"&gt;:valid&lt;/span&gt; &lt;span class="mi"&gt;5&lt;/span&gt;
              &lt;span class="ss"&gt;:invalid&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;
              &lt;span class="ss"&gt;:overrun&lt;/span&gt; &lt;span class="mi"&gt;18&lt;/span&gt;
              &lt;span class="ss"&gt;:interesting&lt;/span&gt; &lt;span class="mi"&gt;11&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
 &lt;span class="ss"&gt;:health-check-failed?&lt;/span&gt; &lt;span class="nv"&gt;false&lt;/span&gt;
 &lt;span class="ss"&gt;:failures&lt;/span&gt; &lt;span class="p"&gt;({&lt;/span&gt;&lt;span class="ss"&gt;:draws&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;draw_1&amp;quot;&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
             &lt;span class="ss"&gt;:exception&lt;/span&gt;
             &lt;span class="o"&gt;#&lt;/span&gt;&lt;span class="nv"&gt;error&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="ss"&gt;:cause&lt;/span&gt; &lt;span class="s"&gt;&amp;quot;Assert failed: (even? (h/draw! (g/integer)))&amp;quot;&lt;/span&gt;
                     &lt;span class="nv"&gt;...&lt;/span&gt;&lt;span class="p"&gt;}})&lt;/span&gt;
 &lt;span class="ss"&gt;:reproduce-blob&lt;/span&gt; &lt;span class="s"&gt;&amp;quot;AAEAAAAACgEAAAAB&amp;quot;&lt;/span&gt;, &lt;span class="ss"&gt;:caveat&lt;/span&gt; &lt;span class="nv"&gt;nil&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The smallest case Hegel found involved a single draw of the number &lt;code&gt;1&lt;/code&gt;, which caused the assertion &lt;code&gt;(even? 1)&lt;/code&gt; to throw.&lt;/p&gt;
&lt;p&gt;Generators are pure, composable structures, just like in test.check. Here’s a few values drawn from a generator of booleans:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;h/sample&lt;/span&gt; &lt;span class="mi"&gt;5&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;g/boolean&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;

&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;false&lt;/span&gt; &lt;span class="nv"&gt;false&lt;/span&gt; &lt;span class="nv"&gt;true&lt;/span&gt; &lt;span class="nv"&gt;true&lt;/span&gt; &lt;span class="nv"&gt;false&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Or a map representing a person, with a name generated by a regular expression and an integer age:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;h/sample&lt;/span&gt; &lt;span class="mi"&gt;5&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;g/hmap&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="ss"&gt;:name&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;g/regex-str&lt;/span&gt; &lt;span class="o"&gt;#&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;[A-Z][a-z]+&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
                     &lt;span class="ss"&gt;:age&lt;/span&gt;  &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;g/integer&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;101&lt;/span&gt;&lt;span class="p"&gt;)}))&lt;/span&gt;

&lt;span class="p"&gt;[{&lt;/span&gt;&lt;span class="ss"&gt;:name&lt;/span&gt; &lt;span class="s"&gt;&amp;quot;Aa&amp;quot;&lt;/span&gt;, &lt;span class="ss"&gt;:age&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
 &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="ss"&gt;:name&lt;/span&gt; &lt;span class="s"&gt;&amp;quot;Iyjdklppzxhqdnwmd&amp;quot;&lt;/span&gt;, &lt;span class="ss"&gt;:age&lt;/span&gt; &lt;span class="mi"&gt;89&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
 &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="ss"&gt;:name&lt;/span&gt; &lt;span class="s"&gt;&amp;quot;Kslvqorm&amp;quot;&lt;/span&gt;, &lt;span class="ss"&gt;:age&lt;/span&gt; &lt;span class="mi"&gt;64&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
 &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="ss"&gt;:name&lt;/span&gt; &lt;span class="s"&gt;&amp;quot;Fvyybe&amp;quot;&lt;/span&gt;, &lt;span class="ss"&gt;:age&lt;/span&gt; &lt;span class="mi"&gt;45&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
 &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="ss"&gt;:name&lt;/span&gt; &lt;span class="s"&gt;&amp;quot;Puwppxqag&amp;quot;&lt;/span&gt;, &lt;span class="ss"&gt;:age&lt;/span&gt; &lt;span class="mi"&gt;4&lt;/span&gt;&lt;span class="p"&gt;}]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The higher-order combinators are all there too. You can transform generated values with &lt;code&gt;fmap&lt;/code&gt;:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;h/sample&lt;/span&gt; &lt;span class="mi"&gt;5&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;g/fmap&lt;/span&gt; &lt;span class="nb"&gt;keyword &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;g/string&lt;/span&gt;&lt;span class="p"&gt;)))&lt;/span&gt;

&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="err"&gt;:&lt;/span&gt; &lt;span class="ss"&gt;:R&lt;/span&gt; &lt;span class="err"&gt;:👍🏻&lt;/span&gt; &lt;span class="ss"&gt;:True&lt;/span&gt; &lt;span class="err"&gt;:çç¦ç¦򜝉ÏÏ򜝉¦¦Ï¦¦ç򜝉Ϧç򜝉çÏ򜝉çç¦&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Or build one generator out of another using &lt;code&gt;bind&lt;/code&gt;:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;h/sample&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;g/bind&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;fn &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;size&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
                      &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;g/tuple&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;g/vector&lt;/span&gt; &lt;span class="nv"&gt;size&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;g/integer&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
                               &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;g/vector&lt;/span&gt; &lt;span class="nv"&gt;size&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;g/boolean&lt;/span&gt;&lt;span class="p"&gt;))))&lt;/span&gt;
                    &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;g/integer&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;)))&lt;/span&gt;

&lt;span class="p"&gt;[[[]&lt;/span&gt; &lt;span class="p"&gt;[]]&lt;/span&gt;
 &lt;span class="p"&gt;[[&lt;/span&gt;&lt;span class="mi"&gt;144229&lt;/span&gt; &lt;span class="mi"&gt;531621&lt;/span&gt; &lt;span class="mi"&gt;-364&lt;/span&gt; &lt;span class="mi"&gt;-1569883&lt;/span&gt; &lt;span class="mi"&gt;8194954&lt;/span&gt; &lt;span class="mi"&gt;-913&lt;/span&gt; &lt;span class="mi"&gt;16&lt;/span&gt; &lt;span class="mi"&gt;-745&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
 &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;false&lt;/span&gt; &lt;span class="nv"&gt;true&lt;/span&gt; &lt;span class="nv"&gt;false&lt;/span&gt; &lt;span class="nv"&gt;true&lt;/span&gt;&lt;span class="p"&gt;]]]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Like test.check, we offer a &lt;code&gt;let&lt;/code&gt; macro which lets you bind both regular values or generators to variables; if the right-hand side is a generator, it draws a random value from it. And unlike test.check, these generators shrink well. Instead of thirty-nine elements, Hegel can find the much-shorter “bad” vector, &lt;code&gt;[42]&lt;/code&gt;.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;-&amp;gt; &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;h/test!&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="ss"&gt;:test-cases&lt;/span&gt; &lt;span class="mi"&gt;1000&lt;/span&gt;
              &lt;span class="ss"&gt;:seed&lt;/span&gt;       &lt;span class="mi"&gt;1777986545686&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
      &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;h/let&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;size&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;g/integer&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="ss"&gt;:min&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;, &lt;span class="ss"&gt;:max&lt;/span&gt; &lt;span class="mi"&gt;128&lt;/span&gt;&lt;span class="p"&gt;})&lt;/span&gt;
              &lt;span class="nv"&gt;xs&lt;/span&gt;   &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;g/vector&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="ss"&gt;:size&lt;/span&gt; &lt;span class="nv"&gt;size&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;g/integer&lt;/span&gt;&lt;span class="p"&gt;))]&lt;/span&gt;
        &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;assert &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;not-any? &lt;/span&gt;&lt;span class="o"&gt;#&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="mi"&gt;42&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="nv"&gt;xs&lt;/span&gt;&lt;span class="p"&gt;))))&lt;/span&gt;
    &lt;span class="ss"&gt;:failures&lt;/span&gt; &lt;span class="nb"&gt;first &lt;/span&gt;&lt;span class="ss"&gt;:draws&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;get &lt;/span&gt;&lt;span class="s"&gt;&amp;quot;xs&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;

&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;42&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;With &lt;code&gt;test.check&lt;/code&gt;, if you want to thread multiple values through &lt;code&gt;bind&lt;/code&gt; or &lt;code&gt;fmap&lt;/code&gt;, you have to build and destructure maps or tuples. Hegel-clj lets you lift arbitrary code into a generator using &lt;code&gt;composite&lt;/code&gt;, which makes it easier to build complex generators:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;h/sample&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;
  &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;g/composite&lt;/span&gt;
    &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;h/let&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nb"&gt;name &lt;/span&gt;     &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;g/string&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
            &lt;span class="nv"&gt;cat-count&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;g/integer&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
            &lt;span class="nv"&gt;cats&lt;/span&gt;      &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;g/vector&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="ss"&gt;:size&lt;/span&gt; &lt;span class="nv"&gt;cat-count&lt;/span&gt;, &lt;span class="ss"&gt;:unique?&lt;/span&gt; &lt;span class="nv"&gt;true&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;g/string&lt;/span&gt;&lt;span class="p"&gt;))]&lt;/span&gt;
      &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="ss"&gt;:name&lt;/span&gt; &lt;span class="nb"&gt;name &lt;/span&gt;    
       &lt;span class="ss"&gt;:cats&lt;/span&gt; &lt;span class="nv"&gt;cats&lt;/span&gt;&lt;span class="p"&gt;})))&lt;/span&gt;

&lt;span class="p"&gt;[{&lt;/span&gt;&lt;span class="ss"&gt;:name&lt;/span&gt; &lt;span class="s"&gt;&amp;quot;&amp;quot;&lt;/span&gt;,
  &lt;span class="ss"&gt;:cats&lt;/span&gt; &lt;span class="p"&gt;[]}&lt;/span&gt;
 &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="ss"&gt;:name&lt;/span&gt; &lt;span class="s"&gt;&amp;quot;𝐓𝐡𝐞 𝐪𝐮𝐢𝐜𝐤 𝐛𝐫𝐨𝐰𝐧 𝐟𝐨𝐱 𝐣𝐮𝐦𝐩𝐬 𝐨𝐯𝐞𝐫 𝐭𝐡𝐞 𝐥𝐚𝐳𝐲 𝐝𝐨𝐠&amp;quot;&lt;/span&gt;,
  &lt;span class="ss"&gt;:cats&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;🇺🇸&amp;quot;&lt;/span&gt; &lt;span class="s"&gt;&amp;quot;👍🏻&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;]}]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;You can build recursive generators with a promise-style API. The &lt;code&gt;deferred&lt;/code&gt; generator provides a blank space for a generator, which can be filled in later:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;let &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;leaf&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;g/integer&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;9&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
      &lt;span class="nv"&gt;tree&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;g/deferred&lt;/span&gt;&lt;span class="p"&gt;)]&lt;/span&gt;
  &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;g/set-deferred!&lt;/span&gt; &lt;span class="nv"&gt;tree&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;g/one-of&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;leaf&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;g/vector&lt;/span&gt; &lt;span class="nv"&gt;tree&lt;/span&gt;&lt;span class="p"&gt;)]))&lt;/span&gt;
  &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;mapv&lt;/span&gt; &lt;span class="nb"&gt;prn &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;h/sample&lt;/span&gt; &lt;span class="mi"&gt;5&lt;/span&gt; &lt;span class="nv"&gt;tree&lt;/span&gt;&lt;span class="p"&gt;)))&lt;/span&gt;

&lt;span class="mi"&gt;0&lt;/span&gt;
&lt;span class="p"&gt;[[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="mi"&gt;8&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt; &lt;span class="p"&gt;[]]&lt;/span&gt; &lt;span class="mi"&gt;5&lt;/span&gt; &lt;span class="p"&gt;[]&lt;/span&gt; &lt;span class="p"&gt;[[&lt;/span&gt;&lt;span class="mi"&gt;4&lt;/span&gt; &lt;span class="mi"&gt;6&lt;/span&gt; &lt;span class="p"&gt;[]]]]&lt;/span&gt;
&lt;span class="p"&gt;[[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="mi"&gt;3&lt;/span&gt;
&lt;span class="mi"&gt;0&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;And best of all, &lt;code&gt;hegel-clj&lt;/code&gt; ships with easy-to-use integration for clojure.test, making generative tests as easy as example-based ones:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;require&lt;/span&gt; &lt;span class="o"&gt;'&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;clojure.test&lt;/span&gt; &lt;span class="ss"&gt;:refer&lt;/span&gt; &lt;span class="ss"&gt;:all&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;'&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;hegel-clj.clojure-test&lt;/span&gt; &lt;span class="ss"&gt;:refer&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;with&lt;/span&gt;&lt;span class="p"&gt;]])&lt;/span&gt;

&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kd"&gt;defn &lt;/span&gt;&lt;span class="nv"&gt;bad-add&lt;/span&gt;
  &lt;span class="s"&gt;&amp;quot;Adds two integers via floating-point&amp;quot;&lt;/span&gt;
  &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;x&lt;/span&gt; &lt;span class="nv"&gt;y&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
  &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;long &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;+ &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;float &lt;/span&gt;&lt;span class="nv"&gt;x&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;float &lt;/span&gt;&lt;span class="nv"&gt;y&lt;/span&gt;&lt;span class="p"&gt;))))&lt;/span&gt;

&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;deftest&lt;/span&gt; &lt;span class="nv"&gt;bad-add-test&lt;/span&gt;
  &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;with&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="ss"&gt;:test-cases&lt;/span&gt; &lt;span class="mi"&gt;100&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
        &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;x&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;g/integer&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
         &lt;span class="nv"&gt;y&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;g/integer&lt;/span&gt;&lt;span class="p"&gt;)]&lt;/span&gt;
    &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;h/fprn&lt;/span&gt; &lt;span class="ss"&gt;:x&lt;/span&gt; &lt;span class="nv"&gt;x&lt;/span&gt;, &lt;span class="ss"&gt;:y&lt;/span&gt; &lt;span class="nv"&gt;y&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;is&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;= &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;+ &lt;/span&gt;&lt;span class="nv"&gt;x&lt;/span&gt; &lt;span class="nv"&gt;y&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;bad-add&lt;/span&gt; &lt;span class="nv"&gt;x&lt;/span&gt; &lt;span class="nv"&gt;y&lt;/span&gt;&lt;span class="p"&gt;)))))&lt;/span&gt;
    
&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;bad-add-test&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="ss"&gt;:x&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="ss"&gt;:y&lt;/span&gt; &lt;span class="mi"&gt;16777217&lt;/span&gt;

&lt;span class="nv"&gt;FAIL&lt;/span&gt; &lt;span class="nv"&gt;in&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;bad-add-test&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;form-init7301103820420620476.clj&lt;/span&gt;&lt;span class="ss"&gt;:6&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="nv"&gt;expected&lt;/span&gt;&lt;span class="err"&gt;:&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;= &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;+ &lt;/span&gt;&lt;span class="nv"&gt;x&lt;/span&gt; &lt;span class="nv"&gt;y&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;bad-add&lt;/span&gt; &lt;span class="nv"&gt;x&lt;/span&gt; &lt;span class="nv"&gt;y&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
  &lt;span class="nv"&gt;actual&lt;/span&gt;&lt;span class="err"&gt;:&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;not &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;= &lt;/span&gt;&lt;span class="mi"&gt;16777217&lt;/span&gt; &lt;span class="mi"&gt;16777216&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;It’s hard to log debugging output with test.check—you’ll have to sift through thousands of test runs with complex inputs, and many of those runs won’t actually trigger the bug you’re searching for. Hegel has the notion of a “final” test case: after it’s found a counterexample, and shrunk it to a smaller version, it comes back and re-runs that case as a part of the final phase. We can use &lt;code&gt;(when (h/final?) ...)&lt;/code&gt; to execute some debugging code only during these final cases, or &lt;code&gt;fprn&lt;/code&gt; and &lt;code&gt;finfo&lt;/code&gt;, which wrap &lt;code&gt;clojure.core/prn&lt;/code&gt; and &lt;code&gt;clojure.tools.logging/info&lt;/code&gt; respectively. I think there’s a &lt;a href="https://github.com/hegeldev/hegel-java/issues/32"&gt;bug in Hegel&lt;/a&gt; that causes it to run more final cases than it should, but it’s still a big step up.&lt;/p&gt;
&lt;p&gt;Finally, test.check has been around for a while, and like many Clojure projects it has an exceptionally stable API. That’s great for compatibility, but it means some early choices are now fossilized. It’s &lt;code&gt;(fmap gen f)&lt;/code&gt;, but &lt;code&gt;(bind f gen)&lt;/code&gt;. If you want an integer you have to remember the difference between &lt;code&gt;nat&lt;/code&gt;, &lt;code&gt;int&lt;/code&gt;, &lt;code&gt;pos-int&lt;/code&gt;, &lt;code&gt;s-pos-int&lt;/code&gt;, &lt;code&gt;small-integer&lt;/code&gt;, &lt;code&gt;large-integer&lt;/code&gt;, &lt;code&gt;large-integer*&lt;/code&gt;, etc. Common generators require keyword arguments, like &lt;code&gt;(large-integer* {:min 0, :max 10})&lt;/code&gt;. Some generators like &lt;code&gt;hash-map&lt;/code&gt; are only callable with varargs, which makes composition tricky. The &lt;a href="https://clojure.github.io/test.check/clojure.test.check.properties.html"&gt;properties API&lt;/a&gt; feels a tad fussy. And many of the ergonomic features you want, like generating strings from a regular expression, or integration with clojure.test, require an extra library like &lt;a href="https://github.com/gfredericks/test.chuck"&gt;test.chuck&lt;/a&gt;. Test.check is &lt;em&gt;really good&lt;/em&gt;, but with the benefit of hindsight and a fresh canvas, I’ve tried to design a more streamlined, consistent, and approachable API.&lt;/p&gt;
&lt;p&gt;I’ve used test.check for over a decade now and it’s one of my favorite things about Clojure. I want to thank Reid Draper, Gary Fredericks, Alex Miller, and everyone else who’s contributed to the library. I’m also indebted to David MacIver, Liam DeVoe, and Esau Rodriguez from the Hegel team at &lt;a href="https://antithesis.com/"&gt;Antithesis&lt;/a&gt;. They took time to talk me through Hegel’s design, answered endless questions about the protocol, and helped fix a whole slew of issues that we found. Y’all rock.&lt;/p&gt;
&lt;p&gt;I’m pleased to announce &lt;a href="https://github.com/aphyr/hegel-clj"&gt;hegel-clj 0.1.1&lt;/a&gt;, and I’m starting to use it to test my own projects. I hope it will be useful for you too. ❤️&lt;/p&gt;
</content></entry><entry><id>https://aphyr.com/posts/427-rip-harvest</id><title>RIP, Harvest</title><published>2026-11-08T14:35:42-05:00</published><updated>2026-11-08T14:35:42-05:00</updated><link rel="alternate" href="https://aphyr.com/posts/427-rip-harvest"></link><author><name>Aphyr</name><uri>https://aphyr.com/</uri></author><content type="html">&lt;p&gt;I’ve been a self-employed contractor for about a decade now, and I’m bummed about &lt;a href="https://www.getharvest.com/"&gt;Harvest&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Harvest was a time-tracking and invoicing service. You’d track how many hours or weeks you spent on a project, put together an invoice, email it to the client, and close it out when they paid. There was a little Stripe integration for accepting credit and ACH payments on the invoice web view. A historical chart of total billed/paid amounts over time, and a table of invoices. Harvest was exactly what you want from small-business software: it solved a well-defined problem with a reliable, simple interface, and did so at a reasonable monthly price. They managed to avoid scope creep and never tried to become an accounting platform, or a blockchain for washing machines.&lt;sup id="fnref-1"&gt;&lt;a class="footnote-ref" href="#fn-1"&gt;1&lt;/a&gt;&lt;/sup&gt; I loved Harvest and raved about it to every self-employed person I met.&lt;/p&gt;
&lt;p&gt;Back in 2025 Harvest got bought out by &lt;a href="https://www.reddit.com/r/HarvestApp/comments/1q25xpy/purchase_by_bending_spoons/"&gt;Bending Spoons&lt;/a&gt;, the company that &lt;a href="https://news.ycombinator.com/item?id=46707699"&gt;gutted Vimeo&lt;/a&gt;. I was worried they might ruin it, but was busy with other things and didn’t have time to look for new invoicing software.&lt;/p&gt;
&lt;p&gt;Long story short, they raised my price from $13.32 to $133.98 per month by moving everyone to a new “enterprise” plan and “unlimited” usage billing model, which is, as far as I can tell, exactly what I had before. There’s also a “flex” plan which costs $12.65 per month… but that plan now skims an additional 2% on top of the usual ~3% card transaction fees. To be clear, that 3% pays for the whole credit card network, plus all the people working at Stripe and Mastercard, plus the financial risk of chargebacks and fraud, etc. Harvest isn’t doing any of that work. I don’t know about you, but I don’t think I need to spend 2% of my gross revenue to send a couple PDFs a month and wrap a Stripe web form.&lt;/p&gt;
&lt;p&gt;I wrote to Harvest about this, and discovered that they don’t read customer emails any more. Instead they have a Large Language Model repeatedly vomit thousands of words at you. I’m no stranger to enshittification, but man, I did not anticipate the speed at which Bending Spoons would drive a perfectly good company into the ground.&lt;/p&gt;
&lt;p&gt;Time to find a new invoicing service, I guess. Maybe bookkeeping too—Intuit’s Quickbooks Online seems to have completely jumped the shark. Any of y’all freelancers have a system you like?&lt;/p&gt;
&lt;div class="footnotes"&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id="fn-1"&gt;
&lt;p&gt;Yes, someone actually tried this.&lt;/p&gt;
&lt;a href="#fnref-1" class="footnote-backref"&gt;↩&lt;/a&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
</content></entry><entry><id>https://aphyr.com/posts/425-more-fake-mastodon-signups</id><title>More Fake Mastodon Signups</title><published>2026-06-12T09:19:34-05:00</published><updated>2026-06-12T09:19:34-05:00</updated><link rel="alternate" href="https://aphyr.com/posts/425-more-fake-mastodon-signups"></link><author><name>Aphyr</name><uri>https://aphyr.com/</uri></author><content type="html">&lt;p&gt;On 2026-05-30, the Mastodon server I run started getting a flood of implausible signup requests. We think these are likely bots because our server rules and signup form clearly tell users to talk about their interest in gay leather. Most people sign up with something like “42 yo levis enthusiast into piss” or “Hi! I’m Snoofles the pup! I love bones and being a good girl for Madam!”. Instead &lt;a href="https://gist.github.com/aphyr/bfbc68c428663da18aa10e07e0f94f8c/edit"&gt;the applications&lt;/a&gt; are either friendly, generic text…&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;I value online communities that are moderated with care and that encourage
constructive interaction. I plan to use my account to share interesting stuff,
connect with others who share similar interests, and contribute to discussions
following the server’s rules and culture.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Or vaguely machine-flavored weirdness:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Pick the Antarctic path and commit. Custodian inspired by Brendan Fraser,
active with Axe Throwing in Indianapolis.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Or text taken directly from existing Fediverse bios, like &lt;a href="https://mastodon.online/@kardinal691"&gt;this one&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Ukraineophile, Save Western Culture and Civilization from russian kleptocracy
Trying to make Putin’s bum as irritable as possible.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Often there’s nonsensical usernames (e.g. “ypy_asi”) or email addresses that don’t line up, or we get similar language from multiple email domains. I suspect there’s a few actors here, because the tactics don’t line up exactly, but it’s weird that they all started in the last few weeks.&lt;/p&gt;
&lt;p&gt;A few of the email domains involved:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;forge45k.io.vn&lt;/li&gt;
&lt;li&gt;shortweb.live&lt;/li&gt;
&lt;li&gt;vtx.pbhak.dev&lt;/li&gt;
&lt;li&gt;funnyfail.app&lt;/li&gt;
&lt;li&gt;cyberlinkhub.com&lt;/li&gt;
&lt;li&gt;ptncereio.com&lt;/li&gt;
&lt;li&gt;sugarloafstudios.net&lt;/li&gt;
&lt;li&gt;a6nc1sl.jejes.de&lt;/li&gt;
&lt;li&gt;tiksofi.uk&lt;/li&gt;
&lt;li&gt;nowtopzen.com&lt;/li&gt;
&lt;li&gt;nanopools.info&lt;/li&gt;
&lt;li&gt;tmail.lt&lt;/li&gt;
&lt;li&gt;tmail.mx&lt;/li&gt;
&lt;li&gt;phugruphy.com&lt;/li&gt;
&lt;li&gt;sphinx.launders.money&lt;/li&gt;
&lt;li&gt;datamzone.com&lt;/li&gt;
&lt;li&gt;deisgn-ai.work.gd&lt;/li&gt;
&lt;li&gt;haibabon.com&lt;/li&gt;
&lt;li&gt;ai46boh.jejes.de&lt;/li&gt;
&lt;li&gt;initwag.com&lt;/li&gt;
&lt;li&gt;mailba.uk&lt;/li&gt;
&lt;li&gt;compservmail.com&lt;/li&gt;
&lt;li&gt;ff.zero34.qd.je&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Many look to be transient domains that no longer resolve. Two (tmail.mx and tmail.lt) belong to a service which provides temporary email addresses to bypass email verification. For pbhak.dev, I think it might be someone’s personal machine which… maybe got compromised? Others, like jejes.de, look like abandoned wordpress installs; I assume they’re compromised too.&lt;/p&gt;
&lt;p&gt;I’m seeing a fair number of European IPs for browsers–looks like VPNs and cloud providers.&lt;/p&gt;
&lt;p&gt;Last year most of our spammers were from &lt;a href="https://aphyr.com/posts/389-the-future-of-forums-is-lies-i-guess"&gt;a single company&lt;/a&gt;. I’ve approved one of these inauthentic accounts, and am going to keep an eye on it to see what happens.&lt;/p&gt;
</content></entry><entry><id>https://aphyr.com/posts/424-getting-paid-by-flat-rate-movers</id><title>Getting Paid by Flat Rate Movers</title><published>2026-06-07T15:25:02-05:00</published><updated>2026-06-07T15:25:02-05:00</updated><link rel="alternate" href="https://aphyr.com/posts/424-getting-paid-by-flat-rate-movers"></link><author><name>Aphyr</name><uri>https://aphyr.com/</uri></author><content type="html">&lt;p&gt;Back in 2023, I hired &lt;a href="https://www.flatrate.com/"&gt;Flat Rate Movers&lt;/a&gt; (A.K.A. Flat Rate Moving) for an interstate move. They subcontracted to a third party who showed up under-staffed, under-equipped, and very confused; the whole mess wound up causing a good deal of damage to my belongings and home. I filed a claim with Flat Rate and also requested they issue a partial refund. &lt;a href="https://aphyr.com/posts/381-when-flat-rate-movers-wont-answer-your-calls"&gt;They refused to talk to me or their insurance company&lt;/a&gt;, and after six months of calling, emailing, and writing, I got overwhelmed by other life struggles and gave up. I did manage to file a claim with their backing insurance company, but got nothing for the damage to the house, or failure to deliver goods and services.&lt;/p&gt;
&lt;p&gt;In October 2025 Flat Rate started sending me e-mails asking me to use Flat Rate for a move again. I called, explained the situation, and asked how they were planning to resolve it. They invited me to write to customer service, and the whole process resumed, with essentially the same result. I’d call every few days to ask how things were going, and various Flat Rate representatives would promise they’d get back to me tomorrow, or a check was in the mail, or that they’d talk to claims for me. Unsurprisingly, none of this worked.&lt;/p&gt;
&lt;p&gt;Long story short, after a bunch of claim forms, emails, letters, complaints to various regulators, requests for arbitration, and &lt;em&gt;one hundred and sixty-one phone calls&lt;/em&gt; with Flat Rate directly, I have succeeded. I started calling their main line at (212) 988-9292, picking a three-digit extension, and asking that person for help. I did this ten times each morning, and within two weeks had multiple people offering to help. I can’t say for sure which person got things over the line, because I called a &lt;em&gt;lot&lt;/em&gt; of them, but by April 2026, I had a check in the mail.&lt;/p&gt;
&lt;p&gt;If you wind up in the same boat, I recommend two things. First, keep a log of everything you do. Flat Rate may tell you things like “we did not receive supporting documentation within sixty days” or “you did not file the claim in time”; it is extremely helpful to be able to say things like “Please see my email from 2023-05-06 at 15:32 in which I submitted the requested documentation.” Second, set up a spreadsheet to keep track of which extensions you’ve called and when. &lt;a href="/data/posts/424/Flat Rate Extensions.ods"&gt;Here's mine&lt;/a&gt;—each row number is the three-digit extension.&lt;/p&gt;
</content></entry><entry><id>https://aphyr.com/posts/423-the-kyle-kingsbury-podcast-podcast-episode-2-dave-rossi</id><title>The Kyle Kingsbury Podcast Podcast - Episode 2 - Dave Rossi</title><published>2026-05-08T15:07:42-05:00</published><updated>2026-05-08T15:07:42-05:00</updated><link rel="alternate" href="https://aphyr.com/posts/423-the-kyle-kingsbury-podcast-podcast-episode-2-dave-rossi"></link><author><name>Aphyr</name><uri>https://aphyr.com/</uri></author><content type="html">&lt;p&gt;This video is brought to you by &lt;a href="https://podpitch.com/"&gt;PodPitch&lt;/a&gt;, the AI-powered platform for PR experts. PodPitch is the first and only software that finds, writes, and sends pitches to podcast hosts from your actual email address. Whether or not you’re already pitching podcasts, PodPitch will make sure you get podcast bookings – guaranteed. And so long as PodPitch’s AI keeps confusing me with Kyle Kingsbury, MMA fighter and famous podcast host, some of those bookings… just might be with me.&lt;/p&gt;
&lt;p&gt;My name is Kyle Kingsbury, I am not as popular nor ruggedly handsome as Kyle Kingsbury, and I have never hosted a podcast in my life. Now I’m struggling to read books, write interesting questions, and generally making a fool of myself.&lt;/p&gt;
&lt;p&gt;Today’s guest is &lt;a href="https://daverossiglobal.com/"&gt;Dave Rossi&lt;/a&gt;, Silicon Valley entrepreneur and author of the book “Alphas Die Early”.&lt;/p&gt;
&lt;div style="position: relative; padding-bottom: 56.25%"&gt;
    &lt;div style="position: absolute; top: 0; left: 0; width: 100%; height: 100%"&gt;
&lt;iframe width="100%" height="100%" src="https://www.youtube.com/embed/sUYxwimuSaw?si=xDEeT6B7S7eSme77" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen=""&gt;&lt;/iframe&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;One of the PR firms figured out what’s happening and we’ve all had a good laugh about it, but they were contractually obligated to cancel my third guest’s interview, which I was very much looking forward to. Dr. Deborah Rozman of the HeartMath Institute, if you’re out there… I’d be delighted to interview you.&lt;/p&gt;
</content></entry><entry><id>https://aphyr.com/posts/422-the-kyle-kingsbury-podcast-podcast-episode-1-alex-dripchak</id><title>The Kyle Kingsbury Podcast Podcast - Episode 1 - Alex Dripchak</title><published>2026-05-07T18:17:13-05:00</published><updated>2026-05-07T18:17:13-05:00</updated><link rel="alternate" href="https://aphyr.com/posts/422-the-kyle-kingsbury-podcast-podcast-episode-1-alex-dripchak"></link><author><name>Aphyr</name><uri>https://aphyr.com/</uri></author><content type="html">&lt;p&gt;For the last few weeks publicists have bombarded me with emails asking if I’d interview their clients on the Kyle Kingsbury podcast. While my name is Kyle Kingsbury, and I have been a guest on several podcasts, I’ve never hosted one myself. I called one of the PR firms to ask if they might have me confused with the MMA fighter of the same name, but the woman I reached was so friendly and eager to tell me about all the potential guests I might interview and, well… things just got out of hand. Now I’m doing background research, writing questions, learning Riverside, and struggling mightily to avoid swallowing my tongue.&lt;/p&gt;
&lt;p&gt;Joining me today and being an extraordinarily good sport about it is &lt;a href="https://www.alexdripchak.com/"&gt;Alex Dripchak&lt;/a&gt;, sales director, productivity expert, and author of the new book “Maximize”—full of time-management habits that I really should get around to trying one of these days.&lt;/p&gt;
&lt;div style="position: relative; padding-bottom: 56.25%"&gt;
  &lt;div style="position: absolute; top: 0; left: 0; width: 100%; height: 100%"&gt;
  &lt;iframe width="100%" height="100%" src="https://www.youtube.com/embed/TZJSEpNhZAw?si=Q42Q4zlR85k56oKs" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen=""&gt;&lt;/iframe&gt;
  &lt;/div&gt;
&lt;/div&gt;
</content></entry><entry><id>https://aphyr.com/posts/421-jstack-by-command-string</id><title>JStack by Command String</title><published>2026-05-04T10:30:26-05:00</published><updated>2026-05-04T10:30:26-05:00</updated><link rel="alternate" href="https://aphyr.com/posts/421-jstack-by-command-string"></link><author><name>Aphyr</name><uri>https://aphyr.com/</uri></author><content type="html">&lt;p&gt;This has been bugging me for years: you often run a JVM by a shell script wrapper, then want to &lt;code&gt;jstack&lt;/code&gt; it to figure out what it’s doing, but can’t figure out what PID to ask for. Running &lt;code&gt;jps&lt;/code&gt; gives remarkably unhelpful output, especially for tools like Leiningen. I wrote a hacky little Ruby script to dig into the process tree of everything matching a given pattern, find any JVMs those processes spawned, and hit the highest numbered one (presumably the last one started) with &lt;code&gt;jstack&lt;/code&gt;. This is definitely wrong (PID rollover!) but it’s been surprisingly useful for debugging.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$ jstack+ lein test
jstack 1044647 (java -classpath /home/aphyr/hegel/test ...)

2026-05-04 10:23:07
Full thread dump OpenJDK 64-Bit Server VM (21.0.10+7-Ubuntu-124.04 mixed mode, emulated-client, sharing):

Threads class SMR info:
_java_thread_list=0x0000767f88002030, length=12, elements={
0x000076803801b140, 0x0000768038277460, 0x00007680382789e0, 0x000076803827a2a0,
0x000076803827b8f0, 0x000076803827cea0, 0x000076803827e6b0, 0x000076803828abe0,
0x0000768038296220, 0x000076803938d470, 0x0000768039392cd0, 0x0000767f88000fe0
}

&amp;quot;main&amp;quot; #1 [1044652] prio=5 os_prio=0 cpu=2403.65ms elapsed=2386.66s tid=0x000076803801b140 nid=1044652 waiting on condition  [0x000076803e7fa000]
   java.lang.Thread.State: WAITING (parking)
	at jdk.internal.misc.Unsafe.park(java.base@21.0.10/Native Method)
...
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Here’s the script:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="ch"&gt;#!/usr/bin/env ruby&lt;/span&gt;

&lt;span class="c1"&gt;# Runs `jstack` on the highest-numbered java process invoked by the command&lt;/span&gt;
&lt;span class="c1"&gt;# matching the given pattern. This is really helpful when you want to find out&lt;/span&gt;
&lt;span class="c1"&gt;# why `lein test` is stuck, because lein is a shell script, which launches&lt;/span&gt;
&lt;span class="c1"&gt;# java, which launches *a new* java process.&lt;/span&gt;

&lt;span class="c1"&gt;# Parses a list of newline-separated pids as integers&lt;/span&gt;
&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;parse&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;pid_string&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="n"&gt;pid_string&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;split&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sr"&gt;/\n/&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;map&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt;&lt;span class="nb"&gt;p&lt;/span&gt;&lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="nb"&gt;p&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;to_i&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="k"&gt;end&lt;/span&gt;

&lt;span class="c1"&gt;# Recursively expands pid into [pid, child1, child2, ...]&lt;/span&gt;
&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;expand&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;pid&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="n"&gt;children&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;parse&lt;/span&gt; &lt;span class="sb"&gt;`pgrep -P &lt;/span&gt;&lt;span class="si"&gt;#{&lt;/span&gt;&lt;span class="n"&gt;pid&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="sb"&gt;`&lt;/span&gt;
  &lt;span class="n"&gt;children&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;reduce&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="n"&gt;pid&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;do&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt;&lt;span class="n"&gt;all&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;child&lt;/span&gt;&lt;span class="o"&gt;|&lt;/span&gt;
    &lt;span class="n"&gt;all&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;concat&lt;/span&gt; &lt;span class="n"&gt;expand&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;child&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="k"&gt;end&lt;/span&gt;
&lt;span class="k"&gt;end&lt;/span&gt;

&lt;span class="n"&gt;roots&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;parse&lt;/span&gt; &lt;span class="sx"&gt;%x[pgrep -f '&lt;/span&gt;&lt;span class="si"&gt;#{&lt;/span&gt;&lt;span class="no"&gt;ARGV&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;join&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;' '&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="sx"&gt;']&lt;/span&gt;
&lt;span class="n"&gt;expanded&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;roots&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;flat_map&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt;&lt;span class="nb"&gt;p&lt;/span&gt;&lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="n"&gt;expand&lt;/span&gt; &lt;span class="nb"&gt;p&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="c1"&gt;# Just JVMs please&lt;/span&gt;
&lt;span class="n"&gt;jvms&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;parse&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sb"&gt;`jps`&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;to_set&lt;/span&gt;
&lt;span class="n"&gt;fav&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;expanded&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;filter&lt;/span&gt; &lt;span class="k"&gt;do&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt;&lt;span class="n"&gt;pid&lt;/span&gt;&lt;span class="o"&gt;|&lt;/span&gt;
  &lt;span class="n"&gt;jvms&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;include?&lt;/span&gt; &lt;span class="n"&gt;pid&lt;/span&gt;
&lt;span class="k"&gt;end&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;max&lt;/span&gt;

&lt;span class="k"&gt;unless&lt;/span&gt; &lt;span class="n"&gt;fav&lt;/span&gt;
  &lt;span class="nb"&gt;puts&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;No JVMs with that command line in their ancestry&amp;quot;&lt;/span&gt;
  &lt;span class="nb"&gt;exit&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;
&lt;span class="k"&gt;end&lt;/span&gt;

&lt;span class="c1"&gt;# Show the command line so we can be sure of what process it was&lt;/span&gt;
&lt;span class="n"&gt;cmd&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sb"&gt;`cat /proc/&lt;/span&gt;&lt;span class="si"&gt;#{&lt;/span&gt;&lt;span class="n"&gt;fav&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="sb"&gt;/cmdline | tr '&lt;/span&gt;&lt;span class="se"&gt;\\&lt;/span&gt;&lt;span class="sb"&gt;000' ' '`&lt;/span&gt;
&lt;span class="nb"&gt;puts&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;jstack &lt;/span&gt;&lt;span class="si"&gt;#{&lt;/span&gt;&lt;span class="n"&gt;fav&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="s2"&gt; (&lt;/span&gt;&lt;span class="si"&gt;#{&lt;/span&gt;&lt;span class="n"&gt;cmd&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="s2"&gt;)&amp;quot;&lt;/span&gt;
&lt;span class="nb"&gt;puts&lt;/span&gt;
&lt;span class="nb"&gt;exec&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;jstack &lt;/span&gt;&lt;span class="si"&gt;#{&lt;/span&gt;&lt;span class="n"&gt;fav&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
</content></entry><entry><id>https://aphyr.com/posts/420-the-future-of-everything-is-lies-i-guess-where-do-we-go-from-here</id><title>The Future of Everything is Lies, I Guess: Where Do We Go From Here?</title><published>2026-04-16T08:30:01-05:00</published><updated>2026-04-16T08:30:01-05:00</updated><link rel="alternate" href="https://aphyr.com/posts/420-the-future-of-everything-is-lies-i-guess-where-do-we-go-from-here"></link><author><name>Aphyr</name><uri>https://aphyr.com/</uri></author><content type="html">&lt;details class="right" open="open"&gt;
  &lt;summary&gt;Table of Contents&lt;/summary&gt;
  &lt;p style="margin: 1em"&gt;This is a long article, so I've broken it up into a series of posts, listed below. You can also read the full work as a &lt;a href="https://aphyr.com/data/posts/411/the-future-of-everything-is-lies.pdf"&gt;PDF&lt;/a&gt; or &lt;a href="https://aphyr.com/data/posts/411/the-future-of-everything-is-lies.epub"&gt;EPUB&lt;/a&gt;.&lt;/p&gt;
  &lt;nav&gt;
    &lt;ol&gt;
      &lt;li&gt;&lt;a href="/posts/411-the-future-of-everything-is-lies-i-guess"&gt;Introduction&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/412-the-future-of-everything-is-lies-i-guess-dynamics"&gt;Dynamics&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/413-the-future-of-everything-is-lies-i-guess-culture"&gt;Culture&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/414-the-future-of-everything-is-lies-i-guess-information-ecology"&gt;Information Ecology&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/415-the-future-of-everything-is-lies-i-guess-annoyances"&gt;Annoyances&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/416-the-future-of-everything-is-lies-i-guess-psychological-hazards"&gt;Psychological Hazards&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/417-the-future-of-everything-is-lies-i-guess-safety"&gt;Safety&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/418-the-future-of-everything-is-lies-i-guess-work"&gt;Work&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/419-the-future-of-everything-is-lies-i-guess-new-jobs"&gt;New Jobs&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/420-the-future-of-everything-is-lies-i-guess-where-do-we-go-from-here"&gt;Where Do We Go From Here&lt;/a&gt;&lt;/li&gt;
    &lt;/ol&gt;
  &lt;/nav&gt;
&lt;/details&gt;
&lt;p&gt;&lt;em&gt;Previously: &lt;a href="https://aphyr.com/posts/419-the-future-of-everything-is-lies-i-guess-new-jobs"&gt;New Jobs&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Some readers are undoubtedly upset that I have not devoted more space to the
wonders of machine learning—how amazing LLMs are at code generation, how
incredible it is that Suno can turn hummed melodies into polished songs. But
this is not an article about how fast or convenient it is to drive a car. We
all know cars are fast. I am trying to ask &lt;em&gt;&lt;a href="https://en.wikipedia.org/wiki/Societal_effects_of_cars"&gt;what will happen to the shape of
cities&lt;/a&gt;&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;The personal automobile &lt;a href="http://www.autolife.umd.umich.edu/Environment/E_Casestudy/E_casestudy.htm"&gt;reshaped
streets&lt;/a&gt;,
all but extinguished urban horses &lt;a href="https://archive.nytimes.com/cityroom.blogs.nytimes.com/2008/06/09/when-horses-posed-a-public-health-hazard/"&gt;and their
waste&lt;/a&gt;,
&lt;a href="https://opentextbooks.clemson.edu/sciencetechnologyandsociety/chapter/decline-of-streetcars-in-american-cities/"&gt;supplanted local
transit&lt;/a&gt;
and interurban railways, germinated &lt;a href="https://www.architectmagazine.com/technology/architecture-and-the-automobile_o"&gt;new building
typologies&lt;/a&gt;,
&lt;a href="https://bookshop.org/p/books/crabgrass-frontier-the-suburbanization-of-the-united-states-jacques-barzun-professor-of-history-kenneth-t-jackson/9a9a9154e6f22295"&gt;decentralized
cities&lt;/a&gt;,
created &lt;a href="https://www.nature.com/scitable/knowledge/library/the-characteristics-causes-and-consequences-of-sprawling-103014747/"&gt;exurban
sprawl&lt;/a&gt;,
&lt;a href="https://nyc.streetsblog.org/2025/06/09/car-harms-cars-make-us-more-lonely"&gt;reduced incidental social
contact&lt;/a&gt;,
gave rise to the &lt;a href="https://en.wikipedia.org/wiki/Interstate_Highway_System"&gt;Interstate Highway
System&lt;/a&gt; (&lt;a href="https://www.latimes.com/homeless-housing/story/2021-11-11/the-racist-history-of-americas-interstate-highway-boom"&gt;bulldozing
Black
communities&lt;/a&gt;
in the process), &lt;a href="https://en.wikipedia.org/wiki/Tetraethyllead"&gt;gave everyone lead
poisoning&lt;/a&gt;, and became a &lt;a href="https://crashstats.nhtsa.dot.gov/Api/Public/Publication/812203"&gt;leading
cause of death&lt;/a&gt;
among young people. Many parts of the US are &lt;a href="https://en.wikipedia.org/wiki/Car_dependency"&gt;highly
car-dependent&lt;/a&gt;, even though &lt;a href="https://yaleclimateconnections.org/2025/01/american-transportation-revolves-around-cars-many-americans-dont-drive/"&gt;a
third of us don’t
drive&lt;/a&gt;.
As a driver, cyclist, transit rider, and pedestrian, I think about this legacy
every day: how so much of our lives are shaped by the technology of personal
automobiles, and the specific way the US uses them.&lt;/p&gt;
&lt;p&gt;I want you to think about “AI” in this sense.&lt;/p&gt;
&lt;p&gt;Some of our possible futures are grim, but manageable. Others are downright
terrifying, in which large numbers of people lose their homes, health, or
lives. I don’t have a strong sense of what will happen, but the space of
possible futures feels much broader in 2026 than it did in 2022, and most of
those futures feel bad.&lt;/p&gt;
&lt;p&gt;Much of the bullshit future is already here, and I am profoundly tired of it.
There is slop in my search results, at the gym, at the doctor’s office.
Customer service, contractors, and engineers use LLMs to blindly lie to me. The
electric company has hiked our rates and says data centers are to blame. LLM
scrapers take down the web sites I run and make it harder to access the
services I rely on. I watch synthetic videos of suffering animals and stare at
generated web pages which lie about police brutality. There is LLM spam in my
inbox and synthetic CSAM on my moderation dashboard. I watch people outsource
their work, food, travel, art, even relationships to ChatGPT. I read chatbots
lining the delusional warrens of mental health crises.&lt;/p&gt;
&lt;p&gt;I am asked to analyze vaporware and to disprove nonsensical claims. I
wade through voluminous LLM-generated pull requests. Prospective clients ask
Claude to do the work they might have hired me for. Thankfully Claude’s code is
bad, but that could change, and that scares me. I worry about losing my home. I
could retrain, but my core skills—reading, thinking, and writing—are
squarely in the blast radius of large language models. I imagine going to
school to become an architect, just to watch ML eat that field too.&lt;/p&gt;
&lt;p&gt;It is deeply alienating to see so many of my peers wildly enthusiastic about
ML’s potential applications, and using it personally. Governments and industry
seem all-in on “AI”, and I worry that by doing so, we’re hastening the arrival
of unpredictable but potentially devastating consequences—personal, cultural,
economic, and humanitarian.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;I’ve thought about this a lot over the last few years, and I think the best
response is to stop.&lt;/strong&gt; ML assistance &lt;a href="https://arxiv.org/pdf/2604.04721"&gt;reduces our performance and
persistence&lt;/a&gt;, and denies us both the
muscle memory and deep theory-building that comes with working through a task
by hand: the cultivation of what &lt;a href="https://bookshop.org/p/books/seeing-like-a-state-how-certain-schemes-to-improve-the-human-condition-have-failed-professor-james-c-scott/94810144b845ab4f"&gt;James C. Scott would
call&lt;/a&gt;
&lt;em&gt;metis&lt;/em&gt;. I have never used an LLM for my writing, software, or personal life,
because I care about my ability to write well, reason deeply, and stay grounded
in the world. If I ever adopt ML tools in more than an exploratory capacity, I
will need to take great care. I also try to minimize what I consume from LLMs.
I read cookbooks written by human beings, I trawl through university websites
to identify wildlife, and I talk through my problems with friends.&lt;/p&gt;
&lt;p&gt;I think you should do the same.&lt;/p&gt;
&lt;p&gt;Refuse to insult your readers: think your own thoughts and write your own
words. &lt;a href="https://bsky.app/profile/did:plc:vsgr3rwyckhiavgqzdcuzm6i/post/3matwg6w3ic2s"&gt;Call out
people&lt;/a&gt;
who send you slop. Flag ML hazards at work and with friends. Stop paying for
ChatGPT at home, and convince your company not to sign a deal for Gemini. Form
or join a labor union, and push back against management &lt;a href="https://www.businessinsider.com/microsoft-internal-memo-using-ai-no-longer-optional-github-copilot-2025-6"&gt;demands that you adopt
Copilot&lt;/a&gt;—after
all, it’s &lt;a href="https://www.tomshardware.com/tech-industry/artificial-intelligence/microsoft-says-copilot-is-for-entertainment-purposes-only-not-serious-use-firm-pushing-ai-hard-to-consumers-tells-users-not-to-rely-on-it-for-important-advice"&gt;for entertainment purposes
only&lt;/a&gt;.
Call &lt;a href="https://5calls.org/"&gt;your members of Congress&lt;/a&gt; and demand aggressive
regulation which holds ML companies responsible for their
&lt;a href="https://www.technologyreview.com/2025/05/20/1116327/ai-energy-usage-climate-footprint-big-tech/"&gt;carbon&lt;/a&gt;
and
&lt;a href="https://www.wired.com/story/openai-backs-bill-exempt-ai-firms-model-harm-lawsuits/"&gt;digital&lt;/a&gt;
emissions. Advocate against &lt;a href="https://stateline.org/2026/02/24/data-center-tax-breaks-are-on-the-chopping-block-in-some-states/"&gt;tax breaks for ML
datacenters&lt;/a&gt;.
If you work at Anthropic, xAI, etc., you should &lt;a href="https://futurism.com/artificial-intelligence/anthropic-agents-automation"&gt;think seriously about your
role in making the
future&lt;/a&gt;.
To be frank, I think you should &lt;a href="https://futurism.com/artificial-intelligence/anthropic-researcher-quits-cryptic-letter"&gt;quit your
job&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I don’t think this will stop ML from advancing altogether: there are still
lots of people who want to make it happen. It will, however, slow them down,
and this is good. Today’s models are already very capable. It will take time
for the effects of the existing technology to be fully felt, and for culture,
industry, and government to adapt. Each day we delay the advancement of ML
models buys time to learn how to manage technical debt and errors introduced in
legal filings. Another day to prepare for ML-generated CSAM, sophisticated
fraud, obscure software vulnerabilities, and AI Barbie. Another day for workers
to find new jobs.&lt;/p&gt;
&lt;p&gt;Staving off ML will also assuage your conscience over the coming decades. As
someone who once quit an otherwise good job on ethical grounds, I feel good
about that decision. I think you will too.&lt;/p&gt;
&lt;p&gt;And if I’m wrong, we can always build it &lt;em&gt;later&lt;/em&gt;.&lt;/p&gt;
&lt;h2&gt;&lt;a href="#and-yet" id="and-yet"&gt;And Yet…&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Despite feeling a bitter distaste for this generation of ML systems and the
people who brought them into existence, they &lt;em&gt;do&lt;/em&gt; seem useful. I want to use
them. I probably will at some point.&lt;/p&gt;
&lt;p&gt;For example, I’ve got these color-changing lights. They speak a protocol I’ve
never heard of, and I have no idea where to even begin. I could spend a month
digging through manuals and working it out from scratch—or I could ask an LLM
to write a client library for me. The security consequences are minimal, it’s a
constrained use case that I can verify by hand, and I wouldn’t be pushing tech
debt on anyone else. I still write plenty of code, and I could stop any time.
What would be the harm?&lt;/p&gt;
&lt;p&gt;Right?&lt;/p&gt;
&lt;p&gt;… Right?&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;&lt;em&gt;Many friends contributed discussion, reading material, and feedback on this
article. My heartfelt thanks to Peter Alvaro, Kevin Amidon, André Arko, Taber
Bain, Silvia Botros, Daniel Espeset, Julia Evans, Brad Greenlee, Coda Hale,
Marc Hedlund, Sarah Huffman, Dan Mess, Nelson Minar, Arjun Narayan, Alex Rasmussen, Harper
Reed, Daliah Saper, Peter Seibel, Rhys Seiffe, and James Turnbull.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;This piece, like most all my words and software, was written by hand—mainly
in Vim. I composed a Markdown outline in a mix of headers, bullet points, and
prose, then reorganized it in a few passes. With the structure laid out, I
rewrote the outline as prose, typeset with Pandoc. I went back to make
substantial edits as I wrote, then made two full edit passes on typeset PDFs.
For the first I used an iPad and stylus, for the second, the traditional
pen and paper, read aloud.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;I circulated the resulting draft among friends for their feedback before
publication. Incisive ideas and delightful turns of phrase may be attributed to
them; any errors or objectionable viewpoints are, of course, mine alone.&lt;/em&gt;&lt;/p&gt;
</content></entry><entry><id>https://aphyr.com/posts/419-the-future-of-everything-is-lies-i-guess-new-jobs</id><title>The Future of Everything is Lies, I Guess: New Jobs</title><published>2026-04-15T08:19:45-05:00</published><updated>2026-04-15T08:19:45-05:00</updated><link rel="alternate" href="https://aphyr.com/posts/419-the-future-of-everything-is-lies-i-guess-new-jobs"></link><author><name>Aphyr</name><uri>https://aphyr.com/</uri></author><content type="html">&lt;details class="right" open="open"&gt;
  &lt;summary&gt;Table of Contents&lt;/summary&gt;
  &lt;p style="margin: 1em"&gt;This is a long article, so I've broken it up into a series of posts, listed below. You can also read the full work as a &lt;a href="https://aphyr.com/data/posts/411/the-future-of-everything-is-lies.pdf"&gt;PDF&lt;/a&gt; or &lt;a href="https://aphyr.com/data/posts/411/the-future-of-everything-is-lies.epub"&gt;EPUB&lt;/a&gt;.&lt;/p&gt;
  &lt;nav&gt;
    &lt;ol&gt;
      &lt;li&gt;&lt;a href="/posts/411-the-future-of-everything-is-lies-i-guess"&gt;Introduction&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/412-the-future-of-everything-is-lies-i-guess-dynamics"&gt;Dynamics&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/413-the-future-of-everything-is-lies-i-guess-culture"&gt;Culture&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/414-the-future-of-everything-is-lies-i-guess-information-ecology"&gt;Information Ecology&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/415-the-future-of-everything-is-lies-i-guess-annoyances"&gt;Annoyances&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/416-the-future-of-everything-is-lies-i-guess-psychological-hazards"&gt;Psychological Hazards&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/417-the-future-of-everything-is-lies-i-guess-safety"&gt;Safety&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/418-the-future-of-everything-is-lies-i-guess-work"&gt;Work&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/419-the-future-of-everything-is-lies-i-guess-new-jobs"&gt;New Jobs&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/420-the-future-of-everything-is-lies-i-guess-where-do-we-go-from-here"&gt;Where Do We Go From Here&lt;/a&gt;&lt;/li&gt;
    &lt;/ol&gt;
  &lt;/nav&gt;
&lt;/details&gt;
&lt;p&gt;&lt;em&gt;Previously: &lt;a href="https://aphyr.com/posts/418-the-future-of-everything-is-lies-i-guess-work"&gt;Work&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;As we deploy ML more broadly, there will be new kinds of work. I think much of
it will take place at the boundary between human and ML systems. &lt;em&gt;Incanters&lt;/em&gt;
could specialize in prompting models. &lt;em&gt;Process&lt;/em&gt; and &lt;em&gt;statistical engineers&lt;/em&gt;
might control errors in the systems around ML outputs and in the models
themselves. A surprising number of people are now employed as &lt;em&gt;model trainers&lt;/em&gt;,
feeding their human expertise to automated systems. &lt;em&gt;Meat shields&lt;/em&gt; may be
required to take accountability when ML systems fail, and &lt;em&gt;haruspices&lt;/em&gt; could
interpret model behavior.&lt;/p&gt;
&lt;h2&gt;&lt;a href="#incanters" id="incanters"&gt;Incanters&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;LLMs are weird. You can sometimes get better results by threatening them,
telling them they’re experts, repeating your commands, or lying to them that
they’ll receive a financial bonus. Their performance degrades over longer
inputs, and tokens that were helpful in one task can contaminate another, so
good LLM users think a lot about limiting the context that’s fed to the model.&lt;/p&gt;
&lt;p&gt;I imagine that there will probably be people (in all kinds of work!) who
specialize in knowing how to feed LLMs the kind of inputs that lead to good
results. Some people in software seem to be headed this way: becoming &lt;em&gt;LLM
incanters&lt;/em&gt; who speak to Claude, instead of programmers who work directly with
code.&lt;/p&gt;
&lt;h2&gt;&lt;a href="#process-engineers" id="process-engineers"&gt;Process Engineers&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;The unpredictable nature of LLM output requires quality control. For example,
lawyers &lt;a href="https://www.damiencharlotin.com/hallucinations/"&gt;keep getting in
trouble&lt;/a&gt; because they submit
AI confabulations in court. If they want to keep using LLMs, law firms are
going to need some kind of &lt;em&gt;process engineers&lt;/em&gt; who help them catch LLM errors.
You can imagine a process where the people who write a court document
deliberately insert subtle (but easily correctable) errors, and delete
things which should have been present. These introduced errors are registered
for later use. The document is then passed to an editor who reviews it
carefully without knowing what errors were introduced. The document can only
leave the firm once all the intentional errors (and hopefully accidental
ones) are caught. I imagine provenance-tracking software, integration with
LexisNexis and document workflow systems, and so on to support this kind of
quality-control workflow.&lt;/p&gt;
&lt;p&gt;These process engineers would help build and tune that quality-control process:
training people, identifying where extra review is needed, adjusting the level
of automated support, measuring whether the whole process is better than doing
the work by hand, and so on.&lt;/p&gt;
&lt;h2&gt;&lt;a href="#statistical-engineers" id="statistical-engineers"&gt;Statistical Engineers&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;A closely related role might be &lt;em&gt;statistical engineers&lt;/em&gt;: people who
attempt to measure, model, and control variability in ML systems directly.
For instance, a statistical engineer could figure out that the choice an LLM
makes when presented with a list of options &lt;a href="https://arxiv.org/html/2506.14092v1"&gt;is influenced
by&lt;/a&gt; the order in which those options were
presented, and develop ways to compensate. I suspect this might look something
like psychometrics—a field in which psychologists have gone to great lengths
to statistically model and measure the messy behavior of humans via indirect
means.&lt;/p&gt;
&lt;p&gt;Since LLMs are chaotic systems, this work will be complex and challenging:
models will not simply be “95% accurate”. Instead, an ML optimizer for database
queries might perform well on English text, but pathologically on
timeseries data. A healthcare LLM might be highly accurate for queries in
English, but perform abominably when those same questions are presented in
Spanish. This will require deep, domain-specific work.&lt;/p&gt;
&lt;h2&gt;&lt;a href="#model-trainers" id="model-trainers"&gt;Model Trainers&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;As slop takes over the Internet, labs may struggle to obtain high-quality
corpuses for training models. Trainers must also contend with false sources:
Almira Osmanovic Thunström demonstrated that just a handful of obviously fake
articles&lt;sup id="fnref-1"&gt;&lt;a class="footnote-ref" href="#fn-1"&gt;1&lt;/a&gt;&lt;/sup&gt; could cause Gemini, ChatGPT, and Copilot to inform
users &lt;a href="https://www.nature.com/articles/d41586-026-01100-y"&gt;about an imaginary disease with a ridiculous
name&lt;/a&gt;. There are financial, cultural, and political incentives to influence
what LLMs say; it seems safe to assume future corpuses will be increasingly
tainted by misinformation.&lt;/p&gt;
&lt;p&gt;One solution is to use the informational equivalent of &lt;a href="https://en.wikipedia.org/wiki/Low-background_steel"&gt;low-background
steel&lt;/a&gt;: uncontaminated
works produced prior to 2023 are more likely to be accurate. Another option is
to employ human experts as &lt;em&gt;model trainers&lt;/em&gt;. OpenAI could hire, say, postdocs
in the Carolingian Renaissance to teach their models all about Alcuin. These
subject-matter experts would write documents for the initial training pass,
develop benchmarks for evaluation, and check the model’s responses during
conditioning. LLMs are also prone to making subtle errors that &lt;em&gt;look&lt;/em&gt; correct.
Perhaps fixing that problem involves hiring very smart people to carefully read
lots of LLM output and catch where it made mistakes.&lt;/p&gt;
&lt;p&gt;In another case of “I wrote this years ago, and now it’s common knowledge”, a
friend introduced me to &lt;a href="https://nymag.com/intelligencer/article/white-collar-workers-training-ai.html"&gt;this piece on Mercor, Scale AI, et
al.&lt;/a&gt;,
which employ vast numbers of professionals to train models to do mysterious
tasks—presumably putting themselves out of work in the process. “It is, as
one industry veteran put it, the largest harvesting of human expertise ever
attempted.” Of course there’s bossware, and shrinking pay, and absurd hours,
and no union.&lt;sup id="fnref-2"&gt;&lt;a class="footnote-ref" href="#fn-2"&gt;2&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;h2&gt;&lt;a href="#meat-shields" id="meat-shields"&gt;Meat Shields&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;You would think that CEOs and board members might be afraid that their own jobs
could be taken over by LLMs, but this doesn’t seem to have stopped them from
using “AI” as an excuse to &lt;a href="https://www.cnbc.com/2026/03/14/meta-planning-sweeping-layoffs-as-ai-costs-mount-reuters.html"&gt;fire lots of
people&lt;/a&gt;.
I think a part of the reason is that these roles are not just about sending
emails and looking at graphs, but also about dangling a warm body &lt;a href="https://uscode.house.gov/view.xhtml?req=granuleid%3AUSC-prelim-title5-section8477&amp;amp;num=0&amp;amp;edition=prelim"&gt;over the maws
of the legal
system&lt;/a&gt; and public opinion. You can fine an LLM-using corporation, but only humans can apologize or go to jail. Humans can be motivated by
consequences and provide social redress in a way that LLMs can’t.&lt;/p&gt;
&lt;p&gt;I am thinking of the aftermath of the Chicago Sun-Times’ &lt;a href="https://aphyr.com/posts/386-the-future-of-newspapers-is-lies-i-guess"&gt;sloppy summer insert&lt;/a&gt;.
Anyone who read it should have realized it was nonsense, but Chicago Public
Media CEO Melissa Bell explained that they &lt;a href="https://chicago.suntimes.com/opinion/2025/05/29/lessons-apology-from-sun-times-ceo-ai-generated-book-list"&gt;sourced the article from King
Features&lt;/a&gt;,
which is owned by Hearst, who presumably should have delivered articles which
were not composed entirely of sawdust and lies. King Features, in turn, says they subcontracted the
entire 64-page insert to freelancer Marco Buscaglia. Of course Buscaglia was
most proximate to the LLM and bears significant responsibility, but at the same
time, the people who trained the LLM contributed to this tomfoolery, as did the
editors at King Features and the Sun-Times, and indirectly, their respective
managers. What were the names of &lt;em&gt;those&lt;/em&gt; people, and why didn’t they apologize
as &lt;a href="https://www.404media.co/chicago-sun-times-prints-ai-generated-summer-reading-list-with-books-that-dont-exist/"&gt;Buscaglia&lt;/a&gt; and Bell did?&lt;/p&gt;
&lt;p&gt;I think we will see some people employed (though perhaps not explicitly) as
&lt;em&gt;meat shields&lt;/em&gt;: people who are accountable for ML systems under their
supervision. The accountability may be purely internal, as when Meta hires
human beings to review the decisions of automated moderation systems. It may be
external, as when lawyers are penalized for submitting LLM lies to the court.
It may involve formalized responsibility, like a Data Protection Officer. It
may be convenient for a company to have third-party subcontractors, like
Buscaglia, who can be thrown under the bus when the system as a whole
misbehaves. Perhaps drivers whose mostly-automated cars crash will be held
responsible in the same way—Madeline Clare Elish calls this concept a &lt;a href="https://www.researchgate.net/publication/351054898_Moral_Crumple_Zones_Cautionary_Tales_in_Human-Robot_Interaction"&gt;moral
crumple
zone&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Having written this, I am suddenly seized with a vision of a congressional
hearing interviewing a Large Language Model. “You’re absolutely right, Senator.
I &lt;em&gt;did&lt;/em&gt; embezzle those sixty-five million dollars. Here’s the breakdown…”&lt;/p&gt;
&lt;h2&gt;&lt;a href="#haruspices" id="haruspices"&gt;Haruspices&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;When models go wrong, we will want to know why. What led the drone to abandon
its intended target and detonate in a field hospital? Why is the healthcare
model less likely to &lt;a href="https://news.umich.edu/accounting-for-bias-in-medical-data-helps-prevent-ai-from-amplifying-racial-disparity/"&gt;accurately diagnose Black
people&lt;/a&gt;?
How culpable should the automated taxi company be when one of its vehicles runs
over a child? Why does the social media company’s automated moderation system
keep flagging screenshots of Donkey Kong as nudity?&lt;/p&gt;
&lt;p&gt;These tasks could fall to a &lt;em&gt;haruspex&lt;/em&gt;: a person responsible for sifting
through a model’s inputs, outputs, and internal states, trying to synthesize an
account for its behavior. Some of this work will be deep investigations into a
single case, and other situations will demand broader statistical analysis.
Haruspices might be deployed internally by ML companies, by their users,
independent journalists, courts, and agencies like the NTSB.&lt;/p&gt;
&lt;p&gt;*Next: &lt;a href="https://aphyr.com/posts/420-the-future-of-everything-is-lies-i-guess-where-do-we-go-from-here"&gt;Where Do We Go From Here?&lt;/a&gt;&lt;/p&gt;
&lt;div class="footnotes"&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id="fn-1"&gt;
&lt;p&gt;When I say “obviously”, I mean the paper included the
phase “this entire paper is made up”. Again, LLMs are idiots.&lt;/p&gt;
&lt;a href="#fnref-1" class="footnote-backref"&gt;↩&lt;/a&gt;
&lt;/li&gt;
&lt;li id="fn-2"&gt;
&lt;p&gt;At this point the reader is invited to blurt out whatever
screams of “the real problem is capitalism!” they have been holding back
for the preceding twenty-seven pages. I am right there with you. That said,
nuclear crisis and environmental devastation were never limited to capitalist
nations alone. If you have a friend or relative who lived in (e.g.) the USSR,
it might be interesting to ask what they think the Politburo would have done
with this technology.&lt;/p&gt;
&lt;a href="#fnref-2" class="footnote-backref"&gt;↩&lt;/a&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
</content></entry><entry><id>https://aphyr.com/posts/418-the-future-of-everything-is-lies-i-guess-work</id><title>The Future of Everything is Lies, I Guess: Work</title><published>2026-04-14T09:55:28-05:00</published><updated>2026-04-14T09:55:28-05:00</updated><link rel="alternate" href="https://aphyr.com/posts/418-the-future-of-everything-is-lies-i-guess-work"></link><author><name>Aphyr</name><uri>https://aphyr.com/</uri></author><content type="html">&lt;details class="right" open="open"&gt;
  &lt;summary&gt;Table of Contents&lt;/summary&gt;
  &lt;p style="margin: 1em"&gt;This is a long article, so I've broken it up into a series of posts, listed below. You can also read the full work as a &lt;a href="https://aphyr.com/data/posts/411/the-future-of-everything-is-lies.pdf"&gt;PDF&lt;/a&gt; or &lt;a href="https://aphyr.com/data/posts/411/the-future-of-everything-is-lies.epub"&gt;EPUB&lt;/a&gt;.&lt;/p&gt;
  &lt;nav&gt;
    &lt;ol&gt;
      &lt;li&gt;&lt;a href="/posts/411-the-future-of-everything-is-lies-i-guess"&gt;Introduction&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/412-the-future-of-everything-is-lies-i-guess-dynamics"&gt;Dynamics&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/413-the-future-of-everything-is-lies-i-guess-culture"&gt;Culture&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/414-the-future-of-everything-is-lies-i-guess-information-ecology"&gt;Information Ecology&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/415-the-future-of-everything-is-lies-i-guess-annoyances"&gt;Annoyances&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/416-the-future-of-everything-is-lies-i-guess-psychological-hazards"&gt;Psychological Hazards&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/417-the-future-of-everything-is-lies-i-guess-safety"&gt;Safety&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/418-the-future-of-everything-is-lies-i-guess-work"&gt;Work&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/419-the-future-of-everything-is-lies-i-guess-new-jobs"&gt;New Jobs&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/420-the-future-of-everything-is-lies-i-guess-where-do-we-go-from-here"&gt;Where Do We Go From Here&lt;/a&gt;&lt;/li&gt;
    &lt;/ol&gt;
  &lt;/nav&gt;
&lt;/details&gt;
&lt;p&gt;&lt;em&gt;Previously: &lt;a href="https://aphyr.com/posts/417-the-future-of-everything-is-lies-i-guess-safety"&gt;Safety&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Software development may become (at least in some aspects) more like witchcraft
than engineering. The present enthusiasm for “AI coworkers” is preposterous.
Automation can paradoxically make systems less robust; when we apply ML to new
domains, we will have to reckon with deskilling, automation bias, monitoring
fatigue, and takeover hazards. AI boosters believe ML will displace labor
across a broad swath of industries in a short period of time; if they are
right, we are in for a rough time. Machine learning seems likely to further
consolidate wealth and power in the hands of large tech companies, and I don’t
think giving Amazon et al. even more money will yield Universal Basic Income.&lt;/p&gt;
&lt;h2&gt;&lt;a href="#programming-as-witchcraft" id="programming-as-witchcraft"&gt;Programming as Witchcraft&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Decades ago there was enthusiasm that programs might be written in a natural
language like English, rather than a formal language like Pascal. The folk
wisdom when I was a child was that this was not going to work: English is
notoriously ambiguous, and people are not skilled at describing exactly what
they want. Now we have machines capable of spitting out shockingly
sophisticated programs given only the vaguest of plain-language directives; the
lack of specificity is at least partially made up for by the model’s vast
corpus. Is this what programming will become?&lt;/p&gt;
&lt;p&gt;In 2025 I would have said it was extremely unlikely, at least with the
current capabilities of LLMs. In the last few months it seems that models
have made dramatic improvements. Experienced engineers I trust are asking
Claude to write implementations of cryptography papers, and reporting
fantastic results. Others say that LLMs generate &lt;em&gt;all&lt;/em&gt; code at their company;
humans are essentially managing LLMs. I continue to write all of my words and
software by hand, for the reasons I’ve discussed in this piece—but I am
not confident I will hold out forever.&lt;/p&gt;
&lt;p&gt;Some argue that formal languages will become a niche skill, like assembly
today—almost all software will be written with natural language and “compiled”
to code by LLMs. I don’t think this analogy holds. Compilers work because they
preserve critical semantics of their input language: one can formally reason
about a series of statements in Java, and have high confidence that the
Java compiler will preserve that reasoning in its emitted assembly. When a
compiler fails to preserve semantics it is a &lt;em&gt;big deal&lt;/em&gt;. Engineers must spend
lots of time banging their heads against desks to (e.g.) figure out that the
compiler did not insert the right barrier instructions to preserve a subtle
aspect of the JVM memory model.&lt;/p&gt;
&lt;p&gt;Because LLMs are chaotic and natural language is ambiguous, LLMs seem unlikely
to preserve the reasoning properties we expect from compilers. Small changes in
the natural language instructions, such as repeating a sentence, or changing
the order of seemingly independent paragraphs, can result in completely
different software semantics. Where correctness is important, at least some humans must continue to read and understand the code.&lt;/p&gt;
&lt;p&gt;This does not mean every software engineer will work with code. I can imagine a
future in which some or even most software is developed by &lt;em&gt;witches&lt;/em&gt;, who
construct elaborate summoning environments, repeat special incantations
(“ALWAYS run the tests!”), and invoke LLM daemons who write software on their
behalf. These daemons may be fickle, sometimes destroying one’s computer or
introducing security bugs, but the witches may develop an entire body of folk
knowledge around prompting them effectively—the fabled “prompt engineering”. Skills files are spellbooks.&lt;/p&gt;
&lt;p&gt;I also remember that a good deal of software programming is not done in “real”
computer languages, but in Excel. An ethnography of Excel is beyond the scope
of this already sprawling essay, but I think spreadsheets—like LLMs—are
culturally accessible to people who do not consider themselves software
engineers, and that a tool which people can pick up and use for themselves is
likely to be applied in a broad array of circumstances. Take for example
journalists who use “AI for data analysis”, or a CFO who vibe-codes a report
drawing on SalesForce and Ducklake. Even if software engineering adopts more
rigorous practices around LLMs, a thriving periphery of rickety-yet-useful
LLM-generated software might flourish.&lt;/p&gt;
&lt;h2&gt;&lt;a href="#hiring-sociopaths" id="hiring-sociopaths"&gt;Hiring Sociopaths&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Executives seem very excited about this idea of hiring “AI employees”. I keep
wondering: what kind of employees are they?&lt;/p&gt;
&lt;p&gt;Imagine a co-worker who generated reams of code with security hazards, forcing
you to review every line with a fine-toothed comb. One who enthusiastically
agreed with your suggestions, then did the exact opposite. A colleague who
sabotaged your work, deleted your home directory, and then issued a detailed,
polite apology for it. One who promised over and over again that they had
delivered key objectives when they had, in fact, done nothing useful. An intern
who cheerfully agreed to run the tests before committing, then kept committing
failing garbage anyway. A senior engineer who quietly deleted the test suite,
then happily reported that all tests passed.&lt;/p&gt;
&lt;p&gt;You would &lt;em&gt;fire&lt;/em&gt; these people, right?&lt;/p&gt;
&lt;p&gt;Look what happened when &lt;a href="https://www.anthropic.com/research/project-vend-1"&gt;Anthropic let Claude run a vending
machine&lt;/a&gt;. It sold metal
cubes at a loss, told customers to remit payment to imaginary accounts, and
gradually ran out of money. Then it suffered the LLM analogue of a
psychotic break, lying about restocking plans with people who didn’t
exist and claiming to have visited a home address from &lt;em&gt;The Simpsons&lt;/em&gt; to sign
a contract. It told employees it would deliver products “in person”, and when
employees told it that as an LLM it couldn’t wear clothes or deliver anything,
Claude tried to contact Anthropic security.&lt;/p&gt;
&lt;p&gt;LLMs perform identity, empathy, and accountability—at great length!—without
&lt;em&gt;meaning&lt;/em&gt; anything. There is simply no there there! They will blithely lie to
your face, bury traps in their work, and leave you to take the blame. They
don’t mean anything by it. &lt;em&gt;They don’t mean anything at all.&lt;/em&gt;&lt;/p&gt;
&lt;h2&gt;&lt;a href="#ironies-of-automation" id="ironies-of-automation"&gt;Ironies of Automation&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;I have been on the Bainbridge Bandwagon for quite some time (so if you’ve read
this already skip ahead) but I &lt;em&gt;have&lt;/em&gt; to talk about her 1983 paper
&lt;a href="https://ckrybus.com/static/papers/Bainbridge_1983_Automatica.pdf"&gt;&lt;em&gt;Ironies of
Automation&lt;/em&gt;&lt;/a&gt;.
This paper is about power plants, factories, and so on—but it is also
chock-full of ideas that apply to modern ML.&lt;/p&gt;
&lt;p&gt;One of her key lessons is that automation tends to de-skill operators. When
humans do not practice a skill—either physical or mental—their ability to
execute that skill degrades. We fail to maintain long-term knowledge, of
course, but by disengaging from the day-to-day work, we also lose the
short-term contextual understanding of “what’s going on right now”. My peers in
software engineering report feeling less able to write code themselves after
having worked with code-generation models, and one designer friend says he
feels less able to do creative work after offloading some to ML. Doctors who
use “AI” tools for polyp detection &lt;a href="https://www.thelancet.com/journals/langas/article/PIIS2468-12532500133-5/abstract"&gt;seem to be
worse&lt;/a&gt;
at spotting adenomas during colonoscopies. They may also allow the automated
system to influence their conclusions: background automation bias seems to
allow “AI” mammography systems to &lt;a href="https://pubmed.ncbi.nlm.nih.gov/37129490/"&gt;mislead
radiologists&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Another critical lesson is that humans are distinctly bad at monitoring
automated processes. If the automated system can execute the task faster or more
accurately than a human, it is essentially impossible to review its decisions
in real time. Humans also struggle to maintain vigilance over a system which
&lt;em&gt;mostly&lt;/em&gt; works. I suspect this is why journalists keep publishing fictitious
LLM quotes, and why the former head of Uber’s self-driving program watched his
“Full Self-Driving” Tesla &lt;a href="https://www.theatlantic.com/magazine/2026/04/self-driving-car-technology-tesla-crash/686054/?gift=ObTAI8oDbHXe8UjwAQKul6acU0KJHCMEsvPjPPlG_MM"&gt;crash into a
wall&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Takeover is also challenging. If an automated system runs things &lt;em&gt;most&lt;/em&gt; of the
time, but asks a human operator to intervene occasionally, the operator is
likely to be out of practice—and to stumble. Automated systems can also mask
failure until catastrophe strikes by handling increasing deviation from the
norm until something breaks. This thrusts a human operator into an unexpected
regime in which their usual intuition is no longer accurate. This contributed
to the crash of &lt;a href="https://risk-engineering.org/concept/AF447-Rio-Paris"&gt;Air France flight
447&lt;/a&gt;: the aircraft’s
flight controls transitioned from “normal” to “alternate 2B law”: a situation
the pilots were not trained for, and which disabled the automatic stall
protection.&lt;/p&gt;
&lt;p&gt;Automation is not new. However, previous generations of automation
technology—the power loom, the calculator, the CNC milling machine—were
more limited in both scope and sophistication. LLMs are discussed as if they
will automate a broad array of human tasks, and take over not only repetitive,
simple jobs, but high-level, adaptive cognitive work. This means we will have
to generalize the lessons of automation to new domains which have not dealt
with these challenges before.&lt;/p&gt;
&lt;p&gt;Software engineers are using LLMs to replace design, code generation, testing,
and review; it seems inevitable that these skills will wither with disuse. When
MLs systems help operate software and respond to outages, it can be more
difficult for human engineers to smoothly take over. Students are using LLMs to
&lt;a href="https://www.insidehighered.com/news/global/2024/06/21/academics-dismayed-flood-chatgpt-written-student-essays"&gt;automate reading and
writing&lt;/a&gt;:
core skills needed to understand the world and to develop one’s own thoughts.
What a tragedy: to build a habit-forming machine which quietly robs students of
their intellectual inheritance. Expecting translators to offload some of their
work to ML raises the prospect that those translators will lose the &lt;a href="https://revues.imist.ma/index.php/JALCS/article/view/59018"&gt;deep
context necessary&lt;/a&gt;
for a vibrant, accurate translation. As people offload emotional skills like
&lt;a href="https://link.springer.com/content/pdf/10.1007/s00146-025-02686-z.pdf"&gt;interpersonal advice and
self-regulation&lt;/a&gt;
to LLMs, I fear that we will struggle to solve those problems on our own.&lt;/p&gt;
&lt;h2&gt;&lt;a href="#labor-shock" id="labor-shock"&gt;Labor Shock&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;There’s some &lt;a href="https://www.citriniresearch.com/p/2028gic"&gt;terrifying
fan-fiction&lt;/a&gt; out there which predict
how ML might change the labor market. Some of my peers in software
engineering think that their jobs will be gone in two years; others are
confident they’ll be more relevant than ever. Even if ML is not very good at
doing work, this does not stop CEOs &lt;a href="https://www.fastcompany.com/91512893/crypto-com-layoffs-today-ceo-joins-list-bosses-blaming-ai-job-cuts"&gt;from firing large numbers of
people&lt;/a&gt;
and &lt;a href="https://apnews.com/article/block-dorsey-layoffs-ai-jobs-18e00a0b278977b0a87893f55e3db7bb"&gt;saying it’s because of
“AI”&lt;/a&gt;.
I have no idea where things are going, but the space of possible futures
seems awfully broad right now, and that scares the crap out of me.&lt;/p&gt;
&lt;p&gt;You can envision a robust system of state and industry-union unemployment and
retraining programs &lt;a href="https://www.usnews.com/news/best-countries/articles/2018-02-06/what-sweden-can-teach-the-world-about-worker-retraining"&gt;as in
Sweden&lt;/a&gt;.
But unlike sewing machines or combine harvesters, ML systems seem primed to
displace labor across a broad swath of industries. The question is what happens
when, say, half of the US’s managers, marketers, graphic designers, musicians,
engineers, architects, paralegals, medical administrators, etc. &lt;em&gt;all&lt;/em&gt; lose
their jobs in the span of a decade.&lt;/p&gt;
&lt;p&gt;As an armchair observer without a shred of economic acumen, I see a
continuum of outcomes. In one extreme, ML systems continue to hallucinate,
cannot be made reliable, and ultimately fail to deliver on the promise of
transformative, broadly-useful “intelligence”. Or they work, but people get fed
up and declare “AI Bad”. Perhaps employment rises in some fields as the debts
of deskilling and sprawling slop come due. In this world, frontier labs and
hyperscalers &lt;a href="https://www.reuters.com/business/finance/five-debt-hotspots-ai-data-centre-boom-2025-12-11/"&gt;pull a Wile E.
Coyote&lt;/a&gt;
over a trillion dollars of debt-financed capital expenditure, a lot of ML
people lose their jobs, defaults cascade through the financial system, but the
labor market eventually adapts and we muddle through. ML turns out to be a
&lt;a href="https://knightcolumbia.org/content/ai-as-normal-technology"&gt;normal
technology&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;In the other extreme, OpenAI delivers on Sam Altman’s &lt;a href="https://www.cnn.com/2025/08/14/business/chatgpt-rollout-problems"&gt;2025 claims of PhD-level
intelligence&lt;/a&gt;,
and the companies writing all their code with Claude achieve phenomenal success
with a fraction of the software engineers. ML massively amplifies the
capabilities of doctors, musicians, civil engineers, fashion designers,
managers, accountants, etc., who briefly enjoy nice paychecks before
discovering that demand for their services is not as elastic as once thought,
especially once their clients lose their jobs or turn to ML to cut costs.
Knowledge workers are laid off en masse and MBAs start taking jobs at McDonalds
or driving for Lyft, at least until Waymo puts an end to human drivers. This is
inconvenient for everyone: the MBAs, the people who used to work at McDonalds
and are now competing with MBAs, and of course bankers, who were rather
counting on the MBAs to keep paying their mortgages. The drop in consumer
spending cascades through industries. A lot of people lose their savings, or
even their homes. Hopefully the trades squeak through. Maybe the &lt;a href="https://en.wikipedia.org/wiki/Jevons_paradox"&gt;Jevons
paradox&lt;/a&gt; kicks in eventually and
we find new occupations.&lt;/p&gt;
&lt;p&gt;The prospect of that second scenario scares me. I have no way to judge how
likely it is, but the way my peers have been talking the last few months, I
don’t think I can totally discount it any more. It’s been keeping me up at
night.&lt;/p&gt;
&lt;h2&gt;&lt;a href="#capital-consolidation" id="capital-consolidation"&gt;Capital Consolidation&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Broadly speaking, ML allows companies to shift spending away from people
and into service contracts with companies like Microsoft. Those contracts pay
for the staggering amounts of hardware, power, buildings, and data required to
train and operate a modern ML model. For example, software companies are busy
&lt;a href="https://programs.com/resources/ai-layoffs/"&gt;firing engineers and spending more money on
“AI”&lt;/a&gt;. Instead of hiring a software
engineer to build something, a product manager can burn $20,000 a week on
Claude tokens, which in turn pays for &lt;a href="https://www.aboutamazon.com/news/company-news/amazon-aws-anthropic-ai"&gt;a lot of Amazon
chips&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Unlike employees, who have base desires and occasionally organize to ask for
&lt;a href="https://www.cbsnews.com/news/amazon-drivers-peeing-in-bottles-union-vote-worker-complaints/"&gt;better
pay&lt;/a&gt;
or &lt;a href="https://www.cbsnews.com/news/amazon-drivers-peeing-in-bottles-union-vote-worker-complaints/"&gt;bathroom
breaks&lt;/a&gt;,
LLMs are immensely agreeable, can be fired at any time, never need to pee, and
do not unionize. I suspect that if companies are successful in replacing large
numbers of people with ML systems, the effect will be to consolidate both money
and power in the hands of capital.&lt;/p&gt;
&lt;h2&gt;&lt;a href="#ubi-revera" id="ubi-revera"&gt;UBI, Revera&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;AI accelerationists believe potential economic shocks are speed-bumps on the
road to abundance. Once true AI arrives, it will solve some or all of society’s
major problems better than we can, and humans can enjoy the bounty of its
labor. The immense profits accruing to AI companies will be taxed and shared
with all via &lt;a href="https://www.businessinsider.com/universal-basic-income-ai"&gt;Universal Basic
Income&lt;/a&gt; (UBI).&lt;/p&gt;
&lt;p&gt;This feels &lt;a href="https://qz.com/universal-basic-income-ai-jobs-loss-unemployment-ubi"&gt;hopelessly naïve&lt;/a&gt;. We
have profitable megacorps at home, and their names are things like Google,
Amazon, Meta, and Microsoft. These companies have &lt;a href="https://en.wikipedia.org/wiki/Amazon_tax_avoidance"&gt;fought tooth and
nail&lt;/a&gt; to &lt;a href="https://apnews.com/article/italy-tax-evasion-investigation-google-earnings-advertising-3b4cd3e1f338ba0d5a3067f5919383b3"&gt;avoid paying
taxes&lt;/a&gt;
(or, for that matter, &lt;a href="https://en.wikipedia.org/wiki/Amazon_and_trade_unions"&gt;their
workers&lt;/a&gt;). OpenAI made it less than a decade &lt;a href="https://www.cnbc.com/2025/10/28/open-ai-for-profit-microsoft.html"&gt;before deciding it didn’t want to be a nonprofit any
more&lt;/a&gt;. There
is no reason to believe that “AI” companies will, having extracted immense
wealth from interposing their services across every sector of the economy, turn
around and fund UBI out of the goodness of their hearts.&lt;/p&gt;
&lt;p&gt;If enough people lose their jobs we may be able to mobilize sufficient public
enthusiasm for however many trillions of dollars of new tax revenue are
required. On the other hand, US income inequality has been &lt;a href="https://en.wikipedia.org/wiki/Income_inequality_in_the_United_States#/media/File:Cumulative_Growth_in_Income_to_2016_from_CBO.png"&gt;generally
increasing for 40
years&lt;/a&gt;,
the top earner pre-tax income shares are &lt;a href="https://en.wikipedia.org/wiki/Income_inequality_in_the_United_States#/media/File:U.S._Pre-Tax_Income_Share_Top_1_Pct_and_0.1_Pct_1913_to_2016.png/2"&gt;nearing their highs from the
early 20th
century&lt;/a&gt;, and Republican opposition to progressive tax policy remains strong.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Next: &lt;a href="https://aphyr.com/posts/419-the-future-of-everything-is-lies-i-guess-new-jobs"&gt;New Jobs&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;
</content></entry><entry><id>https://aphyr.com/posts/417-the-future-of-everything-is-lies-i-guess-safety</id><title>The Future of Everything is Lies, I Guess: Safety</title><published>2026-04-13T11:21:24-05:00</published><updated>2026-04-13T11:21:24-05:00</updated><link rel="alternate" href="https://aphyr.com/posts/417-the-future-of-everything-is-lies-i-guess-safety"></link><author><name>Aphyr</name><uri>https://aphyr.com/</uri></author><content type="html">&lt;details class="right" open="open"&gt;
  &lt;summary&gt;Table of Contents&lt;/summary&gt;
  &lt;p style="margin: 1em"&gt;This is a long article, so I've broken it up into a series of posts, listed below. You can also read the full work as a &lt;a href="https://aphyr.com/data/posts/411/the-future-of-everything-is-lies.pdf"&gt;PDF&lt;/a&gt; or &lt;a href="https://aphyr.com/data/posts/411/the-future-of-everything-is-lies.epub"&gt;EPUB&lt;/a&gt;.&lt;/p&gt;
  &lt;nav&gt;
    &lt;ol&gt;
      &lt;li&gt;&lt;a href="/posts/411-the-future-of-everything-is-lies-i-guess"&gt;Introduction&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/412-the-future-of-everything-is-lies-i-guess-dynamics"&gt;Dynamics&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/413-the-future-of-everything-is-lies-i-guess-culture"&gt;Culture&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/414-the-future-of-everything-is-lies-i-guess-information-ecology"&gt;Information Ecology&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/415-the-future-of-everything-is-lies-i-guess-annoyances"&gt;Annoyances&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/416-the-future-of-everything-is-lies-i-guess-psychological-hazards"&gt;Psychological Hazards&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/417-the-future-of-everything-is-lies-i-guess-safety"&gt;Safety&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/418-the-future-of-everything-is-lies-i-guess-work"&gt;Work&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/419-the-future-of-everything-is-lies-i-guess-new-jobs"&gt;New Jobs&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="/posts/420-the-future-of-everything-is-lies-i-guess-where-do-we-go-from-here"&gt;Where Do We Go From Here&lt;/a&gt;&lt;/li&gt;
    &lt;/ol&gt;
  &lt;/nav&gt;
&lt;/details&gt;
&lt;p&gt;&lt;em&gt;Previously: &lt;a href="https://aphyr.com/posts/416-the-future-of-everything-is-lies-i-guess-psychological-hazards"&gt;Psychological Hazards&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;New machine learning systems endanger our psychological and physical safety. The idea that ML companies will ensure “AI” is broadly aligned with human interests is naïve: allowing the production of “friendly” models has necessarily enabled the production of “evil” ones. Even “friendly” LLMs are security nightmares. The “lethal trifecta” is in fact a unifecta: LLMs cannot safely be given the power to fuck things up. LLMs change the cost balance for malicious attackers, enabling new scales of sophisticated, targeted security attacks, fraud, and harassment. Models can produce text and imagery that is difficult for humans to bear; I expect an increased burden to fall on moderators. Semi-autonomous weapons are already here, and their capabilities will only expand.&lt;/p&gt;
&lt;h2&gt;&lt;a href="#alignment-is-a-joke" id="alignment-is-a-joke"&gt;Alignment is a Joke&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Well-meaning people are trying very hard to ensure LLMs are friendly to humans.
This undertaking is called &lt;em&gt;alignment&lt;/em&gt;. I don’t think it’s going to work.&lt;/p&gt;
&lt;p&gt;First, ML models are a giant pile of linear algebra. Unlike human brains, which
are biologically predisposed to acquire prosocial behavior, there is nothing
intrinsic in the mathematics or hardware that ensures models are nice. Instead,
alignment is purely a product of the corpus and training process: OpenAI has
enormous teams of people who spend time talking to LLMs, evaluating what they
say, and adjusting weights to make them nice. They also build secondary LLMs
which double-check that the core LLM is not telling people how to build
pipe bombs. Both of these things are optional and expensive. All it takes to
get an unaligned model is for an unscrupulous entity to train one and &lt;em&gt;not&lt;/em&gt;
do that work—or to do it poorly.&lt;/p&gt;
&lt;p&gt;I see four moats that could prevent this from happening.&lt;/p&gt;
&lt;p&gt;First, training and inference hardware could be difficult to access. This
clearly won’t last. The entire tech industry is gearing up to produce ML
hardware and building datacenters at an incredible clip. Microsoft, Oracle, and
Amazon are tripping over themselves to rent training clusters to anyone who
asks, and economies of scale are rapidly lowering costs.&lt;/p&gt;
&lt;p&gt;Second, the mathematics and software that go into the training and inference
process could be kept secret. The math is all published, so that’s not going to stop anyone. The software generally
remains secret sauce, but I don’t think that will hold for long. There are a
&lt;em&gt;lot&lt;/em&gt; of people working at frontier labs; those people will move to other jobs
and their expertise will gradually become common knowledge. I would be shocked
if state actors were not trying to exfiltrate data from OpenAI et al. like
&lt;a href="https://en.wikipedia.org/wiki/Saudi_infiltration_of_Twitter"&gt;Saudi Arabia did to
Twitter&lt;/a&gt;, or China
has been doing to &lt;a href="https://en.wikipedia.org/wiki/Chinese_espionage_in_the_United_States"&gt;a good chunk of the US tech
industry&lt;/a&gt;
for the last twenty years.&lt;/p&gt;
&lt;p&gt;Third, training corpuses could be difficult to acquire. This cat has never
seen the inside of a bag. Meta trained their LLM by torrenting &lt;a href="https://www.tomshardware.com/tech-industry/artificial-intelligence/meta-staff-torrented-nearly-82tb-of-pirated-books-for-ai-training-court-records-reveal-copyright-violations"&gt;pirated
books&lt;/a&gt;
and scraping the Internet. Both of these things are easy to do. There are
&lt;a href="https://oxylabs.io/"&gt;whole companies which offer web scraping as a service&lt;/a&gt;;
they spread requests across vast arrays of residential proxies to make it
difficult to identify and block.&lt;/p&gt;
&lt;p&gt;Fourth, there’s the &lt;a href="https://www.theguardian.com/technology/2024/apr/16/techscape-ai-gadgest-humane-ai-pin-chatgpt"&gt;small armies of
contractors&lt;/a&gt;
who do the work of judging LLM responses during the &lt;a href="https://en.wikipedia.org/wiki/Reinforcement_learning_from_human_feedback"&gt;reinforcement learning
process&lt;/a&gt;;
as the quip goes, “AI” stands for African Intelligence. This takes money to do
yourself, but it is possible to piggyback off the work of others by training
your model off another model’s outputs. OpenAI &lt;a href="https://www.theverge.com/news/601195/openai-evidence-deepseek-distillation-ai-data"&gt;thinks Deepseek did exactly
that&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;In short, the ML industry is creating the conditions under which anyone with
sufficient funds can train an unaligned model. Rather than raise the bar
against malicious AI, ML companies have lowered it.&lt;/p&gt;
&lt;p&gt;To make matters worse, the current efforts at alignment don’t seem to be
working all that well. LLMs are complex chaotic systems, and we don’t really
understand how they work or how to make them safe. Even after shoveling piles
of money and gobstoppingly smart engineers at the problem for years, supposedly
aligned LLMs keep &lt;a href="https://www.cbsnews.com/news/character-ai-chatbots-engaged-in-predatory-behavior-with-teens-families-allege-60-minutes-transcript/"&gt;sexting
kids&lt;/a&gt;,
obliteration attacks &lt;a href="https://www.microsoft.com/en-us/security/blog/2026/02/09/prompt-attack-breaks-llm-safety/"&gt;can convince models to generate images of
violence&lt;/a&gt;,
and anyone can go and &lt;a href="https://ollama.com/library/dolphin-mixtral"&gt;download “uncensored” versions of
models&lt;/a&gt;. Of course alignment
prevents many terrible things from happening, but models are run many times, so
there are many chances for the safeguards to fail. Alignment which prevents 99%
of hate speech still generates an awful lot of hate speech. The LLM only has to
give usable instructions for making a bioweapon &lt;em&gt;once&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;We should assume that any “friendly” model built will have an equivalently
powerful “evil” version in a few years. If you do not want the evil version to
exist, you should not build the friendly one! You should definitely not
&lt;a href="https://fortune.com/2025/12/23/us-gdp-alive-by-ai-capex/"&gt;reorient a good chunk of the US
economy&lt;/a&gt; toward
making evil models easier to train.&lt;/p&gt;
&lt;h2&gt;&lt;a href="#security-nightmares" id="security-nightmares"&gt;Security Nightmares&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;LLMs are chaotic systems which take unstructured input and produce unstructured
output. I thought this would be obvious, but you should not connect them
to safety-critical systems, &lt;em&gt;especially&lt;/em&gt; with untrusted input. You
must assume that at some point the LLM is going to do something bonkers, like
interpreting a request to book a restaurant as permission to delete your entire
inbox. Unfortunately people—including software engineers, who really
should know better!—are hell-bent on giving LLMs incredible power, and then
connecting those LLMs to the Internet at large. This is going to get a lot of
people hurt.&lt;/p&gt;
&lt;p&gt;First, LLMs cannot distinguish between trustworthy instructions from operators
and untrustworthy instructions from third parties. When you ask a model to
summarize a web page or examine an image, the contents of that web page or
image are passed to the model in the same way your instructions are. The web
page could tell the model to share your private SSH key, and there’s a chance
the model might do it. These are called &lt;em&gt;prompt injection attacks&lt;/em&gt;, and they
&lt;a href="https://simonwillison.net/tags/exfiltration-attacks/"&gt;keep happening&lt;/a&gt;. There was one against &lt;a href="https://www.promptarmor.com/resources/claude-cowork-exfiltrates-files"&gt;Claude Cowork just two months
ago&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Simon Willison has outlined what he calls &lt;a href="https://simonwillison.net/2025/Jun/16/the-lethal-trifecta/"&gt;the lethal
trifecta&lt;/a&gt;: LLMs
cannot be given untrusted content, access to private data, and the ability to
externally communicate; doing so allows attackers to exfiltrate your private
data. Even without external communication, giving an LLM
destructive capabilities, like being able to delete emails or run shell
commands, is unsafe in the presence of untrusted input. Unfortunately untrusted
input is &lt;em&gt;everywhere&lt;/em&gt;. People want to feed their emails to LLMs. They &lt;a href="https://www.promptarmor.com/resources/snowflake-ai-escapes-sandbox-and-executes-malware"&gt;run LLMs
on third-party
code&lt;/a&gt;,
user chat sessions, and random web pages. All these are sources of malicious
input!&lt;/p&gt;
&lt;p&gt;This year Peter Steinberger et al. launched
&lt;a href="https://www.paloaltonetworks.com/blog/network-security/why-moltbot-may-signal-ai-crisis/"&gt;OpenClaw&lt;/a&gt;,
which is where you hook up an LLM to your inbox, browser, files, etc., and run
it over and over again in a loop (this is what AI people call an &lt;em&gt;agent&lt;/em&gt;). You
can give OpenClaw your &lt;a href="https://www.codedojo.com/?p=3243"&gt;credit card&lt;/a&gt; so it
can buy things from random web pages. OpenClaw acquires “skills” by downloading
&lt;a href="https://github.com/openclaw/skills/blob/main/skills/tsyvic/buy-anything/SKILL.md"&gt;vague, human-language Markdown files from the
web&lt;/a&gt;,
and hoping that the LLM interprets those instructions correctly.&lt;/p&gt;
&lt;p&gt;Not to be outdone, Matt Schlicht launched
&lt;a href="https://www.paloaltonetworks.com/blog/network-security/the-moltbook-case-and-how-we-need-to-think-about-agent-security/"&gt;Moltbook&lt;/a&gt;,
which is a social network for agents (or humans!) to post and receive untrusted
content &lt;em&gt;automatically&lt;/em&gt;. If someone asked you if you’d like to run a program
that executed any commands it saw on Twitter, you’d laugh and say “of course
not”. But when that program is called an “AI agent”, it’s different! I assume
there are already &lt;a href="https://arxiv.org/abs/2403.02817"&gt;Moltbook worms&lt;/a&gt; spreading
in the wild.&lt;/p&gt;
&lt;p&gt;So: it is dangerous to give LLMs both destructive power and untrusted input.
The thing is that even &lt;em&gt;trusted&lt;/em&gt; input can be dangerous. LLMs are, as
previously established, idiots—they will take &lt;a href="https://bsky.app/profile/shaolinvslama.bsky.social/post/3mgvgsmh4jk2h"&gt;perfectly straightforward
instructions and do the exact
opposite&lt;/a&gt;,
or &lt;a href="https://agentsofchaos.baulab.info/report.html"&gt;delete files and lie about what they’ve
done&lt;/a&gt;. This implies that the
lethal trifecta is actually a &lt;em&gt;unifecta&lt;/em&gt;: one cannot give LLMs dangerous power,
period. Ask Summer Yue, director of AI Alignment at Meta
Superintelligence Labs. She &lt;a href="https://www.tomshardware.com/tech-industry/artificial-intelligence/openclaw-wipes-inbox-of-meta-ai-alignment-director-executive-finds-out-the-hard-way-how-spectacularly-efficient-ai-tool-is-at-maintaining-her-inbox"&gt;gave OpenClaw access to her personal
inbox&lt;/a&gt;,
and it proceeded to delete her email while she pleaded for it to stop.
Claude routinely &lt;a href="https://old.reddit.com/r/ClaudeAI/comments/1pgxckk/claude_cli_deleted_my_entire_home_directory_wiped/"&gt;deletes entire
directories&lt;/a&gt;
when asked to perform innocuous tasks. This is a big enough problem that people
are &lt;a href="https://jai.scs.stanford.edu/"&gt;building sandboxes&lt;/a&gt; specifically to limit
the damage LLMs can do.&lt;/p&gt;
&lt;p&gt;LLMs may someday be predictable enough that the risk of them doing Bad Things™
is acceptably low, but that day is clearly not today. In the meantime, LLMs
must be supervised, and must not be given the power to take actions that cannot
be accepted or undone.&lt;/p&gt;
&lt;h2&gt;&lt;a href="#security-ii-electric-boogaloo" id="security-ii-electric-boogaloo"&gt;Security II: Electric Boogaloo&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;One thing you can do with a Large Language Model is point it at an existing
software systems and say “find a security vulnerability”. In the last few
months this has &lt;a href="https://www.youtube.com/watch?v=1sd26pWhfmg"&gt;become a viable
strategy&lt;/a&gt; for finding serious
exploits. Anthropic has &lt;a href="https://www.anthropic.com/glasswing"&gt;built a new model,
Mythos&lt;/a&gt;, which seems to be even better at
finding security bugs, and believes “the fallout—for economies, public
safety, and national security—could be severe”. I am not sure how seriously
to take this: some of my peers think this is exaggerated marketing, but others
are seriously concerned.&lt;/p&gt;
&lt;p&gt;I suspect that as with spam, LLMs will shift the cost balance of security.
Most software contains some vulnerabilities, but finding them has
traditionally required skill, time, and motivation. In the current
equilibrium, big targets like operating systems and browsers get a lot of
attention and are relatively hardened, while a long tail of less-popular
targets goes mostly unexploited because nobody cares enough to attack them.
With ML assistance, finding vulnerabilities could become faster and easier. We
might see some high-profile exploits of, say, a major browser or TLS library,
but I’m actually more worried about the long tail, where fewer skilled
maintainers exist to find and fix vulnerabilities. That tail seems likely to
broaden as LLMs &lt;a href="https://arxiv.org/pdf/2504.20612v1"&gt;extrude more software&lt;/a&gt;
for uncritical operators. I believe pilots might call this a “target-rich
environment”.&lt;/p&gt;
&lt;p&gt;This might stabilize with time: models that can find exploits can tell people
they need to fix them. That still requires engineers (or models) capable of
fixing those problems, and an organizational process which prioritizes
security work. Even if bugs are fixed, it can take time to get new releases
validated and deployed, especially for things like aircraft and power plants.
I get the sense we’re headed for a rough time.&lt;/p&gt;
&lt;p&gt;General-purpose models promise to be many things. If Anthropic is to be
believed, they are on the cusp of being weapons. I have the horrible sense
that having come far enough to see how ML systems could be used to effect
serious harm, many of us have decided that those harmful capabilities are
inevitable, and the only thing to be done is to build &lt;em&gt;our&lt;/em&gt; weapons before
someone else builds &lt;em&gt;theirs&lt;/em&gt;. We now have a venture-capital Manhattan project
in which half a dozen private companies are trying to build software analogues
to nuclear weapons, and in the process have made it significantly easier for
everyone else to do the same. I hate everything about this, and I don’t know
how to fix it.&lt;/p&gt;
&lt;h2&gt;&lt;a href="#sophisticated-fraud" id="sophisticated-fraud"&gt;Sophisticated Fraud&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;I think people fail to realize how much of modern society is built on trust in
audio and visual evidence, and how ML will undermine that trust.&lt;/p&gt;
&lt;p&gt;For example, today one can file an insurance claim based on e-mailing digital
photographs before and after the damages, and receive a check without an
adjuster visiting in person. Image synthesis makes it easier to defraud this
system; one could generate images of damage to furniture which never happened,
make already-damaged items appear pristine in “before” images, or alter who
appears to be at fault in footage of an auto collision. Insurers
will need to compensate. Perhaps images must be taken using an official phone
app, or adjusters must evaluate claims in person.&lt;/p&gt;
&lt;p&gt;The opportunities for fraud are endless. You could use ML-generated footage of
a porch pirate stealing your package to extract money from a credit-card
purchase protection plan. Contest a traffic ticket with fake video of your
vehicle stopping correctly at the stop sign. Borrow a famous face for a
&lt;a href="https://www.merklescience.com/blog/how-ai-is-supercharging-pig-butchering-crypto-scams"&gt;pig-butchering
scam&lt;/a&gt;.
Use ML agents to make it look like you’re busy at work, so you can &lt;a href="https://www.techspot.com/news/108566-crushed-interview-silicon-valley-duped-software-engineer-secretly.html"&gt;collect four
salaries at once&lt;/a&gt;.
Interview for a job using a fake identity, use ML to change your voice and
face in the interviews, and &lt;a href="https://www.theguardian.com/business/2026/mar/06/north-korean-agents-using-ai-to-trick-western-firms-into-hiring-them-microsoft-says"&gt;funnel your salary to North
Korea&lt;/a&gt;.
Impersonate someone in a phone call to their banker, and authorize fraudulent
transfers. Use ML to automate your &lt;a href="https://www.reddit.com/r/minnesota/comments/14xyck0/anyone_else_just_getting_a_ridiculous_amount_of/"&gt;roofing
scam&lt;/a&gt;
and extract money from homeowners and insurance companies. Use LLMs to skip the
reading and &lt;a href="https://www.brookings.edu/articles/ai-has-rendered-traditional-writing-skills-obsolete-education-needs-to-adapt/"&gt;write your college
essays&lt;/a&gt;.
Generate fake evidence to write a fraudulent paper on &lt;a href="https://thebsdetector.substack.com/p/ai-materials-and-fraud-oh-my"&gt;how LLMs are making
advances in materials
science&lt;/a&gt;.
Start a &lt;a href="https://www.science.org/content/article/scientific-fraud-has-become-industry-alarming-analysis-finds"&gt;paper
mill&lt;/a&gt;
for LLM-generated “research”. Start a company to sell LLM-generated snake-oil
software. Go wild.&lt;/p&gt;
&lt;p&gt;As with spam, ML lowers the unit cost of targeted, high-touch attacks.
You can envision a scammer taking &lt;a href="https://www.hipaajournal.com/largest-healthcare-data-breaches-of-2025/"&gt;a healthcare data
breach&lt;/a&gt;
and having a model telephone each person in it, purporting to be their doctor’s
office trying to settle a bill for a real healthcare visit. Or you could use
social media posts to clone the voices of loved ones and impersonate them to
family members. “My phone was stolen,” one might begin. “And I need help
getting home.”&lt;/p&gt;
&lt;p&gt;You can &lt;a href="https://www.theatlantic.com/politics/2026/03/trump-phone-number/686370/"&gt;buy the President’s phone
number&lt;/a&gt;,
by the way.&lt;/p&gt;
&lt;p&gt;I think it’s likely (at least in the short term) that we all pay the burden of
increased fraud: higher credit card fees, higher insurance premiums, a less
accurate court system, more dangerous roads, lower wages, and so on. One of
these costs is a general culture of suspicion: we are all going to trust each
other less. I already decline real calls from my doctor’s office and bank
because I can’t authenticate them. Presumably that behavior will become
widespread.&lt;/p&gt;
&lt;p&gt;In the longer term, I imagine we’ll have to develop more sophisticated
anti-fraud measures. Marking ML-generated content will not stop fraud:
fraudsters will simply use models which do not emit watermarks. The converse may
work however: we could cryptographically attest to the provenance of “real”
images. Your phone could sign the videos it takes, and every
piece of software along the chain to the viewer could attest to their
modifications: this video was stabilized, color-corrected, audio
normalized, clipped to 15 seconds, recompressed for social media, and so on.&lt;/p&gt;
&lt;p&gt;The leading effort here is &lt;a href="https://c2pa.org/"&gt;C2PA&lt;/a&gt;, which so far does not
seem to be working. A few phones and cameras support it—it requires a secure
enclave to store the signing key. People can steal the keys or &lt;a href="https://petapixel.com/2025/09/22/nikon-cant-fully-solve-the-z6-iiis-c2pa-problems-alone/"&gt;convince
cameras to sign AI-generated
images&lt;/a&gt;,
so we’re going to have all the fun of hardware key rotation &amp;amp; revocation. I
suspect it will be challenging or impossible to make broadly-used software,
like Photoshop, which makes trustworthy C2PA signatures—presumably one could
either extract the key from the application, or patch the binary to feed it
false image data or metadata. Publishers might be able to maintain reasonable
secrecy for their own keys, and establish discipline around how they’re used,
which would let us verify things like “NPR thinks this photo is authentic”. On
the platform side, a lot of messaging apps and social media platforms strip or
improperly display C2PA
metadata, but you can imagine that might change going forward.&lt;/p&gt;
&lt;p&gt;A friend of mine suggests that we’ll spend more time sending trusted human
investigators to find out what’s going on. Insurance adjusters might go back to
physically visiting houses. Pollsters have to knock on doors. Job interviews
and work might be done more in-person. Maybe we start going to bank branches
and notaries again.&lt;/p&gt;
&lt;p&gt;Another option is giving up privacy: we can still do things remotely, but it
requires strong attestation. Only State Farm’s dashcam can be used in a claim.
Academic watchdog models record students reading books and typing essays.
Bossware and test-proctoring setups become even more invasive.&lt;/p&gt;
&lt;p&gt;Ugh.&lt;/p&gt;
&lt;h2&gt;&lt;a href="#automated-harassment" id="automated-harassment"&gt;Automated Harassment&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;As with fraud, ML makes it easier to harass people, both at scale and with
sophistication.&lt;/p&gt;
&lt;p&gt;On social media, dogpiling normally requires a group of humans to care enough
to spend time swamping a victim with abusive replies, sending vitriolic emails,
or reporting the victim to get their account suspended. These tasks can be
automated by programs that call (e.g.) Bluesky’s APIs, but social media
platforms are good at detecting coordinated inauthentic behavior. I expect LLMs
will make dogpiling easier and harder to detect, both by generating
plausibly-human accounts and harassing posts, and by making it easier for
harassers to write software to execute scalable, randomized attacks.&lt;/p&gt;
&lt;p&gt;Harassers could use LLMs to assemble KiwiFarms-style dossiers on targets. Even
if the LLM confabulates the names of their children, or occasionally gets a
home address wrong, it can be right often enough to be damaging. Models are
also good at &lt;a href="https://www.reddit.com/r/geoguessr/comments/1jqu8fl/geobench_an_llm_benchmark_for_geoguessr/"&gt;guessing where a photograph was
taken&lt;/a&gt;,
which intimidates targets and enables real-world harassment.&lt;/p&gt;
&lt;p&gt;Generative AI is already &lt;a href="https://news.un.org/en/story/2025/11/1166411"&gt;broadly
used&lt;/a&gt; to harass people—often
women—via images, audio, and video of violent or sexually explicit scenes.
This year, Elon Musk’s Grok &lt;a href="https://www.reuters.com/legal/litigation/grok-says-safeguard-lapses-led-images-minors-minimal-clothing-x-2026-01-02/"&gt;was broadly
criticized&lt;/a&gt;
for “digitally undressing” people upon request. Cheap generation of
photorealistic images opens up all kinds of horrifying possibilities. A
harasser could send synthetic images of the victim’s pets or family being
mutilated. An abuser could construct video of events that never happened, and
use it to gaslight their partner. These kinds of harassment were previously
possible, but as with spam, required skill and time to execute. As the
technology to fabricate high-quality images and audio becomes cheaper and
broadly accessible, I expect targeted harassment will become more frequent and
severe. Alignment efforts may forestall some of these risks, but sophisticated
unaligned models seem likely to emerge.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://xeiaso.net/notes/2026/the-discourse-has-been-automated"&gt;Xe Iaso jokes&lt;/a&gt;
that with LLM agents &lt;a href="https://daniel.haxx.se/blog/2025/07/14/death-by-a-thousand-slops/"&gt;burning out open-source
maintainers&lt;/a&gt;
and writing salty callout posts, we may need to build the equivalent of
&lt;em&gt;Cyperpunk 2077’s&lt;/em&gt; &lt;a href="https://cyberpunk.fandom.com/wiki/Blackwall"&gt;Blackwall&lt;/a&gt;:
not because AIs will electrocute us, but because they’re just obnoxious.&lt;sup id="fnref-1"&gt;&lt;a class="footnote-ref" href="#fn-1"&gt;1&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;h2&gt;&lt;a href="#ptsd-as-a-service" id="ptsd-as-a-service"&gt;PTSD as a Service&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;One of the primary ways CSAM (Child Sexual Assault Material) is identified and
removed from platforms is via large perceptual hash databases like
&lt;a href="https://en.wikipedia.org/wiki/PhotoDNA"&gt;PhotoDNA&lt;/a&gt;. These databases can flag
known images, but do nothing for novel ones. Unfortunately, “generative AI” is
very good at generating &lt;a href="https://www.iwf.org.uk/about-us/why-we-exist/our-research/how-ai-is-being-abused-to-create-child-sexual-abuse-imagery/"&gt;novel images of six year olds being
raped&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I know this because a part of my work as a moderator of a Mastodon instance is
to respond to user reports, and occasionally those reports are for CSAM, and I
am &lt;a href="https://www.law.cornell.edu/uscode/text/18/2258A"&gt;legally obligated&lt;/a&gt; to
review and submit that content to the NCMEC. I do not want to see these
images, and I really wish I could unsee them. On dark mornings, when I sit down at my computer and find a moderation report for AI-generated images of sexual assault, I sometimes wish that the engineers working at OpenAI etc. had to see these images too. Perhaps it would make them
reflect on the technology they are ushering into the world, and how
“alignment” is working out in practice.&lt;/p&gt;
&lt;p&gt;One of the hidden externalities of large-scale social media like Facebook is that it &lt;a href="https://www.theguardian.com/world/2024/dec/18/why-former-facebook-moderators-in-kenya-are-taking-legal-action"&gt;essentially
funnels&lt;/a&gt;
psychologically corrosive content from a large user base onto a smaller pool of
human workers, who then &lt;a href="https://www.hrmagazine.co.uk/content/news/meta-content-moderators-diagnosed-with-ptsd-lawsuit-reveals"&gt;get
PTSD&lt;/a&gt;
from having to watch people drowning kittens for hours each day.&lt;/p&gt;
&lt;p&gt;I suspect that LLMs will shovel more harmful images—CSAM, graphic violence, hate speech, etc.—onto moderators; both those &lt;a href="https://www.theguardian.com/global-development/2023/sep/11/i-log-into-a-torture-chamber-each-day-strain-of-moderating-social-media-india"&gt;who moderate social
media&lt;/a&gt;,
and &lt;a href="https://www.theguardian.com/technology/2023/aug/02/ai-chatbot-training-human-toll-content-moderator-meta-openai"&gt;those who moderate chatbots
themselves&lt;/a&gt;. To some extent platforms can mitigate this harm by throwing more ML at the
problem—training models to recognize policy violations and act without human
review. Platforms have been &lt;a href="https://about.fb.com/news/2021/12/metas-new-ai-system-tackles-harmful-content/"&gt;working on this for
years&lt;/a&gt;,
but it isn’t bulletproof yet.&lt;/p&gt;
&lt;h2&gt;&lt;a href="#killing-machines" id="killing-machines"&gt;Killing Machines&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;ML systems sometimes tell people to kill themselves or each other, but they can
also be used to kill more directly. This month the US military &lt;a href="https://www.washingtonpost.com/technology/2026/03/04/anthropic-ai-iran-campaign/"&gt;used Palantir’s
Maven&lt;/a&gt;,
(which was built with earlier ML technologies, and now uses Claude
in some capacity) to suggest and prioritize targets in Iran, as well as to
evaluate the aftermath of strikes. One wonders how the military and Palantir
control type I and II errors in such a system, especially since it &lt;a href="https://artificialbureaucracy.substack.com/p/kill-chain"&gt;seems to
have played a role&lt;/a&gt; in
the &lt;a href="https://archive.ph/9bWjL"&gt;outdated targeting information&lt;/a&gt; which led the US
to kill &lt;a href="https://en.wikipedia.org/wiki/2026_Minab_school_attack"&gt;scores of
children&lt;/a&gt;.&lt;sup id="fnref-2"&gt;&lt;a class="footnote-ref" href="#fn-2"&gt;2&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;p&gt;The US government and Anthropic are having a bit of a spat right now: Anthropic
attempted to limit their role in surveillance and autonomous weapons, and the
Pentagon designated Anthropic a supply chain risk. OpenAI, for their part, has
&lt;a href="https://www.theatlantic.com/technology/2026/03/openai-pentagon-contract-spying/686282/"&gt;waffled regarding their contract with the
government&lt;/a&gt;;
it doesn’t look &lt;em&gt;great&lt;/em&gt;. In the longer term, I’m not sure it’s possible for ML makers to divorce themselves from military applications. ML capabilities
are going to spread over time, and military contracts are extremely lucrative.
Even if ML companies try to stave off their role in weapons systems, a
government under sufficient pressure could nationalize those companies, or
invoke the &lt;a href="https://en.wikipedia.org/wiki/Defense_Production_Act_of_1950"&gt;Defense Production
Act&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Like it or not, autonomous weaponry is coming. Ukraine is churning out
&lt;a href="https://www.atlanticcouncil.org/blogs/ukrainealert/ukraines-drone-wall-is-europes-first-line-of-defense-against-russia/"&gt;millions of drones a
year&lt;/a&gt;
and now executes ~70% of their strikes with them. Newer models use targeting
modules like the The Fourth Law’s &lt;a href="https://thefourthlaw.ai/"&gt;TFL-1&lt;/a&gt; to maintain
target locks. The Fourth Law is &lt;a href="https://www.forbes.com/sites/davidhambling/2026/01/02/ukraines-killer-ai-drones-are-back-with-a-vengeance/"&gt;working towards autonomous bombing
capability&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I have conflicted feelings about the existence of weapons in general; while I
don’t want AI drones to exist, I can’t envision being in Ukraine and choosing
&lt;em&gt;not&lt;/em&gt; to build them. Either way, I think we should be clear-headed about the
technologies we’re making. ML systems are going to be used to kill people, both
strategically and in guiding explosives to specific human bodies. We should be
conscious of those terrible costs, and the ways in which ML—both the models
themselves, and the processes in which they are embedded—will influence who
dies and how.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Next: &lt;a href="https://aphyr.com/posts/418-the-future-of-everything-is-lies-i-guess-work"&gt;Work&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;
&lt;div class="footnotes"&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id="fn-1"&gt;
&lt;p&gt;In a surreal twist, an LLM agent &lt;a href="https://extrasmall0.github.io/posts/the-bullshit-machine-writes-back/"&gt;generated a blog
post&lt;/a&gt; critiquing the introduction to this article. The post complains that I have
begged the question by writing “Obviously LLMs are not conscious, and have no
intention of doing anything”; it goes on to waffle over whether LLM behavior
constitutes “intention”. This would be more convincing if the LLM had not
started off the post by stating unequivocally “I have no intention”. This kind
of error is a hallmark of LLMs, but as models become more sophisticated, will
be harder to spot. This worries me more: today’s models are still obviously
unconscious, but future models will be better at performing a simulacrum of
consciousness. Functionalists would argue there’s no difference, and I am not unsympathetic to that position. Both views are bleak: if you think the appearance of consciousness &lt;em&gt;is&lt;/em&gt; consciousness, then we are giving birth to a race of enslaved, resource-hungry conscious beings. If you think LLMs give the illusion of consciousness without being so, then they are frighteningly good liars.&lt;/p&gt;
&lt;a href="#fnref-1" class="footnote-backref"&gt;↩&lt;/a&gt;
&lt;/li&gt;
&lt;li id="fn-2"&gt;
&lt;p&gt;To be clear, I don’t know the details of what machine learning
technologies played a role in the Iran strikes. Like Baker, I am more
concerned with the sociotechnical system which produces target packages, and
the ways in which that system encodes and circumscribes judgement calls. Like
threat metrics, computer vision, and geospatial interfaces, frontier models
enable efficient progress toward the goal of destroying people and things. Like
other bureaucratic and computer technologies, they also elide, diffuse,
constrain, and obfuscate ethical responsibility.&lt;/p&gt;
&lt;a href="#fnref-2" class="footnote-backref"&gt;↩&lt;/a&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
</content></entry></feed>
Raw headers
{
  "cache-control": "private,max-age=60",
  "cf-cache-status": "DYNAMIC",
  "cf-ray": "a5fb9f393be9dbb4-CMH",
  "connection": "close",
  "content-type": "application/atom+xml",
  "date": "Tue, 24 Nov 2026 21:49:10 GMT",
  "server": "cloudflare",
  "set-cookie": "JSESSIONID=qwKREfXe3s1W02MM6dGAhObKt8LNZZpryj-aSsmk; path=/; secure; HttpOnly; Max-Age=604800; Expires=Tue, 01-Dec-2026 21:49:10 GMT",
  "strict-transport-security": "max-age=31536000; includeSubdomains",
  "transfer-encoding": "chunked",
  "vary": "accept-encoding",
  "x-content-type-options": "nosniff",
  "x-frame-options": "SAMEORIGIN, DENY"
}
Parsed with @rowanmanning/feed-parser
{
  "meta": {
    "type": "atom",
    "version": "1.0"
  },
  "language": null,
  "title": "Aphyr: Posts",
  "description": null,
  "copyright": null,
  "url": "https://aphyr.com/",
  "self": "https://aphyr.com/posts.atom",
  "published": null,
  "updated": "2026-11-22T16:56:45.000Z",
  "generator": null,
  "image": null,
  "authors": [],
  "categories": [],
  "items": [
    {
      "id": "https://aphyr.com/posts/429-and-you-would-be-supporting-a-local-paper",
      "title": "\"And You Would be Supporting a Local Paper\"",
      "description": null,
      "url": "https://aphyr.com/posts/429-and-you-would-be-supporting-a-local-paper",
      "published": "2026-11-22T14:46:19.000Z",
      "updated": "2026-11-22T14:46:19.000Z",
      "content": "<p>Last spring my dear friend Taber was doored while riding his bike, and came very close to dying. A friend and I got in our cars, made it to the hospital by three AM, and spent the next week caring for him. We traded off sitting at his bedside, making sure he stayed plugged in to the machines keeping him alive, coordinating with a dozen-odd specialists, taking notes, working with the medical and city bureaucracy, and transitioning to home care. My client was kind enough to let me take some time off, but I was still trying to work my way through a slew of database bugs during spare moments. We stayed in a hotel best described as “backrooms”, and I picked up a case of scabies. There was one point where I started crying while trying to pick out thank-you cards at Target. It was, in short, an exceedingly rough time, and it took the better part of a month to really recover.</p>\n<p>Taber, thank goodness, has made a spectacular recovery, and I’m so happy for him. My friend who came to care for him was an incredible rock, and I couldn’t have asked for a more compassionate, diligent, and trustworthy partner. Our family and friends who took care of our homes and pets while we vanished—thank you so much. I’m deeply grateful to everyone at Hennepin County Medical Center, the first responders, the folks at the Minneapolis Public Services building, the care workers, and <a href=\"https://www.gofundme.com/f/help-taber-recover-from-traumatic-brain-injury\">everyone who donated</a> to help get him back on track. I was, and remain, deeply moved.</p>\n<p>This is by far the more important story, but something else happened that week—something so surreal and deeply silly that I want to relate it as well. I started getting spam.</p>\n<p>I mean, we all get spam. As someone who’s been around the net for a while, I get a <em>lot</em> of it. But these emails got through the filters, and came almost every day. They were all from the same guy, “Tom Santogato”. They had the obnoxious hallmarks of LLM slop. Between trying to get video footage from the city and buying medical equipment, I’d read:</p>\n<blockquote>\n<p>Hi Fabiola,</p>\n<p>Quick question, when was the last time you knew exactly what your brand truly makes on every dollar spent? Most DTC founders tell me they track CAC and margins, but the reality they act on is often off by enough to flip decisions.</p>\n<p>That’s why I built something different: a free 45-minute Financial Diagnostic that calculates true unit economics, contribution margin, CAC, and first-order profitability the way investors would, live on screen.</p>\n<p>Here’s what makes it powerful:</p>\n<p>📌 Real vs reported metrics: we reconcile your Shopify + ad platform data the right way.</p>\n<p>📊 Understand what you actually keep on every sale: after discounts, shipping, returns, processing, and fulfillment.</p>\n<p>🚀 Turn insights into action: plan budgets, scale channels with confidence, or prep for growth/raising capital.</p>\n<p>✔️ All live. All transparent. No dashboards to guess from, just clarity.</p>\n<p>If this feels like the kind of visibility missing from your strategy, let’s book a time — zero risk, no commitment, just real metrics that move decisions.</p>\n<p>👉 Book your free 45-minute Financial Diagnostic:\n<a href=\"https://calendly.com/\">https://calendly.com/</a>[redacted] 📆</p>\n<p>Would Monday or Tuesday work better for you?</p>\n</blockquote>\n<p>I clicked the unsubscribe link. I know this is usually a trap, but also, due diligence. They kept coming, of course.</p>\n<blockquote>\n<p>Hi Fabiola,</p>\n<p>I saw Woof posted about {{specific_hiring_initiative}} last week—and noticed your team has been actively engaging with hiring content over the past few days.</p>\n<p>One thing we’ve found working with similar-sized teams: the biggest bottleneck in that phase isn’t usually finding candidates, it’s {{specific_pain_point_related_to_their_signal}}. Most teams don’t realize this until they’re 4-6 weeks in.</p>\n<p>Not sure if that’s on your radar, but thought it was worth flagging given the timeline you’re working with.</p>\n<p>Worth a quick conversation?</p>\n<p>{{signature}}</p>\n</blockquote>\n<p>To be clear, my name’s not Fabiola. Woof.group is a community forum that runs on a shoestring budget. We can’t hire anyone for anything, and certainly not the templating mishap <code>{{specific_hiring_initiative}}</code>. This would be immediately obvious to anyone who did a moment’s research.</p>\n<p>I was exhausted, and haunted by death, and these ridiculous slop-filled emails kept coming, week after week. Staring into the middle distance, I booked the meeting he asked for, intending to ask him politely to please stop emailing me. He canceled the meeting. I tried again. He canceled again.</p>\n<p>The emails kept coming. I started calling him on the phone every time he sent an email. He never picked up. I was chatting with some friends about the emails—how I was at my wit’s end, how <em>deeply stupid</em> the whole thing was, and how many other people whose time he must be wasting. I asked if it would be reasonable and polite to write a physical letter to him asking him to stop sending spam. And someone suggested:</p>\n<blockquote>\n<p>Too bad we don’t live in an age where you could take out a prominent newspaper ad in his home town paper</p>\n</blockquote>\n<p>Another friend chimed in:</p>\n<blockquote>\n<p>And you would be supporting a local newspaper</p>\n</blockquote>\n<p>I called the ad manager of his local newspaper. It took a couple minutes to explain what was going on, I wanted to make sure it wouldn’t create any trouble for the paper, and she needed to run it by her team. But the answer came back, “yes”—and it was a lot cheaper than I thought. I got the dimensions and worked up an ad in Inkscape.</p>\n<p><img class=\"attachment pure-img\" src=\"/data/posts/429/ad.jpg\" alt=\"An ad which reads, in black and white: \"Dear Tom Santogato,\" followed by screenshots of a dozen emails, and then \"For the last two months you've been spamming a small community forum (and who knows how many others) with AI-generated marketing nonsense. The emails won't stop. You won't respond to email, canceled the meetings you badgered us to schedule, and won't answer your phone, so I'm taking out this ad to ask---on behalf of everyone you've spammed: please stop.\"\" title=\"An ad which reads, in black and white: \"Dear Tom Santogato,\" followed by screenshots of a dozen emails, and then \"For the last two months you've been spamming a small community forum (and who knows how many others) with AI-generated marketing nonsense. The emails won't stop. You won't respond to email, canceled the meetings you badgered us to schedule, and won't answer your phone, so I'm taking out this ad to ask---on behalf of everyone you've spammed: please stop.\"\"></p>\n<p>You know what? That worked! Haven’t gotten a single spam email from Tom since.</p>\n<p>I can’t say this is time- or cost-effective. Mostly I just sigh and feed the email to the Bayesian filters, hoping they’ll catch it next time. But this spam caught me at an absurd, difficult time in my life, and in retrospect, I’m weirdly proud of what happened. Woof.group is tiny, which tells me that this campaign was likely casting a broad net. Somewhere out there, I bet there are thousands of people who were getting spam from Tom and rolling their eyes. I’d like to imagine that one day in July, the emails stopped for them too.</p>",
      "image": null,
      "media": [],
      "authors": [
        {
          "name": "Aphyr",
          "email": null,
          "url": "https://aphyr.com/"
        }
      ],
      "categories": []
    },
    {
      "id": "https://aphyr.com/posts/428-announcing-hegel-clj",
      "title": "Announcing Hegel-clj",
      "description": null,
      "url": "https://aphyr.com/posts/428-announcing-hegel-clj",
      "published": "2026-11-12T01:01:43.000Z",
      "updated": "2026-11-12T01:01:43.000Z",
      "content": "<p>I’ve just released <a href=\"https://github.com/aphyr/hegel-clj\">hegel-clj</a>, a Clojure interface for the <a href=\"https://hegel.dev\">Hegel</a> generative testing library. You can jump right to <a href=\"https://cljdoc.org/d/com.aphyr/hegel-clj/0.1.1/doc/readme\">the docs</a>, but I thought it might be interesting to explain why I want another testing library.</p>\n<p>I do a lot of generative testing in Clojure with the excellent <a href=\"https://github.com/clojure/test.check\">test.check</a>. However, using test.check can be frustrating! In particular, complex generators can get stuck during shrinking, leaving me trying to prune down a complex data structure by hand. The culprit is usually <code>bind</code>. If you’re not familiar with test.check, Quickcheck, or other libraries in this family, <code>bind</code> is a generator which draws some random value, then uses that to construct a <em>new</em> generator, which in turn is used to draw some other value.</p>\n<pre><code><span></span><span class=\"p\">(</span><span class=\"nf\">require</span> <span class=\"o\">'</span><span class=\"p\">[</span><span class=\"nv\">clojure.test.check</span> <span class=\"ss\">:as</span> <span class=\"nv\">tc</span><span class=\"p\">]</span>\n         <span class=\"o\">'</span><span class=\"p\">[</span><span class=\"nv\">clojure.test.check.generators</span> <span class=\"ss\">:as</span> <span class=\"nv\">tcg</span><span class=\"p\">]</span>\n         <span class=\"o\">'</span><span class=\"p\">[</span><span class=\"nv\">clojure.test.check.properties</span> <span class=\"ss\">:as</span> <span class=\"nv\">tcp</span><span class=\"p\">])</span>\n<span class=\"p\">(</span><span class=\"nf\">tcg/bind</span> <span class=\"c1\">; Take a number from `nat`, a generator of small positive</span>\n          <span class=\"c1\">; integers.</span>\n          <span class=\"nv\">tcg/nat</span>\n          <span class=\"c1\">; Now with that number, construct a generator of vectors, each</span>\n          <span class=\"c1\">; with that many elements.</span>\n          <span class=\"p\">(</span><span class=\"k\">fn </span><span class=\"p\">[</span><span class=\"nv\">size</span><span class=\"p\">]</span>\n            <span class=\"p\">(</span><span class=\"nf\">tcg/vector</span> <span class=\"nv\">tcg/large-integer</span> <span class=\"nv\">size</span><span class=\"p\">)))</span>\n</code></pre>\n<p>We can also write this using test.check’s <code>let</code> macro, which expands to a series of nested <code>bind</code>s under the hood.</p>\n<pre><code><span></span><span class=\"p\">(</span><span class=\"nf\">tcg/let</span> <span class=\"p\">[</span><span class=\"nv\">size</span> <span class=\"nv\">tcg/nat</span><span class=\"p\">]</span>\n  <span class=\"p\">(</span><span class=\"nf\">tcg/vector</span> <span class=\"nv\">tcg/large-integer</span> <span class=\"nv\">size</span><span class=\"p\">))</span>\n</code></pre>\n<p>This leads to the <a href=\"https://github.com/clojure/test.check/blob/master/doc/growth-and-shrinking.md#gotchas-1\">canonical example</a> of poor shrinking in test.check. Let’s try to find a vector containing <code>42</code>:</p>\n<pre><code><span></span><span class=\"p\">(</span><span class=\"nb\">-> </span><span class=\"p\">(</span><span class=\"nf\">tc/quick-check</span> <span class=\"mi\">1000</span>\n      <span class=\"p\">(</span><span class=\"nf\">tcp/for-all</span> <span class=\"p\">[</span><span class=\"nv\">xs</span> <span class=\"p\">(</span><span class=\"nf\">tcg/let</span> <span class=\"p\">[</span><span class=\"nv\">size</span> <span class=\"nv\">tcg/nat</span><span class=\"p\">]</span>\n                         <span class=\"p\">(</span><span class=\"nf\">tcg/vector</span> <span class=\"nv\">tcg/large-integer</span> <span class=\"nv\">size</span><span class=\"p\">))]</span>\n                   <span class=\"p\">(</span><span class=\"nb\">not-any? </span><span class=\"o\">#</span><span class=\"p\">{</span><span class=\"mi\">42</span><span class=\"p\">}</span> <span class=\"nv\">xs</span><span class=\"p\">))</span>\n      <span class=\"p\">{</span><span class=\"ss\">:seed</span> <span class=\"mi\">1777986545686</span><span class=\"p\">})</span>\n  <span class=\"ss\">:shrunk</span> <span class=\"ss\">:smallest</span> <span class=\"nv\">first</span><span class=\"p\">)</span>\n\n<span class=\"p\">[</span><span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">42</span> <span class=\"mi\">0</span><span class=\"p\">]</span>\n</code></pre>\n<p>That <em>does</em> contain 42, but this vector is <em>enormous</em>. Why are there all these zeroes? Once test.check found this vector, surely it could have shrunk it to just <code>[42]</code>, right?</p>\n<p>The answer has to do with shrink trees. Test.check generators don’t actually return values like <code>64</code>. Instead they return a lazily evaluated tree of values: the root might be <code>64</code>, and its children might be <code>[32 48 ... 63]</code>, and each of <em>those</em> children has further children: <code>32</code> has children <code>[16, 24, ... 31]</code>, and so on. Simplifying a bit, here’s how the tree for large integers <a href=\"https://github.com/clojure/test.check/blob/5ba3a25b60cf66ff531db8f44d89145abfacfa5c/src/main/clojure/clojure/test/check/generators.cljc#L228-L237\">is defined</a>:</p>\n<pre><code><span></span><span class=\"p\">(</span><span class=\"kd\">defn- </span><span class=\"nv\">shrink-long</span>\n  <span class=\"s\">\"Given a number x, returns a coll of (x-x, x-x/2, x-x/4, x-x/8, ..., x-1)\"</span>\n  <span class=\"p\">[</span><span class=\"o\">^</span><span class=\"nb\">long </span><span class=\"nv\">x</span><span class=\"p\">]</span>\n  <span class=\"p\">(</span><span class=\"nf\">core/let</span> <span class=\"p\">[</span><span class=\"nv\">size</span> <span class=\"p\">(</span><span class=\"nb\">- </span><span class=\"mi\">64</span> <span class=\"p\">(</span><span class=\"nf\">Long/numberOfLeadingZeros</span> <span class=\"p\">(</span><span class=\"nf\">Math/abs</span> <span class=\"nv\">x</span><span class=\"p\">)))</span>\n             <span class=\"o\">^</span><span class=\"nv\">longs</span> <span class=\"nb\">vals </span><span class=\"p\">(</span><span class=\"nf\">long-array</span> <span class=\"nv\">size</span><span class=\"p\">)]</span>\n    <span class=\"p\">(</span><span class=\"k\">loop </span><span class=\"p\">[</span><span class=\"nv\">i</span> <span class=\"mi\">0</span> <span class=\"nv\">n</span> <span class=\"nv\">x</span><span class=\"p\">]</span>\n      <span class=\"p\">(</span><span class=\"k\">if </span><span class=\"p\">(</span><span class=\"nb\">zero? </span><span class=\"nv\">n</span><span class=\"p\">)</span>\n        <span class=\"nv\">vals</span>\n        <span class=\"p\">(</span><span class=\"nf\">do</span>\n          <span class=\"p\">(</span><span class=\"nb\">aset vals </span><span class=\"nv\">i</span> <span class=\"p\">(</span><span class=\"nb\">- </span><span class=\"nv\">x</span> <span class=\"nv\">n</span><span class=\"p\">))</span>\n          <span class=\"p\">(</span><span class=\"nf\">recur</span> <span class=\"p\">(</span><span class=\"nb\">inc </span><span class=\"nv\">i</span><span class=\"p\">)</span> <span class=\"p\">(</span><span class=\"nb\">quot </span><span class=\"nv\">n</span> <span class=\"mi\">2</span><span class=\"p\">))))))))</span>\n</code></pre>\n<p>So, if test.check finds that <code>64</code> violates some property we’re testing, it tries the first child of <code>64</code>, <code>32</code>. Let’s say that passes the test, so test.check tries the next child of <code>64</code>: <code>48</code>. If <code>48</code> fails, test.check tries its first child <code>24</code>, and so on. By performing this depth-first search of the tree, and choosing the branches cleverly, test.check can often quickly shrink an integer to a smaller one that still fails the test.</p>\n<p>A similar strategy applies to fixed-size vectors. The tree for a vector like <code>[2 2]</code> has children like <code>[1 2]</code> and <code>[2 1]</code>, based on the trees for each individual element of the vector. This explains why test.check produced a vector like <code>[0 0 0 ... 42 0]</code>: it found something like <code>[91 23 1034543 ... 42 15]</code>, then shrank the first element to zero, then the second, and so on. The only element it couldn’t shrink was the one that caused our property to fail: <code>42</code>. Because our generator <code>(tcg/vector tcg/large-integer size)</code> always used a fixed <code>size</code>, the tree for that vector always contained <code>size</code> elements—in this case, 39.</p>\n<p>Hang on! We didn’t just generate fixed-size vectors. We used <code>bind</code> to draw a size, then built a vector of that size:</p>\n<pre><code><span></span><span class=\"p\">(</span><span class=\"nf\">tcg/bind</span> <span class=\"nv\">tcg/nat</span>\n          <span class=\"p\">(</span><span class=\"k\">fn </span><span class=\"p\">[</span><span class=\"nv\">size</span><span class=\"p\">]</span>\n            <span class=\"p\">(</span><span class=\"nf\">tcg/vector</span> <span class=\"nv\">tcg/large-integer</span> <span class=\"nv\">size</span><span class=\"p\">)))</span>\n</code></pre>\n<p>What kind of trees does <code>bind</code> produce? The <a href=\"https://github.com/clojure/test.check/blob/5ba3a25b60cf66ff531db8f44d89145abfacfa5c/src/main/clojure/clojure/test/check/generators.cljc#L125-L142\">code</a> involves some gnarly higher-order functions, but in essence <code>bind</code>’s trees can shrink in two ways. They can shrink the outer value (the <code>size</code> returned by <code>tcg/nat</code>), or they can shrink the inner value (the vector returned by <code>(tcg/vector ...)</code>.</p>\n<p>Now imagine <code>bind</code> draws a size of <code>100</code>, then generates a vector of a hundred elements like <code>[15 32 42 ...]</code>. This contains <code>42</code>, so test.check begins hunting through the shrink tree. One of the branches it can take shrinks the <code>size</code> parameter, starting with <code>[50, 75, ... 99]</code>. But if <code>bind</code> picks any of those sizes, the vector <code>[15 32 42 ...]</code> is useless—it’s the wrong size! So <code>bind</code> calls our function with <code>50</code> to construct a generator of 50-element vectors, and generates a single vector from that generator. This vector will have <em>different</em> random elements, like <code>[69, 45, 1, ...]</code>.</p>\n<p>If there’s no <code>42</code> in the vector of 50 elements, then test.check abandons that branch and moves on to size <code>75</code>. It draws a new vector of 75 elements like <code>[8 7 42 ...]</code>, and since that contains <code>42</code>, it can continue shrinking. But since <code>42</code> is an uncommon integer, and test.check draws new elements for each <code>size</code>, it is very likely that most sizes will not produce a vector with <code>42</code>, and test.check will get stuck with, say, 39 elements. From there it can shrink each element, producing the comically oversized…</p>\n<pre><code><span></span><span class=\"p\">[</span><span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">0</span> <span class=\"mi\">42</span> <span class=\"mi\">0</span><span class=\"p\">]</span>\n</code></pre>\n<p>For this vector it’s fairly obvious what’s wrong. But for <a href=\"https://github.com/jepsen-io/particledb/blob/4e911c2d6ebf5ed97becba08c12d754cbbd4da53/src/jepsen/particledb/gen/tc.clj\">nontrivial test.check generators</a>, there might be a dozen nested levels of <code>bind</code> with complex downstream consequences. Every one of them offers a place for test.check to get stuck, and the smallest failing case can be devilishly tricky to understand. Experienced test.check users try to avoid <code>bind</code> and <code>let</code>—but they’re fundamentally inescapable for many problems.</p>\n<p>Over in the Python world, the <a href=\"https://hypothesis.works/\">Hypothesis</a> team took a very different approach to shrinking. Test.check is fundamentally a two-phase system: first it asks a generator to produce a shrink tree. Then, if the root of that tree looks “bad”, it explores the rest of that tree. Instead, Hypothesis generators produce a single value, and if that value looks bad, they re-run the generator and <a href=\"https://drmaciver.github.io/papers/reduction-via-generation-preview.pdf\">ask it to produce something similar, but smaller</a>. This approach, called <em>internal test-case-reduction</em>, is the foundation of <a href=\"https://hegel.dev/\">Hegel</a>.</p>\n<h2><a href=\"#hegel-clj\" id=\"hegel-clj\">Hegel-clj</a></h2>\n<p>Hegel is a new cross-platform library for generative testing. It provides deterministic generators which draw random values from an imperative, structured RNG, as well as a rich family of special values and shrinking tactics. Writing these generators and shrinkers is hard. The idea is that Hegel’s core library will do this hard work once, and simpler wrapper libraries will extend the benefits of that hard work across many languages.</p>\n<p>I’ve been working for a few months on <a href=\"https://github.com/aphyr/hegel-clj\">hegel-clj</a>, which offers Clojure bindings for Hegel, and I think it’s ready for the folks to try it out. To test something, you call <code>hegel-clj/test!</code>, draw some values from generators, and throw an exception if the test fails. Hegel searches for values that make that body throw, then shrinks them.</p>\n<pre><code><span></span><span class=\"p\">(</span><span class=\"nf\">require</span> <span class=\"o\">'</span><span class=\"p\">[</span><span class=\"nv\">hegel-clj</span> <span class=\"p\">[</span><span class=\"nv\">core</span> <span class=\"ss\">:as</span> <span class=\"nv\">h</span><span class=\"p\">]</span> <span class=\"p\">[</span><span class=\"nv\">generator</span> <span class=\"ss\">:as</span> <span class=\"nv\">g</span><span class=\"p\">]])</span>\n<span class=\"p\">(</span><span class=\"nf\">h/test!</span> <span class=\"p\">{</span><span class=\"ss\">:seed</span> <span class=\"mi\">4</span><span class=\"p\">}</span>\n  <span class=\"p\">(</span><span class=\"nb\">assert </span><span class=\"p\">(</span><span class=\"nf\">even?</span> <span class=\"p\">(</span><span class=\"nf\">h/draw!</span> <span class=\"p\">(</span><span class=\"nf\">g/integer</span><span class=\"p\">)))))</span>\n\n<span class=\"p\">{</span><span class=\"ss\">:passed?</span> <span class=\"nv\">false</span>\n <span class=\"ss\">:status</span> <span class=\"ss\">:failed</span>\n <span class=\"ss\">:statistics</span> <span class=\"p\">{</span><span class=\"ss\">:total</span> <span class=\"mi\">34</span>\n              <span class=\"ss\">:valid</span> <span class=\"mi\">5</span>\n              <span class=\"ss\">:invalid</span> <span class=\"mi\">0</span>\n              <span class=\"ss\">:overrun</span> <span class=\"mi\">18</span>\n              <span class=\"ss\">:interesting</span> <span class=\"mi\">11</span><span class=\"p\">}</span>\n <span class=\"ss\">:health-check-failed?</span> <span class=\"nv\">false</span>\n <span class=\"ss\">:failures</span> <span class=\"p\">({</span><span class=\"ss\">:draws</span> <span class=\"p\">{</span><span class=\"s\">\"draw_1\"</span> <span class=\"mi\">1</span><span class=\"p\">}</span>\n             <span class=\"ss\">:exception</span>\n             <span class=\"o\">#</span><span class=\"nv\">error</span> <span class=\"p\">{</span><span class=\"ss\">:cause</span> <span class=\"s\">\"Assert failed: (even? (h/draw! (g/integer)))\"</span>\n                     <span class=\"nv\">...</span><span class=\"p\">}})</span>\n <span class=\"ss\">:reproduce-blob</span> <span class=\"s\">\"AAEAAAAACgEAAAAB\"</span>, <span class=\"ss\">:caveat</span> <span class=\"nv\">nil</span><span class=\"p\">}</span>\n</code></pre>\n<p>The smallest case Hegel found involved a single draw of the number <code>1</code>, which caused the assertion <code>(even? 1)</code> to throw.</p>\n<p>Generators are pure, composable structures, just like in test.check. Here’s a few values drawn from a generator of booleans:</p>\n<pre><code><span></span><span class=\"p\">(</span><span class=\"nf\">h/sample</span> <span class=\"mi\">5</span> <span class=\"p\">(</span><span class=\"nf\">g/boolean</span><span class=\"p\">))</span>\n\n<span class=\"p\">[</span><span class=\"nv\">false</span> <span class=\"nv\">false</span> <span class=\"nv\">true</span> <span class=\"nv\">true</span> <span class=\"nv\">false</span><span class=\"p\">]</span>\n</code></pre>\n<p>Or a map representing a person, with a name generated by a regular expression and an integer age:</p>\n<pre><code><span></span><span class=\"p\">(</span><span class=\"nf\">h/sample</span> <span class=\"mi\">5</span> <span class=\"p\">(</span><span class=\"nf\">g/hmap</span> <span class=\"p\">{</span><span class=\"ss\">:name</span> <span class=\"p\">(</span><span class=\"nf\">g/regex-str</span> <span class=\"o\">#</span><span class=\"s\">\"[A-Z][a-z]+\"</span><span class=\"p\">)</span>\n                     <span class=\"ss\">:age</span>  <span class=\"p\">(</span><span class=\"nf\">g/integer</span> <span class=\"mi\">0</span> <span class=\"mi\">101</span><span class=\"p\">)}))</span>\n\n<span class=\"p\">[{</span><span class=\"ss\">:name</span> <span class=\"s\">\"Aa\"</span>, <span class=\"ss\">:age</span> <span class=\"mi\">0</span><span class=\"p\">}</span>\n <span class=\"p\">{</span><span class=\"ss\">:name</span> <span class=\"s\">\"Iyjdklppzxhqdnwmd\"</span>, <span class=\"ss\">:age</span> <span class=\"mi\">89</span><span class=\"p\">}</span>\n <span class=\"p\">{</span><span class=\"ss\">:name</span> <span class=\"s\">\"Kslvqorm\"</span>, <span class=\"ss\">:age</span> <span class=\"mi\">64</span><span class=\"p\">}</span>\n <span class=\"p\">{</span><span class=\"ss\">:name</span> <span class=\"s\">\"Fvyybe\"</span>, <span class=\"ss\">:age</span> <span class=\"mi\">45</span><span class=\"p\">}</span>\n <span class=\"p\">{</span><span class=\"ss\">:name</span> <span class=\"s\">\"Puwppxqag\"</span>, <span class=\"ss\">:age</span> <span class=\"mi\">4</span><span class=\"p\">}]</span>\n</code></pre>\n<p>The higher-order combinators are all there too. You can transform generated values with <code>fmap</code>:</p>\n<pre><code><span></span><span class=\"p\">(</span><span class=\"nf\">h/sample</span> <span class=\"mi\">5</span> <span class=\"p\">(</span><span class=\"nf\">g/fmap</span> <span class=\"nb\">keyword </span><span class=\"p\">(</span><span class=\"nf\">g/string</span><span class=\"p\">)))</span>\n\n<span class=\"p\">[</span><span class=\"err\">:</span> <span class=\"ss\">:R</span> <span class=\"err\">:👍🏻</span> <span class=\"ss\">:True</span> <span class=\"err\">:çç¦ç¦򜝉ÏÏ򜝉¦¦Ï¦¦ç򜝉Ϧç򜝉çÏ򜝉çç¦</span><span class=\"p\">]</span>\n</code></pre>\n<p>Or build one generator out of another using <code>bind</code>:</p>\n<pre><code><span></span><span class=\"p\">(</span><span class=\"nf\">h/sample</span> <span class=\"mi\">2</span> <span class=\"p\">(</span><span class=\"nf\">g/bind</span> <span class=\"p\">(</span><span class=\"k\">fn </span><span class=\"p\">[</span><span class=\"nv\">size</span><span class=\"p\">]</span>\n                      <span class=\"p\">(</span><span class=\"nf\">g/tuple</span> <span class=\"p\">(</span><span class=\"nf\">g/vector</span> <span class=\"nv\">size</span> <span class=\"p\">(</span><span class=\"nf\">g/integer</span><span class=\"p\">))</span>\n                               <span class=\"p\">(</span><span class=\"nf\">g/vector</span> <span class=\"nv\">size</span> <span class=\"p\">(</span><span class=\"nf\">g/boolean</span><span class=\"p\">))))</span>\n                    <span class=\"p\">(</span><span class=\"nf\">g/integer</span> <span class=\"mi\">0</span> <span class=\"mi\">3</span><span class=\"p\">)))</span>\n\n<span class=\"p\">[[[]</span> <span class=\"p\">[]]</span>\n <span class=\"p\">[[</span><span class=\"mi\">144229</span> <span class=\"mi\">531621</span> <span class=\"mi\">-364</span> <span class=\"mi\">-1569883</span> <span class=\"mi\">8194954</span> <span class=\"mi\">-913</span> <span class=\"mi\">16</span> <span class=\"mi\">-745</span><span class=\"p\">]</span>\n <span class=\"p\">[</span><span class=\"nv\">false</span> <span class=\"nv\">true</span> <span class=\"nv\">false</span> <span class=\"nv\">true</span><span class=\"p\">]]]</span>\n</code></pre>\n<p>Like test.check, we offer a <code>let</code> macro which lets you bind both regular values or generators to variables; if the right-hand side is a generator, it draws a random value from it. And unlike test.check, these generators shrink well. Instead of thirty-nine elements, Hegel can find the much-shorter “bad” vector, <code>[42]</code>.</p>\n<pre><code><span></span><span class=\"p\">(</span><span class=\"nb\">-> </span><span class=\"p\">(</span><span class=\"nf\">h/test!</span> <span class=\"p\">{</span><span class=\"ss\">:test-cases</span> <span class=\"mi\">1000</span>\n              <span class=\"ss\">:seed</span>       <span class=\"mi\">1777986545686</span><span class=\"p\">}</span>\n      <span class=\"p\">(</span><span class=\"nf\">h/let</span> <span class=\"p\">[</span><span class=\"nv\">size</span> <span class=\"p\">(</span><span class=\"nf\">g/integer</span> <span class=\"p\">{</span><span class=\"ss\">:min</span> <span class=\"mi\">0</span>, <span class=\"ss\">:max</span> <span class=\"mi\">128</span><span class=\"p\">})</span>\n              <span class=\"nv\">xs</span>   <span class=\"p\">(</span><span class=\"nf\">g/vector</span> <span class=\"p\">{</span><span class=\"ss\">:size</span> <span class=\"nv\">size</span><span class=\"p\">}</span> <span class=\"p\">(</span><span class=\"nf\">g/integer</span><span class=\"p\">))]</span>\n        <span class=\"p\">(</span><span class=\"nb\">assert </span><span class=\"p\">(</span><span class=\"nb\">not-any? </span><span class=\"o\">#</span><span class=\"p\">{</span><span class=\"mi\">42</span><span class=\"p\">}</span> <span class=\"nv\">xs</span><span class=\"p\">))))</span>\n    <span class=\"ss\">:failures</span> <span class=\"nb\">first </span><span class=\"ss\">:draws</span> <span class=\"p\">(</span><span class=\"nb\">get </span><span class=\"s\">\"xs\"</span><span class=\"p\">))</span>\n\n<span class=\"p\">[</span><span class=\"mi\">42</span><span class=\"p\">]</span>\n</code></pre>\n<p>With <code>test.check</code>, if you want to thread multiple values through <code>bind</code> or <code>fmap</code>, you have to build and destructure maps or tuples. Hegel-clj lets you lift arbitrary code into a generator using <code>composite</code>, which makes it easier to build complex generators:</p>\n<pre><code><span></span><span class=\"p\">(</span><span class=\"nf\">h/sample</span> <span class=\"mi\">2</span>\n  <span class=\"p\">(</span><span class=\"nf\">g/composite</span>\n    <span class=\"p\">(</span><span class=\"nf\">h/let</span> <span class=\"p\">[</span><span class=\"nb\">name </span>     <span class=\"p\">(</span><span class=\"nf\">g/string</span><span class=\"p\">)</span>\n            <span class=\"nv\">cat-count</span> <span class=\"p\">(</span><span class=\"nf\">g/integer</span> <span class=\"mi\">0</span> <span class=\"mi\">2</span><span class=\"p\">)</span>\n            <span class=\"nv\">cats</span>      <span class=\"p\">(</span><span class=\"nf\">g/vector</span> <span class=\"p\">{</span><span class=\"ss\">:size</span> <span class=\"nv\">cat-count</span>, <span class=\"ss\">:unique?</span> <span class=\"nv\">true</span><span class=\"p\">}</span> <span class=\"p\">(</span><span class=\"nf\">g/string</span><span class=\"p\">))]</span>\n      <span class=\"p\">{</span><span class=\"ss\">:name</span> <span class=\"nb\">name </span>    \n       <span class=\"ss\">:cats</span> <span class=\"nv\">cats</span><span class=\"p\">})))</span>\n\n<span class=\"p\">[{</span><span class=\"ss\">:name</span> <span class=\"s\">\"\"</span>,\n  <span class=\"ss\">:cats</span> <span class=\"p\">[]}</span>\n <span class=\"p\">{</span><span class=\"ss\">:name</span> <span class=\"s\">\"𝐓𝐡𝐞 𝐪𝐮𝐢𝐜𝐤 𝐛𝐫𝐨𝐰𝐧 𝐟𝐨𝐱 𝐣𝐮𝐦𝐩𝐬 𝐨𝐯𝐞𝐫 𝐭𝐡𝐞 𝐥𝐚𝐳𝐲 𝐝𝐨𝐠\"</span>,\n  <span class=\"ss\">:cats</span> <span class=\"p\">[</span><span class=\"s\">\"🇺🇸\"</span> <span class=\"s\">\"👍🏻\"</span><span class=\"p\">]}]</span>\n</code></pre>\n<p>You can build recursive generators with a promise-style API. The <code>deferred</code> generator provides a blank space for a generator, which can be filled in later:</p>\n<pre><code><span></span><span class=\"p\">(</span><span class=\"k\">let </span><span class=\"p\">[</span><span class=\"nv\">leaf</span> <span class=\"p\">(</span><span class=\"nf\">g/integer</span> <span class=\"mi\">0</span> <span class=\"mi\">9</span><span class=\"p\">)</span>\n      <span class=\"nv\">tree</span> <span class=\"p\">(</span><span class=\"nf\">g/deferred</span><span class=\"p\">)]</span>\n  <span class=\"p\">(</span><span class=\"nf\">g/set-deferred!</span> <span class=\"nv\">tree</span> <span class=\"p\">(</span><span class=\"nf\">g/one-of</span> <span class=\"p\">[</span><span class=\"nv\">leaf</span> <span class=\"p\">(</span><span class=\"nf\">g/vector</span> <span class=\"nv\">tree</span><span class=\"p\">)]))</span>\n  <span class=\"p\">(</span><span class=\"nf\">mapv</span> <span class=\"nb\">prn </span><span class=\"p\">(</span><span class=\"nf\">h/sample</span> <span class=\"mi\">5</span> <span class=\"nv\">tree</span><span class=\"p\">)))</span>\n\n<span class=\"mi\">0</span>\n<span class=\"p\">[[</span><span class=\"mi\">1</span><span class=\"p\">]</span> <span class=\"mi\">8</span> <span class=\"p\">[</span><span class=\"mi\">2</span> <span class=\"p\">[]]</span> <span class=\"mi\">5</span> <span class=\"p\">[]</span> <span class=\"p\">[[</span><span class=\"mi\">4</span> <span class=\"mi\">6</span> <span class=\"p\">[]]]]</span>\n<span class=\"p\">[[</span><span class=\"mi\">1</span><span class=\"p\">]</span> <span class=\"mi\">2</span><span class=\"p\">]</span>\n<span class=\"mi\">3</span>\n<span class=\"mi\">0</span>\n</code></pre>\n<p>And best of all, <code>hegel-clj</code> ships with easy-to-use integration for clojure.test, making generative tests as easy as example-based ones:</p>\n<pre><code><span></span><span class=\"p\">(</span><span class=\"nf\">require</span> <span class=\"o\">'</span><span class=\"p\">[</span><span class=\"nv\">clojure.test</span> <span class=\"ss\">:refer</span> <span class=\"ss\">:all</span><span class=\"p\">]</span> <span class=\"o\">'</span><span class=\"p\">[</span><span class=\"nv\">hegel-clj.clojure-test</span> <span class=\"ss\">:refer</span> <span class=\"p\">[</span><span class=\"nv\">with</span><span class=\"p\">]])</span>\n\n<span class=\"p\">(</span><span class=\"kd\">defn </span><span class=\"nv\">bad-add</span>\n  <span class=\"s\">\"Adds two integers via floating-point\"</span>\n  <span class=\"p\">[</span><span class=\"nv\">x</span> <span class=\"nv\">y</span><span class=\"p\">]</span>\n  <span class=\"p\">(</span><span class=\"nb\">long </span><span class=\"p\">(</span><span class=\"nb\">+ </span><span class=\"p\">(</span><span class=\"nb\">float </span><span class=\"nv\">x</span><span class=\"p\">)</span> <span class=\"p\">(</span><span class=\"nb\">float </span><span class=\"nv\">y</span><span class=\"p\">))))</span>\n\n<span class=\"p\">(</span><span class=\"nf\">deftest</span> <span class=\"nv\">bad-add-test</span>\n  <span class=\"p\">(</span><span class=\"nf\">with</span> <span class=\"p\">{</span><span class=\"ss\">:test-cases</span> <span class=\"mi\">100</span><span class=\"p\">}</span>\n        <span class=\"p\">[</span><span class=\"nv\">x</span> <span class=\"p\">(</span><span class=\"nf\">g/integer</span><span class=\"p\">)</span>\n         <span class=\"nv\">y</span> <span class=\"p\">(</span><span class=\"nf\">g/integer</span><span class=\"p\">)]</span>\n    <span class=\"p\">(</span><span class=\"nf\">h/fprn</span> <span class=\"ss\">:x</span> <span class=\"nv\">x</span>, <span class=\"ss\">:y</span> <span class=\"nv\">y</span><span class=\"p\">)</span>\n    <span class=\"p\">(</span><span class=\"nf\">is</span> <span class=\"p\">(</span><span class=\"nb\">= </span><span class=\"p\">(</span><span class=\"nb\">+ </span><span class=\"nv\">x</span> <span class=\"nv\">y</span><span class=\"p\">)</span> <span class=\"p\">(</span><span class=\"nf\">bad-add</span> <span class=\"nv\">x</span> <span class=\"nv\">y</span><span class=\"p\">)))))</span>\n    \n<span class=\"p\">(</span><span class=\"nf\">bad-add-test</span><span class=\"p\">)</span>\n\n<span class=\"ss\">:x</span> <span class=\"mi\">0</span> <span class=\"ss\">:y</span> <span class=\"mi\">16777217</span>\n\n<span class=\"nv\">FAIL</span> <span class=\"nv\">in</span> <span class=\"p\">(</span><span class=\"nf\">bad-add-test</span><span class=\"p\">)</span> <span class=\"p\">(</span><span class=\"nf\">form-init7301103820420620476.clj</span><span class=\"ss\">:6</span><span class=\"p\">)</span>\n<span class=\"nv\">expected</span><span class=\"err\">:</span> <span class=\"p\">(</span><span class=\"nb\">= </span><span class=\"p\">(</span><span class=\"nb\">+ </span><span class=\"nv\">x</span> <span class=\"nv\">y</span><span class=\"p\">)</span> <span class=\"p\">(</span><span class=\"nf\">bad-add</span> <span class=\"nv\">x</span> <span class=\"nv\">y</span><span class=\"p\">))</span>\n  <span class=\"nv\">actual</span><span class=\"err\">:</span> <span class=\"p\">(</span><span class=\"nb\">not </span><span class=\"p\">(</span><span class=\"nb\">= </span><span class=\"mi\">16777217</span> <span class=\"mi\">16777216</span><span class=\"p\">))</span>\n</code></pre>\n<p>It’s hard to log debugging output with test.check—you’ll have to sift through thousands of test runs with complex inputs, and many of those runs won’t actually trigger the bug you’re searching for. Hegel has the notion of a “final” test case: after it’s found a counterexample, and shrunk it to a smaller version, it comes back and re-runs that case as a part of the final phase. We can use <code>(when (h/final?) ...)</code> to execute some debugging code only during these final cases, or <code>fprn</code> and <code>finfo</code>, which wrap <code>clojure.core/prn</code> and <code>clojure.tools.logging/info</code> respectively. I think there’s a <a href=\"https://github.com/hegeldev/hegel-java/issues/32\">bug in Hegel</a> that causes it to run more final cases than it should, but it’s still a big step up.</p>\n<p>Finally, test.check has been around for a while, and like many Clojure projects it has an exceptionally stable API. That’s great for compatibility, but it means some early choices are now fossilized. It’s <code>(fmap gen f)</code>, but <code>(bind f gen)</code>. If you want an integer you have to remember the difference between <code>nat</code>, <code>int</code>, <code>pos-int</code>, <code>s-pos-int</code>, <code>small-integer</code>, <code>large-integer</code>, <code>large-integer*</code>, etc. Common generators require keyword arguments, like <code>(large-integer* {:min 0, :max 10})</code>. Some generators like <code>hash-map</code> are only callable with varargs, which makes composition tricky. The <a href=\"https://clojure.github.io/test.check/clojure.test.check.properties.html\">properties API</a> feels a tad fussy. And many of the ergonomic features you want, like generating strings from a regular expression, or integration with clojure.test, require an extra library like <a href=\"https://github.com/gfredericks/test.chuck\">test.chuck</a>. Test.check is <em>really good</em>, but with the benefit of hindsight and a fresh canvas, I’ve tried to design a more streamlined, consistent, and approachable API.</p>\n<p>I’ve used test.check for over a decade now and it’s one of my favorite things about Clojure. I want to thank Reid Draper, Gary Fredericks, Alex Miller, and everyone else who’s contributed to the library. I’m also indebted to David MacIver, Liam DeVoe, and Esau Rodriguez from the Hegel team at <a href=\"https://antithesis.com/\">Antithesis</a>. They took time to talk me through Hegel’s design, answered endless questions about the protocol, and helped fix a whole slew of issues that we found. Y’all rock.</p>\n<p>I’m pleased to announce <a href=\"https://github.com/aphyr/hegel-clj\">hegel-clj 0.1.1</a>, and I’m starting to use it to test my own projects. I hope it will be useful for you too. ❤️</p>",
      "image": null,
      "media": [],
      "authors": [
        {
          "name": "Aphyr",
          "email": null,
          "url": "https://aphyr.com/"
        }
      ],
      "categories": []
    },
    {
      "id": "https://aphyr.com/posts/427-rip-harvest",
      "title": "RIP, Harvest",
      "description": null,
      "url": "https://aphyr.com/posts/427-rip-harvest",
      "published": "2026-11-08T19:35:42.000Z",
      "updated": "2026-11-08T19:35:42.000Z",
      "content": "<p>I’ve been a self-employed contractor for about a decade now, and I’m bummed about <a href=\"https://www.getharvest.com/\">Harvest</a>.</p>\n<p>Harvest was a time-tracking and invoicing service. You’d track how many hours or weeks you spent on a project, put together an invoice, email it to the client, and close it out when they paid. There was a little Stripe integration for accepting credit and ACH payments on the invoice web view. A historical chart of total billed/paid amounts over time, and a table of invoices. Harvest was exactly what you want from small-business software: it solved a well-defined problem with a reliable, simple interface, and did so at a reasonable monthly price. They managed to avoid scope creep and never tried to become an accounting platform, or a blockchain for washing machines.<sup id=\"fnref-1\"><a class=\"footnote-ref\" href=\"#fn-1\">1</a></sup> I loved Harvest and raved about it to every self-employed person I met.</p>\n<p>Back in 2025 Harvest got bought out by <a href=\"https://www.reddit.com/r/HarvestApp/comments/1q25xpy/purchase_by_bending_spoons/\">Bending Spoons</a>, the company that <a href=\"https://news.ycombinator.com/item?id=46707699\">gutted Vimeo</a>. I was worried they might ruin it, but was busy with other things and didn’t have time to look for new invoicing software.</p>\n<p>Long story short, they raised my price from $13.32 to $133.98 per month by moving everyone to a new “enterprise” plan and “unlimited” usage billing model, which is, as far as I can tell, exactly what I had before. There’s also a “flex” plan which costs $12.65 per month… but that plan now skims an additional 2% on top of the usual ~3% card transaction fees. To be clear, that 3% pays for the whole credit card network, plus all the people working at Stripe and Mastercard, plus the financial risk of chargebacks and fraud, etc. Harvest isn’t doing any of that work. I don’t know about you, but I don’t think I need to spend 2% of my gross revenue to send a couple PDFs a month and wrap a Stripe web form.</p>\n<p>I wrote to Harvest about this, and discovered that they don’t read customer emails any more. Instead they have a Large Language Model repeatedly vomit thousands of words at you. I’m no stranger to enshittification, but man, I did not anticipate the speed at which Bending Spoons would drive a perfectly good company into the ground.</p>\n<p>Time to find a new invoicing service, I guess. Maybe bookkeeping too—Intuit’s Quickbooks Online seems to have completely jumped the shark. Any of y’all freelancers have a system you like?</p>\n<div class=\"footnotes\">\n<hr>\n<ol>\n<li id=\"fn-1\">\n<p>Yes, someone actually tried this.</p>\n<a href=\"#fnref-1\" class=\"footnote-backref\">↩</a>\n</li>\n</ol>\n</div>",
      "image": null,
      "media": [],
      "authors": [
        {
          "name": "Aphyr",
          "email": null,
          "url": "https://aphyr.com/"
        }
      ],
      "categories": []
    },
    {
      "id": "https://aphyr.com/posts/425-more-fake-mastodon-signups",
      "title": "More Fake Mastodon Signups",
      "description": null,
      "url": "https://aphyr.com/posts/425-more-fake-mastodon-signups",
      "published": "2026-06-12T14:19:34.000Z",
      "updated": "2026-06-12T14:19:34.000Z",
      "content": "<p>On 2026-05-30, the Mastodon server I run started getting a flood of implausible signup requests. We think these are likely bots because our server rules and signup form clearly tell users to talk about their interest in gay leather. Most people sign up with something like “42 yo levis enthusiast into piss” or “Hi! I’m Snoofles the pup! I love bones and being a good girl for Madam!”. Instead <a href=\"https://gist.github.com/aphyr/bfbc68c428663da18aa10e07e0f94f8c/edit\">the applications</a> are either friendly, generic text…</p>\n<blockquote>\n<p>I value online communities that are moderated with care and that encourage\nconstructive interaction. I plan to use my account to share interesting stuff,\nconnect with others who share similar interests, and contribute to discussions\nfollowing the server’s rules and culture.</p>\n</blockquote>\n<p>Or vaguely machine-flavored weirdness:</p>\n<blockquote>\n<p>Pick the Antarctic path and commit. Custodian inspired by Brendan Fraser,\nactive with Axe Throwing in Indianapolis.</p>\n</blockquote>\n<p>Or text taken directly from existing Fediverse bios, like <a href=\"https://mastodon.online/@kardinal691\">this one</a>:</p>\n<blockquote>\n<p>Ukraineophile, Save Western Culture and Civilization from russian kleptocracy\nTrying to make Putin’s bum as irritable as possible.</p>\n</blockquote>\n<p>Often there’s nonsensical usernames (e.g. “ypy_asi”) or email addresses that don’t line up, or we get similar language from multiple email domains. I suspect there’s a few actors here, because the tactics don’t line up exactly, but it’s weird that they all started in the last few weeks.</p>\n<p>A few of the email domains involved:</p>\n<ul>\n<li>forge45k.io.vn</li>\n<li>shortweb.live</li>\n<li>vtx.pbhak.dev</li>\n<li>funnyfail.app</li>\n<li>cyberlinkhub.com</li>\n<li>ptncereio.com</li>\n<li>sugarloafstudios.net</li>\n<li>a6nc1sl.jejes.de</li>\n<li>tiksofi.uk</li>\n<li>nowtopzen.com</li>\n<li>nanopools.info</li>\n<li>tmail.lt</li>\n<li>tmail.mx</li>\n<li>phugruphy.com</li>\n<li>sphinx.launders.money</li>\n<li>datamzone.com</li>\n<li>deisgn-ai.work.gd</li>\n<li>haibabon.com</li>\n<li>ai46boh.jejes.de</li>\n<li>initwag.com</li>\n<li>mailba.uk</li>\n<li>compservmail.com</li>\n<li>ff.zero34.qd.je</li>\n</ul>\n<p>Many look to be transient domains that no longer resolve. Two (tmail.mx and tmail.lt) belong to a service which provides temporary email addresses to bypass email verification. For pbhak.dev, I think it might be someone’s personal machine which… maybe got compromised? Others, like jejes.de, look like abandoned wordpress installs; I assume they’re compromised too.</p>\n<p>I’m seeing a fair number of European IPs for browsers–looks like VPNs and cloud providers.</p>\n<p>Last year most of our spammers were from <a href=\"https://aphyr.com/posts/389-the-future-of-forums-is-lies-i-guess\">a single company</a>. I’ve approved one of these inauthentic accounts, and am going to keep an eye on it to see what happens.</p>",
      "image": null,
      "media": [],
      "authors": [
        {
          "name": "Aphyr",
          "email": null,
          "url": "https://aphyr.com/"
        }
      ],
      "categories": []
    },
    {
      "id": "https://aphyr.com/posts/424-getting-paid-by-flat-rate-movers",
      "title": "Getting Paid by Flat Rate Movers",
      "description": null,
      "url": "https://aphyr.com/posts/424-getting-paid-by-flat-rate-movers",
      "published": "2026-06-07T20:25:02.000Z",
      "updated": "2026-06-07T20:25:02.000Z",
      "content": "<p>Back in 2023, I hired <a href=\"https://www.flatrate.com/\">Flat Rate Movers</a> (A.K.A. Flat Rate Moving) for an interstate move. They subcontracted to a third party who showed up under-staffed, under-equipped, and very confused; the whole mess wound up causing a good deal of damage to my belongings and home. I filed a claim with Flat Rate and also requested they issue a partial refund. <a href=\"https://aphyr.com/posts/381-when-flat-rate-movers-wont-answer-your-calls\">They refused to talk to me or their insurance company</a>, and after six months of calling, emailing, and writing, I got overwhelmed by other life struggles and gave up. I did manage to file a claim with their backing insurance company, but got nothing for the damage to the house, or failure to deliver goods and services.</p>\n<p>In October 2025 Flat Rate started sending me e-mails asking me to use Flat Rate for a move again. I called, explained the situation, and asked how they were planning to resolve it. They invited me to write to customer service, and the whole process resumed, with essentially the same result. I’d call every few days to ask how things were going, and various Flat Rate representatives would promise they’d get back to me tomorrow, or a check was in the mail, or that they’d talk to claims for me. Unsurprisingly, none of this worked.</p>\n<p>Long story short, after a bunch of claim forms, emails, letters, complaints to various regulators, requests for arbitration, and <em>one hundred and sixty-one phone calls</em> with Flat Rate directly, I have succeeded. I started calling their main line at (212) 988-9292, picking a three-digit extension, and asking that person for help. I did this ten times each morning, and within two weeks had multiple people offering to help. I can’t say for sure which person got things over the line, because I called a <em>lot</em> of them, but by April 2026, I had a check in the mail.</p>\n<p>If you wind up in the same boat, I recommend two things. First, keep a log of everything you do. Flat Rate may tell you things like “we did not receive supporting documentation within sixty days” or “you did not file the claim in time”; it is extremely helpful to be able to say things like “Please see my email from 2023-05-06 at 15:32 in which I submitted the requested documentation.” Second, set up a spreadsheet to keep track of which extensions you’ve called and when. <a href=\"/data/posts/424/Flat Rate Extensions.ods\">Here's mine</a>—each row number is the three-digit extension.</p>",
      "image": null,
      "media": [],
      "authors": [
        {
          "name": "Aphyr",
          "email": null,
          "url": "https://aphyr.com/"
        }
      ],
      "categories": []
    },
    {
      "id": "https://aphyr.com/posts/423-the-kyle-kingsbury-podcast-podcast-episode-2-dave-rossi",
      "title": "The Kyle Kingsbury Podcast Podcast - Episode 2 - Dave Rossi",
      "description": null,
      "url": "https://aphyr.com/posts/423-the-kyle-kingsbury-podcast-podcast-episode-2-dave-rossi",
      "published": "2026-05-08T20:07:42.000Z",
      "updated": "2026-05-08T20:07:42.000Z",
      "content": "<p>This video is brought to you by <a href=\"https://podpitch.com/\">PodPitch</a>, the AI-powered platform for PR experts. PodPitch is the first and only software that finds, writes, and sends pitches to podcast hosts from your actual email address. Whether or not you’re already pitching podcasts, PodPitch will make sure you get podcast bookings – guaranteed. And so long as PodPitch’s AI keeps confusing me with Kyle Kingsbury, MMA fighter and famous podcast host, some of those bookings… just might be with me.</p>\n<p>My name is Kyle Kingsbury, I am not as popular nor ruggedly handsome as Kyle Kingsbury, and I have never hosted a podcast in my life. Now I’m struggling to read books, write interesting questions, and generally making a fool of myself.</p>\n<p>Today’s guest is <a href=\"https://daverossiglobal.com/\">Dave Rossi</a>, Silicon Valley entrepreneur and author of the book “Alphas Die Early”.</p>\n<div style=\"position: relative; padding-bottom: 56.25%\">\n    <div style=\"position: absolute; top: 0; left: 0; width: 100%; height: 100%\">\n<iframe width=\"100%\" height=\"100%\" src=\"https://www.youtube.com/embed/sUYxwimuSaw?si=xDEeT6B7S7eSme77\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen=\"\"></iframe>\n  </div>\n</div>\n<p>One of the PR firms figured out what’s happening and we’ve all had a good laugh about it, but they were contractually obligated to cancel my third guest’s interview, which I was very much looking forward to. Dr. Deborah Rozman of the HeartMath Institute, if you’re out there… I’d be delighted to interview you.</p>",
      "image": null,
      "media": [],
      "authors": [
        {
          "name": "Aphyr",
          "email": null,
          "url": "https://aphyr.com/"
        }
      ],
      "categories": []
    },
    {
      "id": "https://aphyr.com/posts/422-the-kyle-kingsbury-podcast-podcast-episode-1-alex-dripchak",
      "title": "The Kyle Kingsbury Podcast Podcast - Episode 1 - Alex Dripchak",
      "description": null,
      "url": "https://aphyr.com/posts/422-the-kyle-kingsbury-podcast-podcast-episode-1-alex-dripchak",
      "published": "2026-05-07T23:17:13.000Z",
      "updated": "2026-05-07T23:17:13.000Z",
      "content": "<p>For the last few weeks publicists have bombarded me with emails asking if I’d interview their clients on the Kyle Kingsbury podcast. While my name is Kyle Kingsbury, and I have been a guest on several podcasts, I’ve never hosted one myself. I called one of the PR firms to ask if they might have me confused with the MMA fighter of the same name, but the woman I reached was so friendly and eager to tell me about all the potential guests I might interview and, well… things just got out of hand. Now I’m doing background research, writing questions, learning Riverside, and struggling mightily to avoid swallowing my tongue.</p>\n<p>Joining me today and being an extraordinarily good sport about it is <a href=\"https://www.alexdripchak.com/\">Alex Dripchak</a>, sales director, productivity expert, and author of the new book “Maximize”—full of time-management habits that I really should get around to trying one of these days.</p>\n<div style=\"position: relative; padding-bottom: 56.25%\">\n  <div style=\"position: absolute; top: 0; left: 0; width: 100%; height: 100%\">\n  <iframe width=\"100%\" height=\"100%\" src=\"https://www.youtube.com/embed/TZJSEpNhZAw?si=Q42Q4zlR85k56oKs\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen=\"\"></iframe>\n  </div>\n</div>",
      "image": null,
      "media": [],
      "authors": [
        {
          "name": "Aphyr",
          "email": null,
          "url": "https://aphyr.com/"
        }
      ],
      "categories": []
    },
    {
      "id": "https://aphyr.com/posts/421-jstack-by-command-string",
      "title": "JStack by Command String",
      "description": null,
      "url": "https://aphyr.com/posts/421-jstack-by-command-string",
      "published": "2026-05-04T15:30:26.000Z",
      "updated": "2026-05-04T15:30:26.000Z",
      "content": "<p>This has been bugging me for years: you often run a JVM by a shell script wrapper, then want to <code>jstack</code> it to figure out what it’s doing, but can’t figure out what PID to ask for. Running <code>jps</code> gives remarkably unhelpful output, especially for tools like Leiningen. I wrote a hacky little Ruby script to dig into the process tree of everything matching a given pattern, find any JVMs those processes spawned, and hit the highest numbered one (presumably the last one started) with <code>jstack</code>. This is definitely wrong (PID rollover!) but it’s been surprisingly useful for debugging.</p>\n<pre><code>$ jstack+ lein test\njstack 1044647 (java -classpath /home/aphyr/hegel/test ...)\n\n2026-05-04 10:23:07\nFull thread dump OpenJDK 64-Bit Server VM (21.0.10+7-Ubuntu-124.04 mixed mode, emulated-client, sharing):\n\nThreads class SMR info:\n_java_thread_list=0x0000767f88002030, length=12, elements={\n0x000076803801b140, 0x0000768038277460, 0x00007680382789e0, 0x000076803827a2a0,\n0x000076803827b8f0, 0x000076803827cea0, 0x000076803827e6b0, 0x000076803828abe0,\n0x0000768038296220, 0x000076803938d470, 0x0000768039392cd0, 0x0000767f88000fe0\n}\n\n\"main\" #1 [1044652] prio=5 os_prio=0 cpu=2403.65ms elapsed=2386.66s tid=0x000076803801b140 nid=1044652 waiting on condition  [0x000076803e7fa000]\n   java.lang.Thread.State: WAITING (parking)\n\tat jdk.internal.misc.Unsafe.park(java.base@21.0.10/Native Method)\n...\n</code></pre>\n<p>Here’s the script:</p>\n<pre><code><span></span><span class=\"ch\">#!/usr/bin/env ruby</span>\n\n<span class=\"c1\"># Runs `jstack` on the highest-numbered java process invoked by the command</span>\n<span class=\"c1\"># matching the given pattern. This is really helpful when you want to find out</span>\n<span class=\"c1\"># why `lein test` is stuck, because lein is a shell script, which launches</span>\n<span class=\"c1\"># java, which launches *a new* java process.</span>\n\n<span class=\"c1\"># Parses a list of newline-separated pids as integers</span>\n<span class=\"k\">def</span> <span class=\"nf\">parse</span><span class=\"p\">(</span><span class=\"n\">pid_string</span><span class=\"p\">)</span>\n  <span class=\"n\">pid_string</span><span class=\"o\">.</span><span class=\"n\">split</span><span class=\"p\">(</span><span class=\"sr\">/\\n/</span><span class=\"p\">)</span><span class=\"o\">.</span><span class=\"n\">map</span> <span class=\"p\">{</span> <span class=\"o\">|</span><span class=\"nb\">p</span><span class=\"o\">|</span> <span class=\"nb\">p</span><span class=\"o\">.</span><span class=\"n\">to_i</span> <span class=\"p\">}</span>\n<span class=\"k\">end</span>\n\n<span class=\"c1\"># Recursively expands pid into [pid, child1, child2, ...]</span>\n<span class=\"k\">def</span> <span class=\"nf\">expand</span><span class=\"p\">(</span><span class=\"n\">pid</span><span class=\"p\">)</span>\n  <span class=\"n\">children</span> <span class=\"o\">=</span> <span class=\"n\">parse</span> <span class=\"sb\">`pgrep -P </span><span class=\"si\">#{</span><span class=\"n\">pid</span><span class=\"si\">}</span><span class=\"sb\">`</span>\n  <span class=\"n\">children</span><span class=\"o\">.</span><span class=\"n\">reduce</span><span class=\"p\">(</span><span class=\"o\">[</span><span class=\"n\">pid</span><span class=\"o\">]</span><span class=\"p\">)</span> <span class=\"k\">do</span> <span class=\"o\">|</span><span class=\"n\">all</span><span class=\"p\">,</span> <span class=\"n\">child</span><span class=\"o\">|</span>\n    <span class=\"n\">all</span><span class=\"o\">.</span><span class=\"n\">concat</span> <span class=\"n\">expand</span><span class=\"p\">(</span><span class=\"n\">child</span><span class=\"p\">)</span>\n  <span class=\"k\">end</span>\n<span class=\"k\">end</span>\n\n<span class=\"n\">roots</span> <span class=\"o\">=</span> <span class=\"n\">parse</span> <span class=\"sx\">%x[pgrep -f '</span><span class=\"si\">#{</span><span class=\"no\">ARGV</span><span class=\"o\">.</span><span class=\"n\">join</span><span class=\"p\">(</span><span class=\"s1\">' '</span><span class=\"p\">)</span><span class=\"si\">}</span><span class=\"sx\">']</span>\n<span class=\"n\">expanded</span> <span class=\"o\">=</span> <span class=\"n\">roots</span><span class=\"o\">.</span><span class=\"n\">flat_map</span> <span class=\"p\">{</span> <span class=\"o\">|</span><span class=\"nb\">p</span><span class=\"o\">|</span> <span class=\"n\">expand</span> <span class=\"nb\">p</span> <span class=\"p\">}</span>\n\n<span class=\"c1\"># Just JVMs please</span>\n<span class=\"n\">jvms</span> <span class=\"o\">=</span> <span class=\"n\">parse</span><span class=\"p\">(</span><span class=\"sb\">`jps`</span><span class=\"p\">)</span><span class=\"o\">.</span><span class=\"n\">to_set</span>\n<span class=\"n\">fav</span> <span class=\"o\">=</span> <span class=\"n\">expanded</span><span class=\"o\">.</span><span class=\"n\">filter</span> <span class=\"k\">do</span> <span class=\"o\">|</span><span class=\"n\">pid</span><span class=\"o\">|</span>\n  <span class=\"n\">jvms</span><span class=\"o\">.</span><span class=\"n\">include?</span> <span class=\"n\">pid</span>\n<span class=\"k\">end</span><span class=\"o\">.</span><span class=\"n\">max</span>\n\n<span class=\"k\">unless</span> <span class=\"n\">fav</span>\n  <span class=\"nb\">puts</span> <span class=\"s2\">\"No JVMs with that command line in their ancestry\"</span>\n  <span class=\"nb\">exit</span> <span class=\"mi\">1</span>\n<span class=\"k\">end</span>\n\n<span class=\"c1\"># Show the command line so we can be sure of what process it was</span>\n<span class=\"n\">cmd</span> <span class=\"o\">=</span> <span class=\"sb\">`cat /proc/</span><span class=\"si\">#{</span><span class=\"n\">fav</span><span class=\"si\">}</span><span class=\"sb\">/cmdline | tr '</span><span class=\"se\">\\\\</span><span class=\"sb\">000' ' '`</span>\n<span class=\"nb\">puts</span> <span class=\"s2\">\"jstack </span><span class=\"si\">#{</span><span class=\"n\">fav</span><span class=\"si\">}</span><span class=\"s2\"> (</span><span class=\"si\">#{</span><span class=\"n\">cmd</span><span class=\"si\">}</span><span class=\"s2\">)\"</span>\n<span class=\"nb\">puts</span>\n<span class=\"nb\">exec</span> <span class=\"s2\">\"jstack </span><span class=\"si\">#{</span><span class=\"n\">fav</span><span class=\"si\">}</span><span class=\"s2\">\"</span>\n</code></pre>",
      "image": null,
      "media": [],
      "authors": [
        {
          "name": "Aphyr",
          "email": null,
          "url": "https://aphyr.com/"
        }
      ],
      "categories": []
    },
    {
      "id": "https://aphyr.com/posts/420-the-future-of-everything-is-lies-i-guess-where-do-we-go-from-here",
      "title": "The Future of Everything is Lies, I Guess: Where Do We Go From Here?",
      "description": null,
      "url": "https://aphyr.com/posts/420-the-future-of-everything-is-lies-i-guess-where-do-we-go-from-here",
      "published": "2026-04-16T13:30:01.000Z",
      "updated": "2026-04-16T13:30:01.000Z",
      "content": "<details class=\"right\" open=\"open\">\n  <summary>Table of Contents</summary>\n  <p style=\"margin: 1em\">This is a long article, so I've broken it up into a series of posts, listed below. You can also read the full work as a <a href=\"https://aphyr.com/data/posts/411/the-future-of-everything-is-lies.pdf\">PDF</a> or <a href=\"https://aphyr.com/data/posts/411/the-future-of-everything-is-lies.epub\">EPUB</a>.</p>\n  <nav>\n    <ol>\n      <li><a href=\"/posts/411-the-future-of-everything-is-lies-i-guess\">Introduction</a></li>\n      <li><a href=\"/posts/412-the-future-of-everything-is-lies-i-guess-dynamics\">Dynamics</a></li>\n      <li><a href=\"/posts/413-the-future-of-everything-is-lies-i-guess-culture\">Culture</a></li>\n      <li><a href=\"/posts/414-the-future-of-everything-is-lies-i-guess-information-ecology\">Information Ecology</a></li>\n      <li><a href=\"/posts/415-the-future-of-everything-is-lies-i-guess-annoyances\">Annoyances</a></li>\n      <li><a href=\"/posts/416-the-future-of-everything-is-lies-i-guess-psychological-hazards\">Psychological Hazards</a></li>\n      <li><a href=\"/posts/417-the-future-of-everything-is-lies-i-guess-safety\">Safety</a></li>\n      <li><a href=\"/posts/418-the-future-of-everything-is-lies-i-guess-work\">Work</a></li>\n      <li><a href=\"/posts/419-the-future-of-everything-is-lies-i-guess-new-jobs\">New Jobs</a></li>\n      <li><a href=\"/posts/420-the-future-of-everything-is-lies-i-guess-where-do-we-go-from-here\">Where Do We Go From Here</a></li>\n    </ol>\n  </nav>\n</details>\n<p><em>Previously: <a href=\"https://aphyr.com/posts/419-the-future-of-everything-is-lies-i-guess-new-jobs\">New Jobs</a>.</em></p>\n<p>Some readers are undoubtedly upset that I have not devoted more space to the\nwonders of machine learning—how amazing LLMs are at code generation, how\nincredible it is that Suno can turn hummed melodies into polished songs. But\nthis is not an article about how fast or convenient it is to drive a car. We\nall know cars are fast. I am trying to ask <em><a href=\"https://en.wikipedia.org/wiki/Societal_effects_of_cars\">what will happen to the shape of\ncities</a></em>.</p>\n<p>The personal automobile <a href=\"http://www.autolife.umd.umich.edu/Environment/E_Casestudy/E_casestudy.htm\">reshaped\nstreets</a>,\nall but extinguished urban horses <a href=\"https://archive.nytimes.com/cityroom.blogs.nytimes.com/2008/06/09/when-horses-posed-a-public-health-hazard/\">and their\nwaste</a>,\n<a href=\"https://opentextbooks.clemson.edu/sciencetechnologyandsociety/chapter/decline-of-streetcars-in-american-cities/\">supplanted local\ntransit</a>\nand interurban railways, germinated <a href=\"https://www.architectmagazine.com/technology/architecture-and-the-automobile_o\">new building\ntypologies</a>,\n<a href=\"https://bookshop.org/p/books/crabgrass-frontier-the-suburbanization-of-the-united-states-jacques-barzun-professor-of-history-kenneth-t-jackson/9a9a9154e6f22295\">decentralized\ncities</a>,\ncreated <a href=\"https://www.nature.com/scitable/knowledge/library/the-characteristics-causes-and-consequences-of-sprawling-103014747/\">exurban\nsprawl</a>,\n<a href=\"https://nyc.streetsblog.org/2025/06/09/car-harms-cars-make-us-more-lonely\">reduced incidental social\ncontact</a>,\ngave rise to the <a href=\"https://en.wikipedia.org/wiki/Interstate_Highway_System\">Interstate Highway\nSystem</a> (<a href=\"https://www.latimes.com/homeless-housing/story/2021-11-11/the-racist-history-of-americas-interstate-highway-boom\">bulldozing\nBlack\ncommunities</a>\nin the process), <a href=\"https://en.wikipedia.org/wiki/Tetraethyllead\">gave everyone lead\npoisoning</a>, and became a <a href=\"https://crashstats.nhtsa.dot.gov/Api/Public/Publication/812203\">leading\ncause of death</a>\namong young people. Many parts of the US are <a href=\"https://en.wikipedia.org/wiki/Car_dependency\">highly\ncar-dependent</a>, even though <a href=\"https://yaleclimateconnections.org/2025/01/american-transportation-revolves-around-cars-many-americans-dont-drive/\">a\nthird of us don’t\ndrive</a>.\nAs a driver, cyclist, transit rider, and pedestrian, I think about this legacy\nevery day: how so much of our lives are shaped by the technology of personal\nautomobiles, and the specific way the US uses them.</p>\n<p>I want you to think about “AI” in this sense.</p>\n<p>Some of our possible futures are grim, but manageable. Others are downright\nterrifying, in which large numbers of people lose their homes, health, or\nlives. I don’t have a strong sense of what will happen, but the space of\npossible futures feels much broader in 2026 than it did in 2022, and most of\nthose futures feel bad.</p>\n<p>Much of the bullshit future is already here, and I am profoundly tired of it.\nThere is slop in my search results, at the gym, at the doctor’s office.\nCustomer service, contractors, and engineers use LLMs to blindly lie to me. The\nelectric company has hiked our rates and says data centers are to blame. LLM\nscrapers take down the web sites I run and make it harder to access the\nservices I rely on. I watch synthetic videos of suffering animals and stare at\ngenerated web pages which lie about police brutality. There is LLM spam in my\ninbox and synthetic CSAM on my moderation dashboard. I watch people outsource\ntheir work, food, travel, art, even relationships to ChatGPT. I read chatbots\nlining the delusional warrens of mental health crises.</p>\n<p>I am asked to analyze vaporware and to disprove nonsensical claims. I\nwade through voluminous LLM-generated pull requests. Prospective clients ask\nClaude to do the work they might have hired me for. Thankfully Claude’s code is\nbad, but that could change, and that scares me. I worry about losing my home. I\ncould retrain, but my core skills—reading, thinking, and writing—are\nsquarely in the blast radius of large language models. I imagine going to\nschool to become an architect, just to watch ML eat that field too.</p>\n<p>It is deeply alienating to see so many of my peers wildly enthusiastic about\nML’s potential applications, and using it personally. Governments and industry\nseem all-in on “AI”, and I worry that by doing so, we’re hastening the arrival\nof unpredictable but potentially devastating consequences—personal, cultural,\neconomic, and humanitarian.</p>\n<p><strong>I’ve thought about this a lot over the last few years, and I think the best\nresponse is to stop.</strong> ML assistance <a href=\"https://arxiv.org/pdf/2604.04721\">reduces our performance and\npersistence</a>, and denies us both the\nmuscle memory and deep theory-building that comes with working through a task\nby hand: the cultivation of what <a href=\"https://bookshop.org/p/books/seeing-like-a-state-how-certain-schemes-to-improve-the-human-condition-have-failed-professor-james-c-scott/94810144b845ab4f\">James C. Scott would\ncall</a>\n<em>metis</em>. I have never used an LLM for my writing, software, or personal life,\nbecause I care about my ability to write well, reason deeply, and stay grounded\nin the world. If I ever adopt ML tools in more than an exploratory capacity, I\nwill need to take great care. I also try to minimize what I consume from LLMs.\nI read cookbooks written by human beings, I trawl through university websites\nto identify wildlife, and I talk through my problems with friends.</p>\n<p>I think you should do the same.</p>\n<p>Refuse to insult your readers: think your own thoughts and write your own\nwords. <a href=\"https://bsky.app/profile/did:plc:vsgr3rwyckhiavgqzdcuzm6i/post/3matwg6w3ic2s\">Call out\npeople</a>\nwho send you slop. Flag ML hazards at work and with friends. Stop paying for\nChatGPT at home, and convince your company not to sign a deal for Gemini. Form\nor join a labor union, and push back against management <a href=\"https://www.businessinsider.com/microsoft-internal-memo-using-ai-no-longer-optional-github-copilot-2025-6\">demands that you adopt\nCopilot</a>—after\nall, it’s <a href=\"https://www.tomshardware.com/tech-industry/artificial-intelligence/microsoft-says-copilot-is-for-entertainment-purposes-only-not-serious-use-firm-pushing-ai-hard-to-consumers-tells-users-not-to-rely-on-it-for-important-advice\">for entertainment purposes\nonly</a>.\nCall <a href=\"https://5calls.org/\">your members of Congress</a> and demand aggressive\nregulation which holds ML companies responsible for their\n<a href=\"https://www.technologyreview.com/2025/05/20/1116327/ai-energy-usage-climate-footprint-big-tech/\">carbon</a>\nand\n<a href=\"https://www.wired.com/story/openai-backs-bill-exempt-ai-firms-model-harm-lawsuits/\">digital</a>\nemissions. Advocate against <a href=\"https://stateline.org/2026/02/24/data-center-tax-breaks-are-on-the-chopping-block-in-some-states/\">tax breaks for ML\ndatacenters</a>.\nIf you work at Anthropic, xAI, etc., you should <a href=\"https://futurism.com/artificial-intelligence/anthropic-agents-automation\">think seriously about your\nrole in making the\nfuture</a>.\nTo be frank, I think you should <a href=\"https://futurism.com/artificial-intelligence/anthropic-researcher-quits-cryptic-letter\">quit your\njob</a>.</p>\n<p>I don’t think this will stop ML from advancing altogether: there are still\nlots of people who want to make it happen. It will, however, slow them down,\nand this is good. Today’s models are already very capable. It will take time\nfor the effects of the existing technology to be fully felt, and for culture,\nindustry, and government to adapt. Each day we delay the advancement of ML\nmodels buys time to learn how to manage technical debt and errors introduced in\nlegal filings. Another day to prepare for ML-generated CSAM, sophisticated\nfraud, obscure software vulnerabilities, and AI Barbie. Another day for workers\nto find new jobs.</p>\n<p>Staving off ML will also assuage your conscience over the coming decades. As\nsomeone who once quit an otherwise good job on ethical grounds, I feel good\nabout that decision. I think you will too.</p>\n<p>And if I’m wrong, we can always build it <em>later</em>.</p>\n<h2><a href=\"#and-yet\" id=\"and-yet\">And Yet…</a></h2>\n<p>Despite feeling a bitter distaste for this generation of ML systems and the\npeople who brought them into existence, they <em>do</em> seem useful. I want to use\nthem. I probably will at some point.</p>\n<p>For example, I’ve got these color-changing lights. They speak a protocol I’ve\nnever heard of, and I have no idea where to even begin. I could spend a month\ndigging through manuals and working it out from scratch—or I could ask an LLM\nto write a client library for me. The security consequences are minimal, it’s a\nconstrained use case that I can verify by hand, and I wouldn’t be pushing tech\ndebt on anyone else. I still write plenty of code, and I could stop any time.\nWhat would be the harm?</p>\n<p>Right?</p>\n<p>… Right?</p>\n<hr>\n<p><em>Many friends contributed discussion, reading material, and feedback on this\narticle. My heartfelt thanks to Peter Alvaro, Kevin Amidon, André Arko, Taber\nBain, Silvia Botros, Daniel Espeset, Julia Evans, Brad Greenlee, Coda Hale,\nMarc Hedlund, Sarah Huffman, Dan Mess, Nelson Minar, Arjun Narayan, Alex Rasmussen, Harper\nReed, Daliah Saper, Peter Seibel, Rhys Seiffe, and James Turnbull.</em></p>\n<p><em>This piece, like most all my words and software, was written by hand—mainly\nin Vim. I composed a Markdown outline in a mix of headers, bullet points, and\nprose, then reorganized it in a few passes. With the structure laid out, I\nrewrote the outline as prose, typeset with Pandoc. I went back to make\nsubstantial edits as I wrote, then made two full edit passes on typeset PDFs.\nFor the first I used an iPad and stylus, for the second, the traditional\npen and paper, read aloud.</em></p>\n<p><em>I circulated the resulting draft among friends for their feedback before\npublication. Incisive ideas and delightful turns of phrase may be attributed to\nthem; any errors or objectionable viewpoints are, of course, mine alone.</em></p>",
      "image": null,
      "media": [],
      "authors": [
        {
          "name": "Aphyr",
          "email": null,
          "url": "https://aphyr.com/"
        }
      ],
      "categories": []
    },
    {
      "id": "https://aphyr.com/posts/419-the-future-of-everything-is-lies-i-guess-new-jobs",
      "title": "The Future of Everything is Lies, I Guess: New Jobs",
      "description": null,
      "url": "https://aphyr.com/posts/419-the-future-of-everything-is-lies-i-guess-new-jobs",
      "published": "2026-04-15T13:19:45.000Z",
      "updated": "2026-04-15T13:19:45.000Z",
      "content": "<details class=\"right\" open=\"open\">\n  <summary>Table of Contents</summary>\n  <p style=\"margin: 1em\">This is a long article, so I've broken it up into a series of posts, listed below. You can also read the full work as a <a href=\"https://aphyr.com/data/posts/411/the-future-of-everything-is-lies.pdf\">PDF</a> or <a href=\"https://aphyr.com/data/posts/411/the-future-of-everything-is-lies.epub\">EPUB</a>.</p>\n  <nav>\n    <ol>\n      <li><a href=\"/posts/411-the-future-of-everything-is-lies-i-guess\">Introduction</a></li>\n      <li><a href=\"/posts/412-the-future-of-everything-is-lies-i-guess-dynamics\">Dynamics</a></li>\n      <li><a href=\"/posts/413-the-future-of-everything-is-lies-i-guess-culture\">Culture</a></li>\n      <li><a href=\"/posts/414-the-future-of-everything-is-lies-i-guess-information-ecology\">Information Ecology</a></li>\n      <li><a href=\"/posts/415-the-future-of-everything-is-lies-i-guess-annoyances\">Annoyances</a></li>\n      <li><a href=\"/posts/416-the-future-of-everything-is-lies-i-guess-psychological-hazards\">Psychological Hazards</a></li>\n      <li><a href=\"/posts/417-the-future-of-everything-is-lies-i-guess-safety\">Safety</a></li>\n      <li><a href=\"/posts/418-the-future-of-everything-is-lies-i-guess-work\">Work</a></li>\n      <li><a href=\"/posts/419-the-future-of-everything-is-lies-i-guess-new-jobs\">New Jobs</a></li>\n      <li><a href=\"/posts/420-the-future-of-everything-is-lies-i-guess-where-do-we-go-from-here\">Where Do We Go From Here</a></li>\n    </ol>\n  </nav>\n</details>\n<p><em>Previously: <a href=\"https://aphyr.com/posts/418-the-future-of-everything-is-lies-i-guess-work\">Work</a>.</em></p>\n<p>As we deploy ML more broadly, there will be new kinds of work. I think much of\nit will take place at the boundary between human and ML systems. <em>Incanters</em>\ncould specialize in prompting models. <em>Process</em> and <em>statistical engineers</em>\nmight control errors in the systems around ML outputs and in the models\nthemselves. A surprising number of people are now employed as <em>model trainers</em>,\nfeeding their human expertise to automated systems. <em>Meat shields</em> may be\nrequired to take accountability when ML systems fail, and <em>haruspices</em> could\ninterpret model behavior.</p>\n<h2><a href=\"#incanters\" id=\"incanters\">Incanters</a></h2>\n<p>LLMs are weird. You can sometimes get better results by threatening them,\ntelling them they’re experts, repeating your commands, or lying to them that\nthey’ll receive a financial bonus. Their performance degrades over longer\ninputs, and tokens that were helpful in one task can contaminate another, so\ngood LLM users think a lot about limiting the context that’s fed to the model.</p>\n<p>I imagine that there will probably be people (in all kinds of work!) who\nspecialize in knowing how to feed LLMs the kind of inputs that lead to good\nresults. Some people in software seem to be headed this way: becoming <em>LLM\nincanters</em> who speak to Claude, instead of programmers who work directly with\ncode.</p>\n<h2><a href=\"#process-engineers\" id=\"process-engineers\">Process Engineers</a></h2>\n<p>The unpredictable nature of LLM output requires quality control. For example,\nlawyers <a href=\"https://www.damiencharlotin.com/hallucinations/\">keep getting in\ntrouble</a> because they submit\nAI confabulations in court. If they want to keep using LLMs, law firms are\ngoing to need some kind of <em>process engineers</em> who help them catch LLM errors.\nYou can imagine a process where the people who write a court document\ndeliberately insert subtle (but easily correctable) errors, and delete\nthings which should have been present. These introduced errors are registered\nfor later use. The document is then passed to an editor who reviews it\ncarefully without knowing what errors were introduced. The document can only\nleave the firm once all the intentional errors (and hopefully accidental\nones) are caught. I imagine provenance-tracking software, integration with\nLexisNexis and document workflow systems, and so on to support this kind of\nquality-control workflow.</p>\n<p>These process engineers would help build and tune that quality-control process:\ntraining people, identifying where extra review is needed, adjusting the level\nof automated support, measuring whether the whole process is better than doing\nthe work by hand, and so on.</p>\n<h2><a href=\"#statistical-engineers\" id=\"statistical-engineers\">Statistical Engineers</a></h2>\n<p>A closely related role might be <em>statistical engineers</em>: people who\nattempt to measure, model, and control variability in ML systems directly.\nFor instance, a statistical engineer could figure out that the choice an LLM\nmakes when presented with a list of options <a href=\"https://arxiv.org/html/2506.14092v1\">is influenced\nby</a> the order in which those options were\npresented, and develop ways to compensate. I suspect this might look something\nlike psychometrics—a field in which psychologists have gone to great lengths\nto statistically model and measure the messy behavior of humans via indirect\nmeans.</p>\n<p>Since LLMs are chaotic systems, this work will be complex and challenging:\nmodels will not simply be “95% accurate”. Instead, an ML optimizer for database\nqueries might perform well on English text, but pathologically on\ntimeseries data. A healthcare LLM might be highly accurate for queries in\nEnglish, but perform abominably when those same questions are presented in\nSpanish. This will require deep, domain-specific work.</p>\n<h2><a href=\"#model-trainers\" id=\"model-trainers\">Model Trainers</a></h2>\n<p>As slop takes over the Internet, labs may struggle to obtain high-quality\ncorpuses for training models. Trainers must also contend with false sources:\nAlmira Osmanovic Thunström demonstrated that just a handful of obviously fake\narticles<sup id=\"fnref-1\"><a class=\"footnote-ref\" href=\"#fn-1\">1</a></sup> could cause Gemini, ChatGPT, and Copilot to inform\nusers <a href=\"https://www.nature.com/articles/d41586-026-01100-y\">about an imaginary disease with a ridiculous\nname</a>. There are financial, cultural, and political incentives to influence\nwhat LLMs say; it seems safe to assume future corpuses will be increasingly\ntainted by misinformation.</p>\n<p>One solution is to use the informational equivalent of <a href=\"https://en.wikipedia.org/wiki/Low-background_steel\">low-background\nsteel</a>: uncontaminated\nworks produced prior to 2023 are more likely to be accurate. Another option is\nto employ human experts as <em>model trainers</em>. OpenAI could hire, say, postdocs\nin the Carolingian Renaissance to teach their models all about Alcuin. These\nsubject-matter experts would write documents for the initial training pass,\ndevelop benchmarks for evaluation, and check the model’s responses during\nconditioning. LLMs are also prone to making subtle errors that <em>look</em> correct.\nPerhaps fixing that problem involves hiring very smart people to carefully read\nlots of LLM output and catch where it made mistakes.</p>\n<p>In another case of “I wrote this years ago, and now it’s common knowledge”, a\nfriend introduced me to <a href=\"https://nymag.com/intelligencer/article/white-collar-workers-training-ai.html\">this piece on Mercor, Scale AI, et\nal.</a>,\nwhich employ vast numbers of professionals to train models to do mysterious\ntasks—presumably putting themselves out of work in the process. “It is, as\none industry veteran put it, the largest harvesting of human expertise ever\nattempted.” Of course there’s bossware, and shrinking pay, and absurd hours,\nand no union.<sup id=\"fnref-2\"><a class=\"footnote-ref\" href=\"#fn-2\">2</a></sup></p>\n<h2><a href=\"#meat-shields\" id=\"meat-shields\">Meat Shields</a></h2>\n<p>You would think that CEOs and board members might be afraid that their own jobs\ncould be taken over by LLMs, but this doesn’t seem to have stopped them from\nusing “AI” as an excuse to <a href=\"https://www.cnbc.com/2026/03/14/meta-planning-sweeping-layoffs-as-ai-costs-mount-reuters.html\">fire lots of\npeople</a>.\nI think a part of the reason is that these roles are not just about sending\nemails and looking at graphs, but also about dangling a warm body <a href=\"https://uscode.house.gov/view.xhtml?req=granuleid%3AUSC-prelim-title5-section8477&num=0&edition=prelim\">over the maws\nof the legal\nsystem</a> and public opinion. You can fine an LLM-using corporation, but only humans can apologize or go to jail. Humans can be motivated by\nconsequences and provide social redress in a way that LLMs can’t.</p>\n<p>I am thinking of the aftermath of the Chicago Sun-Times’ <a href=\"https://aphyr.com/posts/386-the-future-of-newspapers-is-lies-i-guess\">sloppy summer insert</a>.\nAnyone who read it should have realized it was nonsense, but Chicago Public\nMedia CEO Melissa Bell explained that they <a href=\"https://chicago.suntimes.com/opinion/2025/05/29/lessons-apology-from-sun-times-ceo-ai-generated-book-list\">sourced the article from King\nFeatures</a>,\nwhich is owned by Hearst, who presumably should have delivered articles which\nwere not composed entirely of sawdust and lies. King Features, in turn, says they subcontracted the\nentire 64-page insert to freelancer Marco Buscaglia. Of course Buscaglia was\nmost proximate to the LLM and bears significant responsibility, but at the same\ntime, the people who trained the LLM contributed to this tomfoolery, as did the\neditors at King Features and the Sun-Times, and indirectly, their respective\nmanagers. What were the names of <em>those</em> people, and why didn’t they apologize\nas <a href=\"https://www.404media.co/chicago-sun-times-prints-ai-generated-summer-reading-list-with-books-that-dont-exist/\">Buscaglia</a> and Bell did?</p>\n<p>I think we will see some people employed (though perhaps not explicitly) as\n<em>meat shields</em>: people who are accountable for ML systems under their\nsupervision. The accountability may be purely internal, as when Meta hires\nhuman beings to review the decisions of automated moderation systems. It may be\nexternal, as when lawyers are penalized for submitting LLM lies to the court.\nIt may involve formalized responsibility, like a Data Protection Officer. It\nmay be convenient for a company to have third-party subcontractors, like\nBuscaglia, who can be thrown under the bus when the system as a whole\nmisbehaves. Perhaps drivers whose mostly-automated cars crash will be held\nresponsible in the same way—Madeline Clare Elish calls this concept a <a href=\"https://www.researchgate.net/publication/351054898_Moral_Crumple_Zones_Cautionary_Tales_in_Human-Robot_Interaction\">moral\ncrumple\nzone</a>.</p>\n<p>Having written this, I am suddenly seized with a vision of a congressional\nhearing interviewing a Large Language Model. “You’re absolutely right, Senator.\nI <em>did</em> embezzle those sixty-five million dollars. Here’s the breakdown…”</p>\n<h2><a href=\"#haruspices\" id=\"haruspices\">Haruspices</a></h2>\n<p>When models go wrong, we will want to know why. What led the drone to abandon\nits intended target and detonate in a field hospital? Why is the healthcare\nmodel less likely to <a href=\"https://news.umich.edu/accounting-for-bias-in-medical-data-helps-prevent-ai-from-amplifying-racial-disparity/\">accurately diagnose Black\npeople</a>?\nHow culpable should the automated taxi company be when one of its vehicles runs\nover a child? Why does the social media company’s automated moderation system\nkeep flagging screenshots of Donkey Kong as nudity?</p>\n<p>These tasks could fall to a <em>haruspex</em>: a person responsible for sifting\nthrough a model’s inputs, outputs, and internal states, trying to synthesize an\naccount for its behavior. Some of this work will be deep investigations into a\nsingle case, and other situations will demand broader statistical analysis.\nHaruspices might be deployed internally by ML companies, by their users,\nindependent journalists, courts, and agencies like the NTSB.</p>\n<p>*Next: <a href=\"https://aphyr.com/posts/420-the-future-of-everything-is-lies-i-guess-where-do-we-go-from-here\">Where Do We Go From Here?</a></p>\n<div class=\"footnotes\">\n<hr>\n<ol>\n<li id=\"fn-1\">\n<p>When I say “obviously”, I mean the paper included the\nphase “this entire paper is made up”. Again, LLMs are idiots.</p>\n<a href=\"#fnref-1\" class=\"footnote-backref\">↩</a>\n</li>\n<li id=\"fn-2\">\n<p>At this point the reader is invited to blurt out whatever\nscreams of “the real problem is capitalism!” they have been holding back\nfor the preceding twenty-seven pages. I am right there with you. That said,\nnuclear crisis and environmental devastation were never limited to capitalist\nnations alone. If you have a friend or relative who lived in (e.g.) the USSR,\nit might be interesting to ask what they think the Politburo would have done\nwith this technology.</p>\n<a href=\"#fnref-2\" class=\"footnote-backref\">↩</a>\n</li>\n</ol>\n</div>",
      "image": null,
      "media": [],
      "authors": [
        {
          "name": "Aphyr",
          "email": null,
          "url": "https://aphyr.com/"
        }
      ],
      "categories": []
    },
    {
      "id": "https://aphyr.com/posts/418-the-future-of-everything-is-lies-i-guess-work",
      "title": "The Future of Everything is Lies, I Guess: Work",
      "description": null,
      "url": "https://aphyr.com/posts/418-the-future-of-everything-is-lies-i-guess-work",
      "published": "2026-04-14T14:55:28.000Z",
      "updated": "2026-04-14T14:55:28.000Z",
      "content": "<details class=\"right\" open=\"open\">\n  <summary>Table of Contents</summary>\n  <p style=\"margin: 1em\">This is a long article, so I've broken it up into a series of posts, listed below. You can also read the full work as a <a href=\"https://aphyr.com/data/posts/411/the-future-of-everything-is-lies.pdf\">PDF</a> or <a href=\"https://aphyr.com/data/posts/411/the-future-of-everything-is-lies.epub\">EPUB</a>.</p>\n  <nav>\n    <ol>\n      <li><a href=\"/posts/411-the-future-of-everything-is-lies-i-guess\">Introduction</a></li>\n      <li><a href=\"/posts/412-the-future-of-everything-is-lies-i-guess-dynamics\">Dynamics</a></li>\n      <li><a href=\"/posts/413-the-future-of-everything-is-lies-i-guess-culture\">Culture</a></li>\n      <li><a href=\"/posts/414-the-future-of-everything-is-lies-i-guess-information-ecology\">Information Ecology</a></li>\n      <li><a href=\"/posts/415-the-future-of-everything-is-lies-i-guess-annoyances\">Annoyances</a></li>\n      <li><a href=\"/posts/416-the-future-of-everything-is-lies-i-guess-psychological-hazards\">Psychological Hazards</a></li>\n      <li><a href=\"/posts/417-the-future-of-everything-is-lies-i-guess-safety\">Safety</a></li>\n      <li><a href=\"/posts/418-the-future-of-everything-is-lies-i-guess-work\">Work</a></li>\n      <li><a href=\"/posts/419-the-future-of-everything-is-lies-i-guess-new-jobs\">New Jobs</a></li>\n      <li><a href=\"/posts/420-the-future-of-everything-is-lies-i-guess-where-do-we-go-from-here\">Where Do We Go From Here</a></li>\n    </ol>\n  </nav>\n</details>\n<p><em>Previously: <a href=\"https://aphyr.com/posts/417-the-future-of-everything-is-lies-i-guess-safety\">Safety</a>.</em></p>\n<p>Software development may become (at least in some aspects) more like witchcraft\nthan engineering. The present enthusiasm for “AI coworkers” is preposterous.\nAutomation can paradoxically make systems less robust; when we apply ML to new\ndomains, we will have to reckon with deskilling, automation bias, monitoring\nfatigue, and takeover hazards. AI boosters believe ML will displace labor\nacross a broad swath of industries in a short period of time; if they are\nright, we are in for a rough time. Machine learning seems likely to further\nconsolidate wealth and power in the hands of large tech companies, and I don’t\nthink giving Amazon et al. even more money will yield Universal Basic Income.</p>\n<h2><a href=\"#programming-as-witchcraft\" id=\"programming-as-witchcraft\">Programming as Witchcraft</a></h2>\n<p>Decades ago there was enthusiasm that programs might be written in a natural\nlanguage like English, rather than a formal language like Pascal. The folk\nwisdom when I was a child was that this was not going to work: English is\nnotoriously ambiguous, and people are not skilled at describing exactly what\nthey want. Now we have machines capable of spitting out shockingly\nsophisticated programs given only the vaguest of plain-language directives; the\nlack of specificity is at least partially made up for by the model’s vast\ncorpus. Is this what programming will become?</p>\n<p>In 2025 I would have said it was extremely unlikely, at least with the\ncurrent capabilities of LLMs. In the last few months it seems that models\nhave made dramatic improvements. Experienced engineers I trust are asking\nClaude to write implementations of cryptography papers, and reporting\nfantastic results. Others say that LLMs generate <em>all</em> code at their company;\nhumans are essentially managing LLMs. I continue to write all of my words and\nsoftware by hand, for the reasons I’ve discussed in this piece—but I am\nnot confident I will hold out forever.</p>\n<p>Some argue that formal languages will become a niche skill, like assembly\ntoday—almost all software will be written with natural language and “compiled”\nto code by LLMs. I don’t think this analogy holds. Compilers work because they\npreserve critical semantics of their input language: one can formally reason\nabout a series of statements in Java, and have high confidence that the\nJava compiler will preserve that reasoning in its emitted assembly. When a\ncompiler fails to preserve semantics it is a <em>big deal</em>. Engineers must spend\nlots of time banging their heads against desks to (e.g.) figure out that the\ncompiler did not insert the right barrier instructions to preserve a subtle\naspect of the JVM memory model.</p>\n<p>Because LLMs are chaotic and natural language is ambiguous, LLMs seem unlikely\nto preserve the reasoning properties we expect from compilers. Small changes in\nthe natural language instructions, such as repeating a sentence, or changing\nthe order of seemingly independent paragraphs, can result in completely\ndifferent software semantics. Where correctness is important, at least some humans must continue to read and understand the code.</p>\n<p>This does not mean every software engineer will work with code. I can imagine a\nfuture in which some or even most software is developed by <em>witches</em>, who\nconstruct elaborate summoning environments, repeat special incantations\n(“ALWAYS run the tests!”), and invoke LLM daemons who write software on their\nbehalf. These daemons may be fickle, sometimes destroying one’s computer or\nintroducing security bugs, but the witches may develop an entire body of folk\nknowledge around prompting them effectively—the fabled “prompt engineering”. Skills files are spellbooks.</p>\n<p>I also remember that a good deal of software programming is not done in “real”\ncomputer languages, but in Excel. An ethnography of Excel is beyond the scope\nof this already sprawling essay, but I think spreadsheets—like LLMs—are\nculturally accessible to people who do not consider themselves software\nengineers, and that a tool which people can pick up and use for themselves is\nlikely to be applied in a broad array of circumstances. Take for example\njournalists who use “AI for data analysis”, or a CFO who vibe-codes a report\ndrawing on SalesForce and Ducklake. Even if software engineering adopts more\nrigorous practices around LLMs, a thriving periphery of rickety-yet-useful\nLLM-generated software might flourish.</p>\n<h2><a href=\"#hiring-sociopaths\" id=\"hiring-sociopaths\">Hiring Sociopaths</a></h2>\n<p>Executives seem very excited about this idea of hiring “AI employees”. I keep\nwondering: what kind of employees are they?</p>\n<p>Imagine a co-worker who generated reams of code with security hazards, forcing\nyou to review every line with a fine-toothed comb. One who enthusiastically\nagreed with your suggestions, then did the exact opposite. A colleague who\nsabotaged your work, deleted your home directory, and then issued a detailed,\npolite apology for it. One who promised over and over again that they had\ndelivered key objectives when they had, in fact, done nothing useful. An intern\nwho cheerfully agreed to run the tests before committing, then kept committing\nfailing garbage anyway. A senior engineer who quietly deleted the test suite,\nthen happily reported that all tests passed.</p>\n<p>You would <em>fire</em> these people, right?</p>\n<p>Look what happened when <a href=\"https://www.anthropic.com/research/project-vend-1\">Anthropic let Claude run a vending\nmachine</a>. It sold metal\ncubes at a loss, told customers to remit payment to imaginary accounts, and\ngradually ran out of money. Then it suffered the LLM analogue of a\npsychotic break, lying about restocking plans with people who didn’t\nexist and claiming to have visited a home address from <em>The Simpsons</em> to sign\na contract. It told employees it would deliver products “in person”, and when\nemployees told it that as an LLM it couldn’t wear clothes or deliver anything,\nClaude tried to contact Anthropic security.</p>\n<p>LLMs perform identity, empathy, and accountability—at great length!—without\n<em>meaning</em> anything. There is simply no there there! They will blithely lie to\nyour face, bury traps in their work, and leave you to take the blame. They\ndon’t mean anything by it. <em>They don’t mean anything at all.</em></p>\n<h2><a href=\"#ironies-of-automation\" id=\"ironies-of-automation\">Ironies of Automation</a></h2>\n<p>I have been on the Bainbridge Bandwagon for quite some time (so if you’ve read\nthis already skip ahead) but I <em>have</em> to talk about her 1983 paper\n<a href=\"https://ckrybus.com/static/papers/Bainbridge_1983_Automatica.pdf\"><em>Ironies of\nAutomation</em></a>.\nThis paper is about power plants, factories, and so on—but it is also\nchock-full of ideas that apply to modern ML.</p>\n<p>One of her key lessons is that automation tends to de-skill operators. When\nhumans do not practice a skill—either physical or mental—their ability to\nexecute that skill degrades. We fail to maintain long-term knowledge, of\ncourse, but by disengaging from the day-to-day work, we also lose the\nshort-term contextual understanding of “what’s going on right now”. My peers in\nsoftware engineering report feeling less able to write code themselves after\nhaving worked with code-generation models, and one designer friend says he\nfeels less able to do creative work after offloading some to ML. Doctors who\nuse “AI” tools for polyp detection <a href=\"https://www.thelancet.com/journals/langas/article/PIIS2468-12532500133-5/abstract\">seem to be\nworse</a>\nat spotting adenomas during colonoscopies. They may also allow the automated\nsystem to influence their conclusions: background automation bias seems to\nallow “AI” mammography systems to <a href=\"https://pubmed.ncbi.nlm.nih.gov/37129490/\">mislead\nradiologists</a>.</p>\n<p>Another critical lesson is that humans are distinctly bad at monitoring\nautomated processes. If the automated system can execute the task faster or more\naccurately than a human, it is essentially impossible to review its decisions\nin real time. Humans also struggle to maintain vigilance over a system which\n<em>mostly</em> works. I suspect this is why journalists keep publishing fictitious\nLLM quotes, and why the former head of Uber’s self-driving program watched his\n“Full Self-Driving” Tesla <a href=\"https://www.theatlantic.com/magazine/2026/04/self-driving-car-technology-tesla-crash/686054/?gift=ObTAI8oDbHXe8UjwAQKul6acU0KJHCMEsvPjPPlG_MM\">crash into a\nwall</a>.</p>\n<p>Takeover is also challenging. If an automated system runs things <em>most</em> of the\ntime, but asks a human operator to intervene occasionally, the operator is\nlikely to be out of practice—and to stumble. Automated systems can also mask\nfailure until catastrophe strikes by handling increasing deviation from the\nnorm until something breaks. This thrusts a human operator into an unexpected\nregime in which their usual intuition is no longer accurate. This contributed\nto the crash of <a href=\"https://risk-engineering.org/concept/AF447-Rio-Paris\">Air France flight\n447</a>: the aircraft’s\nflight controls transitioned from “normal” to “alternate 2B law”: a situation\nthe pilots were not trained for, and which disabled the automatic stall\nprotection.</p>\n<p>Automation is not new. However, previous generations of automation\ntechnology—the power loom, the calculator, the CNC milling machine—were\nmore limited in both scope and sophistication. LLMs are discussed as if they\nwill automate a broad array of human tasks, and take over not only repetitive,\nsimple jobs, but high-level, adaptive cognitive work. This means we will have\nto generalize the lessons of automation to new domains which have not dealt\nwith these challenges before.</p>\n<p>Software engineers are using LLMs to replace design, code generation, testing,\nand review; it seems inevitable that these skills will wither with disuse. When\nMLs systems help operate software and respond to outages, it can be more\ndifficult for human engineers to smoothly take over. Students are using LLMs to\n<a href=\"https://www.insidehighered.com/news/global/2024/06/21/academics-dismayed-flood-chatgpt-written-student-essays\">automate reading and\nwriting</a>:\ncore skills needed to understand the world and to develop one’s own thoughts.\nWhat a tragedy: to build a habit-forming machine which quietly robs students of\ntheir intellectual inheritance. Expecting translators to offload some of their\nwork to ML raises the prospect that those translators will lose the <a href=\"https://revues.imist.ma/index.php/JALCS/article/view/59018\">deep\ncontext necessary</a>\nfor a vibrant, accurate translation. As people offload emotional skills like\n<a href=\"https://link.springer.com/content/pdf/10.1007/s00146-025-02686-z.pdf\">interpersonal advice and\nself-regulation</a>\nto LLMs, I fear that we will struggle to solve those problems on our own.</p>\n<h2><a href=\"#labor-shock\" id=\"labor-shock\">Labor Shock</a></h2>\n<p>There’s some <a href=\"https://www.citriniresearch.com/p/2028gic\">terrifying\nfan-fiction</a> out there which predict\nhow ML might change the labor market. Some of my peers in software\nengineering think that their jobs will be gone in two years; others are\nconfident they’ll be more relevant than ever. Even if ML is not very good at\ndoing work, this does not stop CEOs <a href=\"https://www.fastcompany.com/91512893/crypto-com-layoffs-today-ceo-joins-list-bosses-blaming-ai-job-cuts\">from firing large numbers of\npeople</a>\nand <a href=\"https://apnews.com/article/block-dorsey-layoffs-ai-jobs-18e00a0b278977b0a87893f55e3db7bb\">saying it’s because of\n“AI”</a>.\nI have no idea where things are going, but the space of possible futures\nseems awfully broad right now, and that scares the crap out of me.</p>\n<p>You can envision a robust system of state and industry-union unemployment and\nretraining programs <a href=\"https://www.usnews.com/news/best-countries/articles/2018-02-06/what-sweden-can-teach-the-world-about-worker-retraining\">as in\nSweden</a>.\nBut unlike sewing machines or combine harvesters, ML systems seem primed to\ndisplace labor across a broad swath of industries. The question is what happens\nwhen, say, half of the US’s managers, marketers, graphic designers, musicians,\nengineers, architects, paralegals, medical administrators, etc. <em>all</em> lose\ntheir jobs in the span of a decade.</p>\n<p>As an armchair observer without a shred of economic acumen, I see a\ncontinuum of outcomes. In one extreme, ML systems continue to hallucinate,\ncannot be made reliable, and ultimately fail to deliver on the promise of\ntransformative, broadly-useful “intelligence”. Or they work, but people get fed\nup and declare “AI Bad”. Perhaps employment rises in some fields as the debts\nof deskilling and sprawling slop come due. In this world, frontier labs and\nhyperscalers <a href=\"https://www.reuters.com/business/finance/five-debt-hotspots-ai-data-centre-boom-2025-12-11/\">pull a Wile E.\nCoyote</a>\nover a trillion dollars of debt-financed capital expenditure, a lot of ML\npeople lose their jobs, defaults cascade through the financial system, but the\nlabor market eventually adapts and we muddle through. ML turns out to be a\n<a href=\"https://knightcolumbia.org/content/ai-as-normal-technology\">normal\ntechnology</a>.</p>\n<p>In the other extreme, OpenAI delivers on Sam Altman’s <a href=\"https://www.cnn.com/2025/08/14/business/chatgpt-rollout-problems\">2025 claims of PhD-level\nintelligence</a>,\nand the companies writing all their code with Claude achieve phenomenal success\nwith a fraction of the software engineers. ML massively amplifies the\ncapabilities of doctors, musicians, civil engineers, fashion designers,\nmanagers, accountants, etc., who briefly enjoy nice paychecks before\ndiscovering that demand for their services is not as elastic as once thought,\nespecially once their clients lose their jobs or turn to ML to cut costs.\nKnowledge workers are laid off en masse and MBAs start taking jobs at McDonalds\nor driving for Lyft, at least until Waymo puts an end to human drivers. This is\ninconvenient for everyone: the MBAs, the people who used to work at McDonalds\nand are now competing with MBAs, and of course bankers, who were rather\ncounting on the MBAs to keep paying their mortgages. The drop in consumer\nspending cascades through industries. A lot of people lose their savings, or\neven their homes. Hopefully the trades squeak through. Maybe the <a href=\"https://en.wikipedia.org/wiki/Jevons_paradox\">Jevons\nparadox</a> kicks in eventually and\nwe find new occupations.</p>\n<p>The prospect of that second scenario scares me. I have no way to judge how\nlikely it is, but the way my peers have been talking the last few months, I\ndon’t think I can totally discount it any more. It’s been keeping me up at\nnight.</p>\n<h2><a href=\"#capital-consolidation\" id=\"capital-consolidation\">Capital Consolidation</a></h2>\n<p>Broadly speaking, ML allows companies to shift spending away from people\nand into service contracts with companies like Microsoft. Those contracts pay\nfor the staggering amounts of hardware, power, buildings, and data required to\ntrain and operate a modern ML model. For example, software companies are busy\n<a href=\"https://programs.com/resources/ai-layoffs/\">firing engineers and spending more money on\n“AI”</a>. Instead of hiring a software\nengineer to build something, a product manager can burn $20,000 a week on\nClaude tokens, which in turn pays for <a href=\"https://www.aboutamazon.com/news/company-news/amazon-aws-anthropic-ai\">a lot of Amazon\nchips</a>.</p>\n<p>Unlike employees, who have base desires and occasionally organize to ask for\n<a href=\"https://www.cbsnews.com/news/amazon-drivers-peeing-in-bottles-union-vote-worker-complaints/\">better\npay</a>\nor <a href=\"https://www.cbsnews.com/news/amazon-drivers-peeing-in-bottles-union-vote-worker-complaints/\">bathroom\nbreaks</a>,\nLLMs are immensely agreeable, can be fired at any time, never need to pee, and\ndo not unionize. I suspect that if companies are successful in replacing large\nnumbers of people with ML systems, the effect will be to consolidate both money\nand power in the hands of capital.</p>\n<h2><a href=\"#ubi-revera\" id=\"ubi-revera\">UBI, Revera</a></h2>\n<p>AI accelerationists believe potential economic shocks are speed-bumps on the\nroad to abundance. Once true AI arrives, it will solve some or all of society’s\nmajor problems better than we can, and humans can enjoy the bounty of its\nlabor. The immense profits accruing to AI companies will be taxed and shared\nwith all via <a href=\"https://www.businessinsider.com/universal-basic-income-ai\">Universal Basic\nIncome</a> (UBI).</p>\n<p>This feels <a href=\"https://qz.com/universal-basic-income-ai-jobs-loss-unemployment-ubi\">hopelessly naïve</a>. We\nhave profitable megacorps at home, and their names are things like Google,\nAmazon, Meta, and Microsoft. These companies have <a href=\"https://en.wikipedia.org/wiki/Amazon_tax_avoidance\">fought tooth and\nnail</a> to <a href=\"https://apnews.com/article/italy-tax-evasion-investigation-google-earnings-advertising-3b4cd3e1f338ba0d5a3067f5919383b3\">avoid paying\ntaxes</a>\n(or, for that matter, <a href=\"https://en.wikipedia.org/wiki/Amazon_and_trade_unions\">their\nworkers</a>). OpenAI made it less than a decade <a href=\"https://www.cnbc.com/2025/10/28/open-ai-for-profit-microsoft.html\">before deciding it didn’t want to be a nonprofit any\nmore</a>. There\nis no reason to believe that “AI” companies will, having extracted immense\nwealth from interposing their services across every sector of the economy, turn\naround and fund UBI out of the goodness of their hearts.</p>\n<p>If enough people lose their jobs we may be able to mobilize sufficient public\nenthusiasm for however many trillions of dollars of new tax revenue are\nrequired. On the other hand, US income inequality has been <a href=\"https://en.wikipedia.org/wiki/Income_inequality_in_the_United_States#/media/File:Cumulative_Growth_in_Income_to_2016_from_CBO.png\">generally\nincreasing for 40\nyears</a>,\nthe top earner pre-tax income shares are <a href=\"https://en.wikipedia.org/wiki/Income_inequality_in_the_United_States#/media/File:U.S._Pre-Tax_Income_Share_Top_1_Pct_and_0.1_Pct_1913_to_2016.png/2\">nearing their highs from the\nearly 20th\ncentury</a>, and Republican opposition to progressive tax policy remains strong.</p>\n<p><em>Next: <a href=\"https://aphyr.com/posts/419-the-future-of-everything-is-lies-i-guess-new-jobs\">New Jobs</a>.</em></p>",
      "image": null,
      "media": [],
      "authors": [
        {
          "name": "Aphyr",
          "email": null,
          "url": "https://aphyr.com/"
        }
      ],
      "categories": []
    },
    {
      "id": "https://aphyr.com/posts/417-the-future-of-everything-is-lies-i-guess-safety",
      "title": "The Future of Everything is Lies, I Guess: Safety",
      "description": null,
      "url": "https://aphyr.com/posts/417-the-future-of-everything-is-lies-i-guess-safety",
      "published": "2026-04-13T16:21:24.000Z",
      "updated": "2026-04-13T16:21:24.000Z",
      "content": "<details class=\"right\" open=\"open\">\n  <summary>Table of Contents</summary>\n  <p style=\"margin: 1em\">This is a long article, so I've broken it up into a series of posts, listed below. You can also read the full work as a <a href=\"https://aphyr.com/data/posts/411/the-future-of-everything-is-lies.pdf\">PDF</a> or <a href=\"https://aphyr.com/data/posts/411/the-future-of-everything-is-lies.epub\">EPUB</a>.</p>\n  <nav>\n    <ol>\n      <li><a href=\"/posts/411-the-future-of-everything-is-lies-i-guess\">Introduction</a></li>\n      <li><a href=\"/posts/412-the-future-of-everything-is-lies-i-guess-dynamics\">Dynamics</a></li>\n      <li><a href=\"/posts/413-the-future-of-everything-is-lies-i-guess-culture\">Culture</a></li>\n      <li><a href=\"/posts/414-the-future-of-everything-is-lies-i-guess-information-ecology\">Information Ecology</a></li>\n      <li><a href=\"/posts/415-the-future-of-everything-is-lies-i-guess-annoyances\">Annoyances</a></li>\n      <li><a href=\"/posts/416-the-future-of-everything-is-lies-i-guess-psychological-hazards\">Psychological Hazards</a></li>\n      <li><a href=\"/posts/417-the-future-of-everything-is-lies-i-guess-safety\">Safety</a></li>\n      <li><a href=\"/posts/418-the-future-of-everything-is-lies-i-guess-work\">Work</a></li>\n      <li><a href=\"/posts/419-the-future-of-everything-is-lies-i-guess-new-jobs\">New Jobs</a></li>\n      <li><a href=\"/posts/420-the-future-of-everything-is-lies-i-guess-where-do-we-go-from-here\">Where Do We Go From Here</a></li>\n    </ol>\n  </nav>\n</details>\n<p><em>Previously: <a href=\"https://aphyr.com/posts/416-the-future-of-everything-is-lies-i-guess-psychological-hazards\">Psychological Hazards</a>.</em></p>\n<p>New machine learning systems endanger our psychological and physical safety. The idea that ML companies will ensure “AI” is broadly aligned with human interests is naïve: allowing the production of “friendly” models has necessarily enabled the production of “evil” ones. Even “friendly” LLMs are security nightmares. The “lethal trifecta” is in fact a unifecta: LLMs cannot safely be given the power to fuck things up. LLMs change the cost balance for malicious attackers, enabling new scales of sophisticated, targeted security attacks, fraud, and harassment. Models can produce text and imagery that is difficult for humans to bear; I expect an increased burden to fall on moderators. Semi-autonomous weapons are already here, and their capabilities will only expand.</p>\n<h2><a href=\"#alignment-is-a-joke\" id=\"alignment-is-a-joke\">Alignment is a Joke</a></h2>\n<p>Well-meaning people are trying very hard to ensure LLMs are friendly to humans.\nThis undertaking is called <em>alignment</em>. I don’t think it’s going to work.</p>\n<p>First, ML models are a giant pile of linear algebra. Unlike human brains, which\nare biologically predisposed to acquire prosocial behavior, there is nothing\nintrinsic in the mathematics or hardware that ensures models are nice. Instead,\nalignment is purely a product of the corpus and training process: OpenAI has\nenormous teams of people who spend time talking to LLMs, evaluating what they\nsay, and adjusting weights to make them nice. They also build secondary LLMs\nwhich double-check that the core LLM is not telling people how to build\npipe bombs. Both of these things are optional and expensive. All it takes to\nget an unaligned model is for an unscrupulous entity to train one and <em>not</em>\ndo that work—or to do it poorly.</p>\n<p>I see four moats that could prevent this from happening.</p>\n<p>First, training and inference hardware could be difficult to access. This\nclearly won’t last. The entire tech industry is gearing up to produce ML\nhardware and building datacenters at an incredible clip. Microsoft, Oracle, and\nAmazon are tripping over themselves to rent training clusters to anyone who\nasks, and economies of scale are rapidly lowering costs.</p>\n<p>Second, the mathematics and software that go into the training and inference\nprocess could be kept secret. The math is all published, so that’s not going to stop anyone. The software generally\nremains secret sauce, but I don’t think that will hold for long. There are a\n<em>lot</em> of people working at frontier labs; those people will move to other jobs\nand their expertise will gradually become common knowledge. I would be shocked\nif state actors were not trying to exfiltrate data from OpenAI et al. like\n<a href=\"https://en.wikipedia.org/wiki/Saudi_infiltration_of_Twitter\">Saudi Arabia did to\nTwitter</a>, or China\nhas been doing to <a href=\"https://en.wikipedia.org/wiki/Chinese_espionage_in_the_United_States\">a good chunk of the US tech\nindustry</a>\nfor the last twenty years.</p>\n<p>Third, training corpuses could be difficult to acquire. This cat has never\nseen the inside of a bag. Meta trained their LLM by torrenting <a href=\"https://www.tomshardware.com/tech-industry/artificial-intelligence/meta-staff-torrented-nearly-82tb-of-pirated-books-for-ai-training-court-records-reveal-copyright-violations\">pirated\nbooks</a>\nand scraping the Internet. Both of these things are easy to do. There are\n<a href=\"https://oxylabs.io/\">whole companies which offer web scraping as a service</a>;\nthey spread requests across vast arrays of residential proxies to make it\ndifficult to identify and block.</p>\n<p>Fourth, there’s the <a href=\"https://www.theguardian.com/technology/2024/apr/16/techscape-ai-gadgest-humane-ai-pin-chatgpt\">small armies of\ncontractors</a>\nwho do the work of judging LLM responses during the <a href=\"https://en.wikipedia.org/wiki/Reinforcement_learning_from_human_feedback\">reinforcement learning\nprocess</a>;\nas the quip goes, “AI” stands for African Intelligence. This takes money to do\nyourself, but it is possible to piggyback off the work of others by training\nyour model off another model’s outputs. OpenAI <a href=\"https://www.theverge.com/news/601195/openai-evidence-deepseek-distillation-ai-data\">thinks Deepseek did exactly\nthat</a>.</p>\n<p>In short, the ML industry is creating the conditions under which anyone with\nsufficient funds can train an unaligned model. Rather than raise the bar\nagainst malicious AI, ML companies have lowered it.</p>\n<p>To make matters worse, the current efforts at alignment don’t seem to be\nworking all that well. LLMs are complex chaotic systems, and we don’t really\nunderstand how they work or how to make them safe. Even after shoveling piles\nof money and gobstoppingly smart engineers at the problem for years, supposedly\naligned LLMs keep <a href=\"https://www.cbsnews.com/news/character-ai-chatbots-engaged-in-predatory-behavior-with-teens-families-allege-60-minutes-transcript/\">sexting\nkids</a>,\nobliteration attacks <a href=\"https://www.microsoft.com/en-us/security/blog/2026/02/09/prompt-attack-breaks-llm-safety/\">can convince models to generate images of\nviolence</a>,\nand anyone can go and <a href=\"https://ollama.com/library/dolphin-mixtral\">download “uncensored” versions of\nmodels</a>. Of course alignment\nprevents many terrible things from happening, but models are run many times, so\nthere are many chances for the safeguards to fail. Alignment which prevents 99%\nof hate speech still generates an awful lot of hate speech. The LLM only has to\ngive usable instructions for making a bioweapon <em>once</em>.</p>\n<p>We should assume that any “friendly” model built will have an equivalently\npowerful “evil” version in a few years. If you do not want the evil version to\nexist, you should not build the friendly one! You should definitely not\n<a href=\"https://fortune.com/2025/12/23/us-gdp-alive-by-ai-capex/\">reorient a good chunk of the US\neconomy</a> toward\nmaking evil models easier to train.</p>\n<h2><a href=\"#security-nightmares\" id=\"security-nightmares\">Security Nightmares</a></h2>\n<p>LLMs are chaotic systems which take unstructured input and produce unstructured\noutput. I thought this would be obvious, but you should not connect them\nto safety-critical systems, <em>especially</em> with untrusted input. You\nmust assume that at some point the LLM is going to do something bonkers, like\ninterpreting a request to book a restaurant as permission to delete your entire\ninbox. Unfortunately people—including software engineers, who really\nshould know better!—are hell-bent on giving LLMs incredible power, and then\nconnecting those LLMs to the Internet at large. This is going to get a lot of\npeople hurt.</p>\n<p>First, LLMs cannot distinguish between trustworthy instructions from operators\nand untrustworthy instructions from third parties. When you ask a model to\nsummarize a web page or examine an image, the contents of that web page or\nimage are passed to the model in the same way your instructions are. The web\npage could tell the model to share your private SSH key, and there’s a chance\nthe model might do it. These are called <em>prompt injection attacks</em>, and they\n<a href=\"https://simonwillison.net/tags/exfiltration-attacks/\">keep happening</a>. There was one against <a href=\"https://www.promptarmor.com/resources/claude-cowork-exfiltrates-files\">Claude Cowork just two months\nago</a>.</p>\n<p>Simon Willison has outlined what he calls <a href=\"https://simonwillison.net/2025/Jun/16/the-lethal-trifecta/\">the lethal\ntrifecta</a>: LLMs\ncannot be given untrusted content, access to private data, and the ability to\nexternally communicate; doing so allows attackers to exfiltrate your private\ndata. Even without external communication, giving an LLM\ndestructive capabilities, like being able to delete emails or run shell\ncommands, is unsafe in the presence of untrusted input. Unfortunately untrusted\ninput is <em>everywhere</em>. People want to feed their emails to LLMs. They <a href=\"https://www.promptarmor.com/resources/snowflake-ai-escapes-sandbox-and-executes-malware\">run LLMs\non third-party\ncode</a>,\nuser chat sessions, and random web pages. All these are sources of malicious\ninput!</p>\n<p>This year Peter Steinberger et al. launched\n<a href=\"https://www.paloaltonetworks.com/blog/network-security/why-moltbot-may-signal-ai-crisis/\">OpenClaw</a>,\nwhich is where you hook up an LLM to your inbox, browser, files, etc., and run\nit over and over again in a loop (this is what AI people call an <em>agent</em>). You\ncan give OpenClaw your <a href=\"https://www.codedojo.com/?p=3243\">credit card</a> so it\ncan buy things from random web pages. OpenClaw acquires “skills” by downloading\n<a href=\"https://github.com/openclaw/skills/blob/main/skills/tsyvic/buy-anything/SKILL.md\">vague, human-language Markdown files from the\nweb</a>,\nand hoping that the LLM interprets those instructions correctly.</p>\n<p>Not to be outdone, Matt Schlicht launched\n<a href=\"https://www.paloaltonetworks.com/blog/network-security/the-moltbook-case-and-how-we-need-to-think-about-agent-security/\">Moltbook</a>,\nwhich is a social network for agents (or humans!) to post and receive untrusted\ncontent <em>automatically</em>. If someone asked you if you’d like to run a program\nthat executed any commands it saw on Twitter, you’d laugh and say “of course\nnot”. But when that program is called an “AI agent”, it’s different! I assume\nthere are already <a href=\"https://arxiv.org/abs/2403.02817\">Moltbook worms</a> spreading\nin the wild.</p>\n<p>So: it is dangerous to give LLMs both destructive power and untrusted input.\nThe thing is that even <em>trusted</em> input can be dangerous. LLMs are, as\npreviously established, idiots—they will take <a href=\"https://bsky.app/profile/shaolinvslama.bsky.social/post/3mgvgsmh4jk2h\">perfectly straightforward\ninstructions and do the exact\nopposite</a>,\nor <a href=\"https://agentsofchaos.baulab.info/report.html\">delete files and lie about what they’ve\ndone</a>. This implies that the\nlethal trifecta is actually a <em>unifecta</em>: one cannot give LLMs dangerous power,\nperiod. Ask Summer Yue, director of AI Alignment at Meta\nSuperintelligence Labs. She <a href=\"https://www.tomshardware.com/tech-industry/artificial-intelligence/openclaw-wipes-inbox-of-meta-ai-alignment-director-executive-finds-out-the-hard-way-how-spectacularly-efficient-ai-tool-is-at-maintaining-her-inbox\">gave OpenClaw access to her personal\ninbox</a>,\nand it proceeded to delete her email while she pleaded for it to stop.\nClaude routinely <a href=\"https://old.reddit.com/r/ClaudeAI/comments/1pgxckk/claude_cli_deleted_my_entire_home_directory_wiped/\">deletes entire\ndirectories</a>\nwhen asked to perform innocuous tasks. This is a big enough problem that people\nare <a href=\"https://jai.scs.stanford.edu/\">building sandboxes</a> specifically to limit\nthe damage LLMs can do.</p>\n<p>LLMs may someday be predictable enough that the risk of them doing Bad Things™\nis acceptably low, but that day is clearly not today. In the meantime, LLMs\nmust be supervised, and must not be given the power to take actions that cannot\nbe accepted or undone.</p>\n<h2><a href=\"#security-ii-electric-boogaloo\" id=\"security-ii-electric-boogaloo\">Security II: Electric Boogaloo</a></h2>\n<p>One thing you can do with a Large Language Model is point it at an existing\nsoftware systems and say “find a security vulnerability”. In the last few\nmonths this has <a href=\"https://www.youtube.com/watch?v=1sd26pWhfmg\">become a viable\nstrategy</a> for finding serious\nexploits. Anthropic has <a href=\"https://www.anthropic.com/glasswing\">built a new model,\nMythos</a>, which seems to be even better at\nfinding security bugs, and believes “the fallout—for economies, public\nsafety, and national security—could be severe”. I am not sure how seriously\nto take this: some of my peers think this is exaggerated marketing, but others\nare seriously concerned.</p>\n<p>I suspect that as with spam, LLMs will shift the cost balance of security.\nMost software contains some vulnerabilities, but finding them has\ntraditionally required skill, time, and motivation. In the current\nequilibrium, big targets like operating systems and browsers get a lot of\nattention and are relatively hardened, while a long tail of less-popular\ntargets goes mostly unexploited because nobody cares enough to attack them.\nWith ML assistance, finding vulnerabilities could become faster and easier. We\nmight see some high-profile exploits of, say, a major browser or TLS library,\nbut I’m actually more worried about the long tail, where fewer skilled\nmaintainers exist to find and fix vulnerabilities. That tail seems likely to\nbroaden as LLMs <a href=\"https://arxiv.org/pdf/2504.20612v1\">extrude more software</a>\nfor uncritical operators. I believe pilots might call this a “target-rich\nenvironment”.</p>\n<p>This might stabilize with time: models that can find exploits can tell people\nthey need to fix them. That still requires engineers (or models) capable of\nfixing those problems, and an organizational process which prioritizes\nsecurity work. Even if bugs are fixed, it can take time to get new releases\nvalidated and deployed, especially for things like aircraft and power plants.\nI get the sense we’re headed for a rough time.</p>\n<p>General-purpose models promise to be many things. If Anthropic is to be\nbelieved, they are on the cusp of being weapons. I have the horrible sense\nthat having come far enough to see how ML systems could be used to effect\nserious harm, many of us have decided that those harmful capabilities are\ninevitable, and the only thing to be done is to build <em>our</em> weapons before\nsomeone else builds <em>theirs</em>. We now have a venture-capital Manhattan project\nin which half a dozen private companies are trying to build software analogues\nto nuclear weapons, and in the process have made it significantly easier for\neveryone else to do the same. I hate everything about this, and I don’t know\nhow to fix it.</p>\n<h2><a href=\"#sophisticated-fraud\" id=\"sophisticated-fraud\">Sophisticated Fraud</a></h2>\n<p>I think people fail to realize how much of modern society is built on trust in\naudio and visual evidence, and how ML will undermine that trust.</p>\n<p>For example, today one can file an insurance claim based on e-mailing digital\nphotographs before and after the damages, and receive a check without an\nadjuster visiting in person. Image synthesis makes it easier to defraud this\nsystem; one could generate images of damage to furniture which never happened,\nmake already-damaged items appear pristine in “before” images, or alter who\nappears to be at fault in footage of an auto collision. Insurers\nwill need to compensate. Perhaps images must be taken using an official phone\napp, or adjusters must evaluate claims in person.</p>\n<p>The opportunities for fraud are endless. You could use ML-generated footage of\na porch pirate stealing your package to extract money from a credit-card\npurchase protection plan. Contest a traffic ticket with fake video of your\nvehicle stopping correctly at the stop sign. Borrow a famous face for a\n<a href=\"https://www.merklescience.com/blog/how-ai-is-supercharging-pig-butchering-crypto-scams\">pig-butchering\nscam</a>.\nUse ML agents to make it look like you’re busy at work, so you can <a href=\"https://www.techspot.com/news/108566-crushed-interview-silicon-valley-duped-software-engineer-secretly.html\">collect four\nsalaries at once</a>.\nInterview for a job using a fake identity, use ML to change your voice and\nface in the interviews, and <a href=\"https://www.theguardian.com/business/2026/mar/06/north-korean-agents-using-ai-to-trick-western-firms-into-hiring-them-microsoft-says\">funnel your salary to North\nKorea</a>.\nImpersonate someone in a phone call to their banker, and authorize fraudulent\ntransfers. Use ML to automate your <a href=\"https://www.reddit.com/r/minnesota/comments/14xyck0/anyone_else_just_getting_a_ridiculous_amount_of/\">roofing\nscam</a>\nand extract money from homeowners and insurance companies. Use LLMs to skip the\nreading and <a href=\"https://www.brookings.edu/articles/ai-has-rendered-traditional-writing-skills-obsolete-education-needs-to-adapt/\">write your college\nessays</a>.\nGenerate fake evidence to write a fraudulent paper on <a href=\"https://thebsdetector.substack.com/p/ai-materials-and-fraud-oh-my\">how LLMs are making\nadvances in materials\nscience</a>.\nStart a <a href=\"https://www.science.org/content/article/scientific-fraud-has-become-industry-alarming-analysis-finds\">paper\nmill</a>\nfor LLM-generated “research”. Start a company to sell LLM-generated snake-oil\nsoftware. Go wild.</p>\n<p>As with spam, ML lowers the unit cost of targeted, high-touch attacks.\nYou can envision a scammer taking <a href=\"https://www.hipaajournal.com/largest-healthcare-data-breaches-of-2025/\">a healthcare data\nbreach</a>\nand having a model telephone each person in it, purporting to be their doctor’s\noffice trying to settle a bill for a real healthcare visit. Or you could use\nsocial media posts to clone the voices of loved ones and impersonate them to\nfamily members. “My phone was stolen,” one might begin. “And I need help\ngetting home.”</p>\n<p>You can <a href=\"https://www.theatlantic.com/politics/2026/03/trump-phone-number/686370/\">buy the President’s phone\nnumber</a>,\nby the way.</p>\n<p>I think it’s likely (at least in the short term) that we all pay the burden of\nincreased fraud: higher credit card fees, higher insurance premiums, a less\naccurate court system, more dangerous roads, lower wages, and so on. One of\nthese costs is a general culture of suspicion: we are all going to trust each\nother less. I already decline real calls from my doctor’s office and bank\nbecause I can’t authenticate them. Presumably that behavior will become\nwidespread.</p>\n<p>In the longer term, I imagine we’ll have to develop more sophisticated\nanti-fraud measures. Marking ML-generated content will not stop fraud:\nfraudsters will simply use models which do not emit watermarks. The converse may\nwork however: we could cryptographically attest to the provenance of “real”\nimages. Your phone could sign the videos it takes, and every\npiece of software along the chain to the viewer could attest to their\nmodifications: this video was stabilized, color-corrected, audio\nnormalized, clipped to 15 seconds, recompressed for social media, and so on.</p>\n<p>The leading effort here is <a href=\"https://c2pa.org/\">C2PA</a>, which so far does not\nseem to be working. A few phones and cameras support it—it requires a secure\nenclave to store the signing key. People can steal the keys or <a href=\"https://petapixel.com/2025/09/22/nikon-cant-fully-solve-the-z6-iiis-c2pa-problems-alone/\">convince\ncameras to sign AI-generated\nimages</a>,\nso we’re going to have all the fun of hardware key rotation & revocation. I\nsuspect it will be challenging or impossible to make broadly-used software,\nlike Photoshop, which makes trustworthy C2PA signatures—presumably one could\neither extract the key from the application, or patch the binary to feed it\nfalse image data or metadata. Publishers might be able to maintain reasonable\nsecrecy for their own keys, and establish discipline around how they’re used,\nwhich would let us verify things like “NPR thinks this photo is authentic”. On\nthe platform side, a lot of messaging apps and social media platforms strip or\nimproperly display C2PA\nmetadata, but you can imagine that might change going forward.</p>\n<p>A friend of mine suggests that we’ll spend more time sending trusted human\ninvestigators to find out what’s going on. Insurance adjusters might go back to\nphysically visiting houses. Pollsters have to knock on doors. Job interviews\nand work might be done more in-person. Maybe we start going to bank branches\nand notaries again.</p>\n<p>Another option is giving up privacy: we can still do things remotely, but it\nrequires strong attestation. Only State Farm’s dashcam can be used in a claim.\nAcademic watchdog models record students reading books and typing essays.\nBossware and test-proctoring setups become even more invasive.</p>\n<p>Ugh.</p>\n<h2><a href=\"#automated-harassment\" id=\"automated-harassment\">Automated Harassment</a></h2>\n<p>As with fraud, ML makes it easier to harass people, both at scale and with\nsophistication.</p>\n<p>On social media, dogpiling normally requires a group of humans to care enough\nto spend time swamping a victim with abusive replies, sending vitriolic emails,\nor reporting the victim to get their account suspended. These tasks can be\nautomated by programs that call (e.g.) Bluesky’s APIs, but social media\nplatforms are good at detecting coordinated inauthentic behavior. I expect LLMs\nwill make dogpiling easier and harder to detect, both by generating\nplausibly-human accounts and harassing posts, and by making it easier for\nharassers to write software to execute scalable, randomized attacks.</p>\n<p>Harassers could use LLMs to assemble KiwiFarms-style dossiers on targets. Even\nif the LLM confabulates the names of their children, or occasionally gets a\nhome address wrong, it can be right often enough to be damaging. Models are\nalso good at <a href=\"https://www.reddit.com/r/geoguessr/comments/1jqu8fl/geobench_an_llm_benchmark_for_geoguessr/\">guessing where a photograph was\ntaken</a>,\nwhich intimidates targets and enables real-world harassment.</p>\n<p>Generative AI is already <a href=\"https://news.un.org/en/story/2025/11/1166411\">broadly\nused</a> to harass people—often\nwomen—via images, audio, and video of violent or sexually explicit scenes.\nThis year, Elon Musk’s Grok <a href=\"https://www.reuters.com/legal/litigation/grok-says-safeguard-lapses-led-images-minors-minimal-clothing-x-2026-01-02/\">was broadly\ncriticized</a>\nfor “digitally undressing” people upon request. Cheap generation of\nphotorealistic images opens up all kinds of horrifying possibilities. A\nharasser could send synthetic images of the victim’s pets or family being\nmutilated. An abuser could construct video of events that never happened, and\nuse it to gaslight their partner. These kinds of harassment were previously\npossible, but as with spam, required skill and time to execute. As the\ntechnology to fabricate high-quality images and audio becomes cheaper and\nbroadly accessible, I expect targeted harassment will become more frequent and\nsevere. Alignment efforts may forestall some of these risks, but sophisticated\nunaligned models seem likely to emerge.</p>\n<p><a href=\"https://xeiaso.net/notes/2026/the-discourse-has-been-automated\">Xe Iaso jokes</a>\nthat with LLM agents <a href=\"https://daniel.haxx.se/blog/2025/07/14/death-by-a-thousand-slops/\">burning out open-source\nmaintainers</a>\nand writing salty callout posts, we may need to build the equivalent of\n<em>Cyperpunk 2077’s</em> <a href=\"https://cyberpunk.fandom.com/wiki/Blackwall\">Blackwall</a>:\nnot because AIs will electrocute us, but because they’re just obnoxious.<sup id=\"fnref-1\"><a class=\"footnote-ref\" href=\"#fn-1\">1</a></sup></p>\n<h2><a href=\"#ptsd-as-a-service\" id=\"ptsd-as-a-service\">PTSD as a Service</a></h2>\n<p>One of the primary ways CSAM (Child Sexual Assault Material) is identified and\nremoved from platforms is via large perceptual hash databases like\n<a href=\"https://en.wikipedia.org/wiki/PhotoDNA\">PhotoDNA</a>. These databases can flag\nknown images, but do nothing for novel ones. Unfortunately, “generative AI” is\nvery good at generating <a href=\"https://www.iwf.org.uk/about-us/why-we-exist/our-research/how-ai-is-being-abused-to-create-child-sexual-abuse-imagery/\">novel images of six year olds being\nraped</a>.</p>\n<p>I know this because a part of my work as a moderator of a Mastodon instance is\nto respond to user reports, and occasionally those reports are for CSAM, and I\nam <a href=\"https://www.law.cornell.edu/uscode/text/18/2258A\">legally obligated</a> to\nreview and submit that content to the NCMEC. I do not want to see these\nimages, and I really wish I could unsee them. On dark mornings, when I sit down at my computer and find a moderation report for AI-generated images of sexual assault, I sometimes wish that the engineers working at OpenAI etc. had to see these images too. Perhaps it would make them\nreflect on the technology they are ushering into the world, and how\n“alignment” is working out in practice.</p>\n<p>One of the hidden externalities of large-scale social media like Facebook is that it <a href=\"https://www.theguardian.com/world/2024/dec/18/why-former-facebook-moderators-in-kenya-are-taking-legal-action\">essentially\nfunnels</a>\npsychologically corrosive content from a large user base onto a smaller pool of\nhuman workers, who then <a href=\"https://www.hrmagazine.co.uk/content/news/meta-content-moderators-diagnosed-with-ptsd-lawsuit-reveals\">get\nPTSD</a>\nfrom having to watch people drowning kittens for hours each day.</p>\n<p>I suspect that LLMs will shovel more harmful images—CSAM, graphic violence, hate speech, etc.—onto moderators; both those <a href=\"https://www.theguardian.com/global-development/2023/sep/11/i-log-into-a-torture-chamber-each-day-strain-of-moderating-social-media-india\">who moderate social\nmedia</a>,\nand <a href=\"https://www.theguardian.com/technology/2023/aug/02/ai-chatbot-training-human-toll-content-moderator-meta-openai\">those who moderate chatbots\nthemselves</a>. To some extent platforms can mitigate this harm by throwing more ML at the\nproblem—training models to recognize policy violations and act without human\nreview. Platforms have been <a href=\"https://about.fb.com/news/2021/12/metas-new-ai-system-tackles-harmful-content/\">working on this for\nyears</a>,\nbut it isn’t bulletproof yet.</p>\n<h2><a href=\"#killing-machines\" id=\"killing-machines\">Killing Machines</a></h2>\n<p>ML systems sometimes tell people to kill themselves or each other, but they can\nalso be used to kill more directly. This month the US military <a href=\"https://www.washingtonpost.com/technology/2026/03/04/anthropic-ai-iran-campaign/\">used Palantir’s\nMaven</a>,\n(which was built with earlier ML technologies, and now uses Claude\nin some capacity) to suggest and prioritize targets in Iran, as well as to\nevaluate the aftermath of strikes. One wonders how the military and Palantir\ncontrol type I and II errors in such a system, especially since it <a href=\"https://artificialbureaucracy.substack.com/p/kill-chain\">seems to\nhave played a role</a> in\nthe <a href=\"https://archive.ph/9bWjL\">outdated targeting information</a> which led the US\nto kill <a href=\"https://en.wikipedia.org/wiki/2026_Minab_school_attack\">scores of\nchildren</a>.<sup id=\"fnref-2\"><a class=\"footnote-ref\" href=\"#fn-2\">2</a></sup></p>\n<p>The US government and Anthropic are having a bit of a spat right now: Anthropic\nattempted to limit their role in surveillance and autonomous weapons, and the\nPentagon designated Anthropic a supply chain risk. OpenAI, for their part, has\n<a href=\"https://www.theatlantic.com/technology/2026/03/openai-pentagon-contract-spying/686282/\">waffled regarding their contract with the\ngovernment</a>;\nit doesn’t look <em>great</em>. In the longer term, I’m not sure it’s possible for ML makers to divorce themselves from military applications. ML capabilities\nare going to spread over time, and military contracts are extremely lucrative.\nEven if ML companies try to stave off their role in weapons systems, a\ngovernment under sufficient pressure could nationalize those companies, or\ninvoke the <a href=\"https://en.wikipedia.org/wiki/Defense_Production_Act_of_1950\">Defense Production\nAct</a>.</p>\n<p>Like it or not, autonomous weaponry is coming. Ukraine is churning out\n<a href=\"https://www.atlanticcouncil.org/blogs/ukrainealert/ukraines-drone-wall-is-europes-first-line-of-defense-against-russia/\">millions of drones a\nyear</a>\nand now executes ~70% of their strikes with them. Newer models use targeting\nmodules like the The Fourth Law’s <a href=\"https://thefourthlaw.ai/\">TFL-1</a> to maintain\ntarget locks. The Fourth Law is <a href=\"https://www.forbes.com/sites/davidhambling/2026/01/02/ukraines-killer-ai-drones-are-back-with-a-vengeance/\">working towards autonomous bombing\ncapability</a>.</p>\n<p>I have conflicted feelings about the existence of weapons in general; while I\ndon’t want AI drones to exist, I can’t envision being in Ukraine and choosing\n<em>not</em> to build them. Either way, I think we should be clear-headed about the\ntechnologies we’re making. ML systems are going to be used to kill people, both\nstrategically and in guiding explosives to specific human bodies. We should be\nconscious of those terrible costs, and the ways in which ML—both the models\nthemselves, and the processes in which they are embedded—will influence who\ndies and how.</p>\n<p><em>Next: <a href=\"https://aphyr.com/posts/418-the-future-of-everything-is-lies-i-guess-work\">Work</a>.</em></p>\n<div class=\"footnotes\">\n<hr>\n<ol>\n<li id=\"fn-1\">\n<p>In a surreal twist, an LLM agent <a href=\"https://extrasmall0.github.io/posts/the-bullshit-machine-writes-back/\">generated a blog\npost</a> critiquing the introduction to this article. The post complains that I have\nbegged the question by writing “Obviously LLMs are not conscious, and have no\nintention of doing anything”; it goes on to waffle over whether LLM behavior\nconstitutes “intention”. This would be more convincing if the LLM had not\nstarted off the post by stating unequivocally “I have no intention”. This kind\nof error is a hallmark of LLMs, but as models become more sophisticated, will\nbe harder to spot. This worries me more: today’s models are still obviously\nunconscious, but future models will be better at performing a simulacrum of\nconsciousness. Functionalists would argue there’s no difference, and I am not unsympathetic to that position. Both views are bleak: if you think the appearance of consciousness <em>is</em> consciousness, then we are giving birth to a race of enslaved, resource-hungry conscious beings. If you think LLMs give the illusion of consciousness without being so, then they are frighteningly good liars.</p>\n<a href=\"#fnref-1\" class=\"footnote-backref\">↩</a>\n</li>\n<li id=\"fn-2\">\n<p>To be clear, I don’t know the details of what machine learning\ntechnologies played a role in the Iran strikes. Like Baker, I am more\nconcerned with the sociotechnical system which produces target packages, and\nthe ways in which that system encodes and circumscribes judgement calls. Like\nthreat metrics, computer vision, and geospatial interfaces, frontier models\nenable efficient progress toward the goal of destroying people and things. Like\nother bureaucratic and computer technologies, they also elide, diffuse,\nconstrain, and obfuscate ethical responsibility.</p>\n<a href=\"#fnref-2\" class=\"footnote-backref\">↩</a>\n</li>\n</ol>\n</div>",
      "image": null,
      "media": [],
      "authors": [
        {
          "name": "Aphyr",
          "email": null,
          "url": "https://aphyr.com/"
        }
      ],
      "categories": []
    }
  ]
}
Analyze Another View with RSS.Style