Looks very interesting. I think there is some ambiguity with respect to currency symbols, $ converts to USD and £ to GBP. However, depending on user location those symbols can be used to mean very different currencies.
Is there anywhere else that uses "£"? I didn't feel great about having $ default to USD but it is probably what most users want. I'll probably make it location-aware and/or allow the user to decide which it defaults to in the future.
Show HN: I made a web-based notepad with a built in unit calculator
91–100 of 246 posts
Re: Show HN: I made a web-based notepad with a built in unit calculator
#92 > 1111111111111111111111111111111*9
> 10,000,000,000,000,000,000,000,000,000,000Re: Show HN: I made a web-based notepad with a built in unit calculator
#93On my Android phone I can't see the last letter of some lines and I'm unable to zoom out.
Re: Show HN: I made a web-based notepad with a built in unit calculator
#94Nice - I'll give it props for: > 1 metre + 8 chain = 161.9344 m > 1 tonne + 1 short ton = 1.90718474 t > 1 tonne + 1 long ton = 2.0160469 t and give it a pass for not supporting pre 1963 UK | US historic weights and measures .. that's getting into a pretty specific use case where Standards nerds like to have a clear display of what conversion factors are in play and what provenance those factors have. Time Zone suppo…
You're right, I'm using lz-string to compress the text before shoving it in the URL. This is definitely a necessary evil for the time being so I don't need a back end component to the app. But eventually I do want prettier URLs and collaborative editing if I can make that work without it bankrupting me or driving me insane.
Re: Show HN: I made a web-based notepad with a built in unit calculator
#95This 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…
Yeah, honestly this has been annoying me too, I just haven't got around to fixing it. It's using CodeMirror 6 as the editor, the author said he deliberately made this version not "break" the default tab behaviour, which I think is understandable as a library author, but that makes it my job to fix!
Re: Show HN: I made a web-based notepad with a built in unit calculator
#96Earlier quoted context omitted.
Seems to assume + if an arithmetic operator is missing?
This is correct, the idea is that you can type things like "6 foot 3 inches" and have it evaluate as an addition. But the example shown above is definitely a problem, I'll try to think of a work around.
Re: Show HN: I made a web-based notepad with a built in unit calculator
#97There is something wrong with the order of operations. When I type 2+2*2-6 i get -6 which should be 0.
Re: Show HN: I made a web-based notepad with a built in unit calculator
#98Re: Show HN: I made a web-based notepad with a built in unit calculator
#99Really cool! Only missing a "sum" function.
Re: Show HN: I made a web-based notepad with a built in unit calculator
#1001=2 1+1 // = 4 Really nice project though https://numpad.io?#text/IwXgTAUMDUxA