Skip to content

Instantly share code, notes, and snippets.

@bbarker
bbarker / playlist.csv
Created August 1, 2026 13:08
All This Playlist
We can make this file beautiful and searchable if this error is corrected: It looks like row 4 should actually have 1 column, instead of 5 in line 3.
# ShoggothOx Playlist: All This
# Generated with deterministic seed 0xe83e0665938ee97a derived from ISRC USUAN1300001.
# Base presets sourced from video/presets.csv for USUAN1300001.
# Selection: 7 anchors and 12 nearby states for action, aggressive, dark, driving, epic.
# Durations are snapped to downbeats at 143.5 bpm (confidence 0.56); 5 of 19 land on a section change.
# @ 00:00.000 downbeat 143.5 bpm | Anchor: twisted-left-vline-jutemap2-table7
"--flame left --wave vline --border max --palette jutemap2 --table 7 --translate ripple --display twisted --environment palettehaze --particles drift --aura off", 13.003, 1
# @ 00:13.003 downbeat 143.5 bpm
"--flame left --wave rings --border max --palette jutemap2 --table 7 --translate ripple --display twisted --environment palettehaze --particles drift --aura off", 10.310, 1
@bbarker
bbarker / log.txt
Created July 28, 2026 22:43
gemini crossing the streams
> so this is different from the normal app signing keystore (jks) - why? 18:37:46 [156/1880]
▸ Thought for 1s, 905 tokens
Clarifying Debug vs. Production
▸ Thought for 1s, 907 tokens
Clarifying Debug Keystores
▸ Thought for 7s
Clarifying Debug vs. Release
@bbarker
bbarker / playlist.csv
Created July 27, 2026 22:58
Alien Restaurant Playlist
We can make this file beautiful and searchable if this error is corrected: It looks like row 7 should actually have 1 column, instead of 3 in line 6.
# ShoggothOx Playlist: Alien Restaurant
# Generated with deterministic seed 0x7f3dae27bc585bfa derived from ISRC USUAN1100335.
# Base presets sourced from video/presets.csv for USUAN1100335.
# Smooth-transition path: 28 explicit states across 8 anchors.
# Adjacent states differ by exactly one parameter. Durations are sampled from 12-15 seconds.
# Start anchor: plane-left-hline-blengbyg
"--flame left --wave hline --border amp --palette blengbyg --table 0 --translate hurricane --display plane --environment palettehaze --particles drift --aura off", 13, 1
"--flame left --wave hline --border amp --palette nice --table 0 --translate hurricane --display plane --environment palettehaze --particles drift --aura off", 14, 1
"--flame water --wave hline --border amp --palette nice --table 0 --translate hurricane --display plane --environment palettehaze --particles drift --aura off", 14, 1
@bbarker
bbarker / playlist.csv
Created July 27, 2026 21:46
Airport Lounge Playlist
We can make this file beautiful and searchable if this error is corrected: It looks like row 7 should actually have 1 column, instead of 3 in line 6.
# ShoggothOx Playlist: Airport Lounge
# Generated with deterministic seed 0x31b8bc2790901481 derived from ISRC USUAN1100806.
# Base presets sourced from video/presets.csv for USUAN1100806.
# Smooth-transition path: 24 explicit states across 7 anchors.
# Adjacent states differ by exactly one parameter. Durations are sampled from 12-15 seconds.
# Start anchor: twisted-water-hline-fire2-table9
"--flame water --wave hline --border clear --palette fire2 --table 9 --translate none --display twisted --environment palettehaze --particles drift --aura off", 12, 1
"--flame up --wave hline --border clear --palette fire2 --table 9 --translate none --display twisted --environment palettehaze --particles drift --aura off", 13, 1
"--flame up --wave hline --border clear --palette fire2 --table 9 --translate none --display nearring --environment palettehaze --particles drift --aura off", 12, 1
@bbarker
bbarker / playlist.csv
Created July 27, 2026 01:46
Air Prelude Playlist
We can make this file beautiful and searchable if this error is corrected: It looks like row 7 should actually have 1 column, instead of 3 in line 6.
# ShoggothOx Playlist: Air Prelude
# Generated with deterministic seed 0x7f3dac27bc585894 derived from ISRC USUAN1100337.
# Base presets sourced from video/presets.csv for USUAN1100337.
# Smooth-transition path: 26 explicit states across 8 anchors.
# Adjacent states differ by exactly one parameter. Durations are sampled from 12-15 seconds.
# Start anchor: down-fast-vline-mixed
"--flame down-fast --wave vline --border clear --palette mixed --table 0 --translate none --display screen --environment palettehaze --particles drift --aura off", 13, 1
"--flame down-fast --wave vline --border clear --palette mixed --table 0 --translate hurricane --display screen --environment palettehaze --particles drift --aura off", 15, 1
"--flame skyline --wave vline --border clear --palette mixed --table 0 --translate hurricane --display screen --environment palettehaze --particles drift --aura off", 14, 1
@bbarker
bbarker / thunk_pitfall_examples.md
Created April 29, 2026 11:06
Examples of discarded thunks
      anyxchange.streaming.prepareListingModerationPipeline
        pipeline klog tables adminStash adminEmails moderationServiceOpt =
        do
          use DlqFailureStage DlqUnknownStage
          use Failure message
          listingDlqTbl = DeploymentTables.listingModerationDlqTable tables
          processEvent lid event =
            (ListingId lidText) = lid
@bbarker
bbarker / work-prompt-unison.md
Last active April 28, 2026 15:25
Unison Work Prompt (Steering) file

Architecture and Style

Strive to write functional-style, maintainable code, while keeping an eye on performance. Avoid anything unsafe.

CRITICAL: Always force thunked function calls with (). If a function returns '{g} a, calling it without () silently discards the unevaluated thunk — causing data loss with no type error or runtime crash. E.g. _ = createAlert ... link does nothing; _ = createAlert ... link () works.

@bbarker
bbarker / ucm_squash_log.txt
Created November 19, 2025 12:48
Missing history after squash
```
anyxchange/routes_squash_2> switch anyxchange/main
anyxchange/main> merge anyxchange/routes_squash_2
I couldn't automatically merge anyxchange/routes_squash_2 into anyxchange/main. However, I've
added the definitions that need attention to the top of
/home/bbarker/workspace/unison-scratch/anyxchange/scratch-claude-cleaned2.u.
When you're done, you can run
@bbarker
bbarker / bluesky_analyze.nu
Created October 13, 2025 23:10
Retrieve posts for a bluesky account - useful for checking if a bot, etc. Written in Nu (nushell)
#!/usr/bin/env nu
# Bluesky Reply Post Fetcher for Nushell
# No authentication required for public posts
# Run with: nu script.nu
let handle = 'amy1017-99.bsky.social'
let api_base = 'https://public.api.bsky.app/xrpc'
print $"\n🔍 Analyzing account: ($handle)\n"
print "Fetching posts...\n"
@bbarker
bbarker / claude-code
Created March 2, 2025 01:19
deno-claude
#!/usr/bin/env bash
export GOOGLE_SDK_NODE_LOGGING=1
exec deno run --allow-read --allow-net --no-config \
--unstable-node-globals --unstable-bare-node-builtins \
--allow-sys --allow-env \
--allow-write="$HOME/.claude" \
--allow-read="$HOME/.cache/deno,$HOME/.claude,$(pwd)" \
--lock /home/bbarker/.deno/bin/.claude-code.lock.json \