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