Posts

Showing posts with the label Time

Managing Time in Software

Image
“ We don’t need vector clocks, we’ve got ntp ”  —   #CowboyDeveloper /via http://www.monkeyuser.com/2018/going-global/ It’s not the   timezones   that bugs me — it’s the staying up nights wondering what time-related insanity the resident   #CowboyDevelopers   are going to come up with. And it’s not just the quote above, it’s   blind faith in timestamps , monotonically increasing time (in distributed systems at that!), and much more Seriously, the following two should be stapled to everybody’s walls… 1. “ Falsehoods programmers believe about time ” 2. “ More falsehoods programmers believe about time; “wisdom of the crowd” edition ” And yeah,   of course   everybody already knows about these 🙄

Solar time vs Standard Time

Image
"Noon" should be when the sun is directly overhead, right? Well, not really.  As Stefano Maggiolo  points out , its pretty much almost never  the case that the two align It turns out, there are many places where  the sun rises and sets late in the day , like in Spain, but not a lot where it is very early (highlighted in red and green in the map, respectively). Most of Russia is heavily red, but mostly in zones with very scarce population; the exception is St. Petersburg, with a discrepancy of two hours, but the effect on time is mitigated by the high latitude. The  most extreme  example of Spain-like time is western China: the difference reaches three hours against solar time.  Check out the actual map...