<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
  <title>Zander Alastor's blog</title>
  <link>https://alastor.top/</link>
  <description>此店不售此书。分享工具、教程和记录生活。</description>
  <language>zh-CN</language>
  <lastBuildDate>Sun, 18 Oct 2026 18:41:20 +0800</lastBuildDate>
  <atom:link href="https://alastor.top/rss.xml" rel="self" type="application/rss+xml"/>
  <item>
    <title>解决bat脚本无法执行conda环境</title>
    <link>https://alastor.top/3BsZpFxPKL/</link>
    <guid isPermaLink="true">https://alastor.top/3BsZpFxPKL/</guid>
    <pubDate>Sun, 29 Dec 2024 13:00:20 +0800</pubDate>
    <description>问题分析 在windows环境下, 如果使用anaconda或者miniforge的conda工具创建了python环境, 可以直接在cmd中使用conda activate指令来启动指定的环境. 但是如果直接将conda activate…</description>
  </item>
  <item>
    <title>ProtoBuf协议</title>
    <link>https://alastor.top/JFt3l7SWY/</link>
    <guid isPermaLink="true">https://alastor.top/JFt3l7SWY/</guid>
    <pubDate>Fri, 06 Sep 2024 16:36:21 +0800</pubDate>
    <description>1. 数据存储 数据采用TagLengthValue方式存储, 一条数据在protobuf二进制中的存储分为三段: Tag(标签), Length(长度), Value(数值). 每段最短都占用一个byte, 也能够每段占用多个byte,…</description>
  </item>
  <item>
    <title>数据库-事务</title>
    <link>https://alastor.top/24x6cGKiy/</link>
    <guid isPermaLink="true">https://alastor.top/24x6cGKiy/</guid>
    <pubDate>Fri, 06 Sep 2024 16:22:23 +0800</pubDate>
    <description>事务 1. 事务是什么 事务是针对数据库的一系列操作条件下保证数据一致性与可靠性的概念, 定义了事务是一个不可分割的工作单元, 包含一系列数据库操作, 这些操作要么全部执行成功, 要么失败后全部回滚. 2. 事务解决什么问题 考虑一个场景:…</description>
  </item>
  <item>
    <title>quorum与paxos与raft</title>
    <link>https://alastor.top/2lEd0eWPD/</link>
    <guid isPermaLink="true">https://alastor.top/2lEd0eWPD/</guid>
    <pubDate>Fri, 06 Sep 2024 16:20:24 +0800</pubDate>
    <description>总结 quorum问题: 脏读 -&gt; 多数派读解决 多数派读写问题: 丢失修改(未提交数据覆盖已提交数据) -&gt; paxos解决 paxos问题: 活锁 -&gt; multi-paxos解决 multi-paxos问题: 数据可用性低(没有数据…</description>
  </item>
  <item>
    <title>校园网AP隔离-内网穿透实现</title>
    <link>https://alastor.top/N6PkLgMlT/</link>
    <guid isPermaLink="true">https://alastor.top/N6PkLgMlT/</guid>
    <pubDate>Sat, 02 Dec 2023 12:59:47 +0800</pubDate>
    <description>引言 好久没更新博客了~ 校园网有隔离, 没法直接远程桌面. 正好手头上有服务器, 做个内网穿透试试. frp内网穿透 frp下载: fatedier/frp: A fast reverse proxy to help you expose…</description>
  </item>
  <item>
    <title>给Python Pip install加速的方法总结</title>
    <link>https://alastor.top/f4oNFNm6C/</link>
    <guid isPermaLink="true">https://alastor.top/f4oNFNm6C/</guid>
    <pubDate>Sat, 02 Dec 2023 12:56:23 +0800</pubDate>
    <description>1：如果没开代理，就改成国内的源，这个我没有试过，百度一搜，很多，速度也很快，缺点就是可能不是最新的库。 2：如果有代理，那就在CMD窗口设置加入代理。 set http_proxy=http://127.0.0.1:7890 set ht…</description>
  </item>
  <item>
    <title>Clash共享热点</title>
    <link>https://alastor.top/vFXe4yTCm/</link>
    <guid isPermaLink="true">https://alastor.top/vFXe4yTCm/</guid>
    <pubDate>Sat, 02 Dec 2023 12:54:10 +0800</pubDate>
    <description>前言 Switch更新系统的时候, 发现网络不行, 要搞个梯子, 尝试用Clash通过电脑热点共享网络给Switch使用. 步骤 开启Allow LAN与TUN MODE这两个选项 开启电脑热点(共享连接选项就是默认的即可) 进入 控制面板…</description>
  </item>
  <item>
    <title>全错排问题dp公式详解</title>
    <link>https://alastor.top/dINiyO1Ih/</link>
    <guid isPermaLink="true">https://alastor.top/dINiyO1Ih/</guid>
    <pubDate>Thu, 06 Apr 2023 15:53:46 +0800</pubDate>
    <description>前言 刷题的时候又遇到全错排问题, 本来是一个很熟悉动态规划问题, 不过我按照模糊的记忆来写状态转移方程的时候发现写错了, 于是决定搜搜看相关的公式详解, 配合着理解来巩固记忆. 不过翻了几篇文章, 都是几乎一样的解释, 而且我都不是很能理…</description>
  </item>
  <item>
    <title>关于java8安装时点击下一步就消失的bug</title>
    <link>https://alastor.top/gn3K3cu5d/</link>
    <guid isPermaLink="true">https://alastor.top/gn3K3cu5d/</guid>
    <pubDate>Sun, 01 Jan 2023 09:58:45 +0800</pubDate>
    <description>前言 minecraft的RLcraft更新1.9.2版本了, 想着赶紧玩一下, 发现以前安装的java8竟然是x86的, 启动12.2版本报错内存泄漏. 去官网下了个x64的java8(jdk-8u301), 结果安装时点击“下一步”直接…</description>
  </item>
  <item>
    <title>石蒜摇 | vscode插件发布</title>
    <link>https://alastor.top/qvDrVg_o2/</link>
    <guid isPermaLink="true">https://alastor.top/qvDrVg_o2/</guid>
    <pubDate>Sun, 28 Aug 2022 12:10:40 +0800</pubDate>
    <description>前言 逛B站看到itorr大佬做的石蒜模拟器，太魔性了，根本停不下来，就打算移植到vscode插件里 原作者 Original Author： 卜卜口 itorr 原项目仓库 OriginalGit： https://github.com/…</description>
  </item>
  <item>
    <title>香色闺阁书源制作教程</title>
    <link>https://alastor.top/Wkl8lfAOP/</link>
    <guid isPermaLink="true">https://alastor.top/Wkl8lfAOP/</guid>
    <pubDate>Sat, 30 Jul 2022 21:21:00 +0800</pubDate>
    <description>前言 手上有部老ipadmini2，放着吃灰不好，就拿来做看书看漫画专用机。 哔哩哔哩漫画乘着活动充了50元，但还是不够划算，继续充钱有点亏，就研究了几个开源漫画软件。 目前我看下来ios上其实比较好的是源阅读，但是ipadmini2系统只…</description>
  </item>
  <item>
    <title>document.querySelector错误返回null</title>
    <link>https://alastor.top/gMsxg_5dy/</link>
    <guid isPermaLink="true">https://alastor.top/gMsxg_5dy/</guid>
    <pubDate>Mon, 25 Jul 2022 15:20:56 +0800</pubDate>
    <description>前言 给小站加上右侧边 —&gt; 这个彩色动态滚动条的时候，遇到了js无法修改css的问题 排查之后发现是document.querySelector("#progressBar")返回了null值 折腾了好久，甚至以为是不支持querySel…</description>
  </item>
  <item>
    <title>LFS系统安装RPM问题解决</title>
    <link>https://alastor.top/KiWqWSdCw/</link>
    <guid isPermaLink="true">https://alastor.top/KiWqWSdCw/</guid>
    <pubDate>Fri, 22 Jul 2022 15:01:04 +0800</pubDate>
    <description>症状 LFS系统无任何包管理器软件，用不了apt，yum，rpm，只能通过编译安装 另外编译相关的工具链和依赖还存在各种缺失问题，导致想要编译安装rpm也会报错 解决步骤 整理一下依赖顺序 我这里一次次编译报错，试出来缺失这些依赖： lib…</description>
  </item>
  <item>
    <title>LFS系统无法联网解决方案</title>
    <link>https://alastor.top/PqaYg0h9Z/</link>
    <guid isPermaLink="true">https://alastor.top/PqaYg0h9Z/</guid>
    <pubDate>Fri, 22 Jul 2022 14:39:34 +0800</pubDate>
    <description>症状 sys/class/net/下存在eno16777736 /etc/sysconfig/network里相关的文件一点没有 （这里如果有network文件夹，且里面有eth0或其他网卡的配置文件，可以按照网上其他教程操作，直接开启网卡…</description>
  </item>
  <item>
    <title>win10 | 用python脚本自动备份电脑数据到百度云</title>
    <link>https://alastor.top/Sx9ewVVMi/</link>
    <guid isPermaLink="true">https://alastor.top/Sx9ewVVMi/</guid>
    <pubDate>Thu, 14 Jul 2022 19:48:28 +0800</pubDate>
    <description>前言 前两天D盘炸了，数据没了，要考虑一下数据备份才行，毕竟搞不好什么时候数据就没了 准备python 最新版即可，自行下载 （bypy支持Python 2.7+, 3.3+) 安装bypy bypy是百度云的一个python客户端，可以直…</description>
  </item>
  <item>
    <title>Re0的D盘生活</title>
    <link>https://alastor.top/N-Yc7D2dh/</link>
    <guid isPermaLink="true">https://alastor.top/N-Yc7D2dh/</guid>
    <pubDate>Thu, 14 Jul 2022 15:43:39 +0800</pubDate>
    <description>前言 电脑D盘突然七百多G的数据消失，剩下惨淡的一堆空文件夹，不知道是出于什么原因。 案发经过 当时正在打算卸载VS2022，然后顺手打开了网易云音乐，打算听歌 然后没多久网易云提示要更新软件，我没多想同意了，此时VS还在缓慢的卸载自己（但…</description>
  </item>
  <item>
    <title>无须担心AI违逆人类</title>
    <link>https://alastor.top/YZ5XrIFNO/</link>
    <guid isPermaLink="true">https://alastor.top/YZ5XrIFNO/</guid>
    <pubDate>Wed, 06 Jul 2022 15:10:47 +0800</pubDate>
    <description>想必你听过很多“智械危机”，“AI统治人类”之类的危机论，阴谋论。然而这些都不过是某些媒体制造矛盾对立获取热点、吸引眼球的手段，或是某些不知变通唯恐被取代工作岗位的顽固打工人发出的危言抗议。 事实上，这些AI危害论是很可笑的一件事。 想必你…</description>
  </item>
  <item>
    <title>素数的6倍原理拓展到筛法</title>
    <link>https://alastor.top/M9Ox-fH5r/</link>
    <guid isPermaLink="true">https://alastor.top/M9Ox-fH5r/</guid>
    <pubDate>Tue, 17 May 2022 15:06:12 +0800</pubDate>
    <description>前言 我们不如叫它“6倍筛法” （笑 关于素数的6倍原理 只有6k-1和6k+1才“有可能”是质数 先列一段素数 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2…</description>
  </item>
  <item>
    <title>嘉然代打DianaCoding-Vscode插件发布</title>
    <link>https://alastor.top/1Nb8gqVrF/</link>
    <guid isPermaLink="true">https://alastor.top/1Nb8gqVrF/</guid>
    <pubDate>Tue, 03 May 2022 15:03:35 +0800</pubDate>
    <description>嘉然陪你打代码~ 然然会跟着你的动作敲击键盘~ 受BongoCat（代打猫）启发，制作这样一个“嘉然代打”的vscode插件 其中“代打”一词致敬“代打猫” 简单预览 功能概况 检测26个字母和数字键的按击，然然会做出相应动作，同时一旁还会…</description>
  </item>
  <item>
    <title>图书书名平均长度分析</title>
    <link>https://alastor.top/mFbgYG9XU/</link>
    <guid isPermaLink="true">https://alastor.top/mFbgYG9XU/</guid>
    <pubDate>Sun, 24 Apr 2022 15:01:17 +0800</pubDate>
    <description>前言 目标网站：中国国家数字图书馆 目标任务：获取全部图书书名，计算平均书名长度 具体过程 1.分析网站 网站URL“ http://read.nlc.cn/allSearch/searchList?searchType=1&amp;showTyp…</description>
  </item>
</channel>
</rss>
