Pay back tech debt Tech debt is like a credit card for your codebase. Easy to get into, hard to get out of.
The phenomenon(现象) known as software rot(软件腐烂) has several symptoms(症状):
Decreasing MTBF (meantime between failure 平均故障间隔时间): the software fails more often and there are increasingly more incidents. Increasing LT (lead time): for features that have similar user value, the time it takes for implementation, review, deploy and release increases over time.
Architectural Pattern An architectural pattern is a proven structural organisation organisation schema for software systems.
LAYERS PATTERN The Layer pattern helps to structure applications that can be decomposed into groups of subtasks, each of which is at a particular level of abstraction. Each layer provides services to the next higher layer.
This pattern has the following benefits: A lower layer can be used by different higher layers. The TCP layer from TCP/IP connections, for instance, can be resued without changes by various applications, such as telnet or FTP.
Introduction to Web Development What is web development? Web development is basically the creation of website pages - either a single page or many pages.
How do websites works? Client-Server Mode
What are frontend and backend? FRONTEND BACKEND Language HTML,CSS and JavaScript Go,Python and Java Learning the Basics – HTML, CSS and JavaScript HTML Hyper Test Markup Language, HTML is like the mother of all the websites. CSS: The Cascading Style Sheets, CSS, causes the website to appear more appealing.
Setting Up a Home Lab The main compoennets of the home software lab
Computing power This is the main horsepower of your lab and consists of the physical server and CPU(s) your intend to use. The more physical processors the better, as well as the more CPU cores too.
Memory The amount of memory(RAM) your labs makes available for use is an intrinsic component of your lab. Unless you run specific workloads, you may be surprised to find out that the total amount of RAM in your lab can be more important than the amount of computing power you have available.
Intro To Ceph A Ceph Storage Cluster requires at least one Ceph Monitor, Ceph manager, and Ceph OSD (Object Storage Daemon). The Ceph Metadata Server is also required when running Ceph File System clients.
Handle Context Deadline Exceeded Error Context Deadline Exceeded is an error occurring in Go when a context of an HTTP request has a deadline or a timeout set, i.e., the time after which the request should abort.
context_deadline_exeeded.go
Handle ‘connection reset by peer’ error The connection reset by peer is a TCP/IP error that occurs when the other end (peer) has unexpectedly closed the connection. It happends when you send a packet from your end, but the other end crashes and forcibly closes the connection with the RST packet instead of the TCP FIN, which is used to close a connection under normal circumstances.
Docker in Action Docker Docker is a tool that enables your to create,deploy,and run applications using containers.
Docker-compose Restart Policies Docker Compose no: It means never attempt to restart the container if it stops or crashes. Remember to give single quotes ’no’ because in yaml file, if we give no without quotes, it is treated as false. always: If our container stops for any reason, always attempt to restart the stopped container.
Build Calibre Ebook Server Introduction calibre is a free and open source ebook manager that’s well known for its cross-platform desktop application. You can use calibre to manage your ebook library on a single device, but the application also includes a powerful server component. Setting up an ebook server allows your to:
Access your books from anywhere in the world Easily transfer your books to mobile devices Share books with your friends and family Prerequisites Step 1 - Downloading and Installing the calibre Content Server First, install some necessary dependencies
The Rust Programming Language Rust 开发工具 Cargo: 内置的依赖管理器和构建工具 Rustfmt: 确保开发者遵循一致的代码风格 Rust Language Server 集成开发环境(IDE)提供强大的代码补全和内联错误信息功能 Chapter 1 - 入门指南 1.1 - 安装
rustup: 一个管理Rust版本和相关工具的命令行工具
chyiyaqing in ~ at aapc at ☸️ v1.25.0 kubernetes-admin@kubernetes (istioinaction) … ➜ curl –proto '=https' –tlsv1.2 -sSf https://sh.rustup.rs | sh 检查安装是否正确
chyiyaqing in ~ at aapc at ☸️ v1.25.0 kubernetes-admin@kubernetes (istioinaction) took 3.6s … ➜ rustc –version rustc 1.66.0 (69f9c33d7 2022-12-12) 1.2 更新与卸载
chyiyaqing in ~ at aapc at ☸️ v1.