4 ms·
This doesn't really make our jobs as programmers easier. For example, if I go for a bike ride in the morning, Strava calls it "morning ride". Morning will sti
by jrockway 11y ago
This doesn't really make our jobs as programmers easier. For example, if I go for a bike ride in the morning, Strava calls it "morning ride". Morning will still be a concept based on the position of the sun, so it will have to look up my GPS data from the ride track, look up the time, and then compute where the sun was in the sky at the time in order to assign a label. Compare this to the current algorithm of mapping certain hours to certain words.
Similarly, if you have your screen on your phone set to turn redder at night, you now need to know your GPS location in order to do that correctly.
If you travel, this is going to be confusing. "What time do people start their workday here?" "When do stores open and close?"
Finally, this still doesn't solve the problem of "what's a good time to have a meeting with people in other locations". You'll still have to calculate your offset to the other attendees and see if they'll be awake at that time.
TL;DR: I'll eat my hat if this ever happens in my lifetime.
- Nutmog 11y agoThose problems already exist and have presumably already been solved for people living in the "wrong" time zone, such as western China which is completely out of sync with the sun. So instead of having to get both the time zone and the sunlight/work hours right, we'd just have to do the latter. About store opening hours, if you travel to Singapore (very popular stopover country), you'll have to work that one out - they open much later in the morning than western countries. That's just one example - https://en.wikipedia.org/wiki/Shopping_hours https://en.wikipedia.org/wiki/Shopping_hours
- seanmcdirmid 11y agoPartially out of sync with the sun. When I was in Urumuqi, everything started a bit later (10AM vs. 8AM) and ended a bit later. I guess Kashgar would be a lot worse.
- Moru 11y agoThe program I'm using for setting screen to red during night is actually asking for the coordinates already since the sun rises and sets at different times depending on where you live. It actually doesn't even get above the horizon in some locations on the earth during winter. Where I live we get about 4.25 hours of sun around midwinter.
- cbd1984 11y agoRight. That's an application which actually cares about solar light levels in a region. Most applications care about local time, because when it's 7 AM in December in northern Montana, you're getting out and going places regardless of how much longer it's going to be before the sun comes up. Local morning is only loosely tied to local sunrise, civil or otherwise.
- modeless 11y agoCalculating the position of the sun in the sky is easy. It's predictable. Calculating the current UTC to local time offset is hard. Not only does it require knowledge of your location just like calculating the sun position does, it also relies on a patchwork of arbitrarily chosen rules that are subject to change at any time due to the whims of politicians. (And it doesn't tell you the position of the sun in the sky either, as local noon may be anywhere in a ~5 hour range around solar noon, and you have no idea when sunrise or sunset are or even if they occur at all, which they may not above the arctic circle). It's confusing when you travel anyway. You have to reset your clocks, and know if/when the local time changes, where the time zone borders are, and what the time offset is to other places you care about like home. And after all that you still don't know when businesses are open or when people eat or sleep because that varies. It doesn't solve the "what's a good time to have a meeting" problem, but it does solve all forms of the "I thought this time was in my time zone but they thought it was in theirs" problem. It also solves the "having to do mental mod 12 math to talk about time with other time zones" and "having to know the dates of everyone's DST changes" problem. I agree that this will never happen in our lifetimes.