News for hackers. Stuff that matters.
Re:Show HN: I created Units Converter that contains 5000 uni... by KodyBerns99 on Wednesday June 21, 2023 @01:34PM (#36421691)
May be number of units and categories it supports. Plus I am adding more units.
Re:Show HN: I created Units Converter that contains 5000 uni... by Faaak on Wednesday June 21, 2023 @02:18PM (#36422216)
units(1) is way more simpler to use though. Just type the input/output formulas and it will do the rest
Re:Show HN: I created Units Converter that contains 5000 uni... by bashinator on Wednesday June 21, 2023 @03:05PM (#36422890)
I couldn't find a way of converting from US teaspoons to cubic light-seconds, which is my favorite demo of the GNU utility. Also, do you have a way of adding a time dimension to the conversions? E.g from kibibytes per day to megabits per second?
Re:Show HN: I created Units Converter that contains 5000 uni... by lostlogin on Wednesday June 21, 2023 @03:27PM (#36423150)
Are US teaspoons actually a different size to UK ones, or just the volume measurements?
Re:Show HN: I created Units Converter that contains 5000 uni... by bragr on Wednesday June 21, 2023 @03:35PM (#36423257)
1 US teaspoon is about 14.8 ml

1 UK teaspoon is about 17.8 ml.

It goes on: 1 US gallon is about 0.83 imperial gallons

Re:Show HN: I created Units Converter that contains 5000 uni... by beojan on Wednesday June 21, 2023 @06:09PM (#36425365)
A teaspoon is 5 ml. I think you're thinking of tablespoons.
Re:Show HN: I created Units Converter that contains 5000 uni... by saalweachter on Wednesday June 21, 2023 @04:07PM (#36423662)
Teaspoons aren't particularly common in the US. If you do need to stir a beverage or add sugar, you typically use a tablespoon.
Re:Show HN: I created Units Converter that contains 5000 uni... by culi on Wednesday June 21, 2023 @04:40PM (#36424098)
Seems like a weird statement. As someone who cooks and bakes, I use teaspoons all the time. Teaspoons for certain spices and seasonings are extremely common in recipes
Re:Show HN: I created Units Converter that contains 5000 uni... by tobinfricke on Wednesday June 21, 2023 @05:18PM (#36424717)
Yeah, this isn't true. A teaspoon is a standard unit of measurement in US cooking.
Re:Show HN: I created Units Converter that contains 5000 uni... by SAI_Peregrinus on Wednesday June 21, 2023 @05:47PM (#36425114)
Tableware sets in the US commonly come with at least two different sizes of spoon. These usually bear no relation to the "measuring spoons" used to measure volume, though they are handy for stirring tea or eating soup (for the small & large spoons, respectively).

For people who cook in the US, a set of "measuring spoons" is a very common kitchen tool.

"Teaspoon" and "Tablespoon" are units of measurement of volume, not bits of silverware. "Tea spoon" and "Table spoon" or "Soup spoon" are pieces of silverware, not units of measure!

Re:Show HN: I created Units Converter that contains 5000 uni... by beojan on Wednesday June 21, 2023 @11:13PM (#36427603)
The one you stir tea with is also probably smaller than a teaspoon (probably about half a teaspoon).
Re:Show HN: I created Units Converter that contains 5000 uni... by SAI_Peregrinus on Thursday June 22, 2023 @12:38PM (#36434804)
Yep, they're usually completely unrelated to the units of measure.
Re:Show HN: I created Units Converter that contains 5000 uni... by BenjiWiebe on Wednesday June 21, 2023 @08:07PM (#36426504)
My favorite is millilightseconds<->miles, for calculating maximum distance to a server or minimum possible latency for a distance.
Re:Show HN: I created Units Converter that contains 5000 uni... by bashinator on Monday June 26, 2023 @01:11PM (#36482631)