If you prefer online repl, it's available on repl.it [1]. There you can keep your scripts in the cloud for later, with rudimentary versioning.
Show HN: Insect – a high-precision scientific calculator with physical units
181–190 of 205 posts
Re: Show HN: Insect – a high-precision scientific calculator with physical units
#182Nice, but sin (30 rad) sin × 30 rad Unknown identifier: sin Wouldn't it be great if software evaluated things, and if things didn't made sense, considered what the possible alternatives were, a bit like semantic checkers for spelling and grammar in text?
sin(30 rad)
= -0.988032Re: Show HN: Insect – a high-precision scientific calculator with physical units
#183Well done! Plain and easy to understand interface and excellent use of colour and space. Two suggestions: 1. While I doubt it'll be used very much, consider adding calories for completeness if nothing else: 1000 kcal -> joules or 1000 Cal -> joules You might also throw in cal for just for fun[1]! 2. Change Variables to Constants . I think this is more in keeping with standard jargon. [1]: cal is based on the gram whi…
Re: Show HN: Insect – a high-precision scientific calculator with physical units
#184Earlier quoted context omitted.
Thank you for the feedback. I'm not sure how to support this. I would probably have to call it "fluid_ounce" / "fl_oz" or "fl.oz." in order to distinguish it from the unit of mass.
Well, the way /usr/bin/units solves it is to allow "floz", "usfloz", "fluidounce", or "usfluidounce". Having to learn that you can type "floz" is better than not being able to do it at all. (You could also allow "fl oz", "fluid ounce", "fl ounce", etc. if you tweak your parser a little bit, but that's the deluxe version, and any functionality at all would be a big improvement.)
Re: Show HN: Insect – a high-precision scientific calculator with physical units
#185I tried to convert 1000 rpm (revolutions per minute) to Hertz (periods per second), but I get Unknown identifier: rpm
Re: Show HN: Insect – a high-precision scientific calculator with physical units
#186Looks pretty nice, but no light years? No attoparsecs? You don't even have hogsheads or fortnights!!!!!1! Still, it's pretty good.
Re: Show HN: Insect – a high-precision scientific calculator with physical units
#187Earlier quoted context omitted.
I'd call them "MB (megabytes)" and "MMB" (marketing megabytes). Pretty clear.
"M" - "Mega" is an official general purpose SI prefix approved in 1960 which always stood for a decimal multiplier. Its common usage as a binary multiplier was limited to counting units of computer memory, and is purely an approximation to allow convenient speaking of, e.g., a megabyte of RAM instead of 1.048576 megabytes of RAM. Because it reflects the natural scale of physical memory. It is more properly referred t…
But hmm..."Megameter" "Megaliter" "Megagram"
Re: Show HN: Insect – a high-precision scientific calculator with physical units
#188Earlier quoted context omitted.
Thank you for the feedback. I'm always open for suggestions on new units ( https://github.com/sharkdp/purescript-quantities )!
Yes, please add light years, parsecs. Perhaps weight of planets in our solar system, and the sun?
Re: Show HN: Insect – a high-precision scientific calculator with physical units
#189Needs more energy units then Joules
Re: Show HN: Insect – a high-precision scientific calculator with physical units
#190Needs more temperature scales than just kelvin. US Engineering units of energy would also be help certain people: such as BTUs British Thermal Units etc.