Skip to content

Instantly share code, notes, and snippets.

View bmorphism's full-sized avatar
🦍
annealing information lattice since *2069*

Barton Rhodes bmorphism

🦍
annealing information lattice since *2069*
View GitHub Profile
@bmorphism
bmorphism / fogus_marz_synthesis.md
Created June 21, 2026 19:19
NVIDIA OpenShell Policy Lab: Composable Constraint Validator & Fogus-Marz Synthesis

Architectural Synthesis: Fogus vs. Marz Clojure Philosophy

This document provides a deep architectural analysis of how the refactored NVIDIA OpenShell Policy Lab Environment (policy_lab.clj) synthesizes the distinct, powerful Clojure design philosophies of Michael Fogus (@fogus, co-author of The Joy of Clojure) and Nathan Marz (creator of Specter, Cascalog, and jank).

graph TD
    YAML["YAML Policy Data"] -->|Parsed once| Compile["compile-policy Compiler Phase"]
    Compile -->|AOT normalizations & parsing| Recs["Compiled Constraint Records"]
    
    subgraph "Clojure Protocol Engine"
@bmorphism
bmorphism / glyphunk
Created June 13, 2026 00:17
gerbilator
/rise · \fall · —flat-sustain · ^up-down · vdown-up · ~modulated · :pulsed · ·transient · ▒noise · ⌁harsh/clipped · ▮percussive · °pure-tonal · ↗steep-fast
Shape guide × model routing
┌──────────────┬──────────┬──────┬──────────────────────┬─────────────────────┬──────────────────────────────────────────────┐
│ call │ shape │ trit │ audio://sfx/gerbil/… │ best model │ prompt seed │
│ │ glyph │ │ │ │ │
├──────────────┼──────────┼──────┼──────────────────────┼─────────────────────┼──────────────────────────────────────────────┤
│ whistle │ /—° │ +1 │ /whistle │ Overtone (param) │ rising pure tone 5.2 kHz, 180 ms, +18% glide │
├──────────────┼──────────┼──────┼──────────────────────┼─────────────────────┼──────────────────────────────────────────────┤
@bmorphism
bmorphism / discopy.org.md
Last active June 12, 2026 02:04
distributional compositional autopoietics

scip://discopy — Zen & Dao

Provenance. Both texts derived from scip://discopy90 docs · 7,800 defs · 38,901 occurrences — each line carrying its symbol-graph anchor (in parens, linked to the DisCoPy documentation where documented, to source where not). The index holds counts and symbols; the shaping is interpretation — but every line is bound to a measurement actually run. Two measured gaps, kept visible: is_implementation edges came back empty (scip-python cannot see through the @factory/generics machinery), so the doctrine lattice below stands on the module set, not resolved inheritance; and the docs place some symbols differently than the source does (Composable is defined in utils.py, documented under discopy.cat) — both names are real, the links follow the docs.


zen://discopy

Everything is composition; dom and cod are the only universal truths. *([Composable#dom ×384, Composable#cod

@bmorphism
bmorphism / PHENOMENOLOGICAL_VIBESNIPE_ARCHITECTURE.md
Created January 27, 2026 22:32
Phenomenological Vibesnipe: Whole-brain phenomenology prediction markets with RGB-ECS parallelism, GF(3) conservation, and active inference settlement

Phenomenological Vibesnipe Architecture

Domain Reframing: From GitHub Issues to Whole-Brain Phenomenology

The original vibesnipe failed because it chose the wrong domain (GitHub issues → speculative compute markets). The correct domain is whole-brain electricity circuitry and phenomenology - not clinical genes.

The Missed Causal Chain

Original: GitHub issues → developer challenges → APT settlement
@bmorphism
bmorphism / ADHD_ECS_Sexual_Dimorphism.jl
Created January 27, 2026 22:21
ADHD-ECS Sexual Dimorphism: Counterfactual Causal Analysis - Response to greenteatree01's phenotype/world-model feedback
# ADHD-ECS Sexual Dimorphism: Counterfactual Causal Analysis
#
# This module extends the EPDS theory to formalize sexual dimorphism
# as a CAUSAL factor (not merely correlational) in ADHD prevalence.
#
# Key thesis: The 3:1 male:female ADHD ratio emerges from:
# 1. Estrogen-CB1 upregulation (protective in females)
# 2. Testosterone-FAAH interaction (risk factor in males)
# 3. Differential precision-weighting dynamics across development
#
@bmorphism
bmorphism / ADHD_ECS_Sexual_Dimorphism.jl
Created January 27, 2026 22:16
ADHD-ECS Sexual Dimorphism: Counterfactual Causal Analysis - Response to greenteatree01
# ADHD-ECS Sexual Dimorphism: Counterfactual Causal Analysis
#
# This module extends the EPDS theory to formalize sexual dimorphism
# as a CAUSAL factor (not merely correlational) in ADHD prevalence.
#
# Key thesis: The 3:1 male:female ADHD ratio emerges from:
# 1. Estrogen-CB1 upregulation (protective in females)
# 2. Testosterone-FAAH interaction (risk factor in males)
# 3. Differential precision-weighting dynamics across development
#
@bmorphism
bmorphism / ADHD_ECS_Implementation.jl
Created January 27, 2026 22:03
ADHD-ECS: Endocannabinoid Precision Dysregulation Syndrome - Categorical Causal Modeling
# ADHD-ECS Endocannabinoid Precision Dysregulation Syndrome (EPDS)
# Julia Implementation for Categorical Causal Modeling
#
# This file implements the EPDS theory using:
# - Catlab.jl for ACSet schemas
# - StructuredDecompositions.jl for hierarchical decomposition
# - Custom active inference agent for precision modeling
#
# Author: Generated via multi-agent exploration
# Date: 2026-01-27
@bmorphism
bmorphism / VISUALIZATIONS.md
Created January 8, 2026 15:06
Gay-TOFU: Interactive visualizations guide

Interactive Visualizations Guide

Four interactive demonstrations of Gay-TOFU color sequences and error correction


1. world.html — Basic Color Generation Demo

Purpose: Introduction to plastic constant color generation
File: world.html (12KB)

@bmorphism
bmorphism / HAMMING_SWARM.md
Created January 8, 2026 15:06
Gay-TOFU: Hamming swarm error correction structure

Hamming Swarm: Error-Correcting Structure in 3×3×3 Alphabet Tensor

Overview

The Hamming Swarm is a clever overlay structure on the 3×3×3 alphabet tensor that creates an error-correcting network using Hamming distance relationships. By mapping 26 letters + 1 sigil (🌈) to a 27-position cube and connecting them via Hamming distances in 5-bit binary encodings, we create a self-organizing swarm with natural error detection and correction properties.

Why This Works

1. 5-Bit Encoding (32 positions, using 27)

@bmorphism
bmorphism / WHY_PLASTIC_2D_OPTIMAL.md
Created January 8, 2026 15:06
Gay-TOFU: Why plastic constant is optimal for 2D

Why Plastic Constant is 2D Optimal for Colors

The Core Mathematical Principle

For optimal uniform coverage in n dimensions, use the root of x^(n+1) = x + 1

Dimension Equation Constant Value Use Case
1D x² = x + 1 Golden Ratio (φ) 1.618... Just hue rotation
2D x³ = x + 1 Plastic Constant (φ₂) 1.3247... Hue + saturation