$ cat latest.md ▊
Prompt patterns I actually reuse
Rubric-first grading, negative few-shot examples, and chain-of-verification — the only three patterns I trust in production.
Most prompt advice is folklore. These three survive contact with production.
```python
RUBRIC = """
Score 1-5 on: correctness, clarity, completeness.
Respond ONLY with JSON: {"scores": [...], "reason": "..."}
"""
def grade(answer: str) -> dict:
# judge != generator: use a separate call for scoring
return llm.chat([
{"role": "system", "content": RUBRIC},
— end of preview —
All posts
(3)
Shipping a Tiny LLM Playground in the Browser
A 40-line browser playground that makes softmax, sampling and temperature visible — with runnable code right in the post.
Aug 4, 2026 · 1297 views
SQLite vs Postgres for Side Projects: a 2026 field guide
One file or one fleet? A pragmatic decision framework, plus the exact PRAGMAs I ship with.
Aug 4, 2026 · 945 views
no matches ¯\_(ツ)_/¯