Rico's Nerd Cluster

「离开世界之前 一切都是过程」

Dockerd and Linux Futex

How Docker uses containerd, and how Linux futex works

Containerd containerd is the low-level container runtime that Docker uses under the hood. It manages image storage, pulling images, unpacking layers, and container lifecycle. For example, docker p...

Docker Compose Profile

Multi-Container Workflow

Simple Example On Docker Profile Profiles help you adjust your Compose application for different environments or use cases by selectively activating services. Services can be assigned to one or mo...

Docker Ignore

A .dockerignore file lives next to your Dockerfile and controls which files are excluded from the Docker build context. Why use .dockerignore? ✅ Faster builds: smaller context → quic...

Docker Workflow And Networking

VSCode Devcontainer

Pulling Containers & Networking When you run a container for the first time, Docker pulls the image and sets up networking based on defaults or your configuration. Bridge Networks (docker0) ...

Autonomous Vehicle Introduction

General Project Flow What the robot sees - Perception localization + mapping Navigation - Motion Planning Planning + control Autonomy Levels from SAE (Society of Automotive Engineers) ...

Computation Tools - Eigen Expression Templates and SIMD

Fused Computation

Eigen Expression Template. Optimization Impact: ⭐️⭐⭐️️⚪⚪ Expression templates are one of those “powerful but mysterious” C++ features that libraries like Eigen, Blaze, and even TensorFlow (C++) us...

Computation Tools - OpenCV, PCL, PCD, NanoFLANN

A Running List of Computer Vision Tools

OpenCV Image Processing cv::Mat Create a cv::Mat In C++: 1 2 3 4 5 6 7 8 // method 1 cv::Mat(another_mat); // method 2 cv::Mat A = (cv::Mat_<uchar>(1,2)<<1,2); //CV_8U // method ...

Things About Leetcode Before That Coding Interview

Leetcode IDE Tips, Common Leetcode Problems, C++ Commands, String

Introduction At the bare minimum, it’s good to have a solid understanding of 2 Pointers, sliding window, BFS/DFS, Trees, Graphs, Stacks, Queus, Hash Maps. Leetcode IDE Tips No Global Variables ...

Foundamental Structure of Programs

Callstack

Callstack A callstack is a stack of frames, where a frame represents an active call. Each frame has: return address (where the function returns after it completes), local variables. E.g., if func...

C++ - Rounding

llround llround follows round half away from zero (not bankers rounding)., and returns long long 1 2 3 4 5 6 7 std::llround(2.3) → 2 std::llround(2.5) → 3 std::llround(2.7) → 3 std::llr...