<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>编程中国博客</title>
    <link>https://blog.bccn.net/</link>
    <description>编程博客全站的最新50篇文章</description>
    <copyright>Copyright(C) BCCN.NET</copyright>
    <lastBuildDate>2026-04-01 16:24:43 +0800</lastBuildDate>
    <item>
      <title>编程是一个逻辑自洽的过程</title>
      <link>https://blog.bccn.net/%E9%9D%99%E5%A4%9C%E6%80%9D/68572</link>
      <description>让AI代劳编程是感觉不到这种快乐的</description>
      <author>
        <name>静夜思</name>
        <uri>https://blog.bccn.net/%E9%9D%99%E5%A4%9C%E6%80%9D</uri>
      </author>
      <pubDate>2026-04-01 16:24:43 +0800</pubDate>
    </item>
    <item>
      <title>Comment Divider 支持中文宽度的版本</title>
      <link>https://blog.bccn.net/%E9%9D%99%E5%A4%9C%E6%80%9D/68554</link>
      <description>修改了两处：
1、去掉了 python 等注释结尾的 # 号
2、中文宽度 = 英文宽度 x 5/3
插件包：


使用方法：
下载解压后覆盖掉文件夹：
C:\Users\gs412\.vscode\extensions\stackbreak.comment-divider-0.4.0
（注意：蓝色部分是用户名和插件版本，换成你自己的）


附修改方法，你也可以安装官方插件按需要自己修改
1、去掉 python 等注释结尾的 # 号
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;打开 stackbreak.comment-divider-0.4.0\out\...</description>
      <author>
        <name>静夜思</name>
        <uri>https://blog.bccn.net/%E9%9D%99%E5%A4%9C%E6%80%9D</uri>
      </author>
      <pubDate>2026-03-23 13:45:47 +0800</pubDate>
    </item>
    <item>
      <title>django reverse省略第二个参数args的办法</title>
      <link>https://blog.bccn.net/%E9%9D%99%E5%A4%9C%E6%80%9D/68553</link>
      <description>vi /usr/local/lib/python3.11/site-packages/django/urls/base.py

找打下面的函数，把args=None提前一个位置，改后如下：
def reverse(viewname, args=None, urlconf=None, kwargs=None, current_app=None):
往下数约4行，找到：
    args = args or []
在下面插入：
    if not isinstance(args, (list, tuple)):
        args = [args]

改造后，就可...</description>
      <author>
        <name>静夜思</name>
        <uri>https://blog.bccn.net/%E9%9D%99%E5%A4%9C%E6%80%9D</uri>
      </author>
      <pubDate>2026-03-19 12:19:24 +0800</pubDate>
    </item>
    <item>
      <title>清理mysql缓存，复现查询慢的问题（其实是清理系统文件缓存）</title>
      <link>https://blog.bccn.net/%E9%9D%99%E5%A4%9C%E6%80%9D/68551</link>
      <description>清理操作系统文件缓存（Linux）
sync; echo 3 &amp;gt; /proc/sys/vm/drop_caches
</description>
      <author>
        <name>静夜思</name>
        <uri>https://blog.bccn.net/%E9%9D%99%E5%A4%9C%E6%80%9D</uri>
      </author>
      <pubDate>2026-03-15 00:02:17 +0800</pubDate>
    </item>
    <item>
      <title>清理下载频道的附件的操作流程</title>
      <link>https://blog.bccn.net/%E9%9D%99%E5%A4%9C%E6%80%9D/68548</link>
      <description>1、打开phpmyadmin，进入数据库bcbbs，点击“SQL”，运行如下语句：
select attachment FROM down_attachments

2、在显示结果的最下面点击“导出”，格式选择最下面的“Texy! text”，点击“执行”

3、把下载到的“down_attachments.txt”只保留文件名列表部分，把“|”替换为空。

4、把文件上传到bccnsoft的“/mnt/var/remotefiles/down_bccn_net.bccnsoft.com_data/001/”，登陆服务器进入这个目录。

5、打开ipython，逐步运行...</description>
      <author>
        <name>静夜思</name>
        <uri>https://blog.bccn.net/%E9%9D%99%E5%A4%9C%E6%80%9D</uri>
      </author>
      <pubDate>2026-02-16 02:43:21 +0800</pubDate>
    </item>
    <item>
      <title>不再提供电子扫盲服务！</title>
      <link>https://blog.bccn.net/Nighr/68546</link>
      <description>真的，我受不了了。
自己不懂得地方自己去浏览器去搜，比我技术好口才好的人多的是！
有更好的大佬等待你的发掘，加油！</description>
      <author>
        <name>Nighr</name>
        <uri>https://blog.bccn.net/Nighr</uri>
      </author>
      <pubDate>2026-02-15 15:29:19 +0800</pubDate>
    </item>
    <item>
      <title>用wget爬遍整个网站（简单压力测试）</title>
      <link>https://blog.bccn.net/%E9%9D%99%E5%A4%9C%E6%80%9D/68544</link>
      <description>wget -r -l 0 -np -q --spider --no-directories https://www.bccn.net
