Live data from Hacker News

Show HN: I made a web-based notepad with a built in unit calculator

numpad.io

121–130 of 246 posts

Re: Show HN: I made a web-based notepad with a built in unit calculator

#121

Math is not terribly precise I'm afraid :) > 1111111111111111111111111111111*9 > 10,000,000,000,000,000,000,000,000,000,000

That doesn’t seem like a floating point inaccuracy. What’s going on there?

NumPad uses Decimal.js to represent numbers

https://mikemcl.github.io/decimal.js/

Re: Show HN: I made a web-based notepad with a built in unit calculator

#122
post #119

Interesting! Thank you... I was trying to divide an area by a smaller area to get the number of widgets, and it insists on making that into a percentage. Is there a way to make it report a raw number instead of percentages when the two quantities are the same unit?

What's the exact calculation you're doing?

Re: Show HN: I made a web-based notepad with a built in unit calculator

#123

Can you add bit and byte values, as well as units per unit of time please? Base 10 (GB for example) and base 2 (GiB) would be very handy. Full words as an alias as well, so GB -> gigabyte, and GiB -> gibibyte. That way you can do something like: 1GB / 40MB/s in minutes 1GB to Gib 1GB to bits 50 bits to bytes

Yes I can, I'm busy with launch stuff today but I'll get that done soon

Re: Show HN: I made a web-based notepad with a built in unit calculator

#124
post #57

This looks pretty cool. I've long been looking for something similar to Soulver ( https://soulver.app/ ) that I can use on Linux. This seems promising. One small criticism: In my opinion, no web-based writing app is useful unless the tab key inserts a tab. The default behavior of most browsers to move focus to the next field is tremendously infuriating in this context. Unfortunately, that's what happens here, at leas…

I came here to deposit this exact same comment with one addition. Great project but seems to be lacking base support. As an engineer I need hex at least.

Re: Show HN: I made a web-based notepad with a built in unit calculator

#125

Earlier quoted context omitted.

Maybe you want to store all that information for later and also want the calculation, both now and later?

So...a spreadsheet?

A spreadsheet won't automatically work out and display units for you

Re: Show HN: I made a web-based notepad with a built in unit calculator

#126
Minor bug report: for whatever reason entering a space on my Android keyboard enters the next suggestion on your editor. That's a feature I explicitly disabled, but is active on your website. On top of that if that enters an unrenderable character I see a red dot that's undeletable.

Re: Show HN: I made a web-based notepad with a built in unit calculator

#127
post #83

Earlier quoted context omitted.

Might not be as comprehensive as Soulver, but here's something I've been using in a browser to fiddle with: https://cruncher.io/ .

Gosh, everyone has made one of these haven't they?

I have as well :-) but I lose for not having released. This version is pretty cool though, will probably not gonna use it because same reason I didn’t evolve my version. Don’t need it, and when I need it I don’t need for it to be dynamic.

Re: Show HN: I made a web-based notepad with a built in unit calculator

#129
The docs say that this is using CodeMirror. The CodeMirror license says that you're allowed to use CodeMirror for your stuff, but that stuff has to in turn include:

1. the copyright notice

2. the text itself that explains that you/others have this permission/obligation

Currently, it looks like NumPad isn't doing either.

From comments here, NumPad is evidently also using decimal.js, which has similar terms.

Re: Show HN: I made a web-based notepad with a built in unit calculator

#130
post #36

This is awesome! Some feature requests: it would be great though if you could have multiple sessions/tabs in stead of 1. Also a clear button would be nice.

Can’t you just select all then hit backspace? Asking for a friend...

When using it to make simple calculations while on a phone I think it would be easier than the long click select all delete combo, but perhaps this is not really the aim of the tool.
Post reply on HN