2019-07-23

Unix-Time


1. Unix_time
2. Year_2000_problem
3. Year_10,000_problem
4. Year_2038_problem
5. Time_formatting_and_storage_bugs
6. 更多有关时间的wiki

1. Unix_time

https://en.wikipedia.org/wiki/Unix_time
Unix时间(也称为POSIX时间或UNIX纪元时间)是用于描述时间点的系统。
记录自1970年1月1日起已经过多少秒 00:00:00 的协调世界时(UTC),减去闰秒。
每天被视为完全包含86 400秒,所以从纪元开始减去闰秒。它广泛用于类Unix和许多其他操作系统和文件格式。
但是,Unix时间并不是UTC的真实表示,因为UTC中的闰秒与之前的第二个时间具有相同的Unix时间。
通过date +%s在命令行上键入,可以在大多数Unix系统上检查Unix时间。

$ date
Tue 23 Jul 2019 08:23:03 AM CST
$ date +%s
1563841385

实际记录的就是这个秒数,自1970年1月1日起已经过了1563841385秒,除以每天86400秒得18100天。再除以每年365天得49.6年。
公元2019年是Unix纪元49年。现在是Unix纪元1563841385秒。

2. Year_2000_problem

https://en.wikipedia.org/wiki/Year_2000_problem
Year_2000_problem,也被称为Y2K问题,千年虫问题等,是一类计算机日历格式及日历数据存储设计的漏洞。
因为许多程序使用最后2位数代表四位数年份(使用89代表1989年)这在当时不会有问题。但超过2000年后,89年是1989还是2089呢?

1997年,英国标准协会(BSI)制定了标准 DISC PD2000-1,将“2000年符合性要求”定义为四条规则:
  1. 无效日期将导致运营中断;
  2. 无论日期是否在不同的世纪,计算日期之间的持续时间或日期顺序都是正确的;
  3. 在所有接口和所有存储中,世纪必须是明确的,既可以指定,也可以通过算法计算 ;
  4. 2000年必须确认为闰年。
它确定了许多计算机程序中可能存在的两个问题。
  • 首先,用两位数表示年份的做法在从xx99到xx00的“翻转”时产生的逻辑错误成为问题。
  • 其次,一些程序员误解了公历规则,该规则决定了可以被100整除的年份是不是闰年,并假设2000年不是闰年。实际上,格里高利历法系统中有一条规则,规定可被400整除的年份是闰年 - 从而使2000年成为闰年。
全球的公司和组织检查,修复和升级其计算机系统以解决预期的问题。因此,当时钟延续到2000年时,报告的计算机故障很少。

3. Year_10,000_problem

https://en.wikipedia.org/wiki/Year_10,000_problem
10 ,000年的问题(也称为Y10K问题或万年虫)是所有潜在的时间格式和存储错误的类,当需要表达五位数的年份时会出现。这个问题今天可以产生明显的影响,但有时也会像RFC 2550那样提到幽默效果。

4. Year_2038_problem

https://en.wikipedia.org/wiki/Year_2038_problem
在Unix时间存储为带符号的32位二进制整数的系统上,可以记录的最大值是 2 147 483 647(2 31 - 1),即2038年1月19日 03:14:07 UTC。随后的第二秒,时钟将环绕至负面2 147 483 648(-2 31),即1901年12月13日星期五20:45:52 UTC。这被称为2038年问题。
2038年问题是由所选存储单元的容量不足引起的。
https://en.wikipedia.org/wiki/File:Year_2038_problem.gif
https://upload.wikimedia.org/wikipedia/commons/e/e9/Year_2038_problem.gif
动画显示日期将如何重置,表示为带符号的32位整数(在2038年1月19日03:14:08 UTC)。

5. Time_formatting_and_storage_bugs

https://en.wikipedia.org/wiki/Time_formatting_and_storage_bugs
时间格式和存储错误
1975年 12位字段溢出
1989年 16位溢出(1900年1月1日开始)
2000年 yymmdd > yyyymmdd
2036年 ntp时间翻转
2079年 16位第二次溢出(第32,768天和第65,536天)
...

6. 更多有关时间的wiki

https://en.wikipedia.org/wiki/Holocene_calendar
全新世日历, 公元2019年,全新世日历为12019 HE。

https://en.wikipedia.org/wiki/Network_Time_Protocol#Timestamps

https://en.wikipedia.org/wiki/List_of_calendars
https://en.wikipedia.org/wiki/Perpetual_calendar

https://en.wikipedia.org/wiki/Timeline_of_the_far_future
遥远未来的时间表

图形时间表
有关这些事件的图形,对数时间轴,请参阅:
宇宙的图形时间表(从现在开始到80亿年) https://en.wikipedia.org/wiki/Graphical_timeline_of_the_universe
Stelliferous时代的图形时间表(从现在起10年20年)
从大爆炸到热死的图形时间线(从现在起10 1000年)

https://en.wikipedia.org/wiki/Cosmic_Calendar
宇宙日历, 比例尺: 一秒对应438年; 一分钟大约是26,000年; 一小时是160万年; 一天是3800万年。

