<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>编程 on 不靠谱颜论</title>
    <link>https://yanlinlin.cn/categories/%E7%BC%96%E7%A8%8B/</link>
    <description>颜林林博士的个人主页 - 生物信息学专家、精准医疗研究者、AI/LLM应用探索者。20多年编程经验，专注高通量组学数据分析、临床肿瘤基因检测、大模型在生物信息学领域的应用。分享技术探索、学术思考、生活感悟，记录那些“不靠谱”却有趣的发现。</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>zh-CN</language>
    <managingEditor>linlin.yan@bioinfo.app (颜林林)</managingEditor>
    <webMaster>linlin.yan@bioinfo.app (颜林林)</webMaster>
    <lastBuildDate>Wed, 24 Jan 2024 10:18:00 +0800</lastBuildDate>
    <atom:link href="https://yanlinlin.cn/categories/%E7%BC%96%E7%A8%8B/index.xml" rel="self" type="application/rss+xml" />
    
    <item>
      <title>C&#43;&#43;的类型缩窄转换</title>
      <link>https://yanlinlin.cn/2024/01/24/cpp-narrowing-conversion/</link>
      <pubDate>Wed, 24 Jan 2024 10:18:00 +0800</pubDate>
      <guid>https://yanlinlin.cn/2024/01/24/cpp-narrowing-conversion/</guid>
      <description>小数塞进整数、大数塞进窄类型会得到负数：C++ 的缩窄转换向来被默许，新标准才开始禁止。</description>
      
      <category>公众号, 编程</category>
      
      
      
      <category>C&#43;&#43;</category>
      
      <category>编程</category>
      
      <category>类型转换</category>
      
      <category>技术</category>
      
      <category>C&#43;&#43;11</category>
      
      
    </item>
    
    <item>
      <title>随心所欲地运用ggplot2画图</title>
      <link>https://yanlinlin.cn/2024/01/22/ggplot2-flexible-plotting/</link>
      <pubDate>Mon, 22 Jan 2024 06:46:00 +0800</pubDate>
      <guid>https://yanlinlin.cn/2024/01/22/ggplot2-flexible-plotting/</guid>
      <description>画图工具没有现成的圆和扇形，但给出坐标就什么都能画，连文字也能绕着圆排。</description>
      
      <category>公众号, 编程</category>
      
      
      
      <category>R</category>
      
      <category>ggplot2</category>
      
      <category>数据可视化</category>
      
      <category>编程</category>
      
      <category>绘图技巧</category>
      
      
    </item>
    
    <item>
      <title>用Python试试价投选股策略</title>
      <link>https://yanlinlin.cn/2024/01/21/python-value-investment-strategy/</link>
      <pubDate>Sun, 21 Jan 2024 04:32:00 +0800</pubDate>
      <guid>https://yanlinlin.cn/2024/01/21/python-value-investment-strategy/</guid>
      <description>照《聪明的投资者》里格雷厄姆那条 PE 与 PB 乘积不超过 22.5 的规则，用 Python 在 A 股 5000 多家公司里筛，一年下来还能剩下 500 到 800 家可选。</description>
      
      <category>公众号, 编程</category>
      
      
      
      <category>Python</category>
      
      <category>价值投资</category>
      
      <category>股票</category>
      
      <category>策略</category>
      
      <category>数据分析</category>
      
      
    </item>
    
    <item>
      <title>flat_set的性能测试及其实现</title>
      <link>https://yanlinlin.cn/2024/01/15/flat-set-performance/</link>
      <pubDate>Mon, 15 Jan 2024 11:22:00 +0800</pubDate>
      <guid>https://yanlinlin.cn/2024/01/15/flat-set-performance/</guid>
      <description>拿一百万个数测两种集合的插入、查找和迭代，快慢各有胜负，再拆开源实现看三步走。</description>
      
      <category>公众号, 编程</category>
      
      
      
      <category>C&#43;&#43;</category>
      
      <category>编程</category>
      
      <category>flat_set</category>
      
      <category>性能测试</category>
      
      <category>容器</category>
      
      
    </item>
    
    <item>
      <title>从flat_set管窥C&#43;&#43;的价值权衡</title>
      <link>https://yanlinlin.cn/2024/01/07/glimpsing-cpp-value-trade-offs-from-flat-set/</link>
      <pubDate>Sun, 07 Jan 2024 03:31:00 +0800</pubDate>
      <guid>https://yanlinlin.cn/2024/01/07/glimpsing-cpp-value-trade-offs-from-flat-set/</guid>
      <description>为什么还要一个仿集合的容器：换来缓存友好和迭代速度，代价是插入变慢。</description>
      
      <category>公众号, 编程</category>
      
      
      
      <category>C&#43;&#43;</category>
      
      <category>flat_set</category>
      
      <category>容器</category>
      
      <category>性能</category>
      
      <category>标准库</category>
      
      
    </item>
    
    <item>
      <title>Promise- 异步编程的强大工具</title>
      <link>https://yanlinlin.cn/2024/01/06/promise-powerful-tool-for-asynchronous-programming/</link>
      <pubDate>Sat, 06 Jan 2024 22:07:00 +0800</pubDate>
      <guid>https://yanlinlin.cn/2024/01/06/promise-powerful-tool-for-asynchronous-programming/</guid>
      <description>从回调地狱讲到异步对象的三种状态与链式调用，末尾给了几条实践建议。</description>
      
      <category>公众号, 编程</category>
      
      
      
      <category>JavaScript</category>
      
      <category>Promise</category>
      
      <category>异步编程</category>
      
      <category>小程序</category>
      
      <category>教程</category>
      
      
    </item>
    
    <item>
      <title>从C&#43;&#43;语法特性检查想到的</title>
      <link>https://yanlinlin.cn/2024/01/02/thoughts-from-cpp-feature-testing/</link>
      <pubDate>Tue, 02 Jan 2024 03:14:00 +0800</pubDate>
      <guid>https://yanlinlin.cn/2024/01/02/thoughts-from-cpp-feature-testing/</guid>
      <description>从语法特性检查说到预编译为何像历史遗留：标准推着编译器提前实现。</description>
      
      <category>公众号, 编程</category>
      
      
      
      <category>C&#43;&#43;</category>
      
      <category>编程</category>
      
      <category>预编译</category>
      
      <category>标准</category>
      
      <category>技术思考</category>
      
      
    </item>
    
    <item>
      <title>当前最新C&#43;&#43;标准是哪一版？</title>
      <link>https://yanlinlin.cn/2023/12/20/latest-cpp-standard/</link>
      <pubDate>Wed, 20 Dec 2023 11:33:00 +0800</pubDate>
      <guid>https://yanlinlin.cn/2023/12/20/latest-cpp-standard/</guid>
      <description>答案是 C++20：C++23 虽已修订定稿，却还在等最终审核发布，这个停了很久的系列就从这里重新开张。顺手回顾 98 到 20 每版加了什么，也讲清做生信的我为何仍愿意在创业里给 C++ 留位置。</description>
      
      <category>公众号, 编程</category>
      
      
      
      <category>C&#43;&#43;</category>
      
      <category>编程</category>
      
      <category>标准</category>
      
      <category>技术</category>
      
      
    </item>
    
    <item>
      <title>现代C&#43;&#43;学习笔记（8）：别名与代码化简</title>
      <link>https://yanlinlin.cn/2022/02/13/modern-cpp-study-notes-8-aliases-and-code-simplification/</link>
      <pubDate>Sun, 13 Feb 2022 23:30:00 +0800</pubDate>
      <guid>https://yanlinlin.cn/2022/02/13/modern-cpp-study-notes-8-aliases-and-code-simplification/</guid>
      <description>先讲宏展开的坑，再讲用模板和内联替代；末尾说清两种类型查询写法的差别。</description>
      
      <category>公众号, 编程</category>
      
      
      
      <category>C&#43;&#43;</category>
      
      
    </item>
    
    <item>
      <title>现代C&#43;&#43;学习笔记（7）：函数对象</title>
      <link>https://yanlinlin.cn/2022/02/12/modern-cpp-study-notes-7-function-objects/</link>
      <pubDate>Sat, 12 Feb 2022 23:49:00 +0800</pubDate>
      <guid>https://yanlinlin.cn/2022/02/12/modern-cpp-study-notes-7-function-objects/</guid>
      <description>别的语言想改良过 C++，而 C++ 自己的一招是重载调用运算符，让对象能像函数一样用。</description>
      
      <category>公众号, 编程</category>
      
      
      
      <category>C&#43;&#43;</category>
      
      
    </item>
    
    <item>
      <title>现代C&#43;&#43;学习笔记（6）：函数指针与函数引用</title>
      <link>https://yanlinlin.cn/2022/02/10/modern-cpp-study-notes-6-function-pointers-and-references/</link>
      <pubDate>Thu, 10 Feb 2022 01:05:00 +0800</pubDate>
      <guid>https://yanlinlin.cn/2022/02/10/modern-cpp-study-notes-6-function-pointers-and-references/</guid>
      <description>函数指针能在运行时挑一个同签名的来调，成员函数还得配合特定运算符和封装器。</description>
      
      <category>公众号, 编程</category>
      
      
      
      <category>C&#43;&#43;</category>
      
      
    </item>
    
    <item>
      <title>现代C&#43;&#43;学习笔记（5）：auto与型别推导</title>
      <link>https://yanlinlin.cn/2022/01/30/modern-cpp-study-notes-5-auto-and-type-deduction/</link>
      <pubDate>Sun, 30 Jan 2022 00:59:00 +0800</pubDate>
      <guid>https://yanlinlin.cn/2022/01/30/modern-cpp-study-notes-5-auto-and-type-deduction/</guid>
      <description>把自动类型推导当成省略版的模板推导，三种情形一一对应，只有花括号初始化是例外。</description>
      
      <category>公众号, 编程</category>
      
      
      
      <category>C&#43;&#43;</category>
      
      
    </item>
    
    <item>
      <title>现代C&#43;&#43;学习笔记（4）：auto的前世今生</title>
      <link>https://yanlinlin.cn/2022/01/25/modern-cpp-study-notes-4-auto-past-and-present/</link>
      <pubDate>Tue, 25 Jan 2022 00:01:00 +0800</pubDate>
      <guid>https://yanlinlin.cn/2022/01/25/modern-cpp-study-notes-4-auto-past-and-present/</guid>
      <description>先讲清那个关键字的老身份：在 C 里表示自动变量，早成了摆设；新标准把它改成了类型推导。</description>
      
      <category>公众号, 编程</category>
      
      
      
      <category>C&#43;&#43;</category>
      
      
    </item>
    
    <item>
      <title>现代C&#43;&#43;学习笔记（3）：指针与数组</title>
      <link>https://yanlinlin.cn/2022/01/19/modern-cpp-study-notes-3-pointers-and-arrays/</link>
      <pubDate>Wed, 19 Jan 2022 00:00:00 +0800</pubDate>
      <guid>https://yanlinlin.cn/2022/01/19/modern-cpp-study-notes-3-pointers-and-arrays/</guid>
      <description>指针和数组看着像，取长度的结果却不同；顺着讲到类型推导与编译期求值。</description>
      
      <category>公众号, 编程</category>
      
      
      
      <category>C&#43;&#43;</category>
      
      
    </item>
    
    <item>
      <title>现代C&#43;&#43;学习笔记（2）：型别推导基础</title>
      <link>https://yanlinlin.cn/2022/01/16/modern-cpp-study-notes-2-type-deduction-basics/</link>
      <pubDate>Sun, 16 Jan 2022 00:01:00 +0800</pubDate>
      <guid>https://yanlinlin.cn/2022/01/16/modern-cpp-study-notes-2-type-deduction-basics/</guid>
      <description>进正题前先垫地基：声明与定义之别、各数值类型的字节数、模板怎么消灭重载，以及值传递与引用传递。有了这些，才讲得清 Scott Meyers 归纳的模板型别推导三种情形。</description>
      
      <category>公众号, 编程</category>
      
      
      
      <category>C&#43;&#43;</category>
      
      
    </item>
    
    <item>
      <title>现代C&#43;&#43;学习笔记（1）：工具资源篇</title>
      <link>https://yanlinlin.cn/2022/01/10/modern-cpp-study-notes-1-tools-and-resources/</link>
      <pubDate>Mon, 10 Jan 2022 00:00:00 +0800</pubDate>
      <guid>https://yanlinlin.cn/2022/01/10/modern-cpp-study-notes-1-tools-and-resources/</guid>
      <description>开工前先把家伙备齐：编译器只有 gcc、clang、MSVC 三家跟得上新标准，图省事可以用在线编译。再配上 cppreference、STL 与 Boost，以及一搭经典书目。</description>
      
      <category>公众号, 编程</category>
      
      
      
      <category>C&#43;&#43;</category>
      
      
    </item>
    
    <item>
      <title>现代C&#43;&#43;学习笔记（0）：开篇</title>
      <link>https://yanlinlin.cn/2022/01/04/modern-cpp-study-notes-0-intro/</link>
      <pubDate>Tue, 04 Jan 2022 00:00:00 +0800</pubDate>
      <guid>https://yanlinlin.cn/2022/01/04/modern-cpp-study-notes-0-intro/</guid>
      <description>借着读《Effective Modern C++》的契机重学现代 C++，顺带交代那段拖延史：从 C++0x 一路拖到 C++11，如今三年一版。系列里会多结合生信背景来写。</description>
      
      <category>公众号, 编程</category>
      
      
      
      <category>C&#43;&#43;</category>
      
      
    </item>
    
  </channel>
</rss>
