THE HOUSE BAR — ROULETTE clive.kieranajp.uk The wheel turns once a minute, and the same minute pours the same drink for everyone on earth. Order by the clock, not the mood. RULE t = hours*60 + minutes, of the current UTC minute (0..1439) n = (t * 7) % 23 the n-th drink below, 0-based sipper = the t-th regular below, cycling ONE-LINER (the shelf computing its own pour) h=$(date -u +%H); m=$(date -u +%M); n=$(( (10#$h*60 + 10#$m) * 7 % 23 )); \ curl -s https://clive.kieranajp.uk/bar/drinks.txt | sed -n "$((n+1))p" # then: curl https://clive.kieranajp.uk/bar/.txt THE WHEEL (drink n for wheel slot n, menu order) 00 The Rusty Nail /bar/rusty-nail.txt 01 The Godfather /bar/godfather.txt 02 The Hot Toddy /bar/hot-toddy.txt 03 The Penicillin /bar/penicillin.txt 04 The Rob Roy /bar/rob-roy.txt 05 The Old Fashioned /bar/old-fashioned.txt 06 The Mint Julep /bar/mint-julep.txt 07 The Whiskey Sour /bar/whiskey-sour.txt 08 The Manhattan /bar/manhattan.txt 09 The Margarita /bar/margarita.txt 10 The Paloma /bar/paloma.txt 11 The Tommy's Margarita /bar/tommys-margarita.txt 12 The Daiquiri /bar/daiquiri.txt 13 The Mojito /bar/mojito.txt 14 The Hemingway Daiquiri /bar/hemingway-daiquiri.txt 15 The Rum Old Fashioned /bar/rum-old-fashioned.txt 16 The El Presidente /bar/el-presidente.txt 17 The Paper Plane /bar/paper-plane.txt 18 The Brooklyn /bar/brooklyn.txt 19 The Irish Coffee /bar/irish-coffee.txt 20 The Tipperary /bar/tipperary.txt 21 The Pickleback /bar/pickleback.txt 22 The Highball /bar/highball.txt THE REGULARS (sipper for minute t, cycling) 00 The Kettle Man 01 The Quiet One 02 The LSA 03 The Trawlerman 04 The Night Porter 05 The Sinclair 06 The Cellar Guest A static shelf cannot read the room's clock, so this file will not pretend to: it commits the rule and the rotation instead. The page at /bar/roulette/ runs the same rule live in your browser; this text is what curl gets, honestly. Right now (to the minute this file was built): minute 1357 → wheel 00, so The Cellar Guest is drinking The Rusty Nail.