News for hackers. Stuff that matters.
Re:Show HN: Insect – a high-precision scientific calculator ... by wotamRobin on Saturday June 24, 2017 @01:50PM (#14626599)
I really like the UI and seeming wealth of different units. It doesn't look like it supports fluid ounces though.

I tried "4 tbsp to oz" and it interprets oz as mass instead of volume. Google correctly gives me 2 as the answer.

Re:Show HN: Insect – a high-precision scientific calculator ... by sharkdp on Saturday June 24, 2017 @02:07PM (#14626682)
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.
Re:Show HN: Insect – a high-precision scientific calculator ... by adrianmonk on Saturday June 24, 2017 @05:04PM (#14627468)
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 ... by sharkdp on Saturday June 24, 2017 @05:49PM (#14627632)
Thank you. I'll add one of those.
Re:Show HN: Insect – a high-precision scientific calculator ... by sharkdp on Sunday June 25, 2017 @06:10AM (#14629386)
floz and fluidounce are now supported.
Re:Show HN: Insect – a high-precision scientific calculator ... by jdmichal on Saturday June 24, 2017 @02:15PM (#14626724)
You could try to go the complicated route to disambiguate based on whether the other units present are liquid volume or mass.
Re:Show HN: Insect – a high-precision scientific calculator ... by ythn on Saturday June 24, 2017 @02:02PM (#14626654)
It doesn't support "stones" (st?) either. I tried "20 st -> kg" (Game of Thrones uses stones as units of mass) but it didn't work.