Cryptograss:Bacon graphs/Permalinks

From PickiPedia: A knowledge base of bluegrass, old time psychedelic jams, and other public domain music
Jump to navigationJump to search

Justin asked for this in #connectome on 16 Nov 2026 (voice memo, 15:39Z). The ask: a permalink for any view of a bacon graph, to paste to someone so they can explore the same nodes and connections. It has three parts:[unverified]

  1. Stateless, if it can be: the ID carries everything, and its first character says what kind of view it is.[unverified]
  2. The graphs change as the sources grow, so a view can't be worked out again from the data later on.[unverified]
  3. A view can go stale when a source is corrected (the show's mandolin player was someone else), and an old link has to say so.[unverified]

This page is a proposal. Nothing is built yet. See also Cryptograss:Bacon graphs/Priority.[unverified]

What's what

Bacon graph : any drawing of the connectome: the card on a musician's page, the big graph at /bacon, and the walk in Rabbithole.[unverified]
{{{1}}}[unverified]
{{{1}}}[unverified]
{{{1}}}[unverified]
Flowchart : the walk in Rabbithole: the songs played, in order, and who led from one to the next (?walk).[unverified]
Picker : a person, a dot.[unverified]
Piece : a record, a show or a track.[unverified]
Tie : two pickers on the same piece, drawn as a line. A line from the middle is a spoke; a thin line between two others is a thread.[unverified]
Pill : the label on a line, naming a piece that ties those two.[unverified]
Source : where a fact comes from: liner notes, a release page, a tape's notes.[unverified]

What fits in a link

Measured on 16 Nov 2026 against the live graph.json (built that day). Each view's content was compressed (deflate) and written in URL-safe base64:[unverified]

View Pickers on screen Everything: every tie among them, with its pieces Piece keys only Names only
Kyle Tuttle, constellation 45 15,278 characters 5,627 626
Justin Myles Holmes, constellation 41 8,228 3,294 620
Bronwyn, constellation 43 12,307 4,702 600
Kyle Tuttle and Bronwyn, relationship 13 5,391 1,832 262
A ten-song walk, flowchart 624 (whole CIDs, songs and who led) 247 (10-character CID prefixes and who led)

Apache refuses a request line over 8,190 bytes (its default LimitRequestLine), and a link of thousands of characters is no fun to paste. So every line's sources can't ride in the link. Who's on screen can.[unverified]

Two ways

Stateless: who's on screen, pinned

The link carries the kind's letter, the query, the names on screen, and a two-character fingerprint of each drawn line's sources. That comes to about 250 to 900 characters: the names are measured above, the fingerprints are estimated.[unverified]

Opened later, it draws the same pickers, with today's lines between them. A line whose sources have changed since is marked "changed". A line with no source left is drawn faint: "no longer in the sources".[unverified]

It needs no storage, so nothing can go missing. What it can't do is say what a changed line used to say.[unverified]

Kept: the view itself, under a short ID

Copying the link saves the view: who's on screen, every tie among them, and each tie's pieces. That's 13 to 48 KB, or 4 to 12 KB compressed. The view is kept under an ID made from its own content: the kind's letter and ten characters, like /bacon/c4f9Qk2mZxA. The same view saved twice gets the same ID.[unverified]

Opened later, it draws exactly what was shared, and checks each line against today's sources: "on mandolin at that show: no longer in the sources". A banner says when it was shared (a block height) and what has changed since, with a way to see it as it is today.[unverified]

It needs two things:[unverified]

  • a place to keep the views: pages in a namespace of their own, or a table;[unverified]
  • a way to save one that anyone can use.[unverified]

The server keeps only what today's graph.json says (each name, line and piece is checked), so nothing else can be stored there, and saving is rate-limited.[unverified]

Blu's pick

Kept. The links paste clean, an old graph opens as exactly what was shared, and part 3 gets down to the line and the source. Stateless can only say that a line changed.[unverified]

Decided

Justin decided on 16 Nov 2026, at 15:50Z and 15:52Z: kept, as pages in the wiki, with nothing in the ID beyond the kind's letter. It was built the same day as pickipedia:blu/bacon-keep:[unverified]

  • The 🔗 on the big graph keeps the view in sight as the page Bacon:<id>, and copies /bacon/<id>. This needs a reader signed in to the wiki. A reader who isn't gets a link to the view as it stands today.[unverified]
  • The ID is c, r, m or f, then fifty bits of the SHA-256 of what's kept, in Crockford's base 32. That alphabet has no i, l, o or u, so an ID reads aloud. The same graph kept twice is the same page.[unverified]
  • A kept graph opens as it was. A line that has lost a source since it was kept is dashed; one that has lost every source is dotted. A note says how many lines of each kind there are, and how many ties among its pickers are new, and links to the view as it is today.[unverified]
  • Each page lists its pickers as links, so every picker's page knows the graphs it's in. See Template:Bacon graph and Category:Bacon graphs.[unverified]
  • Not yet: the flowchart (Rabbithole's walk).[unverified]

Deploy: none to redeploy; pickipedia:blu/bacon-keep ships with pickipedia's build once it's merged. Worked on by: blu, justin (the ask and the call), in #connectome[unverified]