TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

More Falsehoods Programmers Believe About Time (2012)

17 点作者 tie-in12 个月前

4 条评论

PaulStatezny12 个月前
The article doesn&#x27;t contain explanations, so I dug into a few especially surprising ones:<p>---<p>&gt; 7. Months have either 28, 29, 30, or 31 days.<p>Great Britain skipped from Sept 2, 1752 straight to Sept 14 when they switched from the Julian to the Gregorian calendar. Google &quot;English calendar riots&quot;.<p>---<p>&gt; 15. Unix time is the number of seconds since Jan 1st 1970.<p>When flipping over to the next second, Unix time &quot;rewinds&quot; back a second (i.e. repeats the last one) for leap seconds. [1]<p>---<p>&gt; 73. Time passes at the same speed on top of a mountain and at the bottom of a valley.<p>This is from &quot;time dilation&quot;, related to Einstein&#x27;s General Relativity. In short, gravity warps spacetime.<p>Say you use a stopwatch to measure 1 Earth rotation (a &quot;day&quot;). For each extra km of altitude, the stopwatch will tell you it took ~10 extra nanoseconds to complete the trip around the Earth. [2]<p>---<p>[1] <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Unix_time#Leap_seconds" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Unix_time#Leap_seconds</a><p>[2] <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Time_dilation#Time_dilation_caused_by_gravity_or_acceleration" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Time_dilation#Time_dilation_ca...</a>
_xivi12 个月前
Related:<p>Falsehoods Programmers believe about Time - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=4128208">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=4128208</a> - Jun 2012 (213 comments)<p>Falsehoods Programmers Believe About Time (2012) - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=12675527">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=12675527</a> - Oct 2016 (154 comments)<p>Falsehoods programmers believe about time - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=32548085">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=32548085</a> - Aug 2022 (204 comments)<p>Falsehoods programmers believe about time and time zones - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=11515125">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=11515125</a> - Apr 2016 (80 comments)
BeefySwain12 个月前
I really wish that these lists included explanations for why they are incorrect, or at least links to resources accordingly.
jbandela112 个月前
All models are wrong.<p>Some are useful.<p>Determine what level of the model is useful for what you want to do.