One calculator I’ve come to love over the years is Numi. I keep it open all day every day and it does a pretty good job of bridging the gap between the typical skewmorphic calculator app and scilab or python. It’s a text based calculator that allows you to declare variables and do unit and base conversions and save and load your work. No graphing though unfortunately and i dont think it really has much in the way of plugin support.
Anyway not to say your calculators arent useful op, i just think that something that can be open on the desktop is more useful than something that is hidden in a chrome browser tab.
Haven't tried Numi, but I made a calculator with variables as a side project on a whim: https://calc.li/ - it is online, but there is no backend and you can save the whole page as an offline file if you want, using localStorage for state.
Somehow related: “A calculator app? Anyone could make that”: https://news.ycombinator.com/item?id=43066953
On the topic of calculators. I discovered Figr[1] on HN a while ago, and it really helps when doing one off multi variable thing, like helping a customer estimate their bill etc.
Kudos on building this. I occasionally search for these on Google and am always disappointed by the mess. Bookmarked.
A random dimensional analysis that I find amusing about fuel consumption units:
liters / 100 km => m^3 / m => m^2
(volume) / (distance) => (area)
This can be interpreted as the cross-sectional area of a hypothetical trough of fuel running alongside the road, whose contents you slurp up and consume in your engine as you pass (in lieu of using fuel stored in an onboard reservoir).
You're not the only one. I recently took up running and didn't particularly like any of the existing running pace calculators, so I made my own: https://calcubest.com/health/runningpace
And then kinda realized that there were others I wanted to have, and a few I thought others might want, so I added more.
A calculator is simple enough that it's fun to work on one when I need a break from something more complex but want to be able to do something other than doom scrolling. So now every couple of weeks I add another one.
If you're taking suggestions, I have a frequent need to do basic arithmetic on fractions and not many "app" calculators do that well or at all.
On the desktop, if you keep a Scheme interpreter installed, you can use it as a quick arbitrary-precision calculator, including support for fractions.
Guile is the most easily available one on a Linux system, though some others will give better REPL out of the box.
$ guile
GNU Guile 3.0.8
Copyright (C) 1995-2021 Free Software Foundation, Inc.
Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.
Enter `,help' for help.
scheme@(guile-user)> (+ 1/2 1/8 1/8)
$1 = 3/4
scheme@(guile-user)> (* $1 1/2)
$2 = 3/8
scheme@(guile-user)> (define rate 42)
scheme@(guile-user)> (* rate $2)
$3 = 63/4
scheme@(guile-user)> (define (foo x) (- x 1/32))
scheme@(guile-user)> (foo $3)
$4 = 503/32
scheme@(guile-user)> (exact->inexact $4)
$5 = 15.71875
scheme@(guile-user)>
You can also run a Scheme REPL within Emacs, with `M-x run-scheme RET`. Optionally with Quack.
https://www.neilvandyke.org/quack/This is very different, but check out my https://git.sr.ht/~akkartik/notebook.love
Where’s the math actually done, on device or on your server?
Feedback: the compound interest calculator doesn’t support continual compounding? That’s surprising, and also the easiest to compute.
I must admit I still don't understand continual compounding
Imagine that instead of compounding the interest every day, you wanted to calculate it every nanosecond. And then, every billionth of a nanosecond. If you keep dividing that until it’s an infinite number of infinitely small compounding, you get a super simple equation:
interest = e^(years*rate)
10% interest for 5 years? e^(5*.1) = 1.649
3% for 8 years? e^(8*.03) = 1.271
You can plug any numbers into that and get the end result in 1 step.Sibling’s explanation is a great starting point! If you understand annual, weekly, and daily compounding, continuous compounding is the limit of what happens when the time you compound over becomes ever shorter. It’s not obvious without calculus, but it’s a well-defined function.
Explained in a terrible way, it's integrals for interest if "compound daily/monthly/yearly" was an estimation using discrete intervals
you didn't really improve by hiding behind "integrals"; this is why so many kids are afraid of calculus.
I like `units` for unit conversion. It's in the default install of MacOS, so readily accessible for most people.
Same. But mine was an android app. github.com/crouther
While the world does AI I learn assembly
Really! Is it part of your profession or study?
Hobby, I am a data engineer and definitely I will need to encounter AI. But assembly gives a different perspective of machines, make my brain hard-working and in case of societal collapse you need an assembler. We need more assemblers more cross-platform frameworks (collections of macros) and more emphasis on the way things work, like guides, articles. Not less.
What a coincidence, I used to be a data engineer too! Then I switched to building websites with NextJS. Totally agree with your point, I feel the same reasoning applies to higher level coding too, the best AI coding agents out there are at most a force multiplier, which means knowing how to code has even more leverage in the age of AI, allowing one person to do the work of an entire team.
fellow data engineer -- yeah i've spent the last 6 months reverse engineering binary data files for the elektron octatrack as a hobby project while waiting to see how the hype cycle plays out. deffo gives a new understanding of how the machine's internals work getting to grips with the underlying stuff.
edit -- i've looked at some assembly posts on here before and they often hurt my brain, so respect to you for digging into it.