</description>
      <author>
        <name>静夜思</name>
        <uri>https://blog.bccn.net/%E9%9D%99%E5%A4%9C%E6%80%9D</uri>
      </author>
      <pubDate>2026-02-12 19:10:16 +0800</pubDate>
    </item>
    <item>
      <title>git彻底删除某些文件(文件夹)在仓库中的记录</title>
      <link>https://blog.bccn.net/%E9%9D%99%E5%A4%9C%E6%80%9D/68543</link>
      <description>sudo apt install git-filter-repo

# 删除单个文件
git filter-repo --invert-paths --path secret.txt

# 删除整个文件夹
git filter-repo --invert-paths --path logs/

# 压缩优化
git gc --aggressive --prune=now
git repack -a -d --depth=250 --window=250
</description>
      <author>
        <name>静夜思</name>
        <uri>https://blog.bccn.net/%E9%9D%99%E5%A4%9C%E6%80%9D</uri>
      </author>
      <pubDate>2026-02-10 03:31:31 +0800</pubDate>
    </item>
    <item>
      <title>清理论已(删除/封禁)用户的头像的操作流程</title>
      <link>https://blog.bccn.net/%E9%9D%99%E5%A4%9C%E6%80%9D/68542</link>
      <description>1、打开phpmyadmin，进入数据库bcbbs，点击“SQL”，运行如下语句：
SELECT uid FROM `cdb_members` where groupid not in ('5,8,55')
2、在显示结果的最下面点击“导出”，格式选择最下面的“Texy! text”，点击“执行”

3、把下载到的“cdb_members.txt”只保留文件名列表部分，把“|”替换为空。

4、把文件上传到bccnsoft的“/var/www/pass_bccn_net.bccnsoft.com/web/data/avatar/”，登陆服务器进入这个目录。

5、打开ip...</description>
      <author>
        <name>静夜思</name>
        <uri>https://blog.bccn.net/%E9%9D%99%E5%A4%9C%E6%80%9D</uri>
      </author>
      <pubDate>2026-02-06 17:08:58 +0800</pubDate>
    </item>
    <item>
      <title>网站和论坛的验证码还能再挺几年</title>
      <link>https://blog.bccn.net/%E9%9D%99%E5%A4%9C%E6%80%9D/68541</link>
      <description>护城河暂时还能挺住，ai暂时还无法识别


</description>
      <author>
        <name>静夜思</name>
        <uri>https://blog.bccn.net/%E9%9D%99%E5%A4%9C%E6%80%9D</uri>
      </author>
      <pubDate>2026-01-27 21:57:39 +0800</pubDate>
    </item>
    <item>
      <title>用ai写诗</title>
      <link>https://blog.bccn.net/%E9%9D%99%E5%A4%9C%E6%80%9D/68540</link>
      <description>《挑灯码字偶成》
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;—— deepseek
更深键落似弹筝，星斗屏前谱纵横
未惧青丝删减尽，一宵创世一书生

《编程夜乐》
&amp;nbsp;&amp;nbsp;&amp;nbsp; —— chatgpt
夜深灯火映屏前，指尖飞舞乐无边
代码千行心自喜，何惧孤单与熬年</description>
      <author>
        <name>静夜思</name>
        <uri>https://blog.bccn.net/%E9%9D%99%E5%A4%9C%E6%80%9D</uri>
      </author>
      <pubDate>2026-01-27 04:58:29 +0800</pubDate>
    </item>
    <item>
      <title>论坛附件维护常用bash shell脚本</title>
      <link>https://blog.bccn.net/%E9%9D%99%E5%A4%9C%E6%80%9D/68539</link>
      <description>找出所有大于或等于源文件的缩略图
find . -type f ! -name '*.thumb.jpg' -print0 | while IFS= read -r -d '' src; do
  thumb="${src}.thumb.jpg"

  if [ -f "$thumb" ]; then
    src_size=$(stat -c '%s' "$src")
    thumb_size=$(stat -c '%s' "$thumb")

    if [ "$thumb_size" -ge "$src_size" ]; then
      echo "...</description>
      <author>
        <name>静夜思</name>
        <uri>https://blog.bccn.net/%E9%9D%99%E5%A4%9C%E6%80%9D</uri>
      </author>
      <pubDate>2026-01-22 22:44:04 +0800</pubDate>
    </item>
    <item>
      <title>debian(linux)安装webp库最简单的方法</title>
      <link>https://blog.bccn.net/%E9%9D%99%E5%A4%9C%E6%80%9D/68538</link>
      <description>到谷歌下载代码库：
https://developers.google.com/speed/webp/download
点击“下载代码库”，进入：
https://storage.googleapis.com/downloads.webmproject.org/releases/webp/index.html
拉到最下面找到“libwebp-x.x.x-linux-x86-64.tar.gz”字样的链接，右键复制链接地址下载，比如现在最新的是libwebp-1.6.0-linux-x86-64.tar.gz，如：
wget https://storage.googleapis....</description>
      <author>
        <name>静夜思</name>
        <uri>https://blog.bccn.net/%E9%9D%99%E5%A4%9C%E6%80%9D</uri>
      </author>
      <pubDate>2026-01-22 20:56:45 +0800</pubDate>
    </item>
    <item>
      <title>Python和Ruby测试代码的运行时间</title>
      <link>https://blog.bccn.net/%E9%9D%99%E5%A4%9C%E6%80%9D/68537</link>
      <description>Python
import time

start = time.perf_counter()

# 测试代码
for _ in range(1_000_000):
    pass

end = time.perf_counter()
print(f"耗时: {end - start:.6f} 秒")

