share

基本信息 Fitness 概况 训练时长2年 体重:63kg 卧推:90kg 硬拉:150kg 深蹲:130kg 自重引体向上:25+个 负重25Kg引体向上:10+个 微习惯 降低实施成本,正反馈 个人锻炼习惯养成: 从起步每天 5 个引体向上开始 到每天 10 个引体向上 到每天 50 个引体向上 到每天 100 个引体向上 从徒手训练到健身房 新手上路,从观看健身视频开始,照猫画虎 推荐健身博主 纯干货版: 实战类, 详细动作教程:凯圣王 https://m.bilibili.com/space/2100737396 日常类, 健身经验分享:烧毁一切就是美 https://m.bilibili.com/space/1024129080 理论类, 健身知识科普:仰望尾迹云 https://m.bilibili.com/space/1879203169 虎扑评价: 训练思路 分化训练 五分化:胸背肩腿臂,代谢压力大,恢复慢,不适合新手 三分化:胸背腿(推拉蹲),代谢压力小,恢复快,适合新手 四分化:胸肩背腿 + 手臂/腹部,代谢压力小,恢复快,容错性高 质量、数量、重量 数量 x 重量 = 训练容量 追求质量,放下虚荣心,比如卧推触胸、引体向上肩膀下回旋 简单的动作做高级 补剂 辨别智商税 蛋白粉:增肌 肌酸:增力 减脂 65kg -> 70kg 新手福利期(新手膨胀期):不做饮食,脂包肌 70kg -> 57kg 减脂:饮食 + 无氧 + 有氧 [Read More]

share_11_14

share_11_14 Basic Info Fitness 训练概况 微习惯 从徒手训练到健身房 新手上路,从观看健身视频开始, 实战类, 详细动作教程:凯圣王 https://m.bilibili.com/space/2100737396 日常类, 健身经验分享:烧毁一切就是美 https://m.bilibili.com/space/1024129080 理论类, 健身知识科普:仰望尾迹云 https://m.bilibili.com/space/1879203169 训练思路 数量 x 重量 = 训练容量 追求质量,放下虚荣心,比如卧推触胸、引体向上肩膀下回旋 简单的动作做高级 补剂 辨别智商税 减脂增肌 体脂率11%: 关键因素 English 这个世界上90%的信息都是 written in English 的,所以学好英文确实对人大有裨益。 可理解性输入 南加州大学的荣休教授斯蒂芬•克拉申(Stephen D.Krashen)博士的假说理论 罗肖尼 https://m.bilibili.com/video/BV1aD4y127GE 阅读篇 词汇积累 如何永久的记住一个单词? 推荐 medium https://medium.com/ 听力篇 精听 听写 Daily Dictation https://dailydictation.com/ 泛听 Podcast 通勤路上听,健身时候听 口语篇 AI 口语教练 付费版: ChatGPT通话模式 免费版: Pi https://pi.ai/discover 真人口语老师 性价比版: pdd 菲教 高价版: Cambly 欧美外教 [Read More]

Docker

Docker Guidelines Dockerfile Best Practices Use Official Base Images Why: Official images are maintained and frequently updated, ensuring reliability and security. How: FROM node:14-alpine Minimize Image Size Why: Smaller images lead to faster deployments and reduced storage costs. How: Use minimal base images (e.g., Alpine Linux). Remove unnecessary packages and files. Combine commands to reduce layers. RUN apt-get update && \ apt-get install -y package1 package2 && \ rm -rf /var/lib/apt/lists/* Leverage Caching Why: Utilizing Docker’s layer caching speeds up builds. [Read More]

Kubernetes

Introduction Kubernetes (k8s) is an open-source container orchestration platform that automates the deployment, scaling, and management of containerized applications. Kubernetes Architecture Masters The master node manages the Kubernetes cluster. It coordinates all activities, such as scheduling, scaling, and updating applications. Components: API Server: The front-end of the Kubernetes control plane. etcd: A distributed key-value store for configuration data. Controller Manager: Manages controllers that handle routine tasks. Scheduler: Assigns workloads to nodes based on resource availability and policies. [Read More]

Lua

Introduction to Lua Lua is a powerful, efficient, lightweight, embeddable scripting language. It is designed to be embedded in other applications, providing flexibility and extensibility. Lua is widely used in game development, embedded systems, web applications, and more due to its simple syntax, fast execution, and ease of integration. What is Lua? Key Features Lightweight and Fast: Lua is designed to have a small footprint and execute rapidly, making it ideal for performance-critical applications. [Read More]

Nginx

Introduction to Nginx Nginx (pronounced as “Engine-X”) is a high-performance, open-source web server, reverse proxy server, and email (IMAP/POP3) proxy server. It is renowned for its ability to handle high concurrency, low memory usage, and exceptional speed, making it a popular choice for serving both static and dynamic content on the web. What is Nginx? Key Features High Performance: Ability to handle thousands of concurrent connections with minimal memory footprint. Reverse Proxying: Acts as an intermediary for requests from clients seeking resources from servers. [Read More]

Openresty

Introduction to OpenResty OpenResty is a dynamic web platform that integrates Nginx with the powerful Lua scripting language. It is designed to build scalable web applications, web services, and dynamic web gateways. By combining the high performance of Nginx with the flexibility of Lua, OpenResty enables developers to handle complex processing at the edge of the network. What is OpenResty? OpenResty extends Nginx by bundling it with a set of powerful Lua libraries and modules (known as LuaJIT). [Read More]

Go's Common Data Structures

1. Strings Strings in Go are immutable sequences of bytes, typically used to represent UTF-8 encoded text. Structure type stringStruct struct { str unsafe.Pointer len int } Memory Layout stringStruct +----------------+ | str (uintptr) | ---> [byte array] | len (int) | +----------------+ Detailed Implementation Creation When a string literal is used, the compiler allocates the bytes in read-only memory. Runtime string creation (e.g., string concatenation) allocates new memory and copies bytes. [Read More]

Tree

Binary Tree A binary tree is a tree data structure in which each node has at most two children, referred to as the left child and the right child. B-Tree A B-tree is a self-balancing tree data structure that maintains sorted data and allows searches, sequential access, insertions, and deletions in logarithmic time. It is optimized for systems that read and write large blocks of data. B+ Tree A B+ tree is an extension of a B-tree, optimized for systems that read and write large blocks of data. [Read More]

Data Structure Interview

What is the difference between an array and a linked list? Array: Fixed size (in most languages) Contiguous memory allocation Fast random access Insertion/deletion is expensive (except at the end) Linked List: Dynamic size Non-contiguous memory allocation Slow random access Fast insertion/deletion Explain the difference between a stack and a queue. Stack: Last-In-First-Out (LIFO) structure Push (insert) and pop (remove) operations occur at the same end Used for function calls, undo mechanisms, expression evaluation Queue: [Read More]