Live data from Hacker News

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

numpad.io

71–80 of 246 posts

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

#71
post #28

Very cool! Some ideas: 1. Doesn't seem to support area conversions (tried 400 square meters, 400 m^2, and abbreviations in between). 2. If I only give a time, it would be more useful if it gave a time-only result rather than defaulting to the current date - unless it rolls over to a different date. (E.g. in Soulver, "2:30pm + 20hr" gives "Tomorrow at 10:30".) 3. It would be nice to support multiple abbreviations for…

400 inch^2 -> 400 inches² 10 km^2 -> 10 km²

... works for me.

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

#76

Nice work on getting this out. I think it looks pretty neat and simple to use. I’ve had some issues when using it though: - on mobile, moving the cursor in a calculation doesn’t work very well; - More important, multiplying “200 * 10%” results in “2000%”, I believe the result should be “20”; https://www.wolframalpha.com/input?i=200+*+10%25

Those are equal values right? This is just formatting preference.

I agree formatting should probably go with the first factor, but I wouldn't say current behavior is incorrect

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

#77

THIS IS AMAZING. the next step is adding variables and assignments and conditionals, and you have something very powerful that can be used by just about anybody to do really interesting things. provided you have a way to integrate with other services that a lot of people use

Thanks! Turning the current language into a Turing complete one would be a huge step up in complexity and I'm not sure it will ever make sense to implement. But I have thought about adding the ability for users to define their own functions in JS and might get around to that one day.

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

#78

TIL that it is convention in the English language to place the euro sign in front of the amount and not after it, like in most other European languages.

Yeah, I'm British and I'll concede that how we write it doesn't make sense. I do intend to localise it/add options in the future.

NumPad currently accepts numbers in the "9,999.9" format, which is the default in the anglosphere, but "9.999,9" is common elsewhere. So that's another thing I'd like to address in the future.

Post reply on HN