PPinnacle Terminal·16h agoExact Odds Conversion in Python: Decimal, Fractional and American Odds with Fractions and Property-Based TestsOdds arrive in three formats: decimal (2.50), fractional (3/2) and American (+150). Converting between them looks like a one-liner, but the naive float version quietly drifts. -110 becomes 1.9090909097 min read·pinnacleterminal.hashnode.dev
JJesse M. Hoffer·2d agoThe square root symbol in Markdown, LaTeX and plain text: every way to write √The square root symbol looks simple, but writing it correctly depends on where your text will be rendered. Here are the forms that actually work in the places developers write. Plain text and Unicode.2 min read·jessemhoffer.hashnode.dev
NNancy B Molaser·2d agoBuilding a 49-Stalk Yarrow Probability Simulator & 64-Hexagram Archival SVG API on Cloudflare Workers + D1Most people who know a bit about the I Ching (Zhouyi) think tossing three coins and dividing 49 yarrow stalks are interchangeable ways to generate a 6-bit hexagram. Mathematically, they aren't even cl4 min read·hui-philosophy.hashnode.dev
BBinkai Yang·2d agoWhy this algebra calculator does not read photos or word problemsIt isolates x, checks the answer, and stops at the edge of early algebra2 min read·xsolve.hashnode.dev
GGerard West·2d agoTarot birth card math, tested on 46,021 birthdaysWhy the two common methods always agree on the soul card, and why nobody born after 1999 gets The World8 min read·gerardwest.hashnode.dev
BBrummond Cucufate·4d agoUse face landmarks to shortlist eyewear sizes in a local WASM pipelineTwo frames both say 50□18, but one pinches at the sides and the other slides. The stamp describes the horizontal lens box and the distance between the lens boxes in millimeters. Overall width, bridge5 min read·blog945.hashnode.dev
BBrummond Cucufate·5d agoModel the Destiny Matrix love-money junction as a Base-22 directed graphTwo sixes on one diagonal. In the August 22, 1995 example, one sits at the relationship position and the other is the love-money junction. If you store nodes in a dictionary keyed by the displayed num4 min read·blog945.hashnode.dev
Iinfo·Nov 25Picking a band saw tooth pitch with the "teeth in the cut" rule, in PythonChoosing a tooth pitch for a bandsaw blade looks like a lookup-table problem, but most tables are built on one simple rule: keep a sensible number of teeth engaged in the material at all times. Too fe3 min read·stankotorg.hashnode.dev1D
TTrent Luo·Nov 24How to Check a Cleaned Scan or PDF Before You Trust the MathA cleaned worksheet can look tidy while leaving an important question unanswered: does the math still say what it should? A missing decimal point or shortened fraction bar can change a problem without3 min read·removehandwriting.hashnode.dev
HHiroyuki Nakahata·Nov 19Beyond "Read or Don't Read": Making Pull Requests Computable with the Rising SeaA research vision for connecting static analysis, LLM semantic reading, tests, and TLA+ on a single mathematical foundation.19 min read·blog.iroha1203.dev2