Live data from Hacker News

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

numpad.io

101–110 of 246 posts

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

#101

1=2 1+1 // = 4 Really nice project though https://numpad.io?#text/IwXgTAUMDUxA

Some people just want to watch the world burn.

No, you're right. I thought I'd prevented it from parsing numbers as variables, but apparently not. It's on my todo list now.

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

#103
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…

Good Feedback! I would think a checkbox that enables tab function would be best, how would you feel about a FF Plugin that achieves this? My only concern would be that FF has reserved that particular key and it would require special permissions to map it to your needs.

I think it should just be a toggle on the page: "Hijack keyboard shortcuts? Y/N". Figma, Miro, Google and co do it without asking. It's something we've come to expect with web apps, so a toggle would be a fair middle ground.

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

#104
post #85

I find it pretty cool. Some feedback: I tried to convert m/s in km/h and it wouldn't works, finally found how to do it, you need to specify `hour` in full letters I assumed it was something like an etherpad that you could edit collaboratively but apparently not

"kph" is also supported, will add support for "km/h"

And `mpg`/`l/100k` please!

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

#105
It's very nicely done, but I'm afraid I don't "get it" with things like this and written out calculators in general. Why would I type out something long like:

" Alice's food = £30 Bob's food = £25 VAT = 20% Alice's food + Bob's food + VAT "

Rather than just punch (30+25)*1.2 straight into a calculator?

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

#106

It's very nicely done, but I'm afraid I don't "get it" with things like this and written out calculators in general. Why would I type out something long like: " Alice's food = £30 Bob's food = £25 VAT = 20% Alice's food + Bob's food + VAT " Rather than just punch (30+25)*1.2 straight into a calculator?

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

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

#107
I also made one of these, still working on it now with a focus on including support for accuracy/measurement errors.

This is impressively close to what I have in my desired spec (but already more future proof). Congratz!

https://github.com/xixixao/recomputer

https://xixixao.github.io/recomputer/

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

#108
Mini feedback: The difference between a defined variable and an undefined variable could be clearer. And should an expression with an undefined variable still give a value?

So if you had: Alice's food + Bob's foood = £30 then I think there should be more to highlight the typo.

P.S. This is an awesome thing

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

#109
post #21

Nice - 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.

No post body was provided.

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

#110

It's very nicely done, but I'm afraid I don't "get it" with things like this and written out calculators in general. Why would I type out something long like: " Alice's food = £30 Bob's food = £25 VAT = 20% Alice's food + Bob's food + VAT " Rather than just punch (30+25)*1.2 straight into a calculator?

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

So...a spreadsheet?
Post reply on HN