<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>gpchn 栖息地</title><link>https://gpchn.252123.xyz/</link><description>Recent content on gpchn 栖息地</description><generator>Hugo</generator><language>en</language><lastBuildDate>Mon, 04 May 2026 08:55:10 +0000</lastBuildDate><atom:link href="https://gpchn.252123.xyz/index.xml" rel="self" type="application/rss+xml"/><item><title>从 1 bit 到 1 YB：番外篇 —— 被遗忘的单位</title><link>https://gpchn.252123.xyz/posts/%E4%BB%8E-1-bit-%E5%88%B0-1-yb/%E7%95%AA%E5%A4%96/</link><pubDate>Mon, 04 May 2026 08:55:10 +0000</pubDate><guid>https://gpchn.252123.xyz/posts/%E4%BB%8E-1-bit-%E5%88%B0-1-yb/%E7%95%AA%E5%A4%96/</guid><description>&lt;p>在正传里，我们规规矩矩走完了一条几乎像教科书划定的路线：从 1 bit 到 1 YB。每一个路标都指向同一个终点——8 位字节的绝对统治。&lt;/p>
&lt;p>但历史不是一条直线。在我们踩过的那条明路底下，还埋着一张错综复杂的地下路网——那些曾经繁荣过、被一整代工程师当成物竞天择的理所当然、却最终被“字节”帝国车轮碾碎的单位。&lt;/p></description></item><item><title>从 1 bit 到 1 YB：1 YB - 最后一粒沙子</title><link>https://gpchn.252123.xyz/posts/%E4%BB%8E-1-bit-%E5%88%B0-1-yb/1-yb/</link><pubDate>Sun, 03 May 2026 14:49:40 +0000</pubDate><guid>https://gpchn.252123.xyz/posts/%E4%BB%8E-1-bit-%E5%88%B0-1-yb/1-yb/</guid><description>&lt;p>&lt;img alt="数据中心" loading="lazy" src="./posts/%E4%BB%8E-1-bit-%E5%88%B0-1-yb/1-yb/1.webp">&lt;/p>
&lt;p>这篇故事的开场，需要你放下手机，找一张纸和一支笔。&lt;/p>
&lt;p>在纸上画一个边长大约 40.9 厘米的正方形。如果你手边没有尺子，这个长度大概是从指尖到肘弯的距离——你小臂的长度。画好之后，盯着这个正方形看五秒。根据 NTT 在 2012 年前后的理论估算，如果以当时最先进的 9.5 纳米制程工艺制造闪存芯片，要存储 1 Yottabyte 的数据，大约需要 0.167 平方米的芯片面积——刚巧一张边长约 40.9 厘米的正方形。&lt;/p></description></item><item><title>从 1 bit 到 1 YB：1 ZB - 淹没在数据海洋里</title><link>https://gpchn.252123.xyz/posts/%E4%BB%8E-1-bit-%E5%88%B0-1-yb/1-zb/</link><pubDate>Sun, 03 May 2026 14:15:00 +0000</pubDate><guid>https://gpchn.252123.xyz/posts/%E4%BB%8E-1-bit-%E5%88%B0-1-yb/1-zb/</guid><description>&lt;p>&lt;img alt="Archivo de Indias" loading="lazy" src="./posts/%E4%BB%8E-1-bit-%E5%88%B0-1-yb/1-zb/1.webp">&lt;/p>
&lt;p>西班牙塞维利亚，一座 16 世纪建成的石头建筑里，藏着人类最早的“数据饥渴”——西印度群岛综合档案馆。西班牙帝国用三百年时间，把殖民地的每一笔交易记录、每一份航海日志、每一封总督密信，塞进了这里约 9 公里长的书架上——共 43,000 余卷，约 80 亿页。&lt;/p></description></item><item><title>从 1 bit 到 1 YB：1 EB - 整个互联网的重量</title><link>https://gpchn.252123.xyz/posts/%E4%BB%8E-1-bit-%E5%88%B0-1-yb/1-eb/</link><pubDate>Sun, 03 May 2026 10:24:09 +0000</pubDate><guid>https://gpchn.252123.xyz/posts/%E4%BB%8E-1-bit-%E5%88%B0-1-yb/1-eb/</guid><description>&lt;p>2013 年 6 月，前美国国家安全局承包商雇员爱德华·斯诺登在香港的一家酒店里，向《卫报》和《华盛顿邮报》的记者展示了一批绝密文件。随后数年，围绕监控、隐私和数字权力的争论席卷全球。但在这场风暴的底层，藏着一个被大多数人忽略的物理事实，一个纯粹的技术参数——&lt;strong>存储容量&lt;/strong>。&lt;/p></description></item><item><title>从 1 bit 到 1 YB：1 PB - 数据中心凉爽干燥的空气</title><link>https://gpchn.252123.xyz/posts/%E4%BB%8E-1-bit-%E5%88%B0-1-yb/1-pb/</link><pubDate>Sun, 03 May 2026 10:02:13 +0000</pubDate><guid>https://gpchn.252123.xyz/posts/%E4%BB%8E-1-bit-%E5%88%B0-1-yb/1-pb/</guid><description>&lt;p>&lt;img alt="数据中心" loading="lazy" src="./posts/%E4%BB%8E-1-bit-%E5%88%B0-1-yb/1-pb/1.webp">&lt;/p>
&lt;p>湿冷的空气，持续的低频嗡鸣，日光灯下永不停歇的灰色长廊。一排排机柜整齐列队，每一格都嵌满密密麻麻的硬盘，指示灯像无数只不眠的眼睛，在无人注视的角落里飞快明灭。闻起来，是金属、塑料、制冷剂和微量臭氧的混合：金属来自机壳，塑料来自线缆绝缘层，制冷剂从空调管路里逃逸出微不可查的一丝甜腻，臭氧是高压放电留下的隐晦签名。有些老旧的机房里还混杂着灰尘被电热烤过之后特有的焦腥味。&lt;/p></description></item><item><title>从 1 bit 到 1 YB：1 TB - 大到让你忘记容量</title><link>https://gpchn.252123.xyz/posts/%E4%BB%8E-1-bit-%E5%88%B0-1-yb/1-tb/</link><pubDate>Sun, 03 May 2026 01:31:11 +0000</pubDate><guid>https://gpchn.252123.xyz/posts/%E4%BB%8E-1-bit-%E5%88%B0-1-yb/1-tb/</guid><description>&lt;p>2007 年 1 月 5 日，一项纪录被打破了。日立环球存储（HGST）宣布了业界首款 1 TB 硬盘——Deskstar 7K1000。这是一块 3.5 英寸、7200 RPM 的硬盘，采用垂直磁记录技术，建议零售价 399 美元，折合每 GB 成本约 40 美分。HGST 同时发布了面向数字录像机市场的 CinemaStar 1 TB 版本，声称一块 TB 级硬盘可以轻松存储近 250 小时的高清节目。&lt;/p></description></item><item><title>从 1 bit 到 1 YB：1 GB - 一千首歌的重量</title><link>https://gpchn.252123.xyz/posts/%E4%BB%8E-1-bit-%E5%88%B0-1-yb/1-gb/</link><pubDate>Sun, 03 May 2026 01:00:43 +0000</pubDate><guid>https://gpchn.252123.xyz/posts/%E4%BB%8E-1-bit-%E5%88%B0-1-yb/1-gb/</guid><description>&lt;p>2001 年 10 月 23 日，史蒂夫·乔布斯站在苹果总部一个小型发布会的舞台上，手插在牛仔裤口袋里。他掏出一个白色的盒子，对台下说了一句话——这句话后来被写进了每一本营销教科书。&lt;/p></description></item><item><title>从 1 bit 到 1 YB：1 MB - 一张软盘如何承载一个时代</title><link>https://gpchn.252123.xyz/posts/%E4%BB%8E-1-bit-%E5%88%B0-1-yb/1-mb/</link><pubDate>Sun, 03 May 2026 00:12:22 +0000</pubDate><guid>https://gpchn.252123.xyz/posts/%E4%BB%8E-1-bit-%E5%88%B0-1-yb/1-mb/</guid><description>&lt;p>你现在盯着屏幕，手指悬在快捷键上方。Ctrl+S，或者 Cmd+S，或者什么 App 角落里那个小小的软盘图标——你每天要按几十次的保存按钮，长着一张已经死去二十年的脸。&lt;/p></description></item><item><title>从 1 bit 到 1 YB：1 KB - 13 张打孔卡</title><link>https://gpchn.252123.xyz/posts/%E4%BB%8E-1-bit-%E5%88%B0-1-yb/1-kb/</link><pubDate>Sat, 02 May 2026 23:31:56 +0000</pubDate><guid>https://gpchn.252123.xyz/posts/%E4%BB%8E-1-bit-%E5%88%B0-1-yb/1-kb/</guid><description>&lt;p>假设你现在穿越回 1970 年，坐在一台电传打字机前，准备把你写的程序输入计算机。你不是在敲键盘——你手里捏着 13 张打孔卡，每一张有 80 列，每一列打好孔就是一个字符。你要敲完一整屏代码，得打出小一摞卡，抱着它们走到机器前，一张一张喂进去。&lt;/p></description></item><item><title>从 1 bit 到 1 YB：1 Byte - 当计算机学会“咬”下第一口</title><link>https://gpchn.252123.xyz/posts/%E4%BB%8E-1-bit-%E5%88%B0-1-yb/1-byte/</link><pubDate>Sat, 02 May 2026 22:45:01 +0000</pubDate><guid>https://gpchn.252123.xyz/posts/%E4%BB%8E-1-bit-%E5%88%B0-1-yb/1-byte/</guid><description>&lt;p>上一回我们聊了1 bit。一个开关，一瞬脉冲，一根导线里时有时无的电流。彼时，人类教会机器吞吐信息的本领才刚刚入门——是的，输出一个 yes-or-no，分辨一段黑白，这便是比特的全部世界。这的确很了不起，但实话说：若机器只能存储一个 0 或 1，它永远无法写出“Hello World”，更无法绘出蒙娜丽莎。它需要一个更大的单位。&lt;/p></description></item><item><title>从 1 bit 到 1 YB：1 bit - 信息世界的原子</title><link>https://gpchn.252123.xyz/posts/%E4%BB%8E-1-bit-%E5%88%B0-1-yb/1-bit/</link><pubDate>Sat, 02 May 2026 22:05:12 +0000</pubDate><guid>https://gpchn.252123.xyz/posts/%E4%BB%8E-1-bit-%E5%88%B0-1-yb/1-bit/</guid><description>&lt;p>今天开个新坑，聊一个计算机领域最基础、最底层，但你几乎每天都在用却从来不认识它的东西。&lt;/p>
&lt;p>在正式开始之前，我先问一个问题：你觉得，人类历史上最伟大的发明是什么？&lt;/p></description></item><item><title>PyWebview 打包安卓全过程记录</title><link>https://gpchn.252123.xyz/posts/pywebview-%E6%89%93%E5%8C%85%E5%AE%89%E5%8D%93%E5%85%A8%E8%BF%87%E7%A8%8B%E8%AE%B0%E5%BD%95/</link><pubDate>Sun, 27 Jul 2025 22:05:12 +0000</pubDate><guid>https://gpchn.252123.xyz/posts/pywebview-%E6%89%93%E5%8C%85%E5%AE%89%E5%8D%93%E5%85%A8%E8%BF%87%E7%A8%8B%E8%AE%B0%E5%BD%95/</guid><description>&lt;p>用 PyWebview 写完应用，打包成 Android APK 是最后一步。官方文档给了方向，但细节需要自己摸索。以下是我验证过的完整流程。&lt;/p>
&lt;h2 id="1-准备-linux-环境">1. 准备 Linux 环境&lt;/h2>
&lt;p>Android 打包依赖 Buildozer，它只能跑在 Linux 上。Windows 用户可通过 WSL 搭建环境。&lt;/p></description></item><item><title>Python 中良好的码风是什么样的</title><link>https://gpchn.252123.xyz/posts/python-%E4%B8%AD%E8%89%AF%E5%A5%BD%E7%9A%84%E7%A0%81%E9%A3%8E%E6%98%AF%E4%BB%80%E4%B9%88%E6%A0%B7%E7%9A%84/</link><pubDate>Sat, 15 Mar 2025 15:38:13 +0000</pubDate><guid>https://gpchn.252123.xyz/posts/python-%E4%B8%AD%E8%89%AF%E5%A5%BD%E7%9A%84%E7%A0%81%E9%A3%8E%E6%98%AF%E4%BB%80%E4%B9%88%E6%A0%B7%E7%9A%84/</guid><description>&lt;p>我当前在 Python 脚本里保持的骨架大致如下：&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-python" data-lang="python">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e">#!/usr/bin/env python3&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># coding=utf-8&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#66d9ef">def&lt;/span> &lt;span style="color:#a6e22e">main&lt;/span>():
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">...&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#66d9ef">if&lt;/span> __name__ &lt;span style="color:#f92672">==&lt;/span> &lt;span style="color:#e6db74">&amp;#34;__main__&amp;#34;&lt;/span>:
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> main()
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>下面逐条解释这些选择，以及我在缩进、引号、空白上的习惯。&lt;/p>
&lt;h2 id="shebang">shebang&lt;/h2>
&lt;p>&lt;code>#!/usr/bin/env python3&lt;/code> 只在 Unix/类 Unix 系统上生效，Windows 会直接忽略这一行。它的作用是让内核用 &lt;code>env&lt;/code> 找到 &lt;code>python3&lt;/code> 来执行脚本，而不是硬编码 &lt;code>/usr/bin/python3&lt;/code> 这样可能不存在的路径。对要用 &lt;code>./script.py&lt;/code> 直接跑脚本的人来说，这行算基本礼貌，省去先敲 &lt;code>python3&lt;/code> 的步骤。&lt;/p></description></item><item><title>用 oh-my-posh 美化 CMD 和 PowerShell</title><link>https://gpchn.252123.xyz/posts/%E7%94%A8-oh-my-posh-%E7%BE%8E%E5%8C%96-cmd-%E5%92%8C-powershell/</link><pubDate>Sun, 09 Feb 2025 15:04:12 +0000</pubDate><guid>https://gpchn.252123.xyz/posts/%E7%94%A8-oh-my-posh-%E7%BE%8E%E5%8C%96-cmd-%E5%92%8C-powershell/</guid><description>&lt;p>我平时在 Linux 上用 zsh，配上 oh-my-zsh 和 powerlevel10k 主题，几乎是一键起飞，颜值和效率都在线。&lt;/p>
&lt;p>&lt;img alt="oh-my-zsh" loading="lazy" src="./posts/%E7%94%A8-oh-my-posh-%E7%BE%8E%E5%8C%96-cmd-%E5%92%8C-powershell/1.webp">&lt;/p>
&lt;p>但 Windows 这边嘛……很多人到了 CMD 或者 PowerShell 就随缘了，顶多装个 Windows Terminal 就开干。其实只要用对工具，Windows 终端也能做到和 zsh 一样美观。这个工具就是 &lt;a href="https://ohmyposh.dev/">oh-my-posh&lt;/a>。&lt;/p></description></item><item><title>配置文件语言，怎么选才不后悔？</title><link>https://gpchn.252123.xyz/posts/%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6%E8%AF%AD%E8%A8%80%E6%80%8E%E4%B9%88%E9%80%89%E6%89%8D%E4%B8%8D%E5%90%8E%E6%82%94/</link><pubDate>Sat, 25 Jan 2025 21:21:23 +0000</pubDate><guid>https://gpchn.252123.xyz/posts/%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6%E8%AF%AD%E8%A8%80%E6%80%8E%E4%B9%88%E9%80%89%E6%89%8D%E4%B8%8D%E5%90%8E%E6%82%94/</guid><description>&lt;p>配置文件这种东西，没人喜欢专门去学它。你打开一个陌生的项目，看到满屏的缩进、引号、中括号，第一反应大概率是——这写的什么天书？&lt;/p>
&lt;p>但偏偏每个项目用的语言还不一样。JSON、XML、INI、YAML、TOML……名字一个比一个抽象，语法一个比一个有个性。没办法，还是得认一认。&lt;/p></description></item><item><title>垃圾佬福音：如何用200元凑出一台电脑</title><link>https://gpchn.252123.xyz/posts/%E5%9E%83%E5%9C%BE%E4%BD%AC%E7%A6%8F%E9%9F%B3%E5%A6%82%E4%BD%95%E7%94%A8200%E5%85%83%E5%87%91%E5%87%BA%E4%B8%80%E5%8F%B0%E7%94%B5%E8%84%91/</link><pubDate>Mon, 28 Aug 2023 00:14:10 +0000</pubDate><guid>https://gpchn.252123.xyz/posts/%E5%9E%83%E5%9C%BE%E4%BD%AC%E7%A6%8F%E9%9F%B3%E5%A6%82%E4%BD%95%E7%94%A8200%E5%85%83%E5%87%91%E5%87%BA%E4%B8%80%E5%8F%B0%E7%94%B5%E8%84%91/</guid><description>&lt;p>&lt;em>终于选好了配置、买好了零件、装好了电脑，然后暑假就要结束力（悲）&lt;/em>&lt;/p>
&lt;h2 id="话不多说先上配置">话不多说先上配置&lt;/h2>
&lt;p>&lt;img alt="配置单" loading="lazy" src="./posts/%E5%9E%83%E5%9C%BE%E4%BD%AC%E7%A6%8F%E9%9F%B3%E5%A6%82%E4%BD%95%E7%94%A8200%E5%85%83%E5%87%91%E5%87%BA%E4%B8%80%E5%8F%B0%E7%94%B5%E8%84%91/1.webp">&lt;/p>
&lt;p>&lt;img alt="系统显示" loading="lazy" src="./posts/%E5%9E%83%E5%9C%BE%E4%BD%AC%E7%A6%8F%E9%9F%B3%E5%A6%82%E4%BD%95%E7%94%A8200%E5%85%83%E5%87%91%E5%87%BA%E4%B8%80%E5%8F%B0%E7%94%B5%E8%84%91/5.webp">&lt;/p>
&lt;p>不得不说 e3 神教嘎嘎香，160 块钱能有这性能，传送门2、CS:GO、半条命、泰拉瑞亚、求生之路2 这种低配游戏毫无压力（虽然我也没试过，但根据配置要求来看是这样的）&lt;/p></description></item><item><title>白嫖服务器 + .link 顶级域名</title><link>https://gpchn.252123.xyz/posts/%E7%99%BD%E5%AB%96%E6%9C%8D%E5%8A%A1%E5%99%A8-link-%E9%A1%B6%E7%BA%A7%E5%9F%9F%E5%90%8D/</link><pubDate>Wed, 19 Jul 2023 13:33:10 +0000</pubDate><guid>https://gpchn.252123.xyz/posts/%E7%99%BD%E5%AB%96%E6%9C%8D%E5%8A%A1%E5%99%A8-link-%E9%A1%B6%E7%BA%A7%E5%9F%9F%E5%90%8D/</guid><description>&lt;p>&lt;em>观前提示：Vercel 和 GitHub 在国内被墙了，没有梯子就歇菜吧&lt;/em>&lt;/p>
&lt;h1 id="注册域名">注册域名&lt;/h1>
&lt;p>首先来到白嫖域名的网站：&lt;a href="https://www.dynadot.com/register-your-free-link-domain">https://www.dynadot.com/register-your-free-link-domain&lt;/a>&lt;/p>
&lt;p>&lt;img alt="检查域名可用性" loading="lazy" src="./posts/%E7%99%BD%E5%AB%96%E6%9C%8D%E5%8A%A1%E5%99%A8-link-%E9%A1%B6%E7%BA%A7%E5%9F%9F%E5%90%8D/1.webp">&lt;/p>
&lt;p>在搜索框里填上你想要注册的域名，如果可以注册就会是图中的样式，点 Next&lt;/p></description></item><item><title>关于</title><link>https://gpchn.252123.xyz/about/</link><pubDate>Wed, 19 Jul 2023 11:27:00 +0000</pubDate><guid>https://gpchn.252123.xyz/about/</guid><description>&lt;h2 id="hi-there-">Hi there! 👋&lt;/h2>
&lt;p>&lt;a href="https://twitter.com/intent/follow?screen_name=gpchn">&lt;img alt="Twitter Follow" loading="lazy" src="https://img.shields.io/twitter/follow/gpchn?label=Follow">&lt;/a> &lt;a href="https://gpchn.252123.xyz/">&lt;img alt="website" loading="lazy" src="https://img.shields.io/badge/Website-46a2f1.svg?&amp;style=flat-square&amp;logo=Google-Chrome&amp;logoColor=white&amp;link=https://gpchn.252123.xyz/">&lt;/a>&lt;/p>
&lt;ul>
&lt;li>🧐 对全栈很感兴趣，最近在折腾 Hermes agent&lt;/li>
&lt;li>🎓 我是一个来自河北的高中学生&lt;/li>
&lt;li>🌱 最近在学习 OpenClaw, Hermes, 自建 Linux 服务器, 玩客云刷机等内容&lt;/li>
&lt;li>📚 正在阅读《Rust 程序设计语言》《操作系统——原理与实现》&lt;/li>
&lt;li>💻 差不多有 7 年的编程经验了，主要使用 Python，别的语言偶尔用用&lt;/li>
&lt;li>✍🏻 我在这里记录学到的有关计算机的知识，但只是偶尔想起来的时候……&lt;/li>
&lt;/ul>
&lt;h3 id="wakatime">WakaTime&lt;/h3>
&lt;p>&lt;a href="https://wakatime.com/">&lt;img alt="WakaTime" loading="lazy" src="https://wakatime.com/share/@d2b815da-b0b0-4453-9ce9-a2180d4af304/c2197848-ad8f-4d21-8860-49dbfb7c4b38.svg">&lt;/a>&lt;/p></description></item></channel></rss>