171 points · by perilunar · 3y ago · 120 comments
So I made this little conversion tool that uses degrees angle to convert between degrees Fahrenheit and degrees Celsius.
Tip: you can add a number in a query to link directly to a temperature. e.g. https://degreeswhat.com/?100
This is because Kelvin, like meters/miles, are already a measurement of some physical feature, in this case of kinetic energy of the particles.
The word "degrees", on the other hand, does not represent a meaningful measurement of anything. It just means a given part of some arbitrary whole, defined by convention.
e.g. the "whole" of an angular degree is just a single complete rotation. The "whole" of a Celsius degree, I believe is the range that goes between water freezing (0°C) and boiling (100°C) points, and that's why it was also known as the centigrade scale.
Extra curiosity: still as of nowadays, if you say the complete temperature unit in Spanish, you don't say "35 degrees Celsius", you say "35 centigrade degrees" (35 grados centígrados). At least in a colloquial context; not sure how they'd say it in a science-related professional environment.
On a side note, it would be awesome if all temperatures were in Kelvins.
> On a side note, it would be awesome if all temperatures were in Kelvins
You have my unconditional vote on that one! :-D
It would be cool if compass was inertial.
This approach reminds me of the works of a different person - Edward Tufte. He writes about visualizing information, but that by itself is a user interface (even if we didn't call it this until recently). He gives plenty of praise to designs like this - which show you everything at once, and play into strengths of your visual system, which is very good at focusing, zooming out, filtering out things you're not interested in, and switching focus rapidly.
I once worked on a system that ran at -40 degrees. I loved leaving off the scale when giving tours and telling about it, because someone would invariably ask if I meant Celsius or Fahrenheit and then everyone got to learn where the crossing point of the two scales is.
So seems like -40.0 is really where the singularity lies.
Either that, or a simple rounding issue. I choose to believe it's the former.
If you really want to hit an exact number, you can add a query string to the URL.
https://www.theverge.com/tldr/2021/7/13/22575368/apple-ios-1...
LEELA: Fry, night lasts two weeks on the moon.
MOON FARMER: Yup. Drops down to -173.
FRY: Fahrenheit or Celsius?
MOON FARMER: First one, then the other.
- Celsius or Fahrenheit?
- Yes
Now that I think about, what's the etymological reason we use "degrees" to talk about temperature? We don't measure force in "degrees Newton" or electric current in "degrees Ampère". Why do we do it for Celsius and Fahrenheit?
Well, the simpler solution would have been to just use radians ;)
Also sorry to be that guy but:
> when people specify a temperature in "degrees" when it’s not clear from the context which scale is being used.
It should be degrees Celsius. Anything else is just insane ;)
I'm not saying it makes a ton of sense, but my only real defense of it.
That said, I find negative units rather silly in most measurements, so we should really be using K I think.
That's your choice though. Outside temperature cannot be measured precisely enough to warrant decimals (it's supposed to be 17.4°C outside but who can tell the difference with 17°C or 18°C...) but my car's A/C is set to 21.5°C and my home's heating is set to 19.5°C.
Measuring body temperature with precision of 0.1°C is very common. In fact, I never saw an integer in this context.
Measuring by weight is the one cooking-related hill that I will die on.
(Recently, I had a recipe ask for four cups of lettuce, which could've been anything from 0.5x to 4x of what I finally went with, depending on how much I packed the cups. It's lunacy)
No argument from me about Celsius, but even on this site there are people who think otherwise.
Celsius is obviously more useful in a scientific context, but 99% of the time when I'm talking about the temperature, I'm not doing a scientific experiment, I'm asking "how hot/cold is it outside?" In that context I actually find Fahrenheit to be a more intuitively useful scale once you get used to it.
Celsius crams the entire range of likely outdoor temperatures into a narrow range with awkwardly-sized units that don't provide enough information. If someone tells me it's 15C outside, how many layers do I need to wear? I still don't have a good feel for it from the number alone, even after spending most of my life in countries where Celsius is the norm.
But in Fahrenheit, things make more obvious sense. 0 F means "insufferably cold", 100 F means "insufferably hot", and to get a meaningful idea of what the weather feels like on my skin, I just need the range: it's "in in fifties" or "in the seventies" etc.. It takes some getting used to, but I actually quite like it. Thanks, America!
(I'd also make a similar argument that feet and inches are a much more intuitively meaningful scale than centimetres for measuring human height. But that might be my British bias.)
It begins with something like "I decided to create the perfect scale for measuring the temperature outside for the weather. Of temperatures taken where people live, I will scale the 95th percentile of high temperatures as 100 and the 95th of cold temperatures as 0."
The goal of which was, if a temperature is <0 it's really cold, and a temperature >100 is really hot.
My memory is that using this method the scale was within 2 degrees of Fahrenheit! Of course, I've never found the story again so who knows the details of their method or if I'm even remembering correctly.
Erm, they didn't invent it. Most (all?) American units were inherited from British. Farenheit was invented in Europe.
I have also warmed to Imperial/American units for certain things. A lot of simple recipes are easier to remember in ounces than in grams. For example, 5 ounces of flour and 4 ounces of butter gives you enough shortcrust pastry for a 9 inch tin. Inches seem about the right size, but centimeters are too small. People's heights tend to fall around 5-6 feet which is nice, or 150-180/1.5-1.8 which is kind of awkward. Basically, imperial measurements seem much more "human" while metric seems based on arbitrary universal constants like the speed of light which have absolutely no bearing on our lives.
None of this means that "cups" are a sane way to measure ingredients for cooking, though. There's just so many reasons why it's bad but even just from a laziness point of view it's an extra thing to wash up.
Um, No. Metric is based on the size of the Earth and the density of water.
The original definition of the meter was "one ten-millionth of the distance from the pole to the equator", making the circumference of the Earth 40,000 km or 40 Mm. The kilogram was originally defined as the mass of one litre of water. (1 m³ = 1000 kg). It wasn't arbitrary.
I also find inches, feet, miles etc. more intuitive than meters for basically everything. "so-and-so meters" or "such-and-such kilometers" doesn't describe anything to me, give it to me in inches/feet/miles so I can visualize the damn thing.
Moral I suppose is that metric is great for describing the universe, but the problem is we're dumb apes.
For the kinds of maps I coded for in the 1980's you'll want your compass rose to indicate
* Geographic North (on, say a WGS84 ellipsoid)
* Magnetic North (where a magnetic compass points, this varies by time and geographic location)
* Rotational North (the spin axis of the planet - it walks a bit)
This things can be added if you're looking for an additional ( pointless? ) challenge.
There's "real life navigation" - these things matter at high and low latitudes, and near massive iron deposits such as Kursk, not so much elsewhere - although orienteering with magnetic compass only requires understanding of local deviations.
There's also "teaching geodesy" - which might allow you to simulate changes of location etc.
All of this, of course, goes beyond a simple exercise in inferface design and angles.
I threw it in there in case you're looking for further coding exercises.
I guess the remaining question is .. analog clock directions? Does the most recent generation need to be reminded to watch their six o'clock?
Honestly, I just thought it would be an amusing way to convert temperature, and a subtle dig at people who don't use the correct units. I don't want people to use this as an actual compass, and get themselves lost because of it.
So you were concerned that people might get confused, yet you choose to mix angular and temperature degrees in the same interface?
An odd choice. I thought causing maximum confusion was the goal. (In a fun way, admitadly.)
On Google maps this is supposed to use the magnetometer to point the arrow in the correct direction, but it never works and nor does the stupid calibration phone-waving thing it asks you to do.
On my device the arrow points in approximately the correct orientation. (Plus minus ten-ish degrees.) If yours never work even to that level, even when you are away from magnetic sources then probably your device is faulty. (Do make sure you don’t have body worn magnets, or magnets in the phone case/holder of course.)
If it works to the same approximation, but you are expecting it to be more accurate then you should choose a different tool for the job.
The link https://degreeswhat.com/?100 too quickly tracks the mouse and you lose the pointer to the specific degrees
Unfortunately your compass bearings seems a bit off.
1. Compass degrees go 0 to 360
2. North is traditionally at the top
Yours only has half the compass (East) and seems to be reversed or mirrored
Edit: direct linking works https://degreeswhat.com/?270 and I get the correct bearing (270 = West), I think it is still mirrored for a compass because you increase from 0 anticlockwise.
It's actually more like 15.0411° in an hour. This matters if you're keeping a telescope pointed at something in the night sky to take a picture of it.
6: degrees of separation, at most, between any two people.
Also, USA murder degrees: first, second, third.
Another thing: the melting point of 60/40 solder is there; but not the eutectic mixture 63/37. Geeeeez!
If anyone has interesting temperatures or angles to add, please do!
Is the description accurate? How to display Kelvin units or other scales?
Fahrenheit temperature degrees are based on concepts of angular degrees (just as Centigrade is based on concepts of slope).
Many people know the Fahrenheit temperature scale is based in part on the coldest fixed temperature readily available to a scientist in the 1700's, namely the coldest temperature achievable when water ice is placed in a salt water bath (which he called 0 degrees).
Because choosing this fixed point meant Fahrenheit was basing his temperature scale on water, he viewed the coldest pure water temperature (ice) and the hottest pure water temperature (boiling) as significant in that they were, in his mind, opposite "directions" for water.
In his mind, frozen water and boiling water were therefore 180 degrees apart from each other.
Why did water ice and boiling water get these crazy 32 degree and 212 degree temperatures? The Fahrenheit scale is based on two constraints, not one.
The first, as is commonly known, is optimally salted ice water should be zero degrees.
The second constraint is that frozen water and boiling water should be 180 degrees apart.
212 degrees - 32 degrees = 180 degrees. If you constrain the temperature of salted ice to 0 and constrain the temperatures of frozen and boiling water to differ by 180, you get the fixed points of 32 and 212.
When Celsius invented the temperature scale we call centigrade, he used very similar constraints and also used angular thinking.
Both scales consider the freezing and boiling points of pure water to be significant.
The Celsius scale uses the freezing point of water as its zero, the Fahrenheit scale does not.
The Fahrenheit scale uses 180 degree based angular thinking to describe the transition from ice to steam, hence T(boiling) - T(ice) = 180.
The Celsius scale uses surveyor's percentage slope terminology (where a "grade", as in centigrade, of 100 corresponds to rise = 100% of run, or 45 degrees in angular terms), so T(boiling) - T(ice) = 100.
This page would be a wonderful vehicle for showing these connections (and the ice equals about 30 degrees and human body temperature equals about 90 degrees coincidences that Fahrenheit the numerologist found so compelling).
I hope the creator tweaks their page to show the actual angular history and relevance of these temperature scales. There is quite a bit of history of science in these relationships, all with the advantage of being readily accessible to a bright grammar school kid, which is a great age to stoke the fires of interest in science.
Could the compass get the magnetic heading from the browser on mobile?
Yes, possibly. There's a webkit extension but I'm not sure how well it's supported. I'll look into it.
I use tau in the code actually. JS trig functions use radians, and SVG uses degrees; when I convert I use tau instead of pi.