<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>寻亦见北</title><link>https://xyjb.qzz.io/</link><description>Recent content on 寻亦见北</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Sun, 02 Nov 2025 18:57:10 +0800</lastBuildDate><atom:link href="https://xyjb.qzz.io/rss.xml" rel="self" type="application/rss+xml"/><item><title>关于</title><link>https://xyjb.qzz.io/about/</link><pubDate>Sun, 02 Nov 2025 18:57:10 +0800</pubDate><guid>https://xyjb.qzz.io/about/</guid><description>&lt;h1 id="关于我">关于我
&lt;a class="header-anchor" href="#%e5%85%b3%e4%ba%8e%e6%88%91">&lt;/a>
&lt;/h1>&lt;p>这个世界有太多不如意。
为什么梅花偏要在寒冬盛放？
为什么鲜花注定在夏日凋零？&lt;/p>
&lt;p>我们走在一个充满“为什么”的世界。
有时我会想，为什么我偏爱在夏夜仰望银河。
或许是童年的记忆挥之不去——
那火红的太阳，映照鲜红的黄昏，仿佛天空在怒吼。&lt;/p></description></item><item><title>Python中的函数</title><link>https://xyjb.qzz.io/post/python/python-fiction/</link><pubDate>Sun, 02 Nov 2025 13:45:47 +0800</pubDate><guid>https://xyjb.qzz.io/post/python/python-fiction/</guid><description>&lt;p>&lt;img src="https://xyjb.qzz.io/imgs/img-lazy-loading.gif" data-src="https://img.jask.cc/file/1760866576343_python-function.png" alt="cover" />&lt;/p>
&lt;!-- more -->
&lt;h2 id="调用函数">调用函数
&lt;a class="header-anchor" href="#%e8%b0%83%e7%94%a8%e5%87%bd%e6%95%b0">&lt;/a>
&lt;/h2>&lt;p>如果我们要调用一个函数，我们要知道函数的参数值，比如 &lt;code>hex()&lt;/code> 就是转化为 16进制的字符&lt;/p>

&lt;div class="highlight">&lt;div class="chroma">
&lt;table class="lntable">&lt;tr>&lt;td class="lntd">
&lt;pre tabindex="0" class="chroma">&lt;code>&lt;span class="lnt" id="hl-0-1">&lt;a class="lnlinks" href="#hl-0-1">1&lt;/a>
&lt;/span>&lt;span class="lnt" id="hl-0-2">&lt;a class="lnlinks" href="#hl-0-2">2&lt;/a>
&lt;/span>&lt;/code>&lt;/pre>&lt;/td>
&lt;td class="lntd">
&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">&amp;gt;&amp;gt;&amp;gt; hex&lt;span class="o">(&lt;/span>1000&lt;span class="o">)&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="s1">&amp;#39;0x3e8&amp;#39;&lt;/span>&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/td>&lt;/tr>&lt;/table>
&lt;/div>
&lt;/div>

&lt;p>你也可以在 &lt;code>help(hex)&lt;/code> 查看它的更多用法。python的函数有很多，再比如使用 &lt;code>abs()&lt;/code> 函数可以求出一个数的绝对值。&lt;/p></description></item><item><title>Python 中的高级特性</title><link>https://xyjb.qzz.io/post/python/python-advance/</link><pubDate>Sun, 02 Nov 2025 12:54:46 +0800</pubDate><guid>https://xyjb.qzz.io/post/python/python-advance/</guid><description>&lt;p>&lt;img src="https://xyjb.qzz.io/imgs/img-lazy-loading.gif" data-src="https://img.jask.cc/file/1760957259180_cover_225129.png" alt="cover" />&lt;/p>
&lt;!-- more -->
&lt;h1 id="切片">切片
&lt;a class="header-anchor" href="#%e5%88%87%e7%89%87">&lt;/a>
&lt;/h1>&lt;p>在一个list或者tuple取得一个元素很容易，比如：&lt;/p>

&lt;div class="highlight">&lt;div class="chroma">
&lt;table class="lntable">&lt;tr>&lt;td class="lntd">
&lt;pre tabindex="0" class="chroma">&lt;code>&lt;span class="lnt" id="hl-0-1">&lt;a class="lnlinks" href="#hl-0-1">1&lt;/a>
&lt;/span>&lt;span class="lnt" id="hl-0-2">&lt;a class="lnlinks" href="#hl-0-2">2&lt;/a>
&lt;/span>&lt;span class="lnt" id="hl-0-3">&lt;a class="lnlinks" href="#hl-0-3">3&lt;/a>
&lt;/span>&lt;span class="lnt" id="hl-0-4">&lt;a class="lnlinks" href="#hl-0-4">4&lt;/a>
&lt;/span>&lt;/code>&lt;/pre>&lt;/td>
&lt;td class="lntd">
&lt;pre tabindex="0" class="chroma">&lt;code class="language-python" data-lang="python">&lt;span class="line">&lt;span class="cl">&lt;span class="n">L&lt;/span> &lt;span class="o">=&lt;/span> &lt;span class="p">[&lt;/span>&lt;span class="s1">&amp;#39;apple&amp;#39;&lt;/span>&lt;span class="p">,&lt;/span> &lt;span class="s1">&amp;#39;banana&amp;#39;&lt;/span>&lt;span class="p">,&lt;/span> &lt;span class="s1">&amp;#39;orange&amp;#39;&lt;/span>&lt;span class="p">]&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="nb">print&lt;/span>&lt;span class="p">(&lt;/span>&lt;span class="n">L&lt;/span>&lt;span class="p">[&lt;/span>&lt;span class="mi">0&lt;/span>&lt;span class="p">],&lt;/span> &lt;span class="n">L&lt;/span>&lt;span class="p">[&lt;/span>&lt;span class="mi">1&lt;/span>&lt;span class="p">],&lt;/span> &lt;span class="n">L&lt;/span>&lt;span class="p">[&lt;/span>&lt;span class="mi">2&lt;/span>&lt;span class="p">])&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="c1"># 或者&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="nb">print&lt;/span>&lt;span class="p">(&lt;/span>&lt;span class="n">L&lt;/span>&lt;span class="p">[&lt;/span>&lt;span class="o">-&lt;/span>&lt;span class="mi">1&lt;/span>&lt;span class="p">],&lt;/span> &lt;span class="n">L&lt;/span>&lt;span class="p">[&lt;/span>&lt;span class="o">-&lt;/span>&lt;span class="mi">2&lt;/span>&lt;span class="p">],&lt;/span> &lt;span class="n">L&lt;/span>&lt;span class="p">[&lt;/span>&lt;span class="o">-&lt;/span>&lt;span class="mi">3&lt;/span>&lt;span class="p">])&lt;/span>&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/td>&lt;/tr>&lt;/table>
&lt;/div>
&lt;/div>

&lt;p>这样是低效率的方法，如果有n 个元素呢？一个个这样取就会很慢且很蠢，不过好在Python提供了切片（Slice）操作符，能大大简化这种操作&lt;/p></description></item><item><title>Python 基础</title><link>https://xyjb.qzz.io/post/python/python-basis/</link><pubDate>Sun, 02 Nov 2025 12:51:06 +0800</pubDate><guid>https://xyjb.qzz.io/post/python/python-basis/</guid><description>&lt;p>&lt;img src="https://xyjb.qzz.io/imgs/img-lazy-loading.gif" data-src="https://img.jask.cc/file/1760773104713_python-basis.png" alt="cover" />&lt;/p>
&lt;!-- more -->
&lt;h1 id="python-中的列表">Python 中的列表
&lt;a class="header-anchor" href="#python-%e4%b8%ad%e7%9a%84%e5%88%97%e8%a1%a8">&lt;/a>
&lt;/h1>&lt;h2 id="list">list
&lt;a class="header-anchor" href="#list">&lt;/a>
&lt;/h2>&lt;p>Python中内置的就是 &lt;code>list&lt;/code>，这是一种有序列表&lt;/p>

&lt;div class="highlight">&lt;div class="chroma">
&lt;table class="lntable">&lt;tr>&lt;td class="lntd">
&lt;pre tabindex="0" class="chroma">&lt;code>&lt;span class="lnt" id="hl-0-1">&lt;a class="lnlinks" href="#hl-0-1">1&lt;/a>
&lt;/span>&lt;span class="lnt" id="hl-0-2">&lt;a class="lnlinks" href="#hl-0-2">2&lt;/a>
&lt;/span>&lt;/code>&lt;/pre>&lt;/td>
&lt;td class="lntd">
&lt;pre tabindex="0" class="chroma">&lt;code class="language-python" data-lang="python">&lt;span class="line">&lt;span class="cl">&lt;span class="n">city&lt;/span> &lt;span class="o">=&lt;/span> &lt;span class="p">[&lt;/span>&lt;span class="s1">&amp;#39;武汉&amp;#39;&lt;/span>&lt;span class="p">,&lt;/span>&lt;span class="s1">&amp;#39;成都&amp;#39;&lt;/span>&lt;span class="p">,&lt;/span>&lt;span class="s1">&amp;#39;长沙&amp;#39;&lt;/span>&lt;span class="p">]&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="nb">print&lt;/span>&lt;span class="p">(&lt;/span>&lt;span class="n">city&lt;/span>&lt;span class="p">)&lt;/span>&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/td>&lt;/tr>&lt;/table>
&lt;/div>
&lt;/div>

&lt;p>变量 &lt;code>city&lt;/code>就是一个列表，用&lt;code>len()&lt;/code>函数可以获得list元素的个数：&lt;/p></description></item><item><title>我好像缺少「幸福感」s</title><link>https://xyjb.qzz.io/post/lack-of-happiness/</link><pubDate>Thu, 28 Aug 2025 13:55:31 +0800</pubDate><guid>https://xyjb.qzz.io/post/lack-of-happiness/</guid><description>&lt;p>这几天的太阳是真的大，除了出门去买菜，我已经快一个星期没有出门了。这几天我一直活跃在推特上，看到了很多优秀的人。&lt;/p>
&lt;p>诸如什么研究生、博士生、本科退学创业的天才。我突然觉得，好像我自己什么也不是。&lt;/p></description></item><item><title>为什么你的注意力质量决定了你的生活质量</title><link>https://xyjb.qzz.io/post/attention-quality-life-quality/</link><pubDate>Thu, 21 Aug 2025 13:51:58 +0800</pubDate><guid>https://xyjb.qzz.io/post/attention-quality-life-quality/</guid><description>&lt;p>我已经研究了注意力好几年了，这个说法（&amp;ldquo;你的注意力质量决定了你的生活质量&amp;rdquo;）已经成为我实践注意力管理的指南针。这就是我为什么相信它是真的。&lt;/p></description></item><item><title>汐山市基本介绍</title><link>https://xyjb.qzz.io/post/xishan-city-intro/</link><pubDate>Sat, 05 Jul 2025 14:03:31 +0800</pubDate><guid>https://xyjb.qzz.io/post/xishan-city-intro/</guid><description>&lt;p>&lt;img src="https://xyjb.qzz.io/imgs/img-lazy-loading.gif" data-src="https://s2.loli.net/2025/07/05/9jOtp3F6KVPvBWE.jpg" alt="cover" />&lt;/p>
&lt;!-- more -->
&lt;h1 id="-汐山市概况">🌆 汐山市概况
&lt;a class="header-anchor" href="#-%e6%b1%90%e5%b1%b1%e5%b8%82%e6%a6%82%e5%86%b5">&lt;/a>
&lt;/h1>
 &lt;blockquote>
 &lt;p>虚拟城市，如有雷同，纯属巧合&lt;/p>
 &lt;/blockquote>
&lt;h2 id="-一城市概况">🏙️ 一、城市概况
&lt;a class="header-anchor" href="#-%e4%b8%80%e5%9f%8e%e5%b8%82%e6%a6%82%e5%86%b5">&lt;/a>
&lt;/h2>&lt;p>&lt;strong>中文名称&lt;/strong>：汐山市&lt;br>
&lt;strong>所属省份&lt;/strong>：中南省&lt;br>
&lt;strong>城市等级&lt;/strong>：二线城市&lt;br>
&lt;strong>人口规模&lt;/strong>：全域约400万人，主城区常住人口230万&lt;br>
&lt;strong>行政区划&lt;/strong>：凌云区、汐水区、罗山区、东山经济开发区、青衫高新技术开发区、天源市（县级）、玲珑市（红色文旅县）、滨海新区、五华县&lt;/p></description></item><item><title>世界观核心体系</title><link>https://xyjb.qzz.io/post/worldview-core-system/</link><pubDate>Fri, 25 Apr 2025 14:07:43 +0800</pubDate><guid>https://xyjb.qzz.io/post/worldview-core-system/</guid><description>&lt;h2 id="一矿物">一、矿物
&lt;a class="header-anchor" href="#%e4%b8%80%e7%9f%bf%e7%89%a9">&lt;/a>
&lt;/h2>
 &lt;blockquote>
 &lt;p>矿物是整个通宇宙工业体系的基础。按照稀有度与战略价值，分为三类：&lt;strong>基础矿物、稀有矿物、超稀有矿物&lt;/strong>。其中矿石是原始资源，需通过提炼获得精炼物，才能用于科技与工业体系中。&lt;/p></description></item><item><title>通宇宙设定总览</title><link>https://xyjb.qzz.io/post/universe-settings-overview/</link><pubDate>Tue, 22 Apr 2025 14:00:15 +0800</pubDate><guid>https://xyjb.qzz.io/post/universe-settings-overview/</guid><description>&lt;blockquote>
 &lt;p>写在前面
灵感来源于《星际争霸》、《环世界》&lt;/p>
 &lt;/blockquote>
&lt;!-- more -->
&lt;p>&lt;img src="https://xyjb.qzz.io/imgs/img-lazy-loading.gif" data-src="https://s2.loli.net/2025/04/22/SiX5gjnRBQsEULv.png" alt="宇宙示意图" />&lt;/p>
&lt;h2 id="一宇宙起源">一、宇宙起源
&lt;a class="header-anchor" href="#%e4%b8%80%e5%ae%87%e5%ae%99%e8%b5%b7%e6%ba%90">&lt;/a>
&lt;/h2>&lt;p>&lt;strong>通宇宙&lt;/strong>的起源可追溯至约50亿年前，当时一颗原始恒星发生超新星爆炸，释放出巨大的能量，产生了&lt;strong>纯粹源石&lt;/strong>（共四块），并扭曲了时空结构。这场爆炸不仅让宇宙诞生了源石，也导致了&lt;strong>原生宇宙&lt;/strong>与&lt;strong>通宇宙&lt;/strong>的分裂。原生宇宙中的物质与能量极为不稳定，充满了反物质，而通宇宙成为了一个相对稳定、文明和种族能够繁衍的地方。&lt;/p></description></item><item><title>危机</title><link>https://xyjb.qzz.io/post/write/chapter-4/</link><pubDate>Sat, 08 Mar 2025 14:30:04 +0800</pubDate><guid>https://xyjb.qzz.io/post/write/chapter-4/</guid><description>&lt;p>&lt;img src="https://xyjb.qzz.io/imgs/img-lazy-loading.gif" data-src="https://s2.loli.net/2025/03/08/DQqnGk9ourPZdmS.jpg" alt="cover" />&lt;/p>
&lt;!-- more -->
&lt;h1 id="第四章-危机">第四章 危机
&lt;a class="header-anchor" href="#%e7%ac%ac%e5%9b%9b%e7%ab%a0-%e5%8d%b1%e6%9c%ba">&lt;/a>
&lt;/h1>&lt;p>计算机屏幕上闪烁着红光，这是冰火山快要喷发的征兆。高方文坐在计算机前，焦急地联系着小队每个人。可是都无一例外的显示通讯失败，唯一一次成功就是瑞克打过来的。&lt;/p></description></item><item><title>海卫一</title><link>https://xyjb.qzz.io/post/write/chapter-3/</link><pubDate>Fri, 07 Mar 2025 14:28:39 +0800</pubDate><guid>https://xyjb.qzz.io/post/write/chapter-3/</guid><description>&lt;p>&lt;img src="https://xyjb.qzz.io/imgs/img-lazy-loading.gif" data-src="https://s2.loli.net/2025/03/07/Sl9rO5cvyPzMnJI.jpg" alt="cover" />&lt;/p>
&lt;!-- more -->
&lt;h1 id="第三章-海卫一">第三章 海卫一
&lt;a class="header-anchor" href="#%e7%ac%ac%e4%b8%89%e7%ab%a0-%e6%b5%b7%e5%8d%ab%e4%b8%80">&lt;/a>
&lt;/h1>&lt;p>无垠的星海一直是高方文向往的地方，这不是他第一次前往太空了。回想起第一登临太空的情景，一切都那么奇特、那么惊喜。&lt;/p>
&lt;p>　　轻盈地漂浮在韦伯空间站，与周围的同事探讨宇宙的奥秘，饶有一番风味。&lt;/p></description></item><item><title>指引</title><link>https://xyjb.qzz.io/post/write/chapter-2/</link><pubDate>Fri, 07 Mar 2025 14:24:32 +0800</pubDate><guid>https://xyjb.qzz.io/post/write/chapter-2/</guid><description>&lt;p>&lt;img src="https://xyjb.qzz.io/imgs/img-lazy-loading.gif" data-src="https://s2.loli.net/2025/03/07/Bg3azdOQAPNCV8T.jpg" alt="cover" />&lt;/p>
&lt;!-- more -->
&lt;h1 id="第二章-指引">第二章 指引
&lt;a class="header-anchor" href="#%e7%ac%ac%e4%ba%8c%e7%ab%a0-%e6%8c%87%e5%bc%95">&lt;/a>
&lt;/h1>&lt;p>​ 国际宇航局如往常召开例会，不过这次的主题却不是跟太阳有关，而是出乎意料地集中在一颗行星。&lt;/p>
&lt;p>　　世界上最大的射电望远镜——韦伯望远镜发现海王星周围的磁场正发生轻微地变动。虽然这种变动并不会造成某种实质性的影响，却已在科学界引起轩然大波，对人类科技构成了不小的威胁。&lt;/p></description></item><item><title>科学，到底是什么？</title><link>https://xyjb.qzz.io/post/write/chapter-1/</link><pubDate>Fri, 07 Mar 2025 14:12:08 +0800</pubDate><guid>https://xyjb.qzz.io/post/write/chapter-1/</guid><description>&lt;p>&lt;img src="https://xyjb.qzz.io/imgs/img-lazy-loading.gif" data-src="https://s2.loli.net/2025/03/07/PNsUt6vFfInVqHo.jpg" alt="cover" />&lt;/p>
&lt;!-- more -->
&lt;h1 id="第一章-科学到底是什么">第一章 科学，到底是什么？
&lt;a class="header-anchor" href="#%e7%ac%ac%e4%b8%80%e7%ab%a0-%e7%a7%91%e5%ad%a6%e5%88%b0%e5%ba%95%e6%98%af%e4%bb%80%e4%b9%88">&lt;/a>
&lt;/h1>&lt;p>​ 科学，本身就是最不科学的。&lt;/p>
&lt;p>　　 高方文从书架上拿出一本泛黄的、布满厚重尘埃的，但是依旧弥漫书香的类似于《新华字典》一样的书。&lt;/p></description></item><item><title>Hello World</title><link>https://xyjb.qzz.io/post/hello-world/</link><pubDate>Thu, 02 Jan 2025 13:57:29 +0800</pubDate><guid>https://xyjb.qzz.io/post/hello-world/</guid><description>&lt;p>&lt;img src="https://xyjb.qzz.io/imgs/img-lazy-loading.gif" data-src="https://s2.loli.net/2025/03/07/N6rFjaoVmTkJWHz.jpg" alt="cover" />&lt;/p>
&lt;!-- more -->
&lt;h1 id="这是你的第一天">这是你的第一天
&lt;a class="header-anchor" href="#%e8%bf%99%e6%98%af%e4%bd%a0%e7%9a%84%e7%ac%ac%e4%b8%80%e5%a4%a9">&lt;/a>
&lt;/h1>&lt;h2 id="你会得到你想要的">你会得到你想要的
&lt;a class="header-anchor" href="#%e4%bd%a0%e4%bc%9a%e5%be%97%e5%88%b0%e4%bd%a0%e6%83%b3%e8%a6%81%e7%9a%84">&lt;/a>
&lt;/h2>&lt;p>尽管我们都说中国社会是一个极具割裂的社会，但是依旧不妨碍我们这些“小镇做题家”在自己的岗位上发光发热。年少时常听奶奶说起，我们要成为一个了不起的人。但是何为了不起呢？&lt;/p></description></item><item><title>友情链接</title><link>https://xyjb.qzz.io/flinks/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://xyjb.qzz.io/flinks/</guid><description>&lt;p>如想交换本站友情链接，请在评论区留下你的站点信息，格式参考如下：&lt;/p>

&lt;div class="highlight">&lt;div class="chroma">
&lt;table class="lntable">&lt;tr>&lt;td class="lntd">
&lt;pre tabindex="0" class="chroma">&lt;code>&lt;span class="lnt" id="hl-0-1">&lt;a class="lnlinks" href="#hl-0-1">1&lt;/a>
&lt;/span>&lt;span class="lnt" id="hl-0-2">&lt;a class="lnlinks" href="#hl-0-2">2&lt;/a>
&lt;/span>&lt;span class="lnt" id="hl-0-3">&lt;a class="lnlinks" href="#hl-0-3">3&lt;/a>
&lt;/span>&lt;span class="lnt" id="hl-0-4">&lt;a class="lnlinks" href="#hl-0-4">4&lt;/a>
&lt;/span>&lt;/code>&lt;/pre>&lt;/td>
&lt;td class="lntd">
&lt;pre tabindex="0" class="chroma">&lt;code class="language-yaml" data-lang="yaml">&lt;span class="line">&lt;span class="cl">&lt;span class="nt">name&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">寻亦见北&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w">&lt;/span>&lt;span class="nt">link&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">https://xyjb.org&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w">&lt;/span>&lt;span class="nt">avatar&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">https://xyjb.org/img/favicon.png&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w">&lt;/span>&lt;span class="nt">desc&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">寻褶·见熵·北纬·柒文&lt;/span>&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/td>&lt;/tr>&lt;/table>
&lt;/div>
&lt;/div></description></item></channel></rss>