├── docs ├── .meta.yml ├── develop │ ├── front-end │ │ ├── javascript │ │ │ ├── grammar.md │ │ │ └── index.md │ │ ├── html.md │ │ ├── index.md │ │ └── css.md │ ├── tools │ │ ├── editor │ │ │ ├── index.md │ │ │ ├── devcpp.md │ │ │ ├── idle.md │ │ │ └── vim.md │ │ ├── index.md │ │ ├── git │ │ │ ├── index.md │ │ │ ├── submodule.md │ │ │ ├── lfs.md │ │ │ └── branch-conflict.md │ │ ├── ssh.md │ │ └── jetbrains.md │ ├── database │ │ ├── index.md │ │ ├── mysql.md │ │ └── redis.md │ ├── index.md │ ├── back-end │ │ ├── python │ │ │ ├── network-lib.md │ │ │ └── async-lib.md │ │ └── index.md │ └── operation │ │ ├── index.md │ │ ├── windows.md │ │ ├── shell.md │ │ └── wsl2.md ├── llm │ ├── infra │ │ ├── inference-server │ │ │ └── sglang.md │ │ ├── training-framework │ │ │ ├── matplotlib.md │ │ │ └── numpy.md │ │ ├── index.md │ │ ├── hardware-eco │ │ │ └── accelerator.md │ │ └── data-sys │ │ │ └── huggingface.md │ ├── index.md │ ├── downstream │ │ └── index.md │ └── research │ │ ├── transformer.md │ │ └── index.md ├── base │ ├── ai │ │ ├── reinforcement-learning │ │ │ └── index.md │ │ ├── data-mining │ │ │ ├── index.md │ │ │ └── anomaly-detection.md │ │ ├── machine-learning │ │ │ ├── lazy-learning.md │ │ │ ├── probability-graph-model.md │ │ │ ├── index.md │ │ │ ├── semi-supervised-learning.md │ │ │ ├── bayes-model.md │ │ │ ├── ensemble-learning.md │ │ │ ├── decision-tree-model.md │ │ │ └── data-process.md │ │ ├── deep-learning │ │ │ ├── recurrent-neural-network.md │ │ │ ├── network-enhancement.md │ │ │ ├── index.md │ │ │ ├── convolutional-neural-network.md │ │ │ └── full-connect-neural-network.md │ │ ├── natural-language-processing │ │ │ ├── index.md │ │ │ ├── text-generation.md │ │ │ ├── text-classification.md │ │ │ └── word-embedding.md │ │ ├── computer-vision │ │ │ └── index.md │ │ └── speech-signal-processing │ │ │ └── index.md │ ├── math │ │ ├── probability-and-statistics │ │ │ └── index.md │ │ ├── linear-algebra │ │ │ ├── index.md │ │ │ ├── similarity-matrix.md │ │ │ ├── determinant.md │ │ │ ├── vector-group.md │ │ │ └── elementary-transformation.md │ │ └── advanced-math │ │ │ ├── index.md │ │ │ ├── integration.md │ │ │ └── differentiation.md │ ├── others │ │ └── english-grammar │ │ │ ├── index.md │ │ │ ├── sentence-ingredient.md │ │ │ └── sentence-type.md │ ├── cs │ │ ├── computer-organization │ │ │ ├── index.md │ │ │ └── device.md │ │ ├── computer-network │ │ │ ├── physical-layer.md │ │ │ └── index.md │ │ ├── computer-system-base │ │ │ └── index.md │ │ └── operating-system │ │ │ ├── virtualization.md │ │ │ ├── index.md │ │ │ └── persistence.md │ └── index.md ├── ds-and-algo │ ├── topic │ │ ├── index.md │ │ ├── string.md │ │ └── geometry.md │ ├── lan-qiao-cup │ │ ├── index.md │ │ └── 16th-python-a-nation.md │ └── index.md ├── index.md └── contributing.md ├── .gitignore ├── overrides ├── main.html ├── assets │ ├── javascripts │ │ ├── table_sort.js │ │ ├── baidu_tongji.js │ │ ├── katex.js │ │ ├── homepage.js │ │ ├── link_blank.js │ │ └── show_img_alt.js │ ├── images │ │ └── logo.svg │ └── stylesheets │ │ └── extra.css ├── .icons │ ├── ellipsis-solid.svg │ ├── microphone-message.svg │ ├── code-solid.svg │ ├── computer-solid.svg │ ├── dice-solid.svg │ └── person-digging-solid.svg └── partials │ └── comments.html ├── pyproject.toml ├── LICENSE ├── .github └── workflows │ └── deploy_to_oss.yml └── README.md /docs/.meta.yml: -------------------------------------------------------------------------------- 1 | # 全局 meta 配置 2 | comments: true 3 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .cache 2 | .venv 3 | site 4 | uv.lock 5 | -------------------------------------------------------------------------------- /overrides/main.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | {% extends "base.html" %} 4 | -------------------------------------------------------------------------------- /docs/develop/front-end/javascript/grammar.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: 语法基础 3 | status: new 4 | --- 5 | 6 | TODO 7 | -------------------------------------------------------------------------------- /docs/develop/tools/editor/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: 编辑器导读 3 | icon: code-solid 4 | --- 5 | 6 | 这里介绍各种编辑器的配置方法。 7 | -------------------------------------------------------------------------------- /docs/develop/tools/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: 工具 3 | --- 4 | 5 | !!! quote "《论语 · 卫灵公》" 6 | 7 | 工欲善其事,必先利其器。 8 | -------------------------------------------------------------------------------- /docs/develop/database/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: 数据库导读 3 | --- 4 | 5 | 与基础知识部分介绍的 [数据库原理](../../base/cs/database/index.md) 不同,这里重点介绍实战项目中数据库的配置和使用方法。 6 | -------------------------------------------------------------------------------- /docs/llm/infra/inference-server/sglang.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: SGLang 3 | status: new 4 | --- 5 | 6 | [SGLang](https://github.com/sgl-project/sglang) 是用于大型语言模型和视觉语言模型的高性能服务框架。它旨在跨从单个 GPU 到大型分布式集群的各种设置提供低延迟和高吞吐量推理。 7 | -------------------------------------------------------------------------------- /docs/base/ai/reinforcement-learning/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: 强化学习导读 3 | status: new 4 | icon: material/sort 5 | --- 6 | 7 | 本文记录强化学习的学习笔记。原理部分参考赵世钰老师的 [B 站公开课](https://space.bilibili.com/2044042934/lists/748665)。 8 | -------------------------------------------------------------------------------- /overrides/assets/javascripts/table_sort.js: -------------------------------------------------------------------------------- 1 | document$.subscribe(function () { 2 | var tables = document.querySelectorAll("article table:not([class])") 3 | tables.forEach(function (table) { 4 | new Tablesort(table) 5 | }) 6 | }) -------------------------------------------------------------------------------- /docs/develop/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: 软件开发专栏简介 3 | --- 4 | 5 | 本专栏介绍「软件开发」相关知识。欢迎评论与补充 🤗。可以简单阅读 [developer-roadmap](https://github.com/kamranahmedse/developer-roadmap) 来预览一些开发路线图。就用一个很好玩的梗图作为本专栏的封面图吧 😉: 6 | 7 | ![WTF](https://cdn.dwj601.cn/images/20251206211619682.png) 8 | -------------------------------------------------------------------------------- /docs/develop/back-end/python/network-lib.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: 网络编程 3 | status: new 4 | --- 5 | 6 | 本文介绍 Python 网络编程相关内容。 7 | 8 | ## 参考 9 | 10 | - [FastAPI 最佳实践](https://github.com/zhanymkanov/fastapi-best-practices/blob/master/README_ZH.md) 11 | - [FastAPI 官方文档](https://fastapi.tiangolo.com/zh/) 12 | -------------------------------------------------------------------------------- /docs/develop/front-end/html.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: HTML 3 | status: new 4 | icon: simple/html5 5 | --- 6 | 7 | 超文本标记语言 (HyperText Markup Language, HTML) 是构成 Web 世界的一砖一瓦。它定义了网页内容的含义和结构 [^MDN]。 8 | 9 | [^MDN]: [HTML 参考文档 | MDN - (developer.mozilla.org)](https://developer.mozilla.org/zh-CN/docs/Web/HTML) 10 | -------------------------------------------------------------------------------- /overrides/assets/javascripts/baidu_tongji.js: -------------------------------------------------------------------------------- 1 | var _hmt = _hmt || []; 2 | (function() { 3 | var hm = document.createElement("script"); 4 | hm.src = "https://hm.baidu.com/hm.js?2671a19c27555d4fe9a537eb8b224efc"; 5 | var s = document.getElementsByTagName("script")[0]; 6 | s.parentNode.insertBefore(hm, s); 7 | })(); 8 | -------------------------------------------------------------------------------- /docs/base/math/probability-and-statistics/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: 概率统计导读 3 | icon: dice-solid 4 | --- 5 | 6 | 本文记录 *概率论与数理统计* [^nnu-book] 的学习笔记,教材配套答案见 [坚果云](https://www.jianguoyun.com/p/DaM9XDQQo7-eDRjLnPYFIAA) 网盘。考虑到内容的一致性,我将笔记划分为了 [概率论](./prob.md) 与 [数理统计](./stat.md) 两部分。 7 | 8 | [^nnu-book]: 刘国祥, 王晓谦, 等. 概率论与数理统计[M]. 第一版. 北京: 科学出版社, 2013. 9 | -------------------------------------------------------------------------------- /docs/develop/operation/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: 运维导读 3 | --- 4 | 5 | !!! tip 6 | 在计算机领域,运维就是运营并维护网络服务,使其可以长久稳定地为用户提供服务。需要掌握 GNU/Linux 基础、[计算机网络](../../base/cs/computer-network/index.md)、云服务、自动化等知识。 7 | 8 | 本栏目文章以「运维」笔记为主,欢迎评论与补充🤗。运维的基本 [学习路线](https://roadmap.sh/devops?r=devops-beginner) 如下图所示: 9 | 10 | ![运维学习路线](https://cdn.dwj601.cn/images/202501302249152.png) 11 | -------------------------------------------------------------------------------- /overrides/.icons/ellipsis-solid.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /overrides/assets/javascripts/katex.js: -------------------------------------------------------------------------------- 1 | document$.subscribe(({ body }) => { 2 | renderMathInElement(body, { 3 | delimiters: [ 4 | { left: "$$", right: "$$", display: true }, 5 | { left: "$", right: "$", display: false }, 6 | { left: "\\(", right: "\\)", display: false }, 7 | { left: "\\[", right: "\\]", display: true } 8 | ], 9 | }) 10 | }) -------------------------------------------------------------------------------- /docs/base/others/english-grammar/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: 英语语法导读 3 | icon: material/pencil-ruler 4 | --- 5 | 6 | ![英语语法的 3 大组成部分](https://cdn.dwj601.cn/images/20250503200040268.png) 7 | 8 | 本文改编自《从 0 开始学习英语语法》 [^english-note],旨在补充介绍英语语法的规则,从「词性、句子成分、句型」三个方面展开。 9 | 10 | [^english-note]: [从 0 开始学习英语语法 | hzpt-inet-club - (github.com)](https://github.com/hzpt-inet-club/english-note) 11 | -------------------------------------------------------------------------------- /overrides/.icons/microphone-message.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/develop/back-end/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: 后端开发导读 3 | --- 4 | 5 | !!! tip 6 | 对于后端开发来说,语言只是一个工具和基础。除了语言本身和对应的开发框架外,其他要学的技术在后端开发中往往是通用的,比如:[数据库](../../base/cs/database/index.md)、缓存、消息队列、搜索引擎、Linux、分布式、高并发、设计模式、架构设计等等。 7 | 8 | 本栏目文章以「后端开发」笔记为主,欢迎评论与补充🤗。后端的基本 [学习路线](https://roadmap.sh/backend?r=backend-beginner) 如下图所示: 9 | 10 | ![后端开发学习路线](https://cdn.dwj601.cn/images/202501302221609.png) 11 | -------------------------------------------------------------------------------- /docs/ds-and-algo/topic/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: 专题解析导读 3 | --- 4 | 5 | !!! quote "《孙子兵法》" 6 | 分而治之,各个击破。 7 | 8 | 本系列文章尝试剖析算法原理,同时详解几个对应算法的经典例题。欢迎在评论区留言补充🤗。 9 | 10 | 算法的五大特性。1)正确性;2)健壮性(鲁棒性);3)可读性;4)可扩展性;5)高效率。其中高效率中又引出了复杂度的大 $O$ 表示法,具体地: 11 | 12 | - $O()$:即 `upper bound`,表示算法的「最坏」时间复杂度; 13 | - $\Omega()$:即 `lower bound`,表示算法的「最好」时间复杂度; 14 | - $\Theta()$:即 `average bound`,表示算法的「平均」时间复杂度。 15 | -------------------------------------------------------------------------------- /docs/llm/infra/training-framework/matplotlib.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Matplotlib 3 | --- 4 | 5 | 本文记录 [Matplotlib](https://matplotlib.org/stable/index.html) 的用法。 6 | 7 | ### 解决中文显示异常问题 8 | 9 | 最简单的方法就是直接在全局区加下面四行代码: 10 | 11 | ```python 12 | import matplotlib.pyplot as plt 13 | import matplotlib as mpl 14 | 15 | mpl.rcParams['font.family'] = 'SimHei' 16 | plt.rcParams['axes.unicode_minus'] = False 17 | ``` 18 | 19 | 更详尽的方法可以参考 [Matplotlib 中正确显示中文的四种方式](https://blog.csdn.net/lemonbit/article/details/121433603) 这篇博客。 20 | -------------------------------------------------------------------------------- /docs/base/ai/data-mining/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: 数据挖掘导读 3 | icon: person-digging-solid 4 | --- 5 | 6 | > 数据挖掘 (Data Mining, DM) 又称数据库中的知识发现 (Knowledge Discover in Database, KDD),是指利用机器学习和统计分析从大型数据集中发现模式和其他有价值信息的过程。 7 | 8 | 本文记录数据挖掘 [^book-ref] 的学习笔记。一些数据挖掘中的名词定义如下: 9 | 10 | - 数据的定义:分为结构化和非结构化数据。结构化例如关系数据库的含有显式的属性和取值,非结构化例如文本、图像、音频和视频; 11 | - 知识的定义:有意义的信息或模式,具备典型性、新颖性、时效性、准确性、实用性; 12 | - 数据挖掘的定义:从数据中提取知识; 13 | - 数据挖掘的过程:数据预处理、算法实践、解释评估。 14 | 15 | [^book-ref]: 丁兆云,周鋆,杜振国. *数据挖掘:原理与应用* [M]. 1版. 机械工业出版社,978-7-111-69630-8. 16 | -------------------------------------------------------------------------------- /docs/develop/front-end/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: 前端开发导读 3 | --- 4 | 5 | !!! tip 6 | 前端开发以 HTML、CSS 和 JavaScript 为核心,辅以 React、Vue 等框架构建用户界面。它涉及浏览器兼容性、网络通信、性能优化、响应式布局、模块打包、自动化测试等技术。前端开发者需要格外关注产品的用户体验,同时适应快速变化的技术生态。 7 | 8 | 本栏目文章以「前端开发」笔记为主,欢迎评论与补充 🤗。就个人而言,在快速入门时,不建议听那些冗长的网课,直接在 [50projects50days](https://github.com/bradtraversy/50projects50days) 中找几个自己感兴趣的 demo 模仿实现一下就足够了,后面就以项目为基础,遇到不会的直接查文档或者问 AI 就可以了。 9 | 10 | 前端基本 [学习路线](https://roadmap.sh/frontend?r=frontend-beginner): 11 | 12 | ![前端开发学习路线](https://cdn.dwj601.cn/images/202501301816023.png) 13 | -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- 1 | [project] 2 | name = "CS-and-AI-Technical-Blog" 3 | version = "0.0.2" 4 | description = "A systematic technical blog (wiki) centered on computers and artificial intelligence." 5 | readme = "README.md" 6 | requires-python = ">=3.11" 7 | dependencies = [ 8 | "click==8.2.1", 9 | "mkdocs>=1.6.1", 10 | "mkdocs-git-committers-plugin-2>=2.5.0", 11 | "mkdocs-git-revision-date-localized-plugin>=1.5.0", 12 | "mkdocs-glightbox>=0.5.2", 13 | "mkdocs-material>=9.7.0", 14 | "mkdocs-toggle-sidebar-plugin>=0.0.9", 15 | "zensical>=0.0.11", 16 | ] 17 | -------------------------------------------------------------------------------- /docs/llm/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: 大模型专栏简介 3 | --- 4 | 5 | !!! quote "Marshall McLuhan(加拿大哲学家)" 6 | 我们塑造了工具,而后工具又塑造了我们。 7 | 8 | 在过去几年中,大语言模型 (large language models, LLMs) 从论文概念走向全球核心生产力。它们既是算法与算力的结晶,也是基础设施与应用生态的汇聚点。 9 | 10 | 本专栏围绕大模型生态展开介绍,主要包括以下三个部分: 11 | 12 | 1. [**基础设施**](./infra/index.md):包括硬件生态、数据系统、训练框架、推理服务等; 13 | 2. [**模型研究**](./research/index.md):包括模型架构设计与创新、预训练策略、后训练策略等; 14 | 3. [**下游应用**](./downstream/index.md):包括对话系统、代码生成、智慧教育、硬件智能等。 15 | 16 | 本专栏将沿着这三条主线,从底层到高层,逐步解析当代大模型体系的全貌。既关注技术本身,也讨论它们的哲学与未来走向。欢迎评论与补充🤗。 17 | 18 | ![让我们恭迎 AGI 时代的到来!](https://cdn.dwj601.cn/images/202501302119120.png) 19 | -------------------------------------------------------------------------------- /docs/ds-and-algo/lan-qiao-cup/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: 蓝桥杯备赛指南 3 | --- 4 | 5 | 基本信息: 6 | 7 | - 比赛时间。省赛大约四月中旬进行,国赛大约六月初进行。具体见官网通知; 8 | - 获奖比例。[第 17 届](https://dasai.lanqiao.cn/notices/1829) 开始有了一定的调整,省赛一二三等奖比例分别为 10%、15%、25%,国赛一二三等奖比例分别为 10%、25%、40%,省赛一等晋级国赛; 9 | - 报名费用。省赛 ¥300/人,国赛 ¥300/人; 10 | - 比赛形式。编程赛道全都是线下,每场都是 4 小时的赛时,OI 赛制; 11 | - 分数分布。省赛与国赛都是约 8 题,省赛总分 100 分,国赛总分 100 分。 12 | 13 | 一些资源: 14 | 15 | - 历届题面:[蓝桥杯大赛历届真题](https://www.lanqiao.cn/courses/2786); 16 | - 在线评测:[蓝桥杯真题卷](https://www.lanqiao.cn/paper/); 17 | - 速成视频:[【蓝桥杯】Python速成](https://space.bilibili.com/398421867/channel/collectiondetail?sid=4898042)。 18 | -------------------------------------------------------------------------------- /overrides/assets/javascripts/homepage.js: -------------------------------------------------------------------------------- 1 | (function () { 2 | if (window.location.pathname.endsWith('index.html') || window.location.pathname === '/') { 3 | // 创建