Live data from Hacker News

Show HN: Insect – a high-precision scientific calculator with physical units

insect.sh

11–20 of 205 posts

Re: Show HN: Insect – a high-precision scientific calculator with physical units

#11
post #3

This is pretty cool, it's one of the rare applications I've used where the things I've tried "just work". For example "10 kg to g", "c", "c to km s^(-1)", "c to km/s" all work intuitively. It's great it works at the command line too. Something I wish I'd had when I was studying Physics.

I always used my HP48; it had great unit support.

Re: Show HN: Insect – a high-precision scientific calculator with physical units

#14
Looks really nice!

≫ exp(2*kg/s)

  exp(2 × (kg / s))

  Conversion error:
    Cannot convert quantity of unit kg/s to a scalar
Excellent!

Is there any way I can save a list of variables to file and then reload them?

I also would like to vote for supporting imaginary numbers (Issue #47).

Re: Show HN: Insect – a high-precision scientific calculator with physical units

#15
post #5

Looks nice! are you relying on mathjs? I think it has some of the same functionality. If not, is the conversion logic in an npm package?

package.json and bower.json does not include mathjs, so it doesn't seem like it does rely on mathjs.

Re: Show HN: Insect – a high-precision scientific calculator with physical units

#19
post #3

This is pretty cool, it's one of the rare applications I've used where the things I've tried "just work". For example "10 kg to g", "c", "c to km s^(-1)", "c to km/s" all work intuitively. It's great it works at the command line too. Something I wish I'd had when I was studying Physics.

Thank you very much for the feedback!

Re: Show HN: Insect – a high-precision scientific calculator with physical units

#20
post #15
post #5

Looks nice! are you relying on mathjs? I think it has some of the same functionality. If not, is the conversion logic in an npm package?

package.json and bower.json does not include mathjs, so it doesn't seem like it does rely on mathjs.

Yes. The underlying unit-conversion library is called https://github.com/sharkdp/purescript-quantities It does not have a (nice) JavaScript API, so far, as it is written in PureScript - like Insect.
Post reply on HN