<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[其实我不是代码教父,我只是猪头三]]></title><description><![CDATA[专注C/C++, Delphi, R, ASM, C#, Windows内核, 算法, 股票量化, 机器学习]]></description><link>https://blog.youkuaiyun.com/Code_GodFather</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; Code_GodFather]]></copyright><item><title><![CDATA[[原创]大盘暴跌至3813点, 全网喊崩?我的“妖股大师“自动规避风险并捕捉机会.]]></title><link>https://blog.youkuaiyun.com/Code_GodFather/article/details/159652107</link><guid>https://blog.youkuaiyun.com/Code_GodFather/article/details/159652107</guid><author>Code_GodFather</author><pubDate>Mon, 30 Mar 2026 17:22:29 +0800</pubDate><description><![CDATA[截止到2026年03月30日, 个股成功兑现预期收益. 这次实战操作再次印证了一个硬道理: 一个合格的交易系统, 必须能够预知并识别市场从"恐慌"向"修复"转化的阶段. 这不仅仅是一次简单的获利, 它证明了我的交易模型在复杂多变的市场环境中, 具备强大的时空定位能力.]]></description><category></category></item><item><title><![CDATA[[原创](现代Delphi 12指南):[Windows App开发]: try...finally的细节: Exit提前退出, 然后触发finally]]></title><link>https://blog.youkuaiyun.com/Code_GodFather/article/details/154386087</link><guid>https://blog.youkuaiyun.com/Code_GodFather/article/details/154386087</guid><author>Code_GodFather</author><pubDate>Tue, 04 Nov 2025 10:18:43 +0800</pubDate><description><![CDATA[在Delphi的异常与资源管理机制中, "try...finally"是最基础却又最关键的语法结构之一. 它确保了无论在代码块中是否发生异常、是否提前退出函数, "finally"部分的清理逻辑都能被可靠地执行. 在日常开发中, 常常需要在过程中使用诸如"TStringList"、"TFileStream"、"TMemoryStream"等临时对象, 并在逻辑完成后释放它们. 然而, 当逻辑中途遇到"Exit"、"Break"或"Continue"时, 很容易误以为"finally"不会执行. ]]></description><category></category></item><item><title><![CDATA[[原创](计算机数学)(Introduction Linear Algebra)(P88): Singular versus Invertible的另外3点说明]]></title><link>https://blog.youkuaiyun.com/Code_GodFather/article/details/149037806</link><guid>https://blog.youkuaiyun.com/Code_GodFather/article/details/149037806</guid><author>Code_GodFather</author><pubDate>Tue, 01 Jul 2025 09:06:47 +0800</pubDate><description><![CDATA[通过一个简单示例说明: 消元出现零行源于主元不足; 若假设存在右逆, 会让可逆消元矩阵自身出现零行, 与可逆性矛盾; 因此, 矩阵可逆当且仅当恰好有足够主元.]]></description><category></category></item><item><title><![CDATA[原创(Introduction Linear Algebra)(P88): 只要A没有足够的独立行(即少于n个pivots), 高斯消元就会产生“零行“]]></title><link>https://blog.youkuaiyun.com/Code_GodFather/article/details/148911568</link><guid>https://blog.youkuaiyun.com/Code_GodFather/article/details/148911568</guid><author>Code_GodFather</author><pubDate>Thu, 26 Jun 2025 07:26:40 +0800</pubDate><description><![CDATA[如果一个n×n的矩阵A缺少n个主元(即秩小于 n), 那么在高斯消元过程中必定会产生至少一行“零行”. 这从代数角度说明了矩阵的行向量之间的线性相关性, 并进一步表明该矩阵是奇异的(singular), 无法进行逆运算. ]]></description><category></category></item><item><title><![CDATA[[原创](现代Delphi 12指南):[Windows App开发]: 如何接收C/C++传入的内存数据指针？]]></title><link>https://blog.youkuaiyun.com/Code_GodFather/article/details/148869735</link><guid>https://blog.youkuaiyun.com/Code_GodFather/article/details/148869735</guid><author>Code_GodFather</author><pubDate>Tue, 24 Jun 2025 13:40:33 +0800</pubDate><description><![CDATA[在现代Windows应用程序开发中, Delphi作为一种强大的开发语言, 经常需要与其他语言(如C/C++)进行互操作, 尤其是在处理内存数据时. C/C++程序通常会通过指针传递数据, 而Delphi需要正确接收并处理这些内存数据指针, 以实现跨语言的高效协作. ]]></description><category></category></item><item><title><![CDATA[[原创](计算机数学)(Introduction Linear Algebra)(P87): ：若A是可逆的上三角矩阵, 则它的逆矩阵A^-1也是上三角矩阵]]></title><link>https://blog.youkuaiyun.com/Code_GodFather/article/details/148689841</link><guid>https://blog.youkuaiyun.com/Code_GodFather/article/details/148689841</guid><author>Code_GodFather</author><pubDate>Mon, 16 Jun 2025 13:59:31 +0800</pubDate><description><![CDATA[此性质在数值代数中至关重要, 保证了用三角分解（如 LU 分解）求解线性方程组时, 矩阵的稀疏性和带状结构不会因取逆而破坏, 从而维持算法的高效与稳定.]]></description><category></category></item><item><title><![CDATA[[原创](现代Delphi 12指南):[macOS 64bit App开发]: SameText, SameStr, 比较字符串更简单]]></title><link>https://blog.youkuaiyun.com/Code_GodFather/article/details/148582936</link><guid>https://blog.youkuaiyun.com/Code_GodFather/article/details/148582936</guid><author>Code_GodFather</author><pubDate>Wed, 11 Jun 2025 11:29:14 +0800</pubDate><description><![CDATA[在现代软件开发中, 字符串比较是一项基础且频繁使用的操作. 无论是验证用户输入、处理数据一致性, 还是实现搜索功能, 都需要高效、可靠的工具来完成字符串的比较任务. Delphi 12作为一款强大的跨平台开发工具, 提供了SameText和SameStr两个函数, 让字符串比较变得更加简单和直观. 特别是在macOS 64位应用开发中, 这两个函数不仅提升了代码的可读性, 还能很好地适配跨平台需求.]]></description><category></category></item><item><title><![CDATA[[原创](现代Delphi 12指南):[macOS 64bit App开发]: TTask创建多线程, 更简单, 更快捷.]]></title><link>https://blog.youkuaiyun.com/Code_GodFather/article/details/148451346</link><guid>https://blog.youkuaiyun.com/Code_GodFather/article/details/148451346</guid><author>Code_GodFather</author><pubDate>Thu, 05 Jun 2025 15:22:11 +0800</pubDate><description><![CDATA[在macOS 64bit应用程序开发中, 面对复杂的数据处理或长时间运行的任务, 单线程往往会导致界面卡顿, 降低用户满意度. Delphi 12作为一款功能强大的跨平台开发工具, 提供了TTask类, 极大地简化了多线程的创建和管理过程. 通过TTask, 无需深入处理线程同步或资源管理的底层细节, 即可快速实现高效的多线程功能.]]></description><category></category></item><item><title><![CDATA[[原创](Windows使用技巧): Windwos11如何设置局域网共享访问? (多图详解)]]></title><link>https://blog.youkuaiyun.com/Code_GodFather/article/details/148338659</link><guid>https://blog.youkuaiyun.com/Code_GodFather/article/details/148338659</guid><author>Code_GodFather</author><pubDate>Fri, 30 May 2025 15:14:27 +0800</pubDate><description><![CDATA[在企业或家庭网络环境中, 将一台Windows11电脑上的文件或磁盘共享给同一局域网内的其他设备是一项常见需求. 通过局域网共享, 用户可以方便地在不同电脑之间传输文件、备份数据, 甚至实现网络硬盘的功能. Windows11对网络和共享策略做了一些修改, 相比以前的版本需要进行额外设置才能正常启用局域网访问. ]]></description><category></category></item><item><title><![CDATA[[原创](现代Delphi 12指南):[macOS 64bit App开发]: 按钮大小设置的小技巧]]></title><link>https://blog.youkuaiyun.com/Code_GodFather/article/details/148280280</link><guid>https://blog.youkuaiyun.com/Code_GodFather/article/details/148280280</guid><author>Code_GodFather</author><pubDate>Wed, 28 May 2025 11:21:34 +0800</pubDate><description><![CDATA[[​企鹅交流: 643439947 个人网站: 80x86汇编小站​] 在现代Delphi 12开发环境中, 针对macOS 64位应用程序的开发, 界面设计是一个关键环节. 按钮作为用户交互的核心控件, 其布局和大小的设置直接影响应用程序的视觉效果和用户体验. 当按钮被放置在面板(Tpanel)内并应用了对齐属性时, 常常会发现, 直接调整按钮的尺寸变得困难. 下面将介绍一个小技巧, 可在保持对齐属性的同时, 灵活调整按钮的大小, 从而优化macOS应用程序的界面设计.]]></description><category></category></item><item><title><![CDATA[[原创](计算机数学)(Introduction Linear Algebra)(P34): 为什么 x+2y+3z=6 是构成一个平面？]]></title><link>https://blog.youkuaiyun.com/Code_GodFather/article/details/148219813</link><guid>https://blog.youkuaiyun.com/Code_GodFather/article/details/148219813</guid><author>Code_GodFather</author><pubDate>Mon, 26 May 2025 09:49:18 +0800</pubDate><description><![CDATA[如果这三张平面相交于一个公共的单一点, 则表明方程组有唯一解; 如果三张平面两两平行但没有公共交点, 则无解; 如果其中两张平面重合, 则可能有无穷多解. ]]></description><category></category></item><item><title><![CDATA[[原创](计算机数学)(Introduction Linear Algebra)(P25): 为什么Cyclic Differences无法构成三维空间？]]></title><link>https://blog.youkuaiyun.com/Code_GodFather/article/details/148191794</link><guid>https://blog.youkuaiyun.com/Code_GodFather/article/details/148191794</guid><author>Code_GodFather</author><pubDate>Sat, 24 May 2025 15:53:04 +0800</pubDate><description><![CDATA[本文分析了为什么采用循环差分方式无法覆盖三维空间. 通过考察对应的线性映射, 可以发现所有输出分量之和恒为零, 因此输出只能位于一个二维平面内, 无法生成任意三维向量. 若目标向量各分量之和不为零, 则必定无解. 这一结论可从向量之间的线性相关性、空间维度以及映射矩阵的秩等角度进行理解, 揭示了循环差分的本质限制.]]></description><category></category></item><item><title><![CDATA[[原创](计算机数学)(The Probability Lifesaver)(P14): 推导计算 In(1-u) 约等于 -u]]></title><link>https://blog.youkuaiyun.com/Code_GodFather/article/details/148155676</link><guid>https://blog.youkuaiyun.com/Code_GodFather/article/details/148155676</guid><author>Code_GodFather</author><pubDate>Fri, 23 May 2025 09:58:00 +0800</pubDate><description><![CDATA[在"生日悖论"中, 令 u = k/365. 由于参与的人数 n 远小于 365, 因此所有的 k/365 都非常小. 在这种情况下, 高阶余项(误差项)累加起来的总误差大约是 O(n^3/365^2), 而一阶主项的量级是 O(n^2/365). 由于 n 远小于 365, 高阶余项的误差可以忽略.]]></description><category></category></item><item><title><![CDATA[[原创](现代Delphi 12指南):[macOS 64bit App开发]: 如何获取目标App的程序图标?]]></title><link>https://blog.youkuaiyun.com/Code_GodFather/article/details/148133125</link><guid>https://blog.youkuaiyun.com/Code_GodFather/article/details/148133125</guid><author>Code_GodFather</author><pubDate>Thu, 22 May 2025 10:23:46 +0800</pubDate><description><![CDATA[在macOS平台上进行应用程序开发时, 常常需要与系统的资源和属性进行交互, 以实现特定的功能需求. 其中, 获取目标应用程序的图标是一项常见任务, 尤其在开发应用管理器、启动器或需要展示其他应用程序图标的工具时, 这一需求尤为突出. 借助Delphi 12强大的跨平台开发能力, 可以通过调用macOS的原生API, 轻松获取目标应用程序的图标文件路径. ]]></description><category></category></item><item><title><![CDATA[[原创](计算机数学)(Introduction Linear Algebra)(P16): Triangle Inequality的第3边关系||v+w||与传统的||v-w||不一样]]></title><link>https://blog.youkuaiyun.com/Code_GodFather/article/details/148103303</link><guid>https://blog.youkuaiyun.com/Code_GodFather/article/details/148103303</guid><author>Code_GodFather</author><pubDate>Wed, 21 May 2025 09:21:03 +0800</pubDate><description><![CDATA[这里的关键在于"构造三角形的方式"不同. 传统的三角形的边关系是: 把两个向量都看作从原点 
O出发的两条边, 这样第三边自然是连接这两条向量终点的向量, 比如]]></description><category></category></item><item><title><![CDATA[[原创](现代Delphi 12指南):[macOS 64bit App开发]: 如何获取目录大小?]]></title><link>https://blog.youkuaiyun.com/Code_GodFather/article/details/148085717</link><guid>https://blog.youkuaiyun.com/Code_GodFather/article/details/148085717</guid><author>Code_GodFather</author><pubDate>Tue, 20 May 2025 13:15:50 +0800</pubDate><description><![CDATA[在现代软件开发中, 特别是在macOS平台上, 获取目录大小是一项常见且重要的任务. 无论是为了优化用户体验(如在文件管理应用中显示目录占用空间), 还是为了系统资源的管理(如监控磁盘使用情况), 高效计算目录大小都显得尤为关键. Delphi 12作为一款强大的跨平台开发工具, 为macOS 64位应用程序提供了丰富的API支持, 使得能够轻松实现这一功能. ]]></description><category></category></item><item><title><![CDATA[[原创](计算机数学)(Introduction Linear Algebra)(P14): 为什么向量(0, 1)与向量(1, 0)构成的三角形的斜边向量是(1, -1)?]]></title><link>https://blog.youkuaiyun.com/Code_GodFather/article/details/148061735</link><guid>https://blog.youkuaiyun.com/Code_GodFather/article/details/148061735</guid><author>Code_GodFather</author><pubDate>Mon, 19 May 2025 13:51:30 +0800</pubDate><description><![CDATA[When v and $w$ are perpendicular, they form two sides of a right triangle. The third side is v-w.
(当向量v和向量w相互垂直时, 它们构成直角三角形的两条直角边. 第三个边(斜边)是v-w (或者w-v, 取决于方向).)]]></description><category></category></item><item><title><![CDATA[[原创](计算机数学)(The Probability Lifesaver)(P13): 指数母函数(Fonction Génératrice Exponentielle)生成伯努利数?]]></title><link>https://blog.youkuaiyun.com/Code_GodFather/article/details/148043499</link><guid>https://blog.youkuaiyun.com/Code_GodFather/article/details/148043499</guid><author>Code_GodFather</author><pubDate>Sun, 18 May 2025 14:39:27 +0800</pubDate><description><![CDATA[在计算机数学与概率论的学习中, 伯努利数(Bernoulli numbers)扮演着重要角色. 它们不仅与级数求和、无穷级数展开紧密相关, 也是数值积分、差分方法以及离散傅里叶变换等领域的基础工具之一. 对于希望深入了解数值分析和组合数学的读者而言, 掌握伯努利数的生成方法具有十分重要的意义.]]></description><category></category></item><item><title><![CDATA[[原创](计算机数学)(Introduction to Linear Algebra)(P5): 向量组能否张成整个三维空间?]]></title><link>https://blog.youkuaiyun.com/Code_GodFather/article/details/148025507</link><guid>https://blog.youkuaiyun.com/Code_GodFather/article/details/148025507</guid><author>Code_GodFather</author><pubDate>Sat, 17 May 2025 11:30:41 +0800</pubDate><description><![CDATA[When $w$ happens to be c$u$ + d$v$, the third vector is in the plane of the first two. The combination of $u$, $v$, $w$ will not go outside the uv plane. We do not get the full 3-dimensional space.]]></description><category></category></item><item><title><![CDATA[[原创](计算机数学)(The Probability Lifesaver)(P10): 生日概率问题.]]></title><link>https://blog.youkuaiyun.com/Code_GodFather/article/details/148012321</link><guid>https://blog.youkuaiyun.com/Code_GodFather/article/details/148012321</guid><author>Code_GodFather</author><pubDate>Fri, 16 May 2025 17:24:25 +0800</pubDate><description><![CDATA[生日概率问题是一个引人入胜的数学问题, 它揭示了概率论中的一个直观却又出人意料的结果. 想象一下, 在一个房间里, 随着人数的增加, 至少有两个人共享同一生日的可能性也在增加. 你可能会好奇：到底需要多少人, 才能让这种生日重合的概率达到50%甚至更高呢? 这个看似简单的问题背后, 隐藏着概率论的奇妙之处.]]></description><category></category></item></channel></rss>