Python的禅

Posted on Tue 14 October 2025 in Tech • Tagged with tech, python, programming, code, development

翻译自https://peps.python.org/pep-0020

  1. 优美胜于丑陋 Beautiful is better than ugly.
  2. 明了胜于晦涩 (Explicit is better than implicit.)
  3. 简洁胜于复杂 (Simple is better than complex.)
  4. 复杂胜于凌乱(Complex is better …

Continue reading

光猫不改桥接的ipv6网络配置

Posted on Wed 18 June 2025 in Tech • Tagged with vim

mermaid

graph LR
光猫 --> ASUS
ASUS --> R2S
ASUS --> NAS
R2S --> 小米
小米 --> PC

光猫:未改桥接,关ipv6防火墙,DMZ到ASUS
ASUS:做主路由,开ipv6防火墙,ipv6选passthrough模式
R2S:关ipv6防火墙,所有接口ipv6都选中继模式
小米:改成中继模式当成 …


Continue reading

十年Kubernetes:过去、现在和未来

Posted on Mon 30 December 2024 in Tech • Tagged with architect

十年Kubernetes:过去、现在和未来

翻译自https://thenewstack.io/10-years-of-kubernetes-past-present-and-future/

Matt Butcher 回顾了事情的起点,Kubernetes走向成熟的历程,以及它在WebAssembly运动中的潜力。

2024年6月12日上午10:00 由 Matt Butcher 撰写

今年,Kubernetes 迎来了它的十岁 …


Continue reading

Learn excalidraw

Posted on Fri 08 November 2024 in Tech • Tagged with architect, draw

https://excalidraw.com/

Keyboard shortcuts

Tools

Tool Press This
Hand (panning tool) H
Selection V or 1
Rectangle R or 2
Diamond D or 3
Ellipse O or 4
Arrow A or 5
Line L or 6
Draw P or 7
Text T or 8
Insert image 9
Eraser E …

Continue reading

Linux Terminal Apps

Posted on Thu 07 November 2024 in Tech • Tagged with Linux, Terminal

zellij

把这个放在最前面的目的,是因为这是后面所有软件的外壳。
终端的分屏工具,原来我是用tmux的,目前已完全换到了zellij,同类 …


Continue reading

Build - The first pillar

Posted on Sun 20 October 2024 in Tech • Tagged with feature toggle

What is Build?

The Build pillar addresses the use of feature flags for building and delivering new features, bug fixes, and code changes of any kind. While much of this category deals with release management, we've named it "Build" because of the critical role feature flags also play in pre-release …


Continue reading

Empower - The fourth pillar

Posted on Sun 20 October 2024 in Tech • Tagged with feature toggle

What is Empower?

Empower, the fourth and final pillar of feature management, reimagines the process of giving users access to your software. It applies especially, though not exclusively to managing entitlements. In a software context, “entitlements” refers to the act of enabling or disabling features, services, and products for customers …


Continue reading

The definitive guide to feature management.

Posted on Sun 20 October 2024 in Tech • Tagged with feature toggle

What is feature management?

Feature management is a new class of software development tools and techniques powered by feature flags. A feature flag is a lever of control within your code (an if-else statement) that decouples code deployments from feature releases. Developers have used some variation of feature flags for …


Continue reading

Hexagonal architecture pattern

Posted on Sun 20 October 2024 in Tech • Tagged with architect

Intent

The hexagonal architecture pattern, which is also known as the ports and adapters pattern, was proposed by Dr. Alistair Cockburn in 2005. It aims to create loosely coupled architectures where application components can be tested independently, with no dependencies on data stores or user interfaces (UIs). This pattern helps …


Continue reading

Improving flag usage in code

Posted on Sun 20 October 2024 in Tech • Tagged with feature toggle

Improving flag usage in code

Read time: 10 minutes
Last edited: Sep 18, 2024

Overview

This guide provides best practices and suggestions for improving code that uses feature flags. These practices can improve both code quality and ease of maintenance.

You can use code in tandem with your feature flags …


Continue reading