https://en.wikipedia.org/wiki/Timelines_of_modern_history
https://en.wikipedia.org/wiki/Timeline_of_human_prehistory
https://en.wikipedia.org/wiki/Timeline_of_historic_inventions
https://en.wikipedia.org/wiki/Timeline_of_ancient_history
https://en.wikipedia.org/wiki/Timeline_of_the_evolutionary_history_of_life
https://en.wikipedia.org/wiki/Timeline_of_the_Middle_Ages
https://en.wikipedia.org/wiki/Timeline_of_the_near_future
https://en.wikipedia.org/wiki/Timeline_of_natural_history
https://en.wikipedia.org/wiki/Timeline_of_epochs_in_cosmology
https://en.wikipedia.org/wiki/Template:Life_timeline
https://en.wikipedia.org/wiki/Template:Human_timeline

https://en.wikipedia.org/wiki/Detailed_logarithmic_timeline
详细的对数时间线

https://en.wikipedia.org/wiki/Ultimate_fate_of_the_universe
https://en.wikipedia.org/wiki/Chronology_of_the_universe
https://en.wikipedia.org/wiki/Age_of_the_universe
https://en.wikipedia.org/wiki/Graphical_timeline_of_the_Big_Bang
https://en.wikipedia.org/wiki/Graphical_timeline_of_the_Stelliferous_Era
https://en.wikipedia.org/wiki/Graphical_timeline_from_Big_Bang_to_Heat_Death
https://en.wikipedia.org/wiki/Future_of_Earth
https://en.wikipedia.org/wiki/Deep_Impact_(spacecraft)#Contact_lost_and_end_of_mission

https://en.wikipedia.org/wiki/Extreme_risk
https://en.wikipedia.org/wiki/Extinction_event
五个主要灭绝事件:[11]
奥陶纪的结束:4.4亿年前,所有物种中有86%的物种丢失,包括陨石
晚泥盆世:3.75亿年前,75%的物种损失,包括大多数三叶虫
二叠纪末,“大死”:2.5亿年前,96%的物种失去了,包括制表珊瑚,以及大多数现存的树木和突触
三叠纪结束:2亿年前,80%的物种丢失,包括所有的牙形刺
在结束白垩纪 66万年前,种的76%丢失,包括所有的菊石,沧龙,鱼龙,蛇颈龙,翼龙和nonavian 恐龙

https://en.wikipedia.org/wiki/The_Sixth_Extinction:_An_Unnatural_History
第六次灭绝:一种不自然的历史

https://en.wikipedia.org/wiki/Human_extinction
https://en.wikipedia.org/wiki/Holocene_extinction

https://en.wikipedia.org/wiki/Timeline_of_extinctions_in_the_Holocene

https://en.wikipedia.org/wiki/Index_of_environmental_articles
环境主题列表

https://en.wikipedia.org/wiki/List_of_environmental_issues
环境问题清单

https://en.wikipedia.org/wiki/Effective_population_size
https://en.wikipedia.org/wiki/Minimum_viable_population
https://en.wikipedia.org/wiki/World_population

https://en.wikipedia.org/wiki/Timeline_of_human_evolution

https://en.wikipedia.org/wiki/Fermi_paradox
费米悖论
动物园假说: https://en.wikipedia.org/wiki/Zoo_hypothesis
黑暗森林: https://en.wikipedia.org/wiki/The_Dark_Forest

https://en.wikipedia.org/wiki/World_Scientists%27_Warning_to_Humanity
世界科学家对人类的警告
http://www.scientistswarning.org/
https://m.phys.org/news/2019-04-commentary-famous-humanity-paper-global.html

https://en.wikipedia.org/wiki/Epoch_(computing)
纪元(计算)

https://en.wikipedia.org/wiki/List_of_global_issues
https://en.wikipedia.org/wiki/Global_issue
全球问题
世界人口过剩
过度消费
全球变暖

https://en.wikipedia.org/wiki/Global_catastrophic_risk
全球灾难性风险
风险 估计2100年前人类灭绝的可能性
整体概率 19%
分子纳米技术武器 5%
超级智能AI 5%
所有战争(包括内战) 4%
工程大流行 2%
核战争 1%
纳米技术事故 0.5%
自然大流行 0.05%
核恐怖主义 0.03%

https://en.wikipedia.org/wiki/Global_Risks_Report
http://reports.weforum.org/global-risks-2019/?doing_wp_cron=1563279790.2732028961181640625000
http://www3.weforum.org/docs/WEF_Global_Risks_Report_2019.pdf

https://en.wikipedia.org/wiki/Apocalyptic_and_post-apocalyptic_fiction
世界末日和后世界末日的小说
https://en.wikipedia.org/wiki/List_of_apocalyptic_films
https://en.wikipedia.org/wiki/List_of_dystopian_films
https://en.wikipedia.org/wiki/List_of_apocalyptic_and_post-apocalyptic_fiction
https://en.wikipedia.org/wiki/Degeneration_theory

https://en.wikipedia.org/wiki/Doomsday_Clock
世界末日时钟图,1947-2018。图表中的较低点表示技术或环境诱发的灾难的概率较高,较高的点表示概率较低。

https://en.wikipedia.org/wiki/Linux_adoption
https://en.wikipedia.org/wiki/List_of_Linux_adopters

https://en.wikipedia.org/wiki/Timeline_of_operating_systems
操作系统的时间表

没有评论:

发表评论

Diode

导航 (返回顶部) 1. Diode 1.1 Diode 概述 1.2 肖克利二极管方程 1.3 缩写 Abbreviations 2. 主要功能 2.1 单向电流 (Unidirectional current flow) 2.2 阈值电压 (Threshold...