Show HN: I made a web-based notepad with a built in unit calculator
111–120 of 246 posts
Re: Show HN: I made a web-based notepad with a built in unit calculator
#112Mini 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
MonthlyRepayment(principle, annual_interest, term_in_years)
Re: Show HN: I made a web-based notepad with a built in unit calculator
#113Math is not terribly precise I'm afraid :) > 1111111111111111111111111111111*9 > 10,000,000,000,000,000,000,000,000,000,000
Re: Show HN: I made a web-based notepad with a built in unit calculator
#114I 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
#115Nice 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
Re: Show HN: I made a web-based notepad with a built in unit calculator
#116Re: Show HN: I made a web-based notepad with a built in unit calculator
#117Base 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
Re: Show HN: I made a web-based notepad with a built in unit calculator
#118Earlier quoted context omitted.
"kph" is also supported, will add support for "km/h"
And `mpg`/`l/100k` please!
I'll have to think some more about this one.
Re: Show HN: I made a web-based notepad with a built in unit calculator
#119I 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?
Re: Show HN: I made a web-based notepad with a built in unit calculator
#120In reality, months/years are simply not convertible to days/weeks arithmetically, and you can’t sensibly add months to certain dates, and sometimes also not years (for February 29th). The former should give “Incompatible units”, and the latter should result in something like “Undefined” for incompatible dates.