2026年8月30日

摘要: intro As a programmer, I spend my coding time exclusively in user space. It's easy to get the impression that if multiple threads need to access a sha 阅读全文
posted @ 2026-08-30 18:47 tsecer 阅读(4) 评论(0) 推荐(0)

2026年7月26日

摘要: intro There is a quote from Harold Abelson: "Programs must be written for people to read, and only incidentally for machines to execute". But program 阅读全文
posted @ 2026-07-26 18:59 tsecer 阅读(6) 评论(0) 推荐(0)

2026年6月7日

摘要: intro c++11 introduces a lot of interesting features including atomic. Thinking about it, you may find std::atomic is actually a machine-dependent fea 阅读全文
posted @ 2026-06-07 18:37 tsecer 阅读(14) 评论(0) 推荐(0)

2026年5月24日

摘要: intro If you inspect the structure of vcpkg in your local file system, you may notice that the source code of the package is located in a directory li 阅读全文
posted @ 2026-05-24 13:22 tsecer 阅读(30) 评论(0) 推荐(0)

2026年4月18日

摘要: intro Recently I encouter a scenario where I would like to switch between two branch frequently, I wonder if there is a fast switch like bash's cd - c 阅读全文
posted @ 2026-04-18 23:27 tsecer 阅读(20) 评论(0) 推荐(0)

2026年3月22日

摘要: intro When using a VPN, I want it to automatically handle all system-wide traffic, rather than just acting as an HTTP proxy. How does OpenVPN achieve 阅读全文
posted @ 2026-03-22 22:25 tsecer 阅读(2) 评论(0) 推荐(0)

2026年2月8日

摘要: intro Openvpn server acts as a proxy for multiple clients. An intuitive deduction is that it will maintain a <protocol, src ip, dst ip, src port, dst 阅读全文
posted @ 2026-02-08 23:12 tsecer 阅读(1) 评论(0) 推荐(0)

2026年1月27日

摘要: intro There are mainly two ways to clone a repo from github: over HTTPS and ssh. A subtle difference can be noticed that the ssh address is not availa 阅读全文
posted @ 2026-01-27 22:26 tsecer 阅读(31) 评论(0) 推荐(0)

2025年12月6日

摘要: intro std::function颇有类似于python这种动态语言的特性:同一个类型可以容纳函数指针,类对象,lambda表达式等不同类型的调用方法。它既有动态语言的运行时灵活,又有静态语言的编译时安全。 更进一步,不同结构初始化的function可以放在同一个数组中。“数组”又是C/C++语 阅读全文
posted @ 2025-12-06 20:30 tsecer 阅读(37) 评论(0) 推荐(0)

2025年12月2日

摘要: intro vim中编辑一个文件时,如果文件在vim外被修改,那么vim会提示: W11: Warning: File "tsecer.md" has changed since editing started See ":help W11" for more info. [O]K, (L)oad 阅读全文
posted @ 2025-12-02 22:41 tsecer 阅读(46) 评论(0) 推荐(0)

导航