Skip to content

Instantly share code, notes, and snippets.

View MangaD's full-sized avatar
📚
studying

David Gonçalves MangaD

📚
studying
View GitHub Profile
@MangaD
MangaD / x11_vs_wayland.md
Created March 27, 2026 14:25
X11 vs Wayland — A Deep, Complete Guide

🖥️ X11 vs Wayland — A Deep, Complete Guide


🧠 1. What Are X11 and Wayland?

📜 X11 (X Window System)

  • Introduced in 1984 at MIT
  • Current widely used version: X11 (X.Org Server)
@MangaD
MangaD / rr_debugger.md
Created March 26, 2026 22:16
rr Debugger — The Complete, In-Depth Guide for C++ Engineers (Record, Replay, and Reverse Debugging Mastery)

rr Debugger — The Complete, In-Depth Guide for C++ Engineers (Record, Replay, and Reverse Debugging Mastery)

CC0

Disclaimer: ChatGPT generated document.

Here’s the most complete practical guide I can give you about rr as a C++ engineer.

What rr is

@MangaD
MangaD / valgrind.md
Last active March 28, 2026 22:21
Valgrind for C++ Engineers: The Complete Deep-Dive into Memory Analysis, Debugging, and Runtime Instrumentation

Valgrind for C++ Engineers: The Complete Deep-Dive into Memory Analysis, Debugging, and Runtime Instrumentation

CC0

Disclaimer: ChatGPT generated document.

Valgrind is a dynamic binary instrumentation framework and tool suite. In practice, that means it runs your compiled program on a synthetic CPU, intercepts memory allocation and threading primitives, and attaches tool-specific analyses to every relevant instruction. The current official release is 3.26.0 dated 24 October 2025. The Valgrind distribution includes Memcheck, Cachegrind, Callgrind, Massif, Helgrind, DRD, DHAT, plus some other and experimental tools. ([valgrind.org][1])

For a C++ engineer, the one-sentence summary is: **Valgrind is still one of the best “truth serum” tools for native code correctness and low-level runtime inspection, especially for heap misuse, leaks, uninitialized-value flow, allocator mismatches, and ce

@MangaD
MangaD / cs101_meaning.md
Created March 24, 2026 17:34
From CS101 to Expertise: The Hidden Structure of Computer Science Education

From CS101 to Expertise: The Hidden Structure of Computer Science Education

CC0

Disclaimer: ChatGPT generated document.

If you’ve ever seen names like CS101, CS102, or CS301, you’ve already encountered a quiet but powerful system that shapes how knowledge is taught in modern universities.

At first glance, these look like arbitrary course codes. In reality, they encode an entire philosophy of learning — one that spans centuries of academic history and defines how computer science (and most disciplines) are taught today.

@MangaD
MangaD / top_cs_universities.md
Created March 24, 2026 16:44
🌍 The World’s Most Famous Universities for Computer Science — A Comprehensive Global Guide

🌍 The World’s Most Famous Universities for Computer Science — A Comprehensive Global Guide

CC0

Disclaimer: ChatGPT generated document.

Here is a comprehensive, structured list of the most famous (globally recognized) universities for Computer Science, based on consistent appearances across major rankings like QS, Times Higher Education (THE), and Research.com.

I’ve grouped them by tier and region, and included clear descriptions of what each is famous for in CS — not just rankings.

@MangaD
MangaD / cgroups.md
Last active March 22, 2026 10:27
What Are **cgroups** (Control Groups)?

What Are cgroups (Control Groups)?

CC0

Disclaimer: ChatGPT generated document.

cgroups — short for control groups — are a Linux kernel feature that lets you limit, prioritize, account for, and isolate resource usage (CPU, memory, I/O, etc.) of processes.

They are one of the core building blocks of modern container systems like Docker and Kubernetes.

@MangaD
MangaD / systemd.md
Created February 27, 2026 13:48
systemd — Everything You Need to Know

systemd — Everything You Need to Know

CC0

Disclaimer: ChatGPT generated document.

systemd is the dominant init system and service manager on modern Linux distributions. It is much more than “just PID 1” — it is a full userspace platform that manages:

  • Boot process
@MangaD
MangaD / macos_from_win_and_linux.md
Last active March 22, 2026 10:27
macOS Mastery for Windows & Linux Engineers — From User to System-Level Pro

macOS Mastery for Windows & Linux Engineers — From User to System-Level Pro

CC0

Disclaimer: ChatGPT generated document.

Great question — especially given your background.

Coming from Windows 11 + Linux as a software engineer, you’re in the perfect position to really understand macOS — not just use it.

@MangaD
MangaD / cpp_getter_setter_naming_conventions.md
Last active March 22, 2026 10:27
C++ Getter and Setter Naming Conventions

C++ Getter and Setter Naming Conventions

CC0

Disclaimer: ChatGPT generated document.

Typical C++ Convention

Most C++ codebases use one of these patterns:

@MangaD
MangaD / Entropy_Lehman-Laws_Conway-Law.md
Last active March 22, 2026 10:27
Entropy, Lehman’s Laws of Software Evolution, and Conway’s Law

Entropy

CC0

Disclaimer: ChatGPT generated document.

“Entropy” has a deep meaning in physics and information theory, and the idea has been borrowed into software engineering, systems design, and even project/organizational dynamics. I’ll unpack it from first principles, connect the dots rigorously, and show how the metaphor works in codebases, architectures, and teams.