Ruby
start = Process.clock_gettime(Process::CLOCK_MONOTONIC)

# 测试代码
1_000_000.times { }

finish = Process.clock_gettime(Proc...</description>
      <author>
        <name>静夜思</name>
        <uri>https://blog.bccn.net/%E9%9D%99%E5%A4%9C%E6%80%9D</uri>
      </author>
      <pubDate>2026-01-16 19:47:14 +0800</pubDate>
    </item>
    <item>
      <title>virtualbox导出虚拟电脑前运行以下命令，减少ova包的大小</title>
      <link>https://blog.bccn.net/%E9%9D%99%E5%A4%9C%E6%80%9D/68532</link>
      <description>sudo dd if=/dev/zero of=/EMPTY bs=1M status=progress || true
sudo rm -f /EMPTY
sync
dd 会把 所有空闲块写成 0，VirtualBox 才能在导出时真正丢弃这些块。</description>
      <author>
        <name>静夜思</name>
        <uri>https://blog.bccn.net/%E9%9D%99%E5%A4%9C%E6%80%9D</uri>
      </author>
      <pubDate>2026-01-16 12:36:35 +0800</pubDate>
    </item>
    <item>
      <title>清理static文件夹gz文件的常用bash shell脚本</title>
      <link>https://blog.bccn.net/%E9%9D%99%E5%A4%9C%E6%80%9D/68531</link>
      <description># 递归查找 .js.gz / .css.gz 比源文件老 1 分钟以上（排除 plugins）

find . \
  -path "*/plugins/*" -prune -o \
  \( -name "*.js.gz" -o -name "*.css.gz" \) -print0 |
while IFS= read -r -d '' gz; do
    src="${gz%.gz}"
    if [ -f "$src" ]; then
        gz_t=$(stat -c %Y "$gz")
        src_t=$(stat -c %Y "$...</description>
      <author>
        <name>静夜思</name>
        <uri>https://blog.bccn.net/%E9%9D%99%E5%A4%9C%E6%80%9D</uri>
      </author>
      <pubDate>2026-01-15 23:43:10 +0800</pubDate>
    </item>
    <item>
      <title>创建用户级tmux.service服务</title>
      <link>https://blog.bccn.net/%E9%9D%99%E5%A4%9C%E6%80%9D/68530</link>
      <description>mkdir -p ~/.config/systemd/user
vi ~/.config/systemd/user/tmux.service
输入以下内容：
[Unit]
Description=tmux default session
After=network.target

[Service]
Type=oneshot
ExecStart=/bin/sh -c '/usr/bin/tmux has-session -t aaaaaaaaaaaaaaaaaaaaaaaa || /usr/bin/tmux new-session -d -s aaaaaaaaaaaaa...</description>
      <author>
        <name>静夜思</name>
        <uri>https://blog.bccn.net/%E9%9D%99%E5%A4%9C%E6%80%9D</uri>
      </author>
      <pubDate>2026-01-13 19:16:54 +0800</pubDate>
    </item>
    <item>
      <title>virtualbox导出虚拟电脑不会包含镜像数据</title>
      <link>https://blog.bccn.net/%E9%9D%99%E5%A4%9C%E6%80%9D/68529</link>
      <description>亲测，含不含镜像导出的包都是一样大的。

也就是说虚拟机含有再多的镜像也不会导致打包变大，打包导出的时候只会导当前虚拟机的数据。

导出虚拟电脑之前不用删快照，放心的导出就是了。</description>
      <author>
        <name>静夜思</name>
        <uri>https://blog.bccn.net/%E9%9D%99%E5%A4%9C%E6%80%9D</uri>
      </author>
      <pubDate>2026-01-12 15:35:48 +0800</pubDate>
    </item>
    <item>
      <title>debian13网络设置</title>
      <link>https://blog.bccn.net/%E9%9D%99%E5%A4%9C%E6%80%9D/68528</link>
      <description>1、设置静态IP
sudo vi /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# Th...</description>
      <author>
        <name>静夜思</name>
        <uri>https://blog.bccn.net/%E9%9D%99%E5%A4%9C%E6%80%9D</uri>
      </author>
      <pubDate>2026-01-12 08:53:58 +0800</pubDate>
    </item>
    <item>
      <title>debian13中163镜像源和debian中国镜像源的sources.list</title>
      <link>https://blog.bccn.net/%E9%9D%99%E5%A4%9C%E6%80%9D/68527</link>
      <description>文件：/etc/apt/sources.list

ftp.cn.debian.org 源：
#deb cdrom:[Debian GNU/Linux 13.3.0 _Trixie_ - Official amd64 NETINST with firmware 20260110-10:59]/ trixie contrib main non-free-firmware

deb http://ftp.cn.debian.org/debian/ trixie main non-free-firmware
deb-src http://ftp.cn.debian.org/debi...</description>
      <author>
        <name>静夜思</name>
        <uri>https://blog.bccn.net/%E9%9D%99%E5%A4%9C%E6%80%9D</uri>
      </author>
      <pubDate>2026-01-11 20:58:40 +0800</pubDate>
    </item>
    <item>
      <title>VirtualBox导出虚拟电脑的时候文件名千万不要含有中文</title>
      <link>https://blog.bccn.net/%E9%9D%99%E5%A4%9C%E6%80%9D/68525</link>
      <description>惨痛教训，文件名含有中文的时候导出操作一切正常，导入的时候就完蛋了，根本无法导入。只能重装系统重新导出备份</description>
      <author>
        <name>静夜思</name>
        <uri>https://blog.bccn.net/%E9%9D%99%E5%A4%9C%E6%80%9D</uri>
      </author>
      <pubDate>2026-01-11 18:50:46 +0800</pubDate>
    </item>
    <item>
      <title>@types/jquery 去掉 Deprecated 提示的版本</title>
      <link>https://blog.bccn.net/%E9%9D%99%E5%A4%9C%E6%80%9D/68522</link>
      <description>
替换掉 node_modules/@types/jquery/JQuery.d.ts 文件即可
替换掉以后 vscode 中 jquery 的方法就不会出现删除线了

注：此文件为 3.5.33 版本，即 @types/jquery@3.5.33</description>
      <author>
        <name>静夜思</name>
        <uri>https://blog.bccn.net/%E9%9D%99%E5%A4%9C%E6%80%9D</uri>
      </author>
      <pubDate>2026-01-06 21:48:26 +0800</pubDate>
    </item>
    <item>
      <title>对git仓库进行压缩优化</title>
      <link>https://blog.bccn.net/%E9%9D%99%E5%A4%9C%E6%80%9D/68521</link>
      <description>git gc --aggressive --prune=now
git repack -a -d --depth=250 --window=250

# 优化完查看.git目录大小
du -sb .git


</description>
      <author>
        <name>静夜思</name>
        <uri>https://blog.bccn.net/%E9%9D%99%E5%A4%9C%E6%80%9D</uri>
      </author>
      <pubDate>2026-01-06 20:13:02 +0800</pubDate>
    </item>
    <item>
      <title>清理docker的文件夹/var/lib/docker/overlay2/的方法</title>
      <link>https://blog.bccn.net/%E9%9D%99%E5%A4%9C%E6%80%9D/68516</link>
      <description># 备份所有镜像
docker save -o blog_image.tar blog_image; \
docker save -o down_image.tar down_image; \
docker save -o mysql5.5_image.tar mysql5.5_image; \
docker save -o mysql_image.tar mysql_image; \
docker save -o www_image.tar www_image;

# 删除所有容器
docker rm -f $(docker ps -aq)

# 删除所有镜像
d...</description>
      <author>
        <name>静夜思</name>
        <uri>https://blog.bccn.net/%E9%9D%99%E5%A4%9C%E6%80%9D</uri>
      </author>
      <pubDate>2026-01-01 20:34:20 +0800</pubDate>
    </item>
    <item>
      <title>Linux(Debian)设置主机名</title>
      <link>https://blog.bccn.net/%E9%9D%99%E5%A4%9C%E6%80%9D/68515</link>
      <description>hostnamectl set-hostname 主机名

然后重新登录即可生效
</description>
      <author>
        <name>静夜思</name>
        <uri>https://blog.bccn.net/%E9%9D%99%E5%A4%9C%E6%80%9D</uri>
      </author>
      <pubDate>2025-12-29 15:43:22 +0800</pubDate>
    </item>
    <item>
      <title>查看logrotate的执行日志</title>
      <link>https://blog.bccn.net/%E9%9D%99%E5%A4%9C%E6%80%9D/68513</link>
      <description># 查看logrotate服务状态
systemctl status logrotate

# 查看logrotate定时任务执行日志
journalctl -u logrotate
journalctl -u logrotate -f      # 实时跟踪
journalctl -u logrotate --since "2026-01-01"
</description>
      <author>
        <name>静夜思</name>
        <uri>https://blog.bccn.net/%E9%9D%99%E5%A4%9C%E6%80%9D</uri>
      </author>
      <pubDate>2025-12-26 20:55:36 +0800</pubDate>
    </item>
    <item>
      <title>MySQL临时开启日志</title>
      <link>https://blog.bccn.net/%E9%9D%99%E5%A4%9C%E6%80%9D/68512</link>
      <description>mysql -u root -p
进入sql命令行
-- 查看当前状态
SHOW VARIABLES LIKE 'general_log%';

-- 设置日志文件路径
SET GLOBAL general_log_file = '/var/log/mysql/general.log';

-- 开启通用查询日志
SET GLOBAL general_log = 'ON';
</description>
      <author>
        <name>静夜思</name>
        <uri>https://blog.bccn.net/%E9%9D%99%E5%A4%9C%E6%80%9D</uri>
      </author>
      <pubDate>2025-12-23 10:46:42 +0800</pubDate>
    </item>
    <item>
      <title>清理论坛已删除帖子的附件的操作流程</title>
      <link>https://blog.bccn.net/%E9%9D%99%E5%A4%9C%E6%80%9D/68511</link>
      <description>1、打开phpmyadmin，进入数据库bcbbs，点击“SQL”，运行如下语句：
SELECT a.attachment FROM `cdb_attachments` a left join cdb_posts p on a.pid=p.pid where p.invisible=0

2、在显示结果的最下面点击“导出”，格式选择最下面的“Texy! text”，点击“执行”

3、把下载到的“cdb_attachments.txt”只保留文件名列表部分，把“|”替换为空。

4、把文件上传到bccnsoft的“/mnt/var/remotefiles/bbs_bccn_...</description>
      <author>
        <name>静夜思</name>
        <uri>https://blog.bccn.net/%E9%9D%99%E5%A4%9C%E6%80%9D</uri>
      </author>
      <pubDate>2025-12-19 19:55:55 +0800</pubDate>
    </item>
    <item>
      <title>利用“差异数据”(QS、CD),立足“新文本”来展示比对结果（按行比对）</title>
      <link>https://blog.bccn.net/nhjsjjs/68509</link>
      <description>比对结果说明：（见插图-插图中有VB代码）
1 左边带行号的行：是新文本的行，行号与新文本一致。（立足“新文本”）
&amp;nbsp; &amp;nbsp; 其中，行号右边不带“!&amp;gt;”的行，是原有的行【1】；带“!&amp;gt;”的行，是新增加的行【2】。
2 左边无行号的行：是修改后已经删除的行，行右端的数字是它在旧文本中的行号【3】。

	
思路分析：（参见代码）（旧文本的每1行，放入数组 A(pn1）;新文本的每1行，放入数组 B(pn2）。&amp;nbsp; ）

&amp;nbsp; &amp;nbsp; 文本比对后，根据实际文本的内容，2个文本的第1行的关系，只存在两种可能。
第一种是，两个文...</description>
      <author>
        <name>nhjsjjs</name>
        <uri>https://blog.bccn.net/nhjsjjs</uri>
      </author>
      <pubDate>2025-08-14 11:49:51 +0800</pubDate>
    </item>
    <item>
      <title>VB6--文本比对程序自动向“已经设置好格式”的 Excel 文档输出数据</title>
      <link>https://blog.bccn.net/nhjsjjs/68490</link>
      <description>&amp;nbsp; &amp;nbsp; 用VB语言编写“文本对照程序”，在解决了“比对算法”问题之后，怎样让用户能方便地观察对照结果，就成了要重点解决的问题。也就是“给特殊的行设置底纹”和“左右两边同步滚动”。
&amp;nbsp; &amp;nbsp; 我想，如果能够把对照结果自动输入到“已经设置好[列宽]、[底纹格式]”的Excel 表格中，这两个问题就都能解决了。
&amp;nbsp; &amp;nbsp; 我上传的“VB-xlsx.rar”压缩包里有程序“VB-Excel.exe”、“bj.xlsx”文档和代码文本“对照程序VB代码.txt”（代码文本有简单的解释）。(附：安装与注册CMDLGOCX.exe）。如有兴趣...</description>
      <author>
        <name>nhjsjjs</name>
        <uri>https://blog.bccn.net/nhjsjjs</uri>
      </author>
      <pubDate>2025-04-13 18:14:49 +0800</pubDate>
    </item>
    <item>
      <title>文本比对程序设计（按行）中的同步滚动问题--“瞬间限高”方法</title>
      <link>https://blog.bccn.net/nhjsjjs/68489</link>
      <description>



&amp;nbsp; &amp;nbsp; 左右两个文本框中的文件，它们的行数不一定是一样的。但是比对后，为了方便用户的观察和分析研究，程序会在两边适当的位置插入一些“斜纹行”。这样一来，两边的行数就一样了。只要有1行两边对齐了，整个文本就左右对齐了。
但是，因为2个文本框是相互独立的，用户的操作很容易造成两边“错位”。怎样才能让用户很方便地“对齐文本”并“同步滚动”呢？我采用的方法是“瞬间限高”。具体的说明如下：
&amp;nbsp; &amp;nbsp; 先把操作方法说明一下：不管当前的窗口是否已经对齐，只要用鼠标选中某一行中的几个字，就可以让两个文本的内容“对齐并同步滚动”。
注意：（两边）...</description>
      <author>
        <name>nhjsjjs</name>
        <uri>https://blog.bccn.net/nhjsjjs</uri>
      </author>
      <pubDate>2025-04-06 16:21:28 +0800</pubDate>
    </item>
    <item>
      <title>文本比对程序设计--按“求同存异”来梳理文本;用“反转的文本”为“状态数组”充值</title>
      <link>https://blog.bccn.net/nhjsjjs/68484</link>
      <description>




从图1——图3 的程序运行结果的界面中，我们可以看到程序把左右两个文本中的所有的行（文章形式的文本是“字”，下同）都分成了2类：一类行不做任何修饰、文字颜色保持了原来的黑色。为了描述起来简洁一点，我简称是“YES”（相同的行）。
另一类行则是加上了颜色底纹，或文字加上了颜色、下划线，或行首加上了标记“@”等等，我简称是“NO”。
两个文本的“相同行”之间的关系，可以看作是2个文本的“最长公共子序列”（以“行”为单位）。
从程序结果的界面中，我们可以看出，只要我们获取了差异的具体信息，即2边文本的每一次差异的“起始行号”（QS）和连续的差异“行数”（CD），就可以...</description>
      <author>
        <name>nhjsjjs</name>
        <uri>https://blog.bccn.net/nhjsjjs</uri>
      </author>
      <pubDate>2025-03-01 14:07:59 +0800</pubDate>
    </item>
    <item>
      <title>2024.12.8晨</title>
      <link>https://blog.bccn.net/evoeagle/68477</link>
      <description>今天起来还是很虚，确实手艺活很伤害身体，还是尽量的克制吧，身体还没完全恢复就这样搞，吃不消

早上还是去晨练了，风挺大的，虽然绕路走但还是风大。看着路上早起上班的人，虽然今天是周日，但能明显看出那些带着保温盒的骑车人，肯定就是要上班的。心里就觉得挺艰辛的，周末也没有休息。回想到自己作为一个hunter，我的目标是为了成单，从找到人，推荐，面试，谈薪等等的，确实也辛苦，但比起其他的工作却又是幸福很多，起码都在办公室，而且只需要电话沟通，就能办到对方想要的机会，所以还是有很多可以努力和改善的空间的。

昨晚看了雷军2024年7月的采访，有很多感受不一一说了，最大的就是这种信念感，要么...</description>
      <author>
        <name>evoeagle</name>
        <uri>https://blog.bccn.net/evoeagle</uri>
      </author>
      <pubDate>2024-12-08 08:09:06 +0800</pubDate>
    </item>
    <item>
      <title>2024.12.7</title>
      <link>https://blog.bccn.net/evoeagle/68476</link>
      <description>好吧，我承认再次的玩了手艺活，嗯，一个月以来的第一次。


确实是很难战胜，一个人在夜里孤独无法排解的那种感受，就想着释放，逐渐的累积，累积，确实忍不了。


今天还是一大早就去打球了，确实比较困，这一点战胜了意志，骑车+打球一小时。运动完后还是有点爽的。然后就开始看简历，把智联和猎聘的5个每天下载数都用光，然后再挣个近三百块的金币，回回血，这周下蓝际的工程师老费事了，用了我很多的金币


蓝际的工程师真的有点麻烦，大厂的人多半都不考虑，如果我是大厂背景的，为啥要跳到小公司呢？而且还是深圳的新区，薪资也不具备很大的优势。这是我的第一出单点，再搞一周我不确定还有没有合适的...</description>
      <author>
        <name>evoeagle</name>
        <uri>https://blog.bccn.net/evoeagle</uri>
      </author>
      <pubDate>2024-12-07 18:18:45 +0800</pubDate>
    </item>
    <item>
      <title>2024-12-6</title>
      <link>https://blog.bccn.net/evoeagle/68475</link>
      <description>
	突然想起，好久好久都没写日记了。最近的一次都忘了是什么时候开始，就记得以前在大学四年写的纸质日记，每天如流水账似的记着。


	&amp;nbsp;


	至于现在想重新开始写，可能是因为确实没有什么人可以倾诉吧，有些东西，或者有太多的话无法找到知己，我也不太愿意走进别人的生活，日记就成了我记录的方式。现在的工作，还有十几天就正式满4年了，真快啊。很难想象我能在一个小公司干这么久，之前都是基本一年换一次，以前总觉得是别人的问题，换了工作多了，发现其实是自己适应能力有问题，心里又敏感，承受能力弱导致的。在一个就是我确实不适合做HR，不是管家型的人格，还是喜欢做不那么复杂的工作。...</description>
      <author>
        <name>evoeagle</name>
        <uri>https://blog.bccn.net/evoeagle</uri>
      </author>
      <pubDate>2024-12-07 11:44:32 +0800</pubDate>
    </item>
    <item>
      <title>中华人民共和国县以上行政区划代码</title>
      <link>https://blog.bccn.net/sdta/68451</link>
      <description>https://www.mca.gov.cn/mzsj/xzqh/2023/202301xzqh.html
https://www.mca.gov.cn/mzsj/xzqh/2022/202201xzqh.html</description>
      <author>
        <name>sdta</name>
        <uri>https://blog.bccn.net/sdta</uri>
      </author>
      <pubDate>2024-05-22 15:30:04 +0800</pubDate>
    </item>
    <item>
      <title> IPQ5018 SoCs on 2x2 2.4GHz Board M.2 Slot Support QCN6102  QCN6122 5G 6E Broaden</title>
      <link>https://blog.bccn.net/wallys123/68406</link>
      <description>
	In today's fast-paced digital world, connectivity is everything. Whether you're streaming, gaming, working, or just browsing the web, having a robust and reliable internet connection is essential. This is where WiFi 6 comes into play, offering faster speeds, lower latency, and increased capaci...</description>
      <author>
        <name>wallys123</name>
        <uri>https://blog.bccn.net/wallys123</uri>
      </author>
      <pubDate>2023-10-27 11:20:58 +0800</pubDate>
    </item>
    <item>
      <title>Wi-Fi 7 Technology| TSN Powe to IPQ9574 IPQ9557 QCN6274 On 2*2 2.4G 5G WIfi Board</title>
      <link>https://blog.bccn.net/wallys123/68404</link>
      <description>
	Introduction


	In an increasingly interconnected world, Wi-Fi technology has become an indispensable part of our lives. From smartphones to laptops, smart homes to industrial automation, Wi-Fi has revolutionized the way we connect and communicate. With the ever-growing demand for faster, m...</description>
      <author>
        <name>wallys123</name>
        <uri>https://blog.bccn.net/wallys123</uri>
      </author>
      <pubDate>2023-10-26 09:42:32 +0800</pubDate>
    </item>
    <item>
      <title>IPQ6018 IPQ6010 QCN9074 802.11Ax standard DR6018 DR9074-6E Maximizing High-Power Throughput </title>
      <link>https://blog.bccn.net/wallys123/68402</link>
      <description>
	Introduction


	


	In this technical post, we will explore the powerful combination of a WiFi 6 routerboard and the DR9074-6E network card to achieve high-power throughput, long-range connectivity up to 23 kilometers, and efficient AP controller management in both Point-to-Point (PTP) a...</description>
      <author>
        <name>wallys123</name>
        <uri>https://blog.bccn.net/wallys123</uri>
      </author>
      <pubDate>2023-10-24 16:18:59 +0800</pubDate>
    </item>
    <item>
      <title>AC3DTS5.1声道解码杜比数码AC-3/MPEG4/AAC多格式EQ均衡器卡拉OK环绕声解码板</title>
      <link>https://blog.bccn.net/Cc812487000/68398</link>
      <description>杜比数码、DTS、AAC、MP4、PCM、HDCD等格式解码，多声道环绕声聆听体验 多种聆听效果重放。
CS495313 CS493263 CS493264-CL音频DSP的环绕声音效
DolbyProLogicII杜比定向逻辑II 将任何双声道音源转变为左、中、右、左环绕及右环绕环绕声聆听体验。
44.1kHz, 48kHz和96kHz采样率音频输出，选配不同的低通滤波电路，以获得不同的效果。
DSP的音效处理DolbyAtmos全景声家庭影院支持全部杜比标准低音配置及各种大小喇叭组合。
LIN SYNC唇音齿音同步方案，模拟及各种数码的声音同时延迟，所有声道延迟时间最大50...</description>
      <author>
        <name>Cc812487000</name>
        <uri>https://blog.bccn.net/Cc812487000</uri>
      </author>
      <pubDate>2023-10-23 11:32:16 +0800</pubDate>
    </item>
    <item>
      <title>c语言大神帮我看看</title>
      <link>https://blog.bccn.net/%E7%88%B1%E7%9D%A1%E8%A7%89%E7%9A%84%E5%B0%8F%E6%96%B0/68397</link>
      <description>
#include&amp;nbsp;&amp;lt;stdio.h&amp;gt;
#include&amp;nbsp;&amp;lt;stdlib.h&amp;gt;

int&amp;nbsp;main()
{
&amp;nbsp;&amp;nbsp;&amp;nbsp;int&amp;nbsp;x,i=0,j=0;
&amp;nbsp;&amp;nbsp;&amp;nbsp;scanf("%d",&amp;amp;x);
&amp;nbsp;&amp;nbsp;&amp;nbsp;while(x&amp;gt;3)
&amp;nbsp;&amp;nbsp;&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if(x&amp;gt;0)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;...</description>
      <author>
        <name>爱睡觉的小新</name>
        <uri>https://blog.bccn.net/%E7%88%B1%E7%9D%A1%E8%A7%89%E7%9A%84%E5%B0%8F%E6%96%B0</uri>
      </author>
      <pubDate>2023-10-21 13:09:03 +0800</pubDate>
    </item>
    <item>
      <title>请教各位大师，该用哪种软件编程？</title>
      <link>https://blog.bccn.net/tsj_bccn/68391</link>
      <description>分析近似图片中手写汉字（被分析的字体）与原始图片中印刷体汉字（被参照的字体）的区别，比如手写汉字笔画的长短、曲直、正斜等以及汉字整体结构的大小、正斜等，要编写这样带功分析功能和评测功能的程序，请问各位大师该用哪种编程软件比较方便好用一些？</description>
      <author>
        <name>tsj_bccn</name>
        <uri>https://blog.bccn.net/tsj_bccn</uri>
      </author>
      <pubDate>2023-10-09 17:56:09 +0800</pubDate>
    </item>
    <item>
      <title>g 关于naim的分析</title>
      <link>https://blog.bccn.net/gedxcv/68390</link>
      <description>做为body主体开发的一部份：
naim非常重要</description>
      <author>
        <name>gedxcv</name>
        <uri>https://blog.bccn.net/gedxcv</uri>
      </author>
      <pubDate>2023-09-30 08:49:22 +0800</pubDate>
    </item>
    <item>
      <title>java等额本金和等额本息计算方式</title>
      <link>https://blog.bccn.net/mooncharmzx/68389</link>
      <description>直接贴代码
package com.cn.fajia;

/***
 * &amp;lt;p&amp;gt;
 * 房价和还款利息计算
 *
 */
public class Fajita {
    public static void main(String[] args) {

        //房子总价
        double totalPrice = 1428571;
        //首付比例
        double firstPaymentRatio = 0.6;
        //贷款总年数
        int yearNum = 3...</description>
      <author>
        <name>mooncharmzx</name>
        <uri>https://blog.bccn.net/mooncharmzx</uri>
      </author>
      <pubDate>2023-09-20 15:48:16 +0800</pubDate>
    </item>
    <item>
      <title>刚发现 ruby 的 if 判断后面可以加 then</title>
      <link>https://blog.bccn.net/%E9%9D%99%E5%A4%9C%E6%80%9D/68384</link>
      <description>用 ruby 11年了才刚发现，还是看源代码发现的：https://github.com/ruby/ruby/blob/0aa404b9573d028d87072f40ecb9b86dc161b7ef/yarp/yarp_compiler.c#L208C9-L208C9

写惯了vb一直对ruby、python的if后面没有then而耿耿于怀，写完if条件后总觉的少了点什么。原来ruby一直是有的，错过了11年。</description>
      <author>
        <name>静夜思</name>
        <uri>https://blog.bccn.net/%E9%9D%99%E5%A4%9C%E6%80%9D</uri>
      </author>
      <pubDate>2023-08-31 11:40:25 +0800</pubDate>
    </item>
    <item>
      <title>基于Node.js的快递查询项目</title>
      <link>https://blog.bccn.net/Mebius_/68375</link>
      <description>
	
		
			随着电商的发展，如今网上购物的人越来越多，频率越来越高，不用出门就能买到自己想要的东西。
		
		
			商品下了单之后商品怎么到自己的手上呢？?
		
		
			这就离不开快递和物流了，商家把商品给到快递和物流服务商，快递和物流服务商则把商品运输并配送到我们的手上。
		
	
	
		
			除了电商行业之外，在我们生活、工作中处处也离不开快递物流。
		
		
			爸妈给出门在外的子女寄东西需要快递物流；去某个地方，东西太重了不好随身携带，可以寄快递物流送过去；
		
		
			两个公司之间纸质合同、文件、发票寄送也需...</description>
      <author>
        <name>Mebius_</name>
        <uri>https://blog.bccn.net/Mebius_</uri>
      </author>
      <pubDate>2023-08-14 23:11:56 +0800</pubDate>
    </item>
    <item>
      <title>什么是代理ip？代理ip的用途有哪些？该如何获取代理ip？</title>
      <link>https://blog.bccn.net/Mebius_/68374</link>
      <description>
	
		我们在网页中输入网址后发生了什么呢？
	
1.浏览器获取域名
2.通过DNS协议获取域名对应服务器的ip地址
3.浏览器和对应的服务器通过三次握手建立TCP连接
4.浏览器通过HTTP协议向服务器发送数据请求
5.服务器将查询结果返回给浏览器
6.四次挥手释放TCP连接
7.浏览器渲染结果



	其中涉及到了：
应用层：HTTP和DNS
传输层：TCP UDP
网络层：IP ICMP ARP



	
		那为什么需要到用代理呢？
	
因为在做爬虫的过程中经常会遇到这样的情况：
最初爬虫正常运行，正常抓取数据，一切看起来都很不...</description>
      <author>
        <name>Mebius_</name>
        <uri>https://blog.bccn.net/Mebius_</uri>
      </author>
      <pubDate>2023-08-14 23:07:25 +0800</pubDate>
    </item>
    <item>
      <title>王者荣耀战力查询的保姆级教程</title>
      <link>https://blog.bccn.net/Mebius_/68373</link>
      <description>
	
		
			
				王者荣耀段位水平是可以直接看到的，但是荣耀战力才是衡量玩家实力的标准，因为各种排行榜，甚至是职业选手选拔也是看这个荣耀战力的。
			
		
	


	
		
			战力系统可以决定玩家所在区域的排名，并发放牌子（这也是是想展示的一种），那有些玩家所在区域玩家较多，那竞争自然而然地比较激烈！
		
	


	
		
			所以，有许多玩家也会找到玩家竞争较少的区域，进而获得更好的牌子！
		
	



因此，有许多玩家会想要找到竞争较低的战区，获得更好的牌子，那么有没有一个查到我当前平台中比较低竞争的系统呢？?...</description>
      <author>
        <name>Mebius_</name>
        <uri>https://blog.bccn.net/Mebius_</uri>
      </author>
      <pubDate>2023-08-14 23:01:26 +0800</pubDate>
    </item>
    <item>
      <title>手把手教你写垃圾分类项目</title>
      <link>https://blog.bccn.net/Mebius_/68372</link>
      <description>
	
		垃圾分类是目前社会的一个热点，制作垃圾分类只要找到合适的数据集，垃圾分类的模型构建并不难

	

这里收集了一份关于垃圾分类的数据集，一共有四个大类和245个小类，大类分别是厨余垃圾、可回收物、其他垃圾和有害垃圾，小类主要是垃圾的具体类别，果皮、纸箱等。

按照8比1比1的比例将原始数据集划分成了训练集、验证集和测试集.... ... 为了方便大家使用，已经提前将数据集进行了处理，分享出来给大家。



	一、对垃圾名称进行过滤

// 垃圾名称过滤
  garbage_name_filter (name) {

    // 如果查询名称为全...</description>
      <author>
        <name>Mebius_</name>
        <uri>https://blog.bccn.net/Mebius_</uri>
      </author>
      <pubDate>2023-08-14 22:55:19 +0800</pubDate>
    </item>
    <item>
      <title>平面函数方格</title>
      <link>https://blog.bccn.net/iuyt/68371</link>
      <description>#include&amp;lt;bits/stdc++.h&amp;gt;
using namespace std;
int main(){
	int n;
	cin&amp;gt;&amp;gt;n;
	for(int i=1;i&amp;lt;=n;i++){
		for(int s=1;s&amp;lt;=n;s++){
		cout&amp;lt;&amp;lt;"*";
	}
	cout&amp;lt;&amp;lt;endl;
	}
	return 0;
}
</description>
      <author>
        <name>iuyt</name>
        <uri>https://blog.bccn.net/iuyt</uri>
      </author>
      <pubDate>2023-08-14 11:44:15 +0800</pubDate>
    </item>
  </channel>
</rss>
