Lurker News
Hi HN

It also supports percentages, dates and variables.
I've been working on this alone for a few years now, so would love to get some feedback.

Comments (239) 97 threads

Earlier comments
tiagod2 replies#
Hey, great tool!

Just a little bug: I found that if I click a number to copy, then click it again, I'll get the original string in my clipboard concatenated with " Copied!"

tonyonodi#
Glad you like it! Thank you for the bug report, I'll get it fixed shortly
tonyonodi#
That should be fixed now
bkazez2 replies#
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 minutes (mn/min are both used in various countries).

zweifuss1 reply#
400 inch^2 -> 400 inches² 10 km^2 -> 10 km²

... works for me.

bkazez#
Ohhh, I missed that "->" was the operator. I was typing "to" as in Google searches.

Re dateless times, yes, I think the Soulver way is unambiguous but still human-friendly.

tonyonodi#
Thanks for the feedback

1. "square" before a unit I probably will implement that in the future. I'm not sure why "400 m^2" isn't working for you, I've just tried it and it works as expected for me?
2. It's a little bit clunky, but I decided to always specify the time and date being shown because there's so much potential for ambiguity. I might revisit this if I can think of a better way of doing it that's still unambiguous (the Soulver way isn't bad tbh)
3. "min" is supported, I've never come across "mn", do you know where it's used?

SimonWaldherr#
Funny, almost at the same time I published a similar tool on github. https://github.com/SimonWaldherr/liveCalc Mine is released under the MIT license and is mostly based on math.js. Suggestions for improvement and pull requests are very welcome.
mjaniczek#
Very nice! Bookmarked.

I found a small bug: `5 hours 20 minutes` will give you `5 hr 19 min 60 s`. This only happens with some numbers in the minutes slot.

Load more comments