[HN Gopher] Napkin: Back-of-the-envelope calculations in Python
___________________________________________________________________
Napkin: Back-of-the-envelope calculations in Python
Author : HammadB
Score : 14 points
Date : 2024-10-08 17:48 UTC (2 days ago)
(HTM) web link (github.com)
(TXT) w3m dump (github.com)
| divbzero wrote:
| That's a creative use of a custom _2to3_ fixer [1] to transform
| the calculations [2]. Too bad this will no longer work with the
| removal of _2to3_ in Python 3.13.
|
| [1]: https://docs.python.org/3/library/2to3.html#fixers
|
| [2]:
| https://github.com/rescrv/napkin/blob/e6a4de2/napkin/substit...
| staplung wrote:
| I don't want to knock anyone's project but I fail to see the way
| in which this resembles back-of-the-envelope calculations (which
| I take to mean, roughly, estimates RE order of magnitude). This
| seems more like plain old arithmetic with some built-in units. Am
| I missing something?
___________________________________________________________________
(page generated 2024-10-10 23:01 UTC)