May 2022

Lie flat for a day, chest stiff

Original link: http://gojira.net/2022-05-29.htm May 29, 2022 Sunday, April 29, 2022 in the lunar calendar [Year of the Tiger] The Gregorian calendar is Renyin year, Ottosi month, Renwu, Gemini today, 22~25 degrees, moderate rain, sunny. When I woke up in the morning, it was raining, and I basically had a bottom line, and I decided not

Lie flat for a day, chest stiff Read More »

How to implement an architecture workbench? Let’s see how ArchGuard is implemented.

Original link: http://www.phodal.com/blog/build-architecture-workbench/ Building an architecture workbench is not an easy task, involving a series of compiler-related knowledge, editor-related knowledge, and of course, its core architecture-related knowledge. This article is reprinted from: http://www.phodal.com/blog/build-architecture-workbench/ This site is for inclusion only, and the copyright belongs to the original author.

How to implement an architecture workbench? Let’s see how ArchGuard is implemented. Read More »

How Ansible Empty Folders

Original link: https://www.lfhacks.com/tech/ansible-clear-a-directory/ Ansible is used to execute commands on remote hosts. If you want to clear the contents of a certain folder, how should you configure a playbook? This article is reprinted from: https://www.lfhacks.com/tech/ansible-clear-a-directory/ This site is for inclusion only, and the copyright belongs to the original author.

How Ansible Empty Folders Read More »

Document zookeeper cluster migrations and error-prone points

Original link: https://nicksxs.me/2022/05/29/%E8%AE%B0%E5%BD%95%E4%B8%8B-zookeeper-%E9%9B%86%E7%BE%A4 %E8%BF%81%E7%A7%BB/ I did a zk cluster upgrade and migration a while ago, probably it turned out to be a three-node zk cluster (the minimum available is about This article is reprinted from: https://nicksxs.me/2022/05/29/%E8%AE%B0%E5%BD%95%E4%B8%8B-zookeeper-%E9%9B%86%E7%BE%A4 %E8%BF%81%E7%A7%BB/ This site is for inclusion only, and the copyright belongs to the original author.

Document zookeeper cluster migrations and error-prone points Read More »

“From thesis to code, the engineering practice of academic research” live screen recording

Original link: https://www.kingname.info/2022/05/29/gne-origin/ PyCon China Python Meetup 2021 was originally planned to be held offline in 2021. Due to the force majeure of the epidemic, it was postponed to today’s online event. The topic I share today is “From paper to code, the engineering practice of academic research”. This paper introduces the origin of Gne-the

“From thesis to code, the engineering practice of academic research” live screen recording Read More »

One skill a day: Any and TypeVar, make the IDE’s auto-completion easier to use

Original link: https://www.kingname.info/2022/05/29/any-vs-typevar/ I believe that many students will use type annotations to improve the readability of the code when writing Python, and also help the IDE to achieve automatic completion. Suppose we now get an object, this object may be a list or a generator, I write a function to get its first element.

One skill a day: Any and TypeVar, make the IDE’s auto-completion easier to use Read More »

Chiang Mai accompanying student visa study process

Original link: https://shoucang.zyzhang.com/%E6%B8%85%E8%BF%88%E9%99%AA%E8%AF%BB%E7%AD%BE%E8%AF%81% E7%95%99%E5%AD%A6%E8%BF%87%E7%A8%8B/ In fact, it was October 2020 when we started planning to go out. The whole process was not recorded much at that time. One of the reasons was actually because of the epidemic, which caused great changes in the process. If it was before the epidemic, in fact, many times, it

Chiang Mai accompanying student visa study process Read More »

Easy Python Tutorial

Original link: https://hsiaofeng.com/archives/190.html This is a tutorial for coping with the middle school exam. It aims to quickly learn some basic Python operations and cope with the exam. Take a simple math problem as an example: A bottle of Coke costs 3 yuan, and Xiao Ming bought 2 bottles. How much does he have to

Easy Python Tutorial Read More »