5 ms·
I used to use this back when I mained Windows. Ever since moving primarily to Linux, and getting familiar with Emacs, Calc mode simply beats every calculator I'
by seanw444 5y ago
I used to use this back when I mained Windows. Ever since moving primarily to Linux, and getting familiar with Emacs, Calc mode simply beats every calculator I've ever used in total functionality. However, there are certain cases where I also like to use https://insect.sh https://insect.sh if lots of units are involved.
- marcosdumay 5y agoYou may like qalc. It's an apt-get away and does all those units.
- deleted 5y ago[deleted]
- stavros 5y agoI love you.
- xwowsersx 5y agoinsect.sh is so cool! ``` (6 Mbit / s) × 1.5 h GB = 4.05 GB ``` Love that. Thanks the recommendation.
- CyberShadow 5y agoEmacs Calc (not unlike much of the rest of Emacs) is a little ... special. By default, it calculates 4/2*2 as 1, because multiplication has a higher precedence than division. https://orgmode.org/manual/Formula-syntax-for-Calc.html https://orgmode.org/manual/Formula-syntax-for-Calc.html
- bufferoverflow 5y ago> because multiplication has a higher precedence than division Wow. That's actually quite bad.
- bee_rider 5y agoI think some people learned P-E-MD-AS as if MD and AS didn't have the same precedence. I mean, it's a convention anyway, so they aren't really "wrong" insomuch as just being unusual. But it does seem like an odd thing to disagree about. I think there's also some confusion about whether the / symbol is actually being used as a single line equivalent to a fraction, which might introduce some ambiguity? I forget. The number of ways that people can misunderstand things is infinite, so it can be hard to keep track. Anyway, parentheses are cheap and misunderstandings, even when the other party ought to take the blame, can be expensive, so I've taken up the habit of being generous with the things.
- deleted 5y ago[deleted]
- gnuvince 5y agoI've used Emacs Calc for >5 years and never knew about this, because I always do calculations in RPN.
- michaelmrose 5y agoYou could open an issue. Seems like a reasonable idea to fix that.
- matsemann 5y agoMaking it the opposite is wrong as well, though (PEMDAS or whatever the acronym americans learn isn't the sole truth). Just use parenthesis.
- CyberShadow 5y agoIt's by design. The option calc-multiplication-has-precedence controls this behavior.
- ezekg 5y agoThis may be slightly off topic, but what are some other small, lesser known websites like this one that people use regularly? For me, it'd be https://rubular.com https://rubular.com and https://crontab.guru https://crontab.guru. I've used those 2 sites pretty regularly across my entire career.
- seanw444 5y agoWell, I run Insect locally. The page is just for demo purposes. You just install it from NPM.
- jcfrei 5y agoI use calc as well, especially practical in combination with guake ( a drop-down quake style console: https://github.com/Guake/guake https://github.com/Guake/guake ).
- andrepd 5y agoqalculate is by far the best calculator program I've ever used.
- abrowne 5y agoAgreed. This is one case that's not hyperbole.
- trailbits 5y agoI've been using and loving qalculate for years as part of Debian but strangely it isn't in the current Debian stable package list (bullseye). So I just switched to SpeedCrunch and it seems like a good replacement for most quick calculations where you still want to see some history.
- KarlKemp 5y agoGoogle used to be excellent with units. My test is always `15 mpg in l/100km`, and Google & wolfram alpha were/are the only ones to get it right. (Just tried, and it works again in Google, after not working for a few years) edit: Spotlight now has it as well. Congratulations to Apple & I need to move the goalpost.