One calculator I’ve come to love over the years is Numi. I keep it open all day every day and it does a pretty good job of bridging the gap between the typical skewmorphic calculator app and scilab or python. It’s a text based calculator that allows you to declare variables and do unit and base conversions and save and load your work. No graphing though unfortunately and i dont think it really has much in the way of…
Haven't tried Numi, but I made a calculator with variables as a side project on a whim: https://calc.li/ - it is online, but there is no backend and you can save the whole page as an offline file if you want, using localStorage for state.
Show HN: While the world builds AI Agents, I'm just building calculators
41–50 of 118 posts
Re: Show HN: While the world builds AI Agents, I'm just building calculators
#42Re: Show HN: While the world builds AI Agents, I'm just building calculators
#43AI can't calculate anyway, so, you're doing good.
Re: Show HN: While the world builds AI Agents, I'm just building calculators
#44• Keyboard accessibility is suffering, because the buttons aren’t associated with a form. Most notably, pressing Enter when one of the text boxes is selected doesn’t do anything. You should put everything inside a element, and then if you’re using , decide whether it’s type=button or type=submit.
• A tad more subjective, but actual radio buttons are better than the buttons you’ve used for Metric/Imperial.
• As it stands, they lack a keyboard focus indication. (And the submit button has poor focus indication.)
• People don’t talk about heights in inches. They talk about them in feet and inches. You want to be able to accept feet and inches as two separate inputs. Not everyone who knows that their height is X′Y″ knows that means 12X+Y inches, and even more will make a mistake in calculating that, or just give up.
• If you switch between metric and imperial, and there’s a number in height or weight, it should probably convert the number to the chosen scale.
• If you just recalculated on input rather than on submit click, the experience would probably be smoother.
• Colour contrast on “Category: Overweight” is definitely too low. “Category: Normal weight” is also a little too low; underweight and obese are fine.
• Consider sometimes what related information might be useful. Every BMI calculator lists the categories, but something I somehow haven’t ever seen and yet which would be very useful for giving someone something to aim for is a mapping: for a given height, what weights do the categories correspond to? e.g. for 200cm, underweight = 0–74kg, normal weight = 74–100kg, overweight = 100–120kg, obese = 120–∞kg. Consider visualisations too. And mentioning what the calculation actually is that is being performed. Calculations are simple. Presenting them well is the harder bit.
Re: Show HN: While the world builds AI Agents, I'm just building calculators
#45A random dimensional analysis that I find amusing about fuel consumption units: liters / 100 km => m^3 / m => m^2 (volume) / (distance) => (area) This can be interpreted as the cross-sectional area of a hypothetical trough of fuel running alongside the road, whose contents you slurp up and consume in your engine as you pass (in lieu of using fuel stored in an onboard reservoir).
(With in-flight refueling, you could potentially refuel an aeroplane at 300km/h at 300km/h…)
Related: Uncanceled Units https://xkcd.com/3038/>. (“50 gallons per square foot” especially is similar to your L/100km: volume ÷ area = length.)
Re: Show HN: While the world builds AI Agents, I'm just building calculators
#46Re: Show HN: While the world builds AI Agents, I'm just building calculators
#47Re: Show HN: While the world builds AI Agents, I'm just building calculators
#48https://www.nhs.uk/health-assessment-tools/calculate-your-bo...
Re: Show HN: While the world builds AI Agents, I'm just building calculators
#49Re: Show HN: While the world builds AI Agents, I'm just building calculators
#50BMI calculators are dangerous tools in uncritical hands. Here is a link to the UK NHS page that provides such a calculator but only after it has described some of the limitations: https://www.nhs.uk/health-assessment-tools/calculate-your-bo...