Readit News logoReadit News
tonyonodi commented on Show HN: I rewrote my notepad calculator as a local-first app with CRDT syncing   numpad.io... · Posted by u/tonyonodi
justusthane · 6 months ago
I don't mean this as a knock on OP, but it's not a new idea — I think the best known apps in this category are Soulver and Numi.

I find them super useful. Using natural language and storing the context along with the calculations helps me to sort of think through problems.

Being able to define variables on the fly is also very useful — I often use them for pricing out materials for projects. E.g.:

  "8ft 4 × 4" = $15
  "8ft 2 × 4" = $4
  "8ft 2 × 8" = $12
  "8ft 2 × 6" = $6.50
  "3/8in x 8in carriage bolt" = $3.50
  
  Adjustable stand
  "8ft 4 × 4" × 4
  "8ft 2 × 4" × 2
  "3/8in x 8in carriage bolt" × 12
  Plans $12
(What you can't see here is that Soulver gives all the totals in a bar on the right).

Soulver has some examples of other uses on their homepage: https://soulver.app

tonyonodi · 6 months ago
There's a shout out to Soulver in the FAQ https://docs.numpad.io/#did-you-invent-the-notepad-calculato.... It's a great app, but Mac/iOS exclusive, and I think NumPad handles unit calculations a bit better (though I'm biased).
tonyonodi commented on Show HN: I rewrote my notepad calculator as a local-first app with CRDT syncing   numpad.io... · Posted by u/tonyonodi
bobeboph · 6 months ago
This is intentional, even if unexpected, as shown in line 152 of the link (turn on line numbers in the settings menu). I agree that following PEMDAS would make more sense.

Edit: it's the equation below "Although if you want to find roots higher than 3..."

tonyonodi · 6 months ago
Yeah, you're correct, it's intentional. Though it's pretty gross to be honest.
tonyonodi commented on Show HN: I rewrote my notepad calculator as a local-first app with CRDT syncing   numpad.io... · Posted by u/tonyonodi
shepik · 6 months ago
The interface looks great.

Handling of "to" is a bit odd though.

150 kn in km/h [277.79976 kph] - this is unit convertion

150 kn to km/h [-276.79976 kph] - this is unexpectedly subtraction. I expected the unit conversion here, because of Raycast and Google

tonyonodi · 6 months ago
Yeah, this was a deliberate decision, but a tough one and I can see why you might find it annoying. I think it makes date and time calculations more readable:

09:11 to 15:46

tonyonodi commented on Show HN: I rewrote my notepad calculator as a local-first app with CRDT syncing   numpad.io... · Posted by u/tonyonodi
kragen · 6 months ago
That's pretty nice; I've made a few attempts at such things myself, but the UI flow seems pretty smooth.

What's the license? I wouldn't want to use your code if copyright law poses a threat.

tonyonodi · 6 months ago
It's closed source
tonyonodi commented on Show HN: I rewrote my notepad calculator as a local-first app with CRDT syncing   numpad.io... · Posted by u/tonyonodi
zuzzurro · 6 months ago
How do I do get the right result when trying: 200Mbps * 2hours? I get "400 Mbits/s hr" and that's not what I'm looking for. It seems to be working if I use seconds instead. 200Mbps*2s=400 megabits
tonyonodi · 6 months ago
`200 Mbps * 2 hours in Mb` the second one works because the derived unit of the calculation works out to be exactly the same as a megabit, but that's not the case for the first one so you have to convert manually.
tonyonodi commented on Show HN: I rewrote my notepad calculator as a local-first app with CRDT syncing   numpad.io... · Posted by u/tonyonodi
eviks · 6 months ago
Unfortunately doesn't support superscripts 6²

Also is it possible to use CRDT as rich undo history, not only syncing?

tonyonodi · 6 months ago
Yes it is, and it's on my roadmap.
tonyonodi commented on Show HN: I rewrote my notepad calculator as a local-first app with CRDT syncing   numpad.io... · Posted by u/tonyonodi
owebmaster · 6 months ago
Mate this is a show HN post, not a "recommend me something" post. Don't be rude.
tonyonodi · 6 months ago
Honestly, I don't mind. It's useful to know about alternative products, and I hadn't heard about this one. Thanks all the same though :)

u/tonyonodi

KarmaCake day358August 22, 2014View Original