2-in-1 calculator app adds up to surprise hit for retired engineer
mainichi.jp
mainichi.jp
BTW, for anyone who is comfortable with RPNs, MacOS added the mode to their built-in calculator recently-ish. it's not terrible either. I've switched to it for my default experience. (even though nothing beats the HP 48g, as it's what I'm the most familiar with).
Also, on the article, really cool that someone added this on mobile. I love hearing about devs developing something that fills a niche and does so well. I feel like I'm out of ideas most days. Good for her!
I have used rpncalc and T_REX (https://isene.org/2021/02/T-REX.html) in the terminal, dc or gforth in a pinch.
On a laptop or desktop, though, I've come to use Emacs Calc [1] pretty heavily. There's a surprising amount of power in it. It's pretty cool to be able to do things like operate on matrices of symbolic expressions via a stack interface.
[0] https://play.google.com/store/apps/details?id=org.ab.x48
[1] https://www.gnu.org/software/emacs/manual/html_mono/calc.htm...
But it lacks the stack undo of the 48 emulators.
https://play.google.com/store/apps/details?id=advanced.scien...
This would beat by far the convenience and usability of this 2-in-1 calculator. I would KILL to have this.
In fact, on my laptop, I use the Python REPL as a calculator. I hit Ctrl-T python ENTER. It opens a terminal and I start typing 48*152 ENTER and I see the result. The history of calculations is saved. I can access previous calculations, edit one number and recompute. I see the last 100 lines or so, on one screen.
The only one somewhat usable Python REPL on Android is "Pyonic Python 3 interpreter" but it's clumsy to use as a calculator because it uses the standard alphabetic keyboard so you have to keep switching to the special characters layout to type math operators (-+/...) If this ONE detail would be fixed, and with some minor UI polish I believe it could become more popular than the 2-in-1 calculator...
Also, you can get this functionality for even your broken build (or other interactive commandline apps that have no edit history) by just doing something like:
alias qalc='rlrwap qalc'It's essentially a 4-function calculator that records every step on tape, but you can edit any digit anywhere and all related steps are immediately recalculated, like on a spreadsheet.
> 1+1
2
> 10+10
20
Then if you tap the first line ("1+1") my ideal REPL would add it to the bottom: > 1+1
2
> 10+10
20
> 1+1_ (with the cursor here ready to edit it)
Then you can for examlpe change a 1 to 2, then type ENTER: > 1+1
2
> 10+10
20
> 1+2
3
That way you can easily compute a few things, then compare both the expressions and results of the last few calculations, and quickly make edits/corrections as needed.If only it could display about a dozen previous results while the keyboard is active... With a Python REPL I can just assign intermediate results to variables.
I have an older version of it and it works fine although the keyboard is a little clunky. However, you need to swipe to get to previous computations. I'm not sure if they changed that in the new version.
- iOS: https://apps.apple.com/us/app/instant-calculator/id163232882... - Android: https://play.google.com/store/apps/details?id=com.adrianmeji...
It’s like if a new word processor consisted of two faithfully recreated typewriters, with a special button to send the most recently typed word back and forth between them.
[1]: https://www.creativebloq.com/design/iconic-calculator-inspir...
There's a lot of diff tools that essentially do exactly this.
of course you could also just have a history where you can delete individual items, but this also makes the interface more complicated and might not be as intuitive (and requires more discipline)
I've always believed that there is still a lot of low-hanging fruit left in crafting user friendly experiences for consumer facing applications. Who would have guessed this would be the case even in the design space of something as fundamental as calculators! ~20k paid users seems surprisingly large. But I'm not plugged into the app dev scene, so perhaps this isn't unusual.
There were 2k clones of flappy bird within a month of its release. By now there must be at least a dozen programmers copying this idea (Twin-Calc) for other platforms, myself included.
Those of us who know RPN and other options are likely to squirm at this app, but in this case the "faster horse" approach seems to be easy for people to pick up and understand.
There was for apps using Swift. Before the Swift ABI was frozen, iOS apps using Swift had to statically link the Swift standard library. Nowadays, iOS provides it as a dynamic library.
(and having a stable ABI is quite an accomplishment for a language like Swift. See https://faultlore.com/blah/swift-abi/)
A smaller footprint than 563K would be a dubious advantage for web apps in either case.
Something like a default of 3x4 or 4x4 cells. Would have most of the basic spreadsheet functionality, and maybe simple graphs to show comparisons. Interface designed for touch on a six inch screen.
Anyways, that's a great idea you have. I never knew I wanted this, but now I want it very badly.
- docs.new
- slides.new
Super cool!
https://chrome.google.com/webstore/detail/quick-spreadsheet/...
One specifically designed for phones with a very limited feature set, though? That could be very handy.
I wonder what other kinds of non-trivial calculator behaviors he had to rediscover from scratch?
Not sure if it's a US thing or Western world thing, my country (not Japan, but also in East Asia) just doesn't use it.
"Set the power to point three" sounds the same orally as "Set the power two point three"
The zero makes it unambiguous.
Except in deliberate word-by-word pronunciation, "one two three" and "one to three" sound different in native US English.
I've never seen 0.5 written ".5" going back to Principia.
(Things are rarely drafted according to specs.)
I don't press the zero button on my calculator when inputting values, though, since it's an extra keystroke for literally nothing.
Without a decimal it will strip leading zeros by default, a setting that has caused me hours of frustration over the years.
There are more than you would think, yes, but not terribly bad. I think he exaggerated a little, and `bc` has more than just a simple calculator.
[1] https://apps.apple.com/ca/app/desmos-scientific-calculator/i...
I always leave it open now and it has saved me countless times. Really with the iOS version had this feature built in as well.
That is, if you type 1 + 2 / 2, the answer shows up as 2 and the paper tape shows
1 + 2 / 2
= 2
However, if you type 1 + 2 = / 2 (that is, you type equals after the 1 + 2, which will show 3 on the screen, before typing the / 2 part), the last line of the paper type shows 1 + 2 / 2
= 1.5
They need to add some parentheses in there.While the single-value-view of a calculator removes visual context, if you are banging out multi-step calculations as a power user not having the standard order of operations would be odd.
The workaround, as you say, is to just press enter (equals) after each required subtotal. This is pretty semantically clear, that is - if you consider a traditional keyboard to even be a thing that young people are familiar with - and that is getting arguable!
Key corollary issues to the single-value-view nature of computer calculators are that they pull a lot of (now obtuse) cultural context from physical calculators plus regular mathematical context, none of which is obvious to occasional computer calculator software users.
It's probably high time this stuff was rejigged. Thanks for the paper tape tip!
What I am arguing is that the visual display in the "Paper Tape" view is wrong because it displays different answers for the same values.
Now if only I could calculate the log of something by pressing 'log' that would be nice.
If to the right of the 4 basic operators +, -, ×, ÷ you have a vertical strip (greenish in my case), you can slide it to the left and have access to various other operators/functions, including log.
Being based on the old SGI calculator, you can also slide any result to the left to get as many digits after the decimal point as you like.
e.g. slide in the extra ops, press π, then start sliding the 3.1415… result.
However, seeing as the calculator allows writing expressions with multiple operations, just shoving everything on the screen into ‘log()’ would be unreasonable, as one might want to provide the exact place for the logarithm themselves—so I guess the app does the most reasonable thing it can.
I think it's being dumped on because it's a "dumb" solution to something that is a non-problem for all of us here, which is probably why I've never seen this solution before. None of us would think of it.
But I think it's true that while most everyone knows how to use the most basic functions of a calculator, most people don't get any further than that, and this allows them to.
This however is very obvious and I think it's a great idea. If I had iOS I think I would install it.
Everywhere.
Making meetings on the outlook app on my phone for work is a complete and utter chore. I can't look at emails at the same time. While I end up popping everything out on my PC on my phone that's not possible.
This is basically the same thing and on a desktop I'd pushed I end up dumping all the info in the scratch pad of an Emacs session phones just don't let you do that.
I wish iPhones either supported it in landscape, or got a feature called ‘slide-over’ from iPadOS, where you can float another app on top of your current app, off-screen to the right. There’s a little edge you can then grab and pull over your current app to quickly peek or copy info back-and-forth. When you’re done you just slide back the ‘slide-over’ app.
It’s a really clever feature. And I know swiping on the gesture bar exist, but it doesn’t have nearly the same rapid fluidity of slide-over.
and the thing is that even using the M/MR/MC feature was foreign to me...
Single tally memory is useful on small screens. I just wish they’d display the stored value somewhere.
1. Not skeuomorphic.
2. Indeed, flat.
3. Almost identical to the iPhone native calculator, except it uses round-edge rectangles instead of circles.
For example
iPhone calculator is a skeuo calculator because it has the same layout and limitations of a physical calculator.
Soulver is a non-skeuo calculator because it is built around the benefits of a computer and ignores the history of a calculator.
In that case you can also consider the iPhone "dialer" to be skeuomorphic, as it has the same layout as the old physical buttons. The digital keyboard is also using the same layout as a physical keyboard.
One could argue that on a touch screen, the buttons are there because it is the most efficient layout and not because it looks like a physical calculator. In that case, it is not skeuomorphic.
>One could argue that on a touch screen, the buttons are there because it is the most efficient layout and not because it looks like a physical calculator. In that case, it is not skeuomorphic.
It definitely is designed to be a physical calculator though to the extent it is an actual copy of a famous one [1], and has all the limitations of a physical calculator even mincing the memory limitations of a physical calculator.
[1] : https://www.wired.com/images_blogs/gadgetlab/iphone_braun.jp...
A skeuomorph (also spelled skiamorph, /ˈskjuːəˌmɔːrf, ˈskjuːoʊ-/)[1][2] is a derivative object that retains ornamental design cues (attributes) from structures that were necessary in the original.[3] Skeuomorphs are typically used to make something new feel familiar in an effort to speed understanding and acclimation. They employ elements that, while essential to the original object, serve no pragmatic purpose in the new system. Examples include pottery embellished with imitation rivets reminiscent of similar pots made of metal[4] and a software calendar that imitates the appearance of binding on a paper desk calendar.[5]
So a software calendar using the same layout as a paper calendar doesn't mean it's skeuomorphic. It means it's a calendar. If you had a totally unique calendar interface model but added a sewn leather binding graphic along the top, it would be skeuomorphic.
I have the same issue programming when I get popups for various autocomplete or method description or whatever.
Typically, I'm actually focused on the previous line like a hook into my thought process and almost need that hook to get into the next section.
This app is just a simple example of how people visualize the steps into complicated stepping alongside logic.
You still only use one at a time anyway.
And yes, you could easily have 10,000 calculators or more.
While the UI is very different, the key benefit described here reminds me a lot of Soulver: https://soulver.app/
I love Soulver for how quickly it lets you throw together quick guesstimates and sanity checks. The ability to incorporate previous results by reference and update those on the fly greatly improves the clarity and my confidence in my experience.
But have not seen a single update in many years now, and there are a few rough edges in iOS 15 I wish they had fixed. Is it abandoned?
e.g. I can write hosts = 100; disk_space_used = 10MiB/s * hosts * 3 days as TiB
And it works as expected. Powerful tool when doing capacity planning or other load calculations.
I switched my portable setup from a MacBook to an iPad Pro last year and Soulver is one of a handful of small-but-useful Mac-only apps that I really miss when I’m not at my desk.
Drawing an integral with limits, fractions, exponents, etc on the screen in normal notation provides much easier error checking when your inputs get longer and contain more and more syntax like commas, parentheses, etc.
For non-Mac, there's an open-source web app called that's similar and looks nice too (haven't used it much): https://github.com/sharkdp/insect
Edit: No, they aren't even GIFs. They're MP4s. I have to right-click them and select Play to get them to work, probably because I have autoplay disabled in my browser. So they would have worked if they actually were GIFs, incidentally
https://marketplace.visualstudio.com/items?itemName=nortakal...
So the simplicity of just having two calculators side by side and a fast way to transfer the results is probably exactly what some people need and want. Zero learning curve, just two calculators doing exactly what you expect.
I'm always fascinated by apps and programs that does exactly one thing, but does it really well (sometimes referred to as the Unix Philosophy). I feel it's harder to find tools and apps like these nowadays. Not sure if there are less or if they are just harder to find because of the huge number of apps overall.
[Edit] Writing this comment actually reminded me of this blog https://onethingwell.org/ which highlights software like this. Gonna try to contact the author and see if they want to add this one :-)
So he has resurrected the original blank slate engineer’s intent; Osborne realized that people would be uncomfortable “knowing” stuff was in hidden registers, as apparently a great deal of non-technical people are today, 52 years later.
Marginally related: if you are looking for a non-sucking calculator app on desktop or mobile, try an emulator of a (modern or retro, at your choice) HP or TI graphical calculator. My personal favorite is the emulator of HP Prime.
Ever noticed how normal people hit both C and CE several times on physical calculators because it's not obvious what those buttons do? That's the target audience.
This adds another use-case outside of the M functions on a standard calc :)
The practice of including punctuation inside the quote makes this a somewhat confusing sentence, at least if you’re used to using a comma instead of a period for the decimal point.
The article I wrote wants to mention every point that should be adressed (in my opinion) to make a good calculator. Qalculate, like many others, does address some of them.
But as far as I know, only Chalk addresses all of them.
Web based Soulver-like calculator that is a bit more like scripting.
totally different, but wonderful.
hit ctrl+c in any line (without any character selection) to copy the result.
Kind of reminds me of the "Notebooks" concept that Jupyter and others use (I dipped my toes in it, not an expert).
Would be nice if he could abstract the calculators to a list/hierarchy of calculations performed, then be able to "open" limitless additional calculators as desired and swipe between 'em.
Being able to see a hierarchy of calculations and say, go back to a parent one and modify the value or part of the calculation itself and have child ones update would be super cool.
In a way then, the python idle is like this but with many calculators side by side.
But this app reminded of something similar.
There is an old school double mechanical pinwheel calculator:
https://www.youtube.com/watch?v=qnlzKCFP0sU
It was probably mostly used for coordinate calculations.
I own one of those brunsvigas (the single stage one) and it is fascinating what these things can do.
A mechanical calculator with enough didits can solve cross multiplication rather easily.
FX 95: https://www.casio.com/intl/scientific-calculators/product.FX...
I've been using CalcTape for a few years now, it's a calculator and notepad in one.
https://www.schoettler-software.com/en/calctape/windows
I appreciate the simplicity of the side by side calculator app though.
I went through calculator withdrawal after I left Windows XP and the great (for its time) Powertoy Calculator at https://www.rarst.net/software/powertoy-calculator/.
I wanted to like speedcrunch but I abandoned it, because I've found that it takes longer to load (4-5 seconds or more) than I need to have it open (1-2 seconds).
"Hypercalc" the Android app does it, but TI-84 is the standard..
I prefer the traditional precedence; it ensures - 3 ^ 2 = 0 - 3 ^ 2
Another one is "2 ^ 1 / 2 Enter". Some calculators give 1, newer ones give sqrt(2).
1.6*2/3
and display the equation on the screen, not just the 3.Both allow you to do complex interim calculations that can be hard to plan out on algebraic alone.
From your comment and some other comments and the way the article is written I gather that the engineers age is seen as something novel.
Do people really see 63 as an newsworthy fact? Not trying to troll, I honestly wonder. It is 4 years from retirement in my country and I see many other achievements come from much older people.
I just don't see 63 as anything special or old.
It was a fun project to work on.
Yeah love it.
TBH, these semi-snarky "How is this any different from MS/MR?" responses are like "Why should a CPU ever need more than 2 registers?" to me.
Then hit [MX] instead. Problem solved with 1 button instead of a whole extra calculator.
"Why should a CPU ever need more than 2 registers?"
The question in this case is "Why should a calculator only have 2 registers". This approach doesn't scale beyond 2 numbers?
Personally, I prefer RPN where I have a whole stack to work with.
TBH, though, this is still kind of like arguing that people should never need GUIs because you can do everything on the command line. There is a pretty obvious, fundamental difference being able to see everything on the screen at the same time, vs having to remember what you stored in memory (and what calculations went into it).
As for RPN, while I agree most people are never taught RPN.
A better, more intuitive solution than any of the above with available screen real estate is a history tape of prior resultants created automatically.
Multiple prior resultants (not just 2) always available to view --- no action required.
To recall a number from the tape into the active accumulator for further manipulation, simply click the number.
To remove a number from the tape, click and drag right or left. To reorder, click and drag up or down.
This duplicate calculator method doesn't scale too well. A history tape is a better option --- just as intuitative but more capable/flexible.
If it doesn't work for you, then use something else.
These are readily available on other platforms. The Android default calculator supports this by simply pulling the display down to reveal "history". And there are a bunch of other apps with even more advanced features and functionality.
Personally, I use an RPN calculator where I have a whole stack to work with --- not just 2 numbers.
It's also good enough. Most people don't need more than a pocket calculator. Sometimes I use WolframAlpha, very modern, but I type my query on a keyboard whose design predates the calculator (QUERTY in <1873 vs "10-key" calculator in 1902)
I was so surprised it did not exist I ported the iphone app as a pwa using Typescript and wrote about it here.
https://mejuto.co/the-ipad-did-not-have-a-calculator-so-i-po...
[0]: https://www.theverge.com/2022/6/6/23156804/apple-weather-app...
It is a pwa, so you can add it to the home screen.
Can you drag and drop a number into the calculator? No. I rest my case.
This app succeeds because the developer has hit upon an interface that better matches normal users' mental models around calculators.
Also, this is in the Android stock calculator so lifting the code over is easy. See also https://dl.acm.org/doi/10.1145/2911981
Have you considered that they may not be using floating point numbers at all? They might be using arbitrary precision arithmetic. That was probably implemented by a library. So not as much effort as you would think.