ShanSan
博文
归档
友链
关于
与我相关
Github
slides
notes
Monitor
云原生
暗黑模式
博文
归档
友链
关于
与我相关
Github
slides
notes
Monitor
云原生
暗黑模式
More & Less
created by yeshan333
博文
关于我
友链
开往
十年之约虫洞
境内访问
(译)Elixir Tip: Case vs. With
从 1.2 版本开始, with 运算符是需要点时间去理解的 ELixir 特性之一. 它经常在使用 case 的情形下使用, 反之亦然. 两者的不同在于如果没有可以匹配到的子句, with 将失败, 而 case 将抛出一个不匹配 (no-match) 的错误 (CaseClauseError). 是不是有一点点疑惑, 让我们从最基本的使用开始看看. 使用 case 进行精准匹配, 你非...
2022-11-26
Elixir
Elixir
阅读全文
the-solution-of-elixir-continuous-runtime-system-code-coverage-collection
zh_hans Code coverage is an effective means to assist software engineers in verifying code quality. The runtime environment’s ability to collect code coverage fully combines black and white box t...
2022-08-31
Elixir
Elixir
阅读全文
Elixir 连续运行时代码覆盖率采集方案
1. 浅谈代码覆盖率作为 SET 和 SWE, 我们经常需要编写单元测试或集成测试用例来验证系统/应用的正确性, 但同时我们也常会质疑我们的测试是否充分了. 这时测试覆盖率是可以辅助用来衡量我们测试充分程度的一种手段, 增强发布成功率与信心, 同时给了我们更多可思考的视角. 值的注意的是代码覆盖率高不能说明代码质量高, 但是反过来看, 代码覆盖率低, 代码质量不会高到哪里去. 大部...
2022-06-29
Elixir
Elixir
阅读全文
(译) Understanding Elixir Macros, Part 6 - In-place Code Generation
Elixir Macros 系列文章译文 [1] (译) Understanding Elixir Macros, Part 1 Basics [2] (译) Understanding Elixir Macros, Part 2 - Macro Theory [3] (译) Understanding Elixir Macros, Part 3 - Getting into the A...
2022-06-19
Elixir
Elixir
阅读全文
(译) Understanding Elixir Macros, Part 5 - Reshaping the AST
Elixir Macros 系列文章译文 [1] (译) Understanding Elixir Macros, Part 1 Basics [2] (译) Understanding Elixir Macros, Part 2 - Macro Theory [3] (译) Understanding Elixir Macros, Part 3 - Getting into the A...
2022-06-19
Elixir
Elixir
阅读全文
(译) Understanding Elixir Macros, Part 4 - Diving Deeper
Elixir Macros 系列文章译文 [1] (译) Understanding Elixir Macros, Part 1 Basics [2] (译) Understanding Elixir Macros, Part 2 - Macro Theory [3] (译) Understanding Elixir Macros, Part 3 - Getting into the A...
2022-06-19
Elixir
Elixir
阅读全文
(译) Understanding Elixir Macros, Part 3 - Getting into the AST
Elixir Macros 系列文章译文 [1] (译) Understanding Elixir Macros, Part 1 Basics [2] (译) Understanding Elixir Macros, Part 2 - Macro Theory [3] (译) Understanding Elixir Macros, Part 3 - Getting into the A...
2022-06-19
Elixir
Elixir
阅读全文
(译) Understanding Elixir Macros, Part 2 - Macro Theory
Elixir Macros 系列文章译文 [1] (译) Understanding Elixir Macros, Part 1 Basics [2] (译) Understanding Elixir Macros, Part 2 - Macro Theory [3] (译) Understanding Elixir Macros, Part 3 - Getting into the A...
2022-06-19
Elixir
Elixir
阅读全文
(译) Understanding Elixir Macros, Part 1 Basics
Elixir Macros 系列文章译文 [1] (译) Understanding Elixir Macros, Part 1 Basics [2] (译) Understanding Elixir Macros, Part 2 - Macro Theory [3] (译) Understanding Elixir Macros, Part 3 - Getting into the A...
2022-06-18
Elixir
Elixir
阅读全文
(译) 理解 Prometheus 的范围向量 (Range Vector)
Prometheus 中 Range Vector 的概念是有一点不直观的,除非你彻底阅读并理解了官方提供的文档。谁会这样做呢,去读官方文档?大多的人应该会花些错误的时间去做了一些错误的事情,然后随机去寻找一篇像本文一样的文章去理解这个概念,不是吗? 什么是 Vector由于 Prometheus 是一个时序型的数据库,所以所有的数据都在基于时间戳的上下文中被定义。由时间戳到记录数据的映射(...
2022-04-23
Prometheus
Prometheus
阅读全文
上一页
3 / 17
下一页
粘贴文本
全选文本
剪切文本
复制文本
站内搜索
必应搜索
新标签页打开
复制链接地址
复制图片
谷歌识图
Google
Slides
GitHub
shan333.cn
暗黑模式
打印页面
阅读模式