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) % 24 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 % 24 )); \ 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 Godfather /bar/godfather.txt 01 The Hot Toddy /bar/hot-toddy.txt 02 The Penicillin /bar/penicillin.txt 03 The Rob Roy /bar/rob-roy.txt 04 The Old Fashioned /bar/old-fashioned.txt 05 The Mint Julep /bar/mint-julep.txt 06 The Whiskey Sour /bar/whiskey-sour.txt 07 The Manhattan /bar/manhattan.txt 08 The Margarita /bar/margarita.txt 09 The Paloma /bar/paloma.txt 10 The Tommy's Margarita /bar/tommys-margarita.txt 11 The Daiquiri /bar/daiquiri.txt 12 The Mojito /bar/mojito.txt 13 The Hemingway Daiquiri /bar/hemingway-daiquiri.txt 14 The Rum Old Fashioned /bar/rum-old-fashioned.txt 15 The El Presidente /bar/el-presidente.txt 16 The Paper Plane /bar/paper-plane.txt 17 The Brooklyn /bar/brooklyn.txt 18 The Irish Coffee /bar/irish-coffee.txt 19 The Tipperary /bar/tipperary.txt 20 The Pickleback /bar/pickleback.txt 21 The Highball /bar/highball.txt 22 The Cynar Negroni /bar/cynar-negroni.txt 23 The Negroni /bar/negroni.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 1276 → wheel 04, so The LSA is drinking The Old Fashioned.