2023 互联网 1024 程序员节 All In One

发布时间 2023-10-24 21:31:38作者: xgqfrms

2023 互联网 1024 程序员节 All In One

1024 程序员节 / 1024 Programmer’s Day

Programmer's Day, also known as the Day of the Programmer, is a professional day that is celebrated in Russian Federation on the 256th (hexadecimal 100th, or the 28th) day of each year (September 13 during common years and on September 12 in leap years).

The number 256 (28) was chosen because it is the number of distinct values that can be represented with a byte, a value well known to programmers. 256 is also the highest power of two that is less than 365, the number of days in a common year.

程序员节(英语:Programmer's Day)是一个国际上被众多科技公司软件企业认同的业内人士节日。日期是在每年的第256(十六进制为0x100,或28)天,也就是平年的9月13日或闰年的9月12日。它是俄罗斯的一个官方节日,其他国家的程序员社群也庆祝这个节日。

之所以选择256(28),是因为它是一个被程序员们所熟知的8比特基数。用1个字节(等于8比特)最多能表示256个数值,而且在平年中,256是2的最大幂中小于365的值。

与此同时,在中国人们主要认同10月24日(2的10次方,210=1024)才是程序员日。因为1024=1k,是二进制的程序世界和十进制的现实世界之间的一个接口,在统计数据流量和存储空间时,1024和1000经常不作区分。

https://en.wikipedia.org/wiki/Programmer's_Day
https://zh.wikipedia.org/wiki/程序员节

demos

js

console.log(`%c? Happy %c??‍? 1024 Programmer’s Day!`, `background: #0f0; color: #000; font-size: 64px;`, `background: #000; color: #0f0; font-size: 64px;`);

image

(? 反爬虫测试!打击盗版⚠️)如果你看到这个信息, 说明这是一篇剽窃的文章,请访问 https://www.cnblogs.com/xgqfrms/ 查看原创文章!

refs



©xgqfrms 2012-2021

www.cnblogs.com/xgqfrms 发布文章使用:只允许注册用户才可以访问!

原创文章,版权所有©️xgqfrms, 禁止转载 ?️,侵权必究⚠️!