<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/" version="2.0">
<channel>
<title><![CDATA[ @M5s0&#x27;s Braindance ]]></title>
<description><![CDATA[ Gibberish, generated here and elsewhere ]]></description>
<link>https://qlin.org</link>
<image>
	<url>https://qlin.org/favicon.png</url>
	<title>@M5s0&#x27;s Braindance</title>
	<link>https://qlin.org</link>
</image>
<lastBuildDate>Sun, 08 Nov 2026 23:47:29 +0100</lastBuildDate>
<atom:link href="https://qlin.org/rss/all/" rel="self" type="application/rss+xml"/>
<ttl>60</ttl>

	<item>
		<title><![CDATA[ 03 Sep 2026 ]]></title>
		<description><![CDATA[ 在一台 Intel MacBook Pro 上安装了 Omarchy，是不是可以说 &quot;I use Arch, btw&quot; 了 ]]></description>
		<link>https://qlin.org/micro-25/</link>
		<guid isPermaLink="false">6a993ff66c2f310001fe6a33</guid>
		<category><![CDATA[ Microblog ]]></category>
		<dc:creator><![CDATA[ M5s0 ]]></dc:creator>
		<pubDate>Thu, 03 Sep 2026 11:40:54 +0200</pubDate>
		
		<content:encoded><![CDATA[ <p>在一台 Intel MacBook Pro 上安装了 <a href="https://omarchy.org/?ref=qlin.org" rel="noreferrer">Omarchy</a>，<s>是不是可以说 "I use Arch, btw" 了</s></p> ]]></content:encoded>
	</item>
	<item>
		<title><![CDATA[ 09 May 2026 ]]></title>
		<description><![CDATA[ 试用了 Mac 上的「闪电说」，语音识别模型使用的是「豆包流式语音识别模型 2.0」，个人体感无论是准确度还是速度都比 Typeless 差得不是一点半点。

最终还是给 Typeless （含 ref 链接）交了钱。 ]]></description>
		<link>https://qlin.org/micro-24/</link>
		<guid isPermaLink="false">69ff7205c8f7560001be98b3</guid>
		<category><![CDATA[ Microblog ]]></category>
		<dc:creator><![CDATA[ M5s0 ]]></dc:creator>
		<pubDate>Sat, 09 May 2026 19:46:55 +0200</pubDate>
		
		<content:encoded><![CDATA[ <p>试用了 Mac 上的「闪电说」，语音识别模型使用的是「豆包流式语音识别模型 2.0」，个人体感无论是准确度还是速度都比 Typeless 差得不是一点半点。</p><p>最终还是给 Typeless （<a href="https://www.typeless.com/refer?code=YJYWNFQ&ref=qlin.org" rel="noreferrer">含 ref 链接</a>）交了钱。</p> ]]></content:encoded>
	</item>
	<item>
		<title><![CDATA[ 19 Feb 2026 ]]></title>
		<description><![CDATA[ 刚刚部署了人生中的第一只🦞 (OpenClaw)

用的 MiniMax 的 Coding Plan，近期正在做活动，含 ref 链接：Link ]]></description>
		<link>https://qlin.org/micro-23/</link>
		<guid isPermaLink="false">699709685e5da700010e03d4</guid>
		<category><![CDATA[ Microblog ]]></category>
		<dc:creator><![CDATA[ M5s0 ]]></dc:creator>
		<pubDate>Thu, 19 Feb 2026 14:03:20 +0100</pubDate>
		
		<content:encoded><![CDATA[ <p>刚刚部署了人生中的第一只🦞 (OpenClaw)</p><p>用的 MiniMax 的 Coding Plan，近期正在做活动，含 ref 链接：<a href="https://platform.minimaxi.com/subscribe/coding-plan?code=FTqfpm3hVD&source=link" rel="noreferrer">Link</a></p> ]]></content:encoded>
	</item>
	<item>
		<title><![CDATA[ 13 Feb 2026 ]]></title>
		<description><![CDATA[ 刻舟求剑 ]]></description>
		<link>https://qlin.org/micro-22/</link>
		<guid isPermaLink="false">698f6e731e434a0001645beb</guid>
		<category><![CDATA[ Microblog ]]></category>
		<dc:creator><![CDATA[ M5s0 ]]></dc:creator>
		<pubDate>Fri, 13 Feb 2026 19:33:36 +0100</pubDate>
		
		<content:encoded><![CDATA[ <p>刻舟求剑</p> ]]></content:encoded>
	</item>
	<item>
		<title><![CDATA[ 27 Oct 2025 ]]></title>
		<description><![CDATA[ 人类的记忆和感官的联系有时候真的很奇妙。

那年我在法国 Nantes，每天早上上学路上听的都是福禄寿的《我用什么把你留住》，以至于现在我每次听到这首歌都感觉像回到那台我偶尔逃票的，拥挤的，又常常因为罢工而开不到站 Tramway 上。 ]]></description>
		<link>https://qlin.org/micro-21/</link>
		<guid isPermaLink="false">68feaa133c521200013305dc</guid>
		<category><![CDATA[ Microblog ]]></category>
		<dc:creator><![CDATA[ M5s0 ]]></dc:creator>
		<pubDate>Mon, 27 Oct 2025 10:45:34 +0100</pubDate>
		
		<content:encoded><![CDATA[ <p>人类的记忆和感官的联系有时候真的很奇妙。</p><p>那年我在法国 Nantes，每天早上上学路上听的都是福禄寿的《我用什么把你留住》，以至于现在我每次听到这首歌都感觉像回到那台我偶尔逃票的，拥挤的，又常常因为罢工而开不到站 Tramway 上。</p> ]]></content:encoded>
	</item>
	<item>
		<title><![CDATA[ 19 Oct 2025 ]]></title>
		<description><![CDATA[ 最近看完了刘子超的新书《血与蜜之地》和 赖导AboutLai 的所有视频。

感受是：只要有人还在苟且，旅行文学大概就永远不会死。 ]]></description>
		<link>https://qlin.org/micro-20/</link>
		<guid isPermaLink="false">68f4aec7d595eb0001c3e9ea</guid>
		<category><![CDATA[ Microblog ]]></category>
		<dc:creator><![CDATA[ M5s0 ]]></dc:creator>
		<pubDate>Sun, 19 Oct 2025 11:29:43 +0200</pubDate>
		
		<content:encoded><![CDATA[ <p>最近看完了刘子超的新书《血与蜜之地》和 <a href="https://space.bilibili.com/480670664?ref=qlin.org" rel="noreferrer">赖导AboutLai</a> 的所有视频。</p><p>感受是：只要有人还在苟且，旅行文学大概就永远不会死。</p> ]]></content:encoded>
	</item>
	<item>
		<title><![CDATA[ 12 Oct 2025 ]]></title>
		<description><![CDATA[ Diane Keaton has died ]]></description>
		<link>https://qlin.org/micro-19/</link>
		<guid isPermaLink="false">68ebaa074be6a3000183b96d</guid>
		<category><![CDATA[ Microblog ]]></category>
		<dc:creator><![CDATA[ M5s0 ]]></dc:creator>
		<pubDate>Sun, 12 Oct 2025 15:16:10 +0200</pubDate>
		
		<content:encoded><![CDATA[ <p>Diane Keaton has died</p> ]]></content:encoded>
	</item>
	<item>
		<title><![CDATA[ 10 Oct 2025 ]]></title>
		<description><![CDATA[ hoarder syndrome: 一直在用手糊的 shell 脚本配合 BBDown 这个项目在服务器上自动下载指定 B 站作者的全部视频，然后再用 rclone 上传到 NAS 和网盘的仓库囤起来。

最近发现好看又好用的项目 bili-sync，似乎基本能完全替代原本的工作流了，并且不用自己处理 rate limit/自动重试等等，只可惜列表里的某些 UP 已经被清空账号了。 ]]></description>
		<link>https://qlin.org/micro-18/</link>
		<guid isPermaLink="false">68e89afedb0ae10001ed96c5</guid>
		<category><![CDATA[ Microblog ]]></category>
		<dc:creator><![CDATA[ M5s0 ]]></dc:creator>
		<pubDate>Fri, 10 Oct 2025 10:03:38 +0200</pubDate>
		
		<content:encoded><![CDATA[ <p>hoarder syndrome: 一直在用手糊的 shell 脚本配合 <a href="https://github.com/nilaoda/BBDown?ref=qlin.org" rel="noreferrer">BBDown</a> 这个项目在服务器上自动下载指定 B 站作者的全部视频，然后再用 rclone 上传到 NAS 和网盘的仓库囤起来。</p><p>最近发现好看又好用的项目 <a href="https://github.com/amtoaer/bili-sync?ref=qlin.org" rel="noreferrer">bili-sync</a>，似乎基本能完全替代原本的工作流了，并且不用自己处理 rate limit/自动重试等等，只可惜列表里的某些 UP 已经被清空账号了。</p> ]]></content:encoded>
	</item>
	<item>
		<title><![CDATA[ 03 Oct 2025 ]]></title>
		<description><![CDATA[ it&#39;s not better to be safe than sorry ]]></description>
		<link>https://qlin.org/micro-17/</link>
		<guid isPermaLink="false">68df138323e847000169d8f0</guid>
		<category><![CDATA[ Microblog ]]></category>
		<dc:creator><![CDATA[ M5s0 ]]></dc:creator>
		<pubDate>Fri, 03 Oct 2025 02:06:47 +0200</pubDate>
		
		<content:encoded><![CDATA[ <p>it's not better to be safe than sorry</p> ]]></content:encoded>
	</item>
	<item>
		<title><![CDATA[ 25 Aug 2025 ]]></title>
		<description><![CDATA[ 吃不下饭要读汪曾祺

睡不着觉就看侯孝贤 ]]></description>
		<link>https://qlin.org/micro-16/</link>
		<guid isPermaLink="false">68ac5b7333a58700012dae5d</guid>
		<category><![CDATA[ Microblog ]]></category>
		<dc:creator><![CDATA[ M5s0 ]]></dc:creator>
		<pubDate>Mon, 25 Aug 2025 14:48:37 +0200</pubDate>
		
		<content:encoded><![CDATA[ <p>吃不下饭要读汪曾祺</p><p>睡不着觉就看侯孝贤</p> ]]></content:encoded>
	</item>
	<item>
		<title><![CDATA[ 28 Jul 2025 ]]></title>
		<description><![CDATA[ 李剑青什么时候才会出新专辑？ ]]></description>
		<link>https://qlin.org/micro-15/</link>
		<guid isPermaLink="false">6887d43e4e81e6000136f03a</guid>
		<category><![CDATA[ Microblog ]]></category>
		<dc:creator><![CDATA[ M5s0 ]]></dc:creator>
		<pubDate>Mon, 28 Jul 2025 21:49:50 +0200</pubDate>
		
		<content:encoded><![CDATA[ <p>李剑青什么时候才会出新专辑？</p> ]]></content:encoded>
	</item>
	<item>
		<title><![CDATA[ 13 Jul 2025 ]]></title>
		<description><![CDATA[ 《我们与恶的距离 2》真好。 ]]></description>
		<link>https://qlin.org/untitled/</link>
		<guid isPermaLink="false">6873d42b0a80c3000178135e</guid>
		<category><![CDATA[ Microblog ]]></category>
		<dc:creator><![CDATA[ M5s0 ]]></dc:creator>
		<pubDate>Sun, 13 Jul 2025 17:44:09 +0200</pubDate>
		
		<content:encoded><![CDATA[ <p>《我们与恶的距离 2》真好。</p> ]]></content:encoded>
	</item>
	<item>
		<title><![CDATA[ 使用 NGINX STEAM（TCP 代理） 反代 Emby 服务器 ]]></title>
		<description><![CDATA[ 由于云服务器「便宜、CN 路由好、配置高」的不可能三角，我一直都有给自建的 EMBY 服务器前面加一个「线路机」作为反向代理，以便让不会 7x24 在个人设备上开着某个七层代理的正常人能够流畅地访问我的 EMBY。


为什么是四层 TCP 代理/直通

常见的作用于七层的反向代理一般是通过类似 Nginx 或者 Caddy 之类的 Web 服务器实现，但是对于我上面的需求来说，这种方式需要两次的 TLS 的加解密，会带来不小的 overhead，特别是对于低配置的「线路机」来说。而「直通」，一句话解释就是在 L4 只做 TCP 转发，不碰 HTTPS 内容，效率高、消耗低，在后面 Nginx 的配置里能看到， ]]></description>
		<link>https://qlin.org/nginx-stream-emby/</link>
		<guid isPermaLink="false">685eebff1b91180001369821</guid>
		<category><![CDATA[ Article ]]></category>
		<dc:creator><![CDATA[ M5s0 ]]></dc:creator>
		<pubDate>Fri, 27 Jun 2025 22:28:59 +0200</pubDate>
		<media:content url="https://images.unsplash.com/photo-1510906594845-bc082582c8cc?crop&#x3D;entropy&amp;cs&#x3D;tinysrgb&amp;fit&#x3D;max&amp;fm&#x3D;jpg&amp;ixid&#x3D;M3wxMTc3M3wwfDF8c2VhcmNofDMwfHxhYnN0cmFjdHxlbnwwfHx8fDE3NTEwNTUyMjV8MA&amp;ixlib&#x3D;rb-4.1.0&amp;q&#x3D;80&amp;w&#x3D;2000" medium="image"/>
		<content:encoded><![CDATA[ <p>由于云服务器「便宜、CN 路由好、配置高」的不可能三角，我一直都有给<strong>自建的</strong> EMBY 服务器前面加一个「线路机」作为反向代理，以便让不会 7x24 在个人设备上开着某个七层代理的<strong>正常人</strong>能够流畅地访问我的 EMBY。</p><h2 id="%E4%B8%BA%E4%BB%80%E4%B9%88%E6%98%AF%E5%9B%9B%E5%B1%82-tcp-%E4%BB%A3%E7%90%86%E7%9B%B4%E9%80%9A">为什么是四层 TCP 代理/直通</h2><p>常见的作用于七层的反向代理一般是通过类似 Nginx 或者 Caddy 之类的 Web 服务器实现，但是对于我上面的需求来说，这种方式需要两次的 TLS 的加解密，会带来不小的 overhead，特别是对于低配置的「线路机」来说。而「直通」，一句话解释就是在 L4 只做 TCP 转发，不碰 HTTPS 内容，效率高、消耗低，在后面 Nginx 的配置里能看到，我们只做了最小程度的介入即 <code>ssl_preread</code>。</p><p>因为这种简单的反代场景并不需要对 HTTP 进行改写等等，也不需要考虑在运行代理的服务器上维护 TLS 证书的问题，反而让维护变得简单。唯一要注意的是，用 TCP 直通（TCP Passthrough）进行反代更适合<strong>自建的后端</strong>，因为Web 服务器、域名解析等可控，比如，可以配合 GeoDNS 分地区解析，仅在某些地区将域名解析为线路机 IP，其他解析为源站 IP，<s>以此自建 poor man's CDN。</s></p><h2 id="nginx-%E7%9A%84%E9%85%8D%E7%BD%AE">NGINX 的配置</h2><p>当然也可以用 HAProxy，看起来很强大但我不会用。</p><h3 id="%E6%A3%80%E6%9F%A5-stream-%E6%A8%A1%E5%9D%97%E6%98%AF%E5%90%A6%E5%8F%AF%E7%94%A8%EF%BC%9A">检查 stream 模块是否可用：</h3><blockquote>Nginx 对 TCP 代理的支持由 <a href="http://nginx.org/en/docs/stream/ngx_stream_core_module.html?ref=qlin.org" rel="noreferrer">Stream 模块</a>提供，这个模块有可能没有被默认包括在你安装的 Nginx 版本中</blockquote><pre><code>nginx -V 2&gt;&amp;1 | grep -- '--with-stream'</code></pre><p>如果输出里有 <code>--with-stream</code>（或者显示 <code>dynamic module: ngx_stream_module.so</code>），说明已编译进来；否则请安装 <code>nginx-full</code> 或者从官方源安装带 stream 支持的包。</p><h3 id="%E5%9C%A8%E4%B8%BB%E9%85%8D%E7%BD%AE%E4%B8%AD%E5%8A%A0%E8%BD%BD-stream-%E9%85%8D%E7%BD%AE">在主配置中加载 stream 配置</h3><p>在 Debian 默认的 <code>/etc/nginx/nginx.conf</code> 中，<code>stream {}</code> 区块通常不被包含。你可以在 <code>nginx.conf</code> 的顶层（最外层）加上一行</p><pre><code class="language-nginx"># 在 http { … } 块之前或之后，都可以
include /etc/nginx/streams-enabled/*.conf;
</code></pre><h3 id="%E5%88%9B%E5%BB%BA-l4-%E4%BB%A3%E7%90%86%E9%85%8D%E7%BD%AE">创建 L4 代理配置</h3><p>创建 <code>/etc/nginx/streams-enabled/emby-stream.conf</code> </p><pre><code class="language-nginx">stream {
    # 定义专用日志格式
    log_format proxy_stream  '$remote_addr [$time_local] '
                             'SNI=$ssl_preread_server_name '
                             'bytes_sent=$bytes_sent '
                             'bytes_received=$bytes_received '
                             'session_time=$session_time '
                             'upstream=$upstream_addr';

    # 打开日志文件缓存
    open_log_file_cache max=1000 inactive=20s valid=1m min_uses=2;

    # 可选：根据 SNI 决定上游后端
    map $ssl_preread_server_name $backend {
        yourdomain.com     emby_tls;
        #other.example.com other_tls;
        #default           upstream_default;
    }

    # 定义上游 Emby TLS 实例
    upstream emby_tls {
        server &lt;你的EMBY服务器的IP&gt;:443;
    }

    # TCP+TLS 直通的 server 块
    server {
        listen      443 reuseport;           # 接收客户端 TLS
        listen [::]:443 reuseport;           # 监听 IPv6
        proxy_pass    emby_tls;              # 原样转发给后端

        ssl_preread   on;                    # 提取 SNI 但不终结 TLS

        access_log    /var/log/nginx/stream_emby.access.log  proxy_stream;
        error_log     /var/log/nginx/stream_emby.error.log   notice;
    }
}
</code></pre><p>重启 Nginx：</p><pre><code class="language-shell">sudo nginx -t
sudo systemctl reload nginx</code></pre><p>…et voilà</p><p>PS, 以上方法不支持 ECH。</p> ]]></content:encoded>
	</item>
	<item>
		<title><![CDATA[ 11 May 2025 ]]></title>
		<description><![CDATA[ Equus Caballus (Full Album): ]]></description>
		<link>https://qlin.org/micro-14/</link>
		<guid isPermaLink="false">6820f34774b0150001a5b98d</guid>
		<category><![CDATA[ Microblog ]]></category>
		<dc:creator><![CDATA[ M5s0 ]]></dc:creator>
		<pubDate>Sun, 11 May 2025 20:59:58 +0200</pubDate>
		
		<content:encoded><![CDATA[ <p>Equus Caballus (Full Album):</p><figure class="kg-card kg-embed-card"><iframe width="200" height="113" src="https://www.youtube.com/embed/LmAxhOCFn84?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen="" title="Equus Caballus (Full Album)"></iframe></figure> ]]></content:encoded>
	</item>
	<item>
		<title><![CDATA[ 01 May 2025 ]]></title>
		<description><![CDATA[ Seriously，唱不出帝女花第一句的开除广东籍没问题。 ]]></description>
		<link>https://qlin.org/micro-13/</link>
		<guid isPermaLink="false">6813b8e03a653c000179aa7d</guid>
		<category><![CDATA[ Microblog ]]></category>
		<dc:creator><![CDATA[ M5s0 ]]></dc:creator>
		<pubDate>Thu, 01 May 2025 20:10:55 +0200</pubDate>
		
		<content:encoded><![CDATA[ <p>Seriously，唱不出帝女花第一句的开除广东籍没问题。</p> ]]></content:encoded>
	</item>

</channel>
</rss>
