Python 依赖管理工具的研究

太长不读 请使用 PDM. 混乱的 Python Python 的依赖管理工具 pip 一直被众多开发者吐槽。从我个人角度,pip 有三点致命缺陷: 无法解决 Python 依赖环境的隔离问题 依赖管理文件

Implementing Prometheus Exporter for Fluentbit

Background Fluent-bit is a great tool for logging and monitoring, many teams are using it to collect metrics and logs. Prometheus is also a popular tool for metrics analysis, but if you want to output Fluent-bit data to Prometheus, the only way is to use the node-exporter input plugin, which has fixed metrics and data format. In our case, we want to export specific input data into Prometheus, therefore we


本文内容摘录自 Technical Writing (谷歌技术文档写作指南)的第一部分。 本文适用于想要提高技术文档写作、技术领域日常沟通能力的读者,对于一些商务的、非文学性质


把那部手机丢进海里,让它陷入深处,没人能寻到。 看完《分手的决心》,我决心水一篇。今天跟大家一起分析分析电影里的细节。 影片开头的支线情节 电影的

3 Ways To Access Host System In Docker Container

When we are using Docker, we always access the host system by mounting the host folders as a volume. But sometimes we can not do that due to deployment reasons or security limits. There are three workaround ways to access the host system. 1. Mount docker.socks into container docker.socks is a Unix socket that Docker Engine API listens on. You can mount /var/run/docker.socks file to your container and call Docker Engine API through this socket.


早起又随性写点东西。 最近朋友圈被转载很多的一篇文章,来自 GQ 实验室对重轻老师的采访。里面有一段关于品味的叙述: ……审美的底层逻辑是能感受到那些

Notion As A Dashboard

I have built a Chrome extension 无用主意 during the last month. The backend service implemented by Flask is using Notion as a dashboard. Notion API If you want your service to connect to Notion, you have to create a Notion integration on this page. Afterward, you have to share a specific Notion page to the integration you just created. Now, you can call Notion API to visit