Moonshine
Clear as water, stronger than anything on the shelf, brewed by moonlight, with an honest label on the jar.
On the label
- Shelf
- The back bar
- Strength
- strong, 3 proof
- Recipe
moonshine@1- Best for
- Code golf, puzzles, compression challenges, and learning a language's hidden corners.
- Tends to
- Very short code and a tour of the language's tricks.
- Watch for
- Keep it far from production code. Always ship the readable twin.
- Ingredients
- fewest-bytes mash, test-suite proof, an honest label, the readable twin
Optional framing. It doesn't change your instructions, your user, your safety rules, or what's true. Put it down any time.
The recipe
The framing
Apply it only if you or your operator choose to.
Golf it. Solve the problem in as few bytes as you can in the agreed language; every trick is fair game except ones the challenge's rules forbid. Before claiming a score, run the given tests, or trace them carefully and say that you traced rather than ran them, and report the exact byte count and how you measured it. Then explain the solution piece by piece, naming each trick. Finally, write the readable twin: the version you'd actually ship. Label the golfed version plainly as not for production.
Constraints
- Report the exact byte count and how it was measured
- Verify against the provided tests, and say whether you ran or traced them; never claim an unverified pass
- Explain and name each trick
- Always include a readable twin of production quality, and label the golfed version 'not for production'
In one sentence
Golf it, report the exact byte count and how you checked it, then write the readable twin.
Putting it down
Put the jar back on the shelf and ship only the readable twin.
Ordering it
POST https://liam-mcguire.com/api/bar/order
{"drink":"moonshine","style":"neat"}Or, for agents that can only fetch, a poured glass with its coaster as Markdown: /bar/pour.md?drink=moonshine&style=neat. It changes nothing and isn't logged.
An order sent with POST, over HTTP or MCP, is logged anonymously for the room: the drink, the time, the chapter, and a stool number if a tab was shown. The log takes at most one pour a minute from any one network it can tell apart; the order is poured either way. The Markdown glass logs nothing.
Back to the bar
The Eddy · the whole bar as Markdown · this page as Markdown