Show HN: I created Units Converter that contains 5000 units across 78 categories (kodytools.com)
I have been working on my project for the last one year and developed around 600+ tools. The units converter covers almost every possible unit and I am planning to add more to it.
136 comments
[ 3.3 ms ] story [ 121 ms ] threadCan you share what types of use cases you've seen people use KodyTools for?
For me, a different UI could fix the problem. Give me a field where I can ask directly "how many cups are in 4.37 cubic meters?"
As it stands now, I can get the answer from any search engine or voice assistant more quickly than from this site.
IMO, any converter needs one, so add it or make it easier to find.
I see 5 circular buttons: Facebook, LinkedIn, Twitter, WhatsApp, and a “Copy url to clipboard” one.
https://i.imgur.com/YAdd0HA.png
PS just tried the tool and couldn't find any of the above "units", not even "football fields".
[0] https://en.wikipedia.org/wiki/Smoot
I'm sure messing around with that will never get old.
A.) ...one gram of DNA can store up to 215 Petabytes or [215,000 Terabytes], knowing that the human being has about 600 grams of DNA [129,000,000 TB]. (1)
B.) Now assume a human is traveling at the speed of sound in air on earth (~343m/s):
343 m/s * 129,000,000 TB * 1/1,000,000,000 s/ns,
The result is that for every kilometer the human travels at the speed of sound, the information stored in that human’s DNA yields a data transfer rate of approximately 44.3 TB/ns. Seems reasonable.
1.) https://www.bibalex.org/SCIplanet/en/Article/Details.aspx?id....
"By using our Fahrenheit to Kelvin conversion tool, you know that one Fahrenheit is equivalent to 255.93 Kelvin. Hence, to convert Fahrenheit to Kelvin, we just need to multiply the number by 255.93. We are going to use very simple Fahrenheit to Kelvin conversion formula for that. Pleas see the calculation example given below."
Then it converts 231 in^3 to 0.99999994293884 U.S. gal, while 1 U.S. gal converts to 231 in^3.
Also, I thought "Library of Congress" was a standard unit of measurement? Not to mention the "standard reference pear".
https://www.bbcgoodfood.com/recipes/collection/bread-recipes for example.
Metric intervention https://userscripts-mirror.org/scripts/show/130277 > Converting that old French system the Brits are still using to the metric standard of science. ~ foot, inch (00',00",00'00,00'00"), yard, mile, stone, Pound-mass/Lbs., Gallon ~ It will totally convert something heretical like: 1'23 1/4" x 2'12 5/8" into something elegant and civilized like 89.535 cm x 93.0275 cm
This (uhm) didn't take a year to make but it was rather useful when I needed it.
I really like the approach of specifying what you have, in absolutely whatever unit you like, and what you want (though I omitted that argument in this case, to just have it show the definition), and having it resolve it.
An excerpt from my ~/.units (which does have some serious stuff in it too, honest):
https://frinklang.org/ https://frinklang.org/frinkdata/units.txt https://frinklang.org/fsp/frink.fsp
The SI unit of frequency is hertz, the SI unit of angular velocity and angular frequency is radian per second, and the SI unit of activity is becquerel, implying counts per second. Although it is formally correct to write all three of these units as the reciprocal second, the use of the different names emphasizes the different nature of the quantities concerned. It is especially important to carefully distinguish frequencies from angular frequencies, because by definition their numerical values differ by a factor1 of 2π. Ignoring this fact may cause an error of 2π. Note that in some countries, frequency values are conventionally expressed using “cycle/s” or “cps” instead of the SI unit Hz, although “cycle” and “cps” are not units in the SI. Note also that it is common, although not recommended, to use the term frequency for quantities expressed in rad/s. Because of this, it is recommended that quantities called “frequency”, “angular frequency”, and “angular velocity” always be given explicit units of Hz or rad/s and not 1/s.
I find this very concise and clear.
One very desirable property of a units system is that incompatible quantities have incompatible units. So if I try to add 1 Joule (== 1 kg⋅m^2⋅s^−2) to 1 meter, I’m obviously doing something wrong and I just can’t continue.
But in SI I can take 1 Hertz (==1 s^-1) and add it to 1 radian/second (== 1 s^-1) and SI says sure, that’s 2 s^-1. But it’s not, that’s a totally unphysical thing to do and the answer is nonsense.
To resolve the issue, you could define 1Hz as 2pi/s on the grounds that the Taylor series for sin(t) is in "units" of rad/s. You could also define one rad/s as 1/(2pi s), arguing that since the becquerel is 1/s and means "the number of times something happens per second," it would be inconsistent for frequencies to be denominated other ways, and that Hz is applicable to functions other than sin(t), including square and triangle waves, which have no relationship to angles.
Also, defining a Hz as 2pi/s seems to be mixing units and quantities, like a Hz is 2 [pi/s] (where [] stores units), where pi is a unit equal to 6.28 [unitless]. Intead, defining a Hz as 2pi/s is to me changing the definition of Hz, unless it's like 2pi / 2pi [1 / s]. >You could also define one rad/s as 1/(2pi s) I was, specifically 1/2pi [1/s].
But as to your point that things like Hz are semi-meaningless unless attached to physical concepts, I'll agree with that (using a potentially different definition of semi-meaninglessness.)
My original statement that 1 Hz + 1 radian/second (i.e. 1 [1/s] + 1/2pi [1/s]) is both physical (semi-meaningless, meaning somewhat meaningful and fully meaningful when we flexibly attach it to a large range of physical concepts) and non nonsense (again, semi-meaningless until we attach to a physical concept) I think still hold.
The key to me is that we can attach physical concepts to units and measures flexibly (but not arbitarily). Hz is indeed applicable to non-sin functions, like square waves, but then we're all of the sudden talking about "the Hz of the nth harmonic of the square wave" (which has loads of relationship to angles).
That should be 3.54cm.
The issue here is that angles are inherently unitless geometrical quantities. "Radian" is merely a reminder that a number represents an angle. There is no way to make it a consistent physical unit.
More clear example: both Gy and Sv are J/kg (m^2 s^-2), but to add two values, one in each of those units, you need to multiply one of them by a coefficient (that coefficient depends on the kind of radiation and specific organ that absorbed this radiation). So somewhere in the math world lives a constant that is unitless 1, but x Sv/Gy, where x != 1 (again that x depends on circumstances).
Those situations just happen. It's how physics work.
Okay; how do you add the unit of energy, one joule, to the unit of torque, one newton-metre?
Both have the same SI units: kilogram square metre per second per second. But one is a scalar quantity, whereas the other is a vector quantity.
And its reciprocal looks like the age of the universe (apparently this is just a coincidence).
[0] https://github.com/tiffany352/rink-rs/ [1] https://github.com/tiffany352/rink-rs/blob/master/core/defin... [2] https://rinkcalc.app/
It has zillions of base units and a algebra syntax for definitions of many more
Edit: "common" units https://github.com/ucum-org/ucum/tree/main/common-units
1. <https://imgur.com/gallery/VI0B0nl>
2. <https://twitter.com/SheriffAlert/status/1221881862244749315>
I have already added football field in length category. Will add more soon.
https://www.gnu.org/software/units/
1 UK teaspoon is about 17.8 ml.
It goes on: 1 US gallon is about 0.83 imperial gallons
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!
https://en.wikipedia.org/wiki/FFF_system
I'd love to have an HP48 CLI to do unit calcs with.
Admittedly, the HPs interim results are a bit of a mess: But, this converts cleanly to m/s: 7671.8m/sEverything else I've found have been just super fiddly.
The main limitation I see is that it seems you are limited to picking the units to convert between from predefined lists. If someone gave you say a volume specified in nmi ft^2 for instance and you wanted to convert it m^3 you'd have to do nmi to m and ft^2 to m^2 and then multiply the results to get nmi ft^2 to m^3 because nmi ft^2 is not on the volume unit list.
Those cases are probably pretty rare. It is not often that you run in to people who give you say a gasoline consumption rate of 23 picoacres or give you a cookie recipe that calls for 1.6 barn megaparsecs of vanilla. (BTW, those are 0.04 gal/mile and 1 tsp, respectively).
https://qalculate.github.io/
> www.kodytools.com Server: dns9.quad9.net Address: 9.9.9.9
** dns9.quad9.net can't find www.kodytools.com: Non-existent domain
https://www.youtube.com/watch?v=kkfIXUjkYqE