개발자가 화학식으로 팬케이크 레시피를 계산하는 Show HN 프로젝트를 공개, 재료별 산도와 CO2 목표값 반영
편집자 요약
한 개발자가 25년간 팬케이크 레시피를 실험한 끝에, 보유한 재료를 체크하면 산, 지방, 소금, 설탕, CO2 목표값에 맞춰 최적 레시피를 계산하는 도구를 공개했습니다. ricotta, kefir, buttermilk, yogurt, lemon 등 재료 조합을 바탕으로 화학량론과 이분법 solver를 적용한 pure-ESM 라이브러리로 구현됐습니다.
맥락
이 프로젝트는 조리법을 경험적 지식이 아니라 정량 모델로 다루는 computational cooking 흐름을 보여줍니다. 소비자용 레시피 도구뿐 아니라 식품 개발, 대체 재료 추천, 개인화 영양 설계 등에서도 성분 데이터와 solver 기반 접근이 확장될 가능성이 있습니다.
본문
After 25 years of making other people's pancake recipes - always yearning for more tang, more fluff, and more predictability - I decided to derive the pancake recipe from the chemistry.<p>You mark checkboxes for what you have on hand (ricotta, sour cream, kefir, buttermilk, yogurt, cottage cheese, lemon, cream of tartar, etc.) and it computes the best recipe based on targets for acid, fat, salt, sugar, and CO2.<p>My particular favorite are the yeast-raised lemon ricotta kefir pancakes - the best I've ever had.<p>The math is done in a small pure-ESM library: ingredient composition to component masses and acid moles, a stoichiometry layer, and a bisection solver for the target deficits.<p>I'm not a chemist, so if something is off, tell me and I will fix it!
