Rico's Nerd Cluster

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

C++ - Build A Reflection Configuration That Loads Fields From YAML Without Manual Loading

reflection

Introduction Reflection is the ability of an application to examine and modify its fields during runtime. In cpp, as we know, is a compiled language. If we have a configuration object, we need to ...

Web Devel - web-crawler-toyota-rav4-crawler

Google Drive

Complete web crawler code can be found here Beautiful Soup and Selium Beautiful Soup is a Python library for parsing HTML and XML document. It is able to extract elements by class or ids in stati...

Web Devel - Storing Data on Google Drive

Google Drive

For personal projects, all AWS services will start charging once one service starts. Google drive on the other hand, gives everybody 5GB of storage for free. So for infrequent data read / write, Go...

Raspberry Pi 4B

Serial Setup, Ubuntu Core

Set Up Rpi For Serial Communication Enable rpi serial: 1 sudo raspi-config Rpi has an option to allow a user to login to the system via serial. Choose no Answe...

ROS1 Infrastructure Notes

A Running List of ROS1 Infrastructure I found Useful

ROS Basics Where ROS binaries are stored In ROS, many packages come in the C++ binary form. They are installed through apt, and are stored in /opt/ros/noetic/lib. ROS Actions The ROS Action rea...

CMake - Concepts and Options

CMake Concepts, Compile Options, Commands, CMake-Format, Header-Only Library, Static Library, fPIC

Concepts CMake is a “write-only” language 😉, because it was only meant to be written, not for reading, jokingly. This is because: The syntax is not quite a real scripting language CMake uses...

My Journey Into CUDA

GPU Architecture, Tensor Cores, SIMD SIMT, Pinned Memory

A Great introduction video can be found here GPU (GA102) Architecture A graphics card’s brain is its GPU. NVidia’s Ampere GPU architecture family has GA102 and GA104. GA102 is shared across NVidi...

Bash Magic

Bash is great. Here is a list of bash tricks & knowledge points that I found magical

Builtins Declare The declare builtin is used to explictly declare variables declare -r var is to declare a read-only variable 1 2 declare -r var="123" var="456" # see "var: readonly varia...

C++ - [Memory Access - 1] Layout

Cache

Memory Access: The Hidden Bottleneck Reference Why Memory Access Matters Even as CPU speeds continue to improve, the cost of fetching data from memory has become a limiting factor. Operating sys...

C++ Tool Websites

CppInsights, Compiler Explorer, Conan

CppInsights CppInsights does these things: how the standard library objects (like stringstream, vector, etc.) get instantiated how overloaded operators are actually resolved. 1 2 3 4 5 6 7...