<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[wusandaofwy的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/wusandaofwy</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; wusandaofwy]]></copyright><item><title><![CDATA[三角洲如何快速拾取物品]]></title><link>https://blog.csdn.net/wusandaofwy/article/details/169169439</link><guid>https://blog.csdn.net/wusandaofwy/article/details/169169439</guid><author>wusandaofwy</author><pubDate>Mon, 26 Oct 2026 21:18:19 +0800</pubDate><description><![CDATA[价值顺序：红 > 金 > 紫 > 蓝 > 白]]></description><category></category></item><item><title><![CDATA[ubuntu 左键双击 打不开文件夹]]></title><link>https://blog.csdn.net/wusandaofwy/article/details/163491483</link><guid>https://blog.csdn.net/wusandaofwy/article/details/163491483</guid><author>wusandaofwy</author><pubDate>Wed, 05 Aug 2026 08:40:54 +0800</pubDate><description><![CDATA[设置 → 辅助功能（Universal Access / Accessibility）→ 指向与点击，里面有个「双击延迟」滑块，如果被拉到最小，双击会被直接禁用。]]></description><category></category></item><item><title><![CDATA[opencode + draw.io MCP 实现流程图绘制]]></title><link>https://blog.csdn.net/wusandaofwy/article/details/162523838</link><guid>https://blog.csdn.net/wusandaofwy/article/details/162523838</guid><author>wusandaofwy</author><pubDate>Thu, 02 Jul 2026 16:46:48 +0800</pubDate><description><![CDATA[本文介绍了如何在opencode中接入draw.io MCP工具，实现AI自动生成可编辑流程图。首先解释了MCP协议的作用，然后详细说明了环境配置方法，特别指出Windows用户需通过cmd调用npx。文章展示了三种工具（XML、Mermaid、CSV）的适用场景，并通过4个实战示例（认证流程、三层架构、请求处理、登录流程）演示了不同图表生成效果。最后提供了版本管理建议、Windows常见问题解决方案和高效工作流指南，指出MCP协议将拓展AI辅助开发的边界。]]></description><category></category></item><item><title><![CDATA[go项目结构]]></title><link>https://blog.csdn.net/wusandaofwy/article/details/162510050</link><guid>https://blog.csdn.net/wusandaofwy/article/details/162510050</guid><author>wusandaofwy</author><pubDate>Thu, 02 Jul 2026 13:15:31 +0800</pubDate><description><![CDATA[架构：Clean Architecture — Fiber + PostgreSQL + RabbitMQ/NATS/gRPC + JWT + Swagger。架构：Clean Architecture — Gin + MongoDB + JWT + Docker。]]></description><category></category></item><item><title><![CDATA[vscode 配置 自动删除未使用的导入]]></title><link>https://blog.csdn.net/wusandaofwy/article/details/162189358</link><guid>https://blog.csdn.net/wusandaofwy/article/details/162189358</guid><author>wusandaofwy</author><pubDate>Mon, 22 Jun 2026 09:12:42 +0800</pubDate><description><![CDATA[打开设置的代码编辑,增加上方代码。]]></description><category></category></item><item><title><![CDATA[一文读懂期权：基础概念、四大交易场景与实战案例]]></title><link>https://blog.csdn.net/wusandaofwy/article/details/162068723</link><guid>https://blog.csdn.net/wusandaofwy/article/details/162068723</guid><author>wusandaofwy</author><pubDate>Wed, 17 Jun 2026 14:40:17 +0800</pubDate><description><![CDATA[期权是一种金融合约，买方支付权利金后获得未来按约定价格买卖标的资产的权利，卖方则承担履约义务。期权分为看涨（Call）和看跌（Put）两类，买方亏损有限（权利金），收益潜力大；卖方收益固定（权利金），但风险较高。以宁德时代为例，四种基础交易策略包括：买入看涨（博取大涨）、卖出看跌（温和看多）、买入看跌（对冲或做空）、卖出看涨（震荡市赚权利金）。期权适合投机或对冲，但需注意时间损耗和杠杆风险。新手建议从买方入手，卖方更适合专业投资者。期权核心在于匹配市场预期与策略，控制风险。]]></description><category></category></item><item><title><![CDATA[JS 数据格式化：0 值丢失问题,浮点数精度问题]]></title><link>https://blog.csdn.net/wusandaofwy/article/details/162055505</link><guid>https://blog.csdn.net/wusandaofwy/article/details/162055505</guid><author>wusandaofwy</author><pubDate>Wed, 17 Jun 2026 09:10:37 +0800</pubDate><description><![CDATA[本文针对前端数字格式化需求，从初始存在空值误判、精度丢失等问题的极简三元写法出发，通过两轮优化迭代：第一轮完善空值判断逻辑（保留合法0值，过滤无效数据），第二轮解决浮点数精度问题（采用放大取整再缩小还原法）。最终封装出支持自定义小数位数和占位符的全局公共函数，包含原生版和金融级高精度Decimal.js版两种实现，适配金额、统计、百分比等业务场景。文章提供完整代码实现、测试用例及Vue/React项目全局挂载方案，帮助开发者实现安全可靠的数字格式化功能。]]></description><category></category></item><item><title><![CDATA[安装openclaw win11]]></title><link>https://blog.csdn.net/wusandaofwy/article/details/161807768</link><guid>https://blog.csdn.net/wusandaofwy/article/details/161807768</guid><author>wusandaofwy</author><pubDate>Mon, 08 Jun 2026 22:22:50 +0800</pubDate><description><![CDATA[本文介绍了OpenClaw工具的安装与使用指南。主要内容包括：1）通过npm全局安装最新版OpenClaw；2）配置流程，包括选择模型（如千问）和API密钥设置；3）常用命令（启动WebUI、网关服务等）；4）常见问题解决方案（如核心服务未启动时检查网关服务、端口冲突时更换端口）。该工具需要Node.js和Git环境支持，安装完成后可通过简单命令实现AI模型服务的部署与管理。]]></description><category></category></item><item><title><![CDATA[ECharts 实战：如何让 X 轴始终固定在图表底部，不受负值影响]]></title><link>https://blog.csdn.net/wusandaofwy/article/details/161223948</link><guid>https://blog.csdn.net/wusandaofwy/article/details/161223948</guid><author>wusandaofwy</author><pubDate>Tue, 19 May 2026 13:47:52 +0800</pubDate><description><![CDATA[是 ECharts 中一个简单但强大的配置项，能有效控制 X 轴的位置。通过将其设置为false，我们可以让 X 轴始终固定在图表底部，不受 Y 轴负值的影响。这个配置虽然不起眼，但在实际项目中却能解决很多显示问题。特别是在需要统一多个图表布局，或者有特定设计规范要求时，这个配置显得尤为重要。记住这个小技巧，下次遇到类似问题时，你就能快速定位并解决了！]]></description><category></category></item><item><title><![CDATA[ECharts中xAxis名称定位的细节：当nameLocation为‘end‘时verticalAlign与padding的配合]]></title><link>https://blog.csdn.net/wusandaofwy/article/details/161197642</link><guid>https://blog.csdn.net/wusandaofwy/article/details/161197642</guid><author>wusandaofwy</author><pubDate>Mon, 18 May 2026 16:36:40 +0800</pubDate><description><![CDATA[在ECharts中精确控制x轴名称位置时，特别是当使用必须设置：这是使padding上边距生效的前提条件合理使用padding：通过四值数组微调最终位置结合其他属性align控制水平对齐，nameGap控制基础距离考虑响应式：在不同屏幕尺寸下可能需要不同的配置掌握这个技巧后，你将能够更精确地控制ECharts图表中坐标轴名称的位置，创建出更专业、更美观的数据可视化图表。希望这篇博客对你理解和使用ECharts有所帮助！如果你有任何问题或发现其他有用的技巧，欢迎分享讨论。]]></description><category></category></item><item><title><![CDATA[三、RAG 核心引擎开发（第 6–7 周）]]></title><link>https://blog.csdn.net/wusandaofwy/article/details/160900458</link><guid>https://blog.csdn.net/wusandaofwy/article/details/160900458</guid><author>wusandaofwy</author><pubDate>Fri, 08 May 2026 22:03:28 +0800</pubDate><description><![CDATA[实现问答链：检索 → 提示 → 生成 → 输出。接入 Qwen/DeepSeek 大模型。测试基金定义、风险、费率、业绩等常见问题。接入 bge-reranker 模型。对比通用大模型，验证准确率提升。对召回结果排序，提升精准度。多路召回 + 融合策略。设计基金领域专属提示词。BM25 关键词检索。]]></description><category></category></item><item><title><![CDATA[二、基金知识库构建（核心 RAG 数据层）]]></title><link>https://blog.csdn.net/wusandaofwy/article/details/160831428</link><guid>https://blog.csdn.net/wusandaofwy/article/details/160831428</guid><author>wusandaofwy</author><pubDate>Thu, 07 May 2026 11:15:21 +0800</pubDate><description><![CDATA[使用 RecursiveCharacterTextSplitter 递归分块。当前环境里是 CPU 轮子，换成官方 CUDA 轮子（体积约 2.6GB，使用 BAAI/bge-large-zh 生成向量。使用 Unstructured 解析文本、表格。存入 Milvus/PGVector，建立索引。处理跨页表格、复杂段落、目录、页眉页脚。设置块大小、重叠长度，保证金融语义完整。就会用 RTX 5070 做嵌入。构建基金知识结构化索引表。]]></description><category></category></item><item><title><![CDATA[一、环境搭建与准备阶段（第 3–4 周）]]></title><link>https://blog.csdn.net/wusandaofwy/article/details/160600216</link><guid>https://blog.csdn.net/wusandaofwy/article/details/160600216</guid><author>wusandaofwy</author><pubDate>Wed, 29 Apr 2026 22:02:29 +0800</pubDate><description><![CDATA[安装 Python 3.10+、Go 1.21+、Node.js + Reactok部署向量数据库：Milvus / PGVector 二选一。]]></description><category></category></item><item><title><![CDATA[ECharts 避坑指南：双 Y 轴图例交互下的坐标轴名称动态避让方案]]></title><link>https://blog.csdn.net/wusandaofwy/article/details/160616256</link><guid>https://blog.csdn.net/wusandaofwy/article/details/160616256</guid><author>wusandaofwy</author><pubDate>Wed, 29 Apr 2026 09:54:05 +0800</pubDate><description><![CDATA[当图表中包含左右两个 Y 轴，且用户通过点击图例来隐藏或显示某个数据系列时，如果该系列对应的坐标轴刻度线消失了，但坐标轴的名称（Name）依然留在原地，这就很容易导致轴名称与图表内部的网格线、数据折线或其他元素发生重叠遮挡，严重影响图表的可读性和美观度。解决这个问题的核心思路是：监听图例的点击事件，根据系列的显隐状态，动态调整坐标轴名称的 padding（内边距），从而将其推开。通过改变这两个值，我们可以在不改变坐标轴位置的前提下，实现文字的“软避让”。◦   右轴：对应数组的第 2 个值（索引 1）。]]></description><category></category></item><item><title><![CDATA[opencode 安装 使用]]></title><link>https://blog.csdn.net/wusandaofwy/article/details/159381537</link><guid>https://blog.csdn.net/wusandaofwy/article/details/159381537</guid><author>wusandaofwy</author><pubDate>Mon, 23 Mar 2026 10:39:59 +0800</pubDate><description><![CDATA[OpenCode AI 安装与使用指南 安装：通过Bun安装OpenCode以避免npm版本冲突，使用bun install -g opencode-ai命令安装，opencode --version验证安装成功。 基本使用： 进入项目目录后执行opencode启动 /models查看可用AI模型 支持文件引用(@文件名)和命令执行(!命令) 常用命令： 会话管理：/new新建、/sessions切换 功能操作：/export导出对话、/editor外部编辑 快捷键：ctrl+x为默认前缀键，支持快速压缩、]]></description><category></category></item><item><title><![CDATA[安装Claude命令行]]></title><link>https://blog.csdn.net/wusandaofwy/article/details/159209050</link><guid>https://blog.csdn.net/wusandaofwy/article/details/159209050</guid><author>wusandaofwy</author><pubDate>Wed, 18 Mar 2026 16:16:42 +0800</pubDate><description><![CDATA[本文介绍了Claude命令行工具的安装与使用指南。主要内容包括：1）通过npm全局安装claude-code工具包；2）配置API访问权限，包括获取不同平台的API Key和创建配置文件；3）启动交互环境并处理模型不可用问题，提供切换模型的命令示例；4）交互式问答示例演示。文中强调了注意事项：不同平台支持的模型可能不同，需确保配置匹配，并妥善保管API密钥。]]></description><category></category></item><item><title><![CDATA[滚动条上下按钮隐藏不生效的原因与修复（::-webkit-scrollbar-button）]]></title><link>https://blog.csdn.net/wusandaofwy/article/details/158919257</link><guid>https://blog.csdn.net/wusandaofwy/article/details/158919257</guid><author>wusandaofwy</author><pubDate>Wed, 11 Mar 2026 09:53:03 +0800</pubDate><description><![CDATA[摘要：在自定义滚动条样式时，::-webkit-scrollbar-button { display: none; } 有时不生效。原因可能是滚动容器同时设置了 scrollbar-width/scrollbar-color 标准属性，导致 WebKit 伪元素样式受影响。解决方案是在目标元素上重置标准属性为 auto（如 scrollbar-width: auto !important），确保 ::-webkit-scrollbar* 规则正常工作。文中提供了完整修复代码示例，包括隐藏按钮的多重保险写法，]]></description><category></category></item><item><title><![CDATA[ECharts Legend：让图标和文字垂直居中对齐（rich + padding）]]></title><link>https://blog.csdn.net/wusandaofwy/article/details/158427697</link><guid>https://blog.csdn.net/wusandaofwy/article/details/158427697</guid><author>wusandaofwy</author><pubDate>Thu, 26 Feb 2026 16:57:41 +0800</pubDate><description><![CDATA[本文针对ECharts图例(Legend)中图标与文字垂直对齐问题，提出rich+padding的解决方案。分析指出问题本质是文字baseline对齐与图标几何中心不一致导致视觉偏差。通过formatter将文本包装为rich token，结合textStyle.rich的verticalAlign:middle属性，最后用padding进行1-2像素微调（如padding:[0,0,-2,0]）。文章提供了具体配置示例和调参顺序建议：先定icon尺寸，再设lineHeight接近itemHeight，最后]]></description><category></category></item><item><title><![CDATA[Go 本地启动踩坑：为什么 `go run main.go` 会报 `undefined`？]]></title><link>https://blog.csdn.net/wusandaofwy/article/details/158040083</link><guid>https://blog.csdn.net/wusandaofwy/article/details/158040083</guid><author>wusandaofwy</author><pubDate>Fri, 13 Feb 2026 15:04:32 +0800</pubDate><description><![CDATA[undefined。]]></description><category></category></item><item><title><![CDATA[踩坑记录：GitLab SSH 拉取失败，竟是权限问题在作祟]]></title><link>https://blog.csdn.net/wusandaofwy/article/details/157993269</link><guid>https://blog.csdn.net/wusandaofwy/article/details/157993269</guid><author>wusandaofwy</author><pubDate>Thu, 12 Feb 2026 09:38:42 +0800</pubDate><description><![CDATA[核心原因：GitLab SSH 拉取失败，提示，很可能是本地私钥文件id_rsa的权限设置过宽（如 644），导致 SSH 客户端出于安全考虑拒绝使用该密钥。解决步骤使用修正私钥权限。使用修正目录权限。用验证连接。预防建议生成 SSH Key 后，养成检查权限的习惯。不要随意修改.ssh目录及其内部文件的权限。私钥id_rsa是敏感信息，绝对不能泄露给他人。希望这篇踩坑记录能帮到遇到同样问题的朋友，避免在权限问题上浪费太多时间。]]></description><category></category></item></channel></rss>