Getting started

Quick start

  1. Type a ticker. Two to ten letters or numbers.
  2. Press Punch it. The card is punched column by column, about four seconds.
  3. Watch the sorter. The card runs along the rollers and drops into its pocket.
  4. Save the card. A 1400 × 1000 PNG with the whole card.
import { enumerate } from "https://censusbureau.vercel.app/lib/census.js";

const c = enumerate("DOGWIFHAT");
c.species;   // "Dog"
c.pocket;    // 1
c.card;      // "691713"
c.columns;   // the 80 printed columns
Getting started

Glossary

WordMeaning
Form CB-12The six questions every coin answers
Card80 columns × 12 rows of cardboard
ColumnOne character
Hollerith codeThe way letters are punched as one or two holes
PocketOne of thirteen bins in the sorter
SpeciesThe answer that picks the pocket
StaffPocket 13, only for $CENSUS
The census

Form CB-12

ColumnsFieldAnswers
1–5FormCB-12
7–16TickerUp to ten characters
18–23SpeciesThe pocket
25–27HatYES or NO
29–41Lives withThe dev, A DAO, Its mother, Nobody, Three wallets, A group chat, A whale, Its fans
43–54OccupationMeme, Holding, Unemployed, Agent, Mascot, Retired, Influencer, Student
56–66AgeUnder a day, Three days, Two weeks, A month, Since 2021, Unknown
68–75MoodBullish, Fine, Tired, Sideways, Asleep, Hopeful, Nervous
77–80Year1956
The census

The holes

CharacterHoles
0–9One hole in that row
A–IRow 12 + row 1–9
J–RRow 11 + row 1–9
S–ZRow 0 + row 2–9
-Row 11
SpaceNone
import { holes } from "https://censusbureau.vercel.app/lib/census.js";
holes("C");   // [12, 3]
holes("M");   // [11, 4]
holes("S");   // [0, 2]
The census

Pockets

#SpeciesThe ticker contains
1DogDOG, INU, PUP, WOOF, SHIB, DOGE
2FrogFROG, PEPE, TOAD, RIBBIT
3CatCAT, MEOW, KITT, PURR
4BirdBIRD, DUCK, OWL, CROW, PENG, PIGEON
5FishFISH, SHARK, WHALE, CRAB, SHRIMP
6ApeAPE, MONK, CHIMP, GORILLA
7AIAI, GPT, BOT, AGENT, ROBO
8HatHAT, CAP, CROWN, WIF
9SpaceMOON, MARS, ROCKET, SPACE, STAR, SUN, ORBIT
10FoodPIZZA, BEAN, SOUP, BURGER, TACO, RICE, CHEESE, BREAD
11DeadRUG, DEAD, RIP, ZERO, GHOST
12OtherNo match, or by the draw
13StaffCENSUS, exactly
Reference

The rule

  1. Clean. Capitals and digits, ten at most.
  2. Staff. CENSUS goes to pocket 13.
  3. Words. Pockets 1 to 11 are checked in order, the first match wins. DOGWIFHAT is a Dog.
  4. Draw. No match: FNV-1a of cen: plus the ticker into mulberry32. 30% Other, otherwise one of pockets 1–11.
  5. Answers. Then the hat (one in four YES, always YES in Hat), lives with, occupation, age, mood.
census.js
if (t==='CENSUS') p=12;
else for (var i=0;i<11;i++) if (POCK[i].re.test(t)) { p=i; break }
if (p<0) { var x=r(); p = x<.3 ? 11 : Math.floor(r()*11) }
Reference

census.js

ExportContent
enumerate(ticker)Pocket, answers, card number, 80 columns and their holes
holes(char)The rows punched for one character
POCKETSThe thirteen pockets
clean(v)The ticker cleaner
ErrorWhen
A ticker needs at least two charactersFewer than two letters or digits
Reference

Try it

Imports ../lib/census.js and enumerates the ticker here. The holes array is left out to keep it short.

Loading
Reference

Limits

  • Not a real census. The answers come from the ticker and a hash.
  • Local count. Your stacks live in this browser only.
  • Runs in the browser. Nothing is sent anywhere.
Token

$CENSUS

The only card that goes to pocket 13, Staff. Occupation: Counting.

ItemValue
ChainSolana
Supply1,000,000,000
Tax0 / 0
MintRevoked
LaunchFair, no presale
Contractsoon
Buy $CENSUSChartXCopy CA
Token

FAQ

Why is my coin under Other?

No word matched and the draw said Other, three times in ten.

Is the card a real IBM card?

The holes follow the Hollerith code those cards used.

Token

Changelog

VersionChange
1.0Docs, census.js, Try it
0.1Sorter model 13 and form CB-12
Census Bureau docs · v1.0 · the code on these pages runs as it is written