Skip to content

Commit 2c48c39

Browse files
committed
Update Notes (Game Development , Multiplayer Networking) and Trying to Clear messing Connecting page links and Imrpove stature
1 parent 42d6962 commit 2c48c39

12 files changed

Lines changed: 1382 additions & 405 deletions

pages/Advanced Graphics.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ displayTitle: Advanced Graphics Programming
103103
GPU Driven Rendering
104104
Multi-threading
105105
```
106+
-
106107
- # GPU Architecture
107108
collapsed:: true
108109
- > [!info] Why This Matters
@@ -178,6 +179,7 @@ displayTitle: Advanced Graphics Programming
178179
| Fence | CPU-GPU | CPU waits for GPU work to finish |
179180
| Pipeline barrier (Vulkan) | Command buffer | Transition resource states |
180181
| Event | Command buffer | Fine-grained sync within a queue |
182+
-
181183
- # [[Vulkan]]
182184
collapsed:: true
183185
- > [!info] What is Vulkan?
@@ -389,6 +391,7 @@ displayTitle: Advanced Graphics Programming
389391
RGen --> RClose
390392
RGen --> RMiss
391393
```
394+
-
392395
- # [[DirectX]] 12
393396
collapsed:: true
394397
- > [!info] What is DirectX 12?
@@ -520,6 +523,7 @@ displayTitle: Advanced Graphics Programming
520523
device->CreateShaderResourceView(texture, &srvDesc,
521524
srvHeap->GetCPUDescriptorHandleForHeapStart());
522525
```
526+
-
523527
- # [[Metal]] (Apple)
524528
collapsed:: true
525529
- > [!info] What is Metal?
@@ -641,6 +645,7 @@ displayTitle: Advanced Graphics Programming
641645
return float4(color.rgb * ndotl, color.a);
642646
}
643647
```
648+
-
644649
- # [[WebGPU]]
645650
collapsed:: true
646651
- > [!info] What is WebGPU?
@@ -758,6 +763,7 @@ displayTitle: Advanced Graphics Programming
758763
return textureSample(myTexture, mySampler, in.uv);
759764
}
760765
```
766+
-
761767
- # [[Shader Programming]]: HLSL (High-Level Shading Language)
762768
collapsed:: true
763769
- > [!info] What is HLSL?
@@ -890,6 +896,7 @@ displayTitle: Advanced Graphics Programming
890896
| `NORMAL` | VS in | Vertex normal |
891897
| `TEXCOORD0-7` | VS in/out | Texture coordinates |
892898
| `COLOR0-1` | VS in/out | Vertex color |
899+
-
893900
- # GLSL Advanced
894901
collapsed:: true
895902
- > [!info] GLSL in Modern Pipelines
@@ -987,6 +994,7 @@ displayTitle: Advanced Graphics Programming
987994
dxc -spirv -T ps_6_6 -E PSMain shader.hlsl -Fo frag.spv
988995
dxc -spirv -T cs_6_6 -E CSMain shader.hlsl -Fo comp.spv
989996
```
997+
-
990998
- # Advanced Rendering Techniques
991999
collapsed:: true
9921000
- ## Render Graph
@@ -1114,6 +1122,7 @@ displayTitle: Advanced Graphics Programming
11141122
| Culling | CPU or geometry shader | Task shader on GPU |
11151123
| LOD | CPU-side | Task shader on GPU |
11161124
| Procedural geo | Geometry shader (slow) | Native, fast |
1125+
-
11171126
- # PBR — Physically Based Rendering
11181127
collapsed:: true
11191128
- > [!info] PBR Standard
@@ -1180,6 +1189,7 @@ displayTitle: Advanced Graphics Programming
11801189
return (diffuse + specular) * lightColor * NdotL;
11811190
}
11821191
```
1192+
-
11831193
- # Performance & Optimization
11841194
collapsed:: true
11851195
- ## GPU Profiling Tools
@@ -1224,19 +1234,9 @@ displayTitle: Advanced Graphics Programming
12241234
| Use MAD instructions | Single cycle multiply-add | `a * b + c` compiles to MAD |
12251235
| Avoid dynamic indexing | Breaks compiler optimization | Use constant indices when possible |
12261236
| Pack data tightly | Better cache utilization | Use `vec4` not 4 separate `float` |
1227-
- # Logseq Graph Connections
1228-
collapsed:: true
1229-
- tags:: graphics-programming, vulkan, directx, metal, webgpu, hlsl, glsl, gpu, rendering, shaders
1230-
- Related pages:
1231-
- [[Game Development]] — engine-level rendering concepts (rasterization, lighting, shaders overview)
1232-
- [[PathTracer Learning]] — full GPU path tracer implementation with Vulkan RT
1233-
- [[Godot]] — Godot shading language and RenderingDevice
1234-
- [[Unity]] — Unity URP/HDRP shader graph and HLSL
1235-
- [[Unreal Engine]] — Unreal material system and HLSL
1236-
- [[Cpp]] — C++ language reference for graphics programming
1237-
- [[Rust]] — Rust with wgpu for WebGPU native
1238-
- [[Game Design]] — design concepts that drive rendering requirements
1237+
-
12391238
- # More Learn
1239+
collapsed:: true
12401240
- ## Official Documentation
12411241
- [Vulkan Specification](https://registry.khronos.org/vulkan/specs/1.3/html/) — Official Vulkan spec. Comprehensive reference.
12421242
- [Vulkan Tutorial](https://vulkan-tutorial.com/) — Best free Vulkan tutorial. Covers full pipeline from scratch.

pages/Arch Linux.md

Lines changed: 17 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ enableToc: true
4343
2022 → 20th anniversary; linux-zen added to official repos
4444
2024 → Arch continues as the gold standard rolling-release distro
4545
```
46-
46+
-
4747
- # Introduction
4848
collapsed:: true
4949
- ## What is Arch Linux?
@@ -113,7 +113,7 @@ enableToc: true
113113
| ArcoLinux | Learning Arch | GUI | Educational focus |
114114
| CachyOS | Performance-optimized | GUI | Custom kernel, BORE scheduler |
115115
| Parabola | 100% free software | Manual | FSF-endorsed |
116-
116+
-
117117
- # Installation
118118
collapsed:: true
119119
- ## System Requirements
@@ -404,7 +404,7 @@ enableToc: true
404404
sudo pacman -S gnome gnome-extra gdm
405405
sudo systemctl enable gdm
406406
```
407-
407+
-
408408
- # Kernel & Architecture
409409
collapsed:: true
410410
- ## Available Kernels
@@ -531,8 +531,8 @@ enableToc: true
531531
# GRUB_DISABLE_OS_PROBER=false
532532
sudo grub-mkconfig -o /boot/grub/grub.cfg
533533
```
534-
535-
- # pacman Package Manager
534+
-
535+
- # Pacman Package Manager
536536
collapsed:: true
537537
- ## What is pacman?
538538
- **pacman** is Arch Linux's native package manager — fast, simple, and powerful.
@@ -728,7 +728,7 @@ enableToc: true
728728
extra-testing
729729
multilib-testing
730730
```
731-
731+
-
732732
- # AUR (Arch User Repository)
733733
collapsed:: true
734734
- ## What is the AUR?
@@ -883,7 +883,7 @@ enableToc: true
883883
| aura | Haskell | Fast | Multi-backend | Unique design |
884884
- > [!info]
885885
> **paru** is generally recommended over yay for new installs — it's faster (Rust), shows PKGBUILD diffs by default, and has better security defaults.
886-
886+
-
887887
- # Shell & Terminal
888888
collapsed:: true
889889
- ## Default Shell
@@ -1093,7 +1093,7 @@ enableToc: true
10931093
# source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
10941094
# source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
10951095
```
1096-
1096+
-
10971097
- # User & Group Management
10981098
collapsed:: true
10991099
- ## Account Types
@@ -1209,8 +1209,8 @@ enableToc: true
12091209
# Check polkit actions
12101210
pkaction --verbose --action-id org.freedesktop.systemd1.manage-units
12111211
```
1212-
1213-
- # Systemd & Service Management
1212+
-
1213+
- # System & Service Management
12141214
collapsed:: true
12151215
- ## systemctl — Service Control
12161216
- ```bash
@@ -1360,7 +1360,7 @@ enableToc: true
13601360
sudo systemctl enable --now backup.timer
13611361
systemctl list-timers --all
13621362
```
1363-
1363+
-
13641364
- # Networking
13651365
collapsed:: true
13661366
- ## Network Tools
@@ -1544,7 +1544,7 @@ enableToc: true
15441544
ssh -R 8080:localhost:80 user@host # remote port forward
15451545
ssh -D 1080 user@host # SOCKS proxy
15461546
```
1547-
1547+
-
15481548
- # Desktop Environments
15491549
collapsed:: true
15501550
- ## Installing a Desktop Environment
@@ -1677,7 +1677,7 @@ enableToc: true
16771677
sudo pacman -S xorg-xwayland
16781678
# Most Wayland compositors include XWayland support automatically
16791679
```
1680-
1680+
-
16811681
- # Security
16821682
collapsed:: true
16831683
- ## Security Overview
@@ -1846,7 +1846,7 @@ enableToc: true
18461846
# Update regularly (most important security practice)
18471847
sudo pacman -Syu
18481848
```
1849-
1849+
-
18501850
- # System Maintenance
18511851
collapsed:: true
18521852
- ## The Golden Rule
@@ -2034,9 +2034,8 @@ enableToc: true
20342034
# IgnorePkg = packagename
20352035
# IgnorePkg = pkg1 pkg2 pkg3
20362036
```
2037-
2037+
-
20382038
- # Arch Wiki
2039-
collapsed:: true
20402039
- ## What is the Arch Wiki?
20412040
- The **Arch Wiki** (`wiki.archlinux.org`) is the most comprehensive Linux documentation resource on the internet.
20422041
- Used by users of **all** Linux distributions — not just Arch users.
@@ -2119,7 +2118,7 @@ enableToc: true
21192118
yay -S arch-wiki-lite
21202119
wiki-search "pacman"
21212120
```
2122-
2121+
-
21232122
- # More Learn
21242123
- ## Official Resources
21252124
- [Arch Linux Official Website](https://archlinux.org) — downloads, news, packages
@@ -2142,13 +2141,7 @@ enableToc: true
21422141
- [The Linux Cast](https://www.youtube.com/@TheLinuxCast) — Arch tips and workflows
21432142
- [typecraft](https://www.youtube.com/@typecraft_dev) — Neovim, terminal, Arch setup
21442143
- [Dreams of Autonomy](https://www.youtube.com/@dreamsofautonomy) — dotfiles, Hyprland, Arch ricing
2145-
- ## Related Notes
2146-
- [[Linux Advanced]] — advanced Linux concepts applicable to Arch
2147-
- [[Fedora]] — RPM-based alternative, great for developers
2148-
- [[Ubuntu]] — Debian-based, beginner-friendly alternative
2149-
- [[Debian]] — the stable base that Ubuntu is built on
2150-
- [[Garuda Linux]] — Arch-based gaming distro with guardrails
21512144
- ## Community & Help
21522145
- [r/archlinux](https://reddit.com/r/archlinux) — Reddit community
21532146
- [Arch Linux IRC](https://wiki.archlinux.org/title/Arch_IRC_channels) — #archlinux on Libera.Chat
2154-
- [Arch Linux Telegram](https://t.me/archlinux) — community Telegram group
2147+
- [Arch Linux Telegram](https://t.me/archlinux) — community Telegram group

pages/Data Science.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,6 @@ displayTitle: Data Science
2626
2727
Deployment & Monitoring
2828
```
29-
- ## Related Pages
30-
- [[Python]] — Primary language for data science
31-
- [[R]] — Statistical computing language
32-
- [[Statistics & Probability]] — Mathematical foundations
33-
- [[Machine Learning]] — Core modeling techniques
34-
- [[Deep Learning]] — Neural network methods
3529
- # History
3630
collapsed:: true
3731
- **How**: Emerged from statistics and computer science in the early 2000s. The term "Data Scientist" was popularized by DJ Patil and Jeff Hammerbacher around 2008.

pages/Debian.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1717,12 +1717,6 @@ enableToc: true
17171717
- [Debian Packages Search](https://packages.debian.org) — search all Debian packages
17181718
- [Debian Bug Tracker](https://bugs.debian.org) — report and track bugs
17191719
- [Debian Release Notes](https://www.debian.org/releases/stable/releasenotes) — what changed between releases
1720-
- ## Related Pages
1721-
- [[Ubuntu]] — Debian-based, more beginner-friendly, Canonical-backed
1722-
- [[Kali Linux]] — Debian-based, security/penetration testing focused
1723-
- [[Linux Advanced]] — kernel internals, advanced administration, performance tuning
1724-
- [[Fedora]] — RPM-based alternative, cutting-edge, Red Hat upstream
1725-
- [[Arch Linux]] — rolling release, DIY philosophy, very different from Debian
17261720
- ## YouTube Playlists
17271721
- [Learn Linux TV — Debian Linux](https://www.youtube.com/@LearnLinuxTV) — practical Debian tutorials for beginners and admins
17281722
- [NetworkChuck — Linux for Hackers](https://www.youtube.com/@NetworkChuck) — Linux fundamentals with Debian/Ubuntu focus

pages/Game Development.md

Lines changed: 19 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -578,76 +578,30 @@ keywords: "game development, game loop, physics engine, rendering, game AI, audi
578578
```
579579
-
580580
- # Multiplayer & Networking
581-
collapsed:: true
582-
- ## Network Architectures
583-
collapsed:: true
584-
- ```
585-
Client-Server:
586-
- Authoritative server — server owns game state
587-
- Clients send inputs, server validates and broadcasts state
588-
- Prevents cheating, but adds latency
589-
- Used in: most online games (FPS, MMO)
590-
591-
Peer-to-Peer (P2P):
592-
- All clients communicate directly
593-
- Lower latency, no server cost
594-
- Hard to prevent cheating
595-
- Used in: fighting games, small lobbies
596-
597-
Lockstep:
598-
- All clients simulate identically
599-
- Only inputs are sent, not state
600-
- Requires deterministic simulation
601-
- Used in: RTS games
602-
```
603-
-
604-
- ## Lag Compensation Techniques
605-
collapsed:: true
606-
- ```
607-
Client-Side Prediction:
608-
- Client applies input immediately (don't wait for server)
609-
- Server confirms or corrects
610-
- Feels responsive even with 100ms ping
611-
612-
Server Reconciliation:
613-
- Client keeps history of inputs
614-
- When server correction arrives, re-simulate from that point
615-
616-
Entity Interpolation:
617-
- Render other players slightly in the past
618-
- Smooth movement despite packet jitter
619-
620-
Dead Reckoning:
621-
- Predict entity position based on last known velocity
622-
- Correct when new data arrives
623-
```
624-
-
625-
- ## Matchmaking & Anti-Cheat
626-
collapsed:: true
627-
- ```
628-
Matchmaking:
629-
- Algorithms pairing players by skill (ELO, TrueSkill) and network latency.
630-
- Dedicated lobby services and backend databases tracking historical MM ratings.
631-
632-
Anti-Cheat Systems:
633-
- Client Side: Services like Easy Anti-Cheat (EAC) or BattlEye inspecting memory for unauthorized DLL injection.
634-
- Server Side: Strict authoritative prediction avoiding trusting the client on movement limits or line-of-sight.
635-
```
581+
- collapsed:: true
582+
> [!info] Dedicated Page Available
583+
> This is an overview only. For the full deep-dive see [[Multiplayer Networking]] which covers:
584+
> Client-Server, P2P, Lockstep, Rollback (GGPO), lag compensation, entity interpolation, dead reckoning, tick rate, clock sync, delta compression, NAT traversal, matchmaking (ELO/TrueSkill), anti-cheat, relay servers, and production infrastructure — with full C++/GDScript code examples.
636585
-
637-
- ## Protocols
586+
- ## Quick Reference
638587
collapsed:: true
639588
- ```
640-
TCP — Reliable, ordered, connection-based. Higher latency.
641-
Used for: chat, login, non-time-critical data.
589+
Architectures:
590+
Client-Server (Authoritative) — Server owns game state. Standard for FPS/MMO.
591+
Peer-to-Peer (P2P) — Lower latency, harder to secure. Fighting games.
592+
Lockstep — Only inputs sent. Requires determinism. RTS.
593+
Rollback Netcode (GGPO) — P2P with speculative simulation. Fighting games.
642594
643-
UDP — Unreliable, unordered, connectionless. Low latency.
644-
Used for: game state, position updates.
595+
Transport:
596+
TCP — Reliable, ordered. Use for: login, chat, events.
597+
UDP — Low latency. Use for: game state, positions.
598+
RUDP — Reliable UDP (ENet, GameNetworkingSockets). Best of both.
645599
646-
RUDP (Reliable UDP) — Custom reliability on top of UDP.
647-
Libraries: ENet, GameNetworkingSockets (Valve), KCP.
648-
649-
WebSocket — TCP-based, works in browsers. Used for web games.
650-
WebRTC — P2P in browsers. Used for browser multiplayer.
600+
Lag Compensation:
601+
Client-Side Prediction — Apply input immediately, reconcile on server correction.
602+
Entity Interpolation — Render others 100ms in the past (smooth + accurate).
603+
Dead Reckoning — Predict position from last known velocity.
604+
Lag Compensation Raycast — Server rewinds time to validate hitscan shots.
651605
```
652606
-
653607
- # Audio in Games
@@ -984,7 +938,6 @@ keywords: "game development, game loop, physics engine, rendering, game AI, audi
984938
```
985939
-
986940
- # Libs, Tools & Resources
987-
collapsed:: true
988941
- ## Graphics APIs
989942
- [Vulkan](https://www.vulkan.org/) — Low-level GPU API. Maximum control and performance.
990943
- [OpenGL](https://www.opengl.org/) — Classic cross-platform GPU API. Good for learning.
@@ -1009,13 +962,4 @@ keywords: "game development, game loop, physics engine, rendering, game AI, audi
1009962
- [Vulkan Tutorial](https://vulkan-tutorial.com/) — Step-by-step Vulkan guide.
1010963
- [The Cherno (YouTube)](https://www.youtube.com/@TheCherno) — Game engine from scratch in C++.
1011964
-
1012-
- ## Related Pages
1013-
- [[Godot]] — Godot engine deep dive
1014-
- [[PathTracer Learning]] — GPU path tracing, Vulkan RT, rendering research
1015-
- [[C++]] — C++ for game/engine development
1016-
- [[Binary Space Partitioning]] — Spatial data structure for rendering
1017-
- [[Bevy]] — Rust ECS game engine
1018-
- [[Unity]] — Unity engine reference
1019-
- [[Unreal Engine]] — Unreal Engine reference
1020-
- [[Game Systems]] — Inventory, Quest, Dialogue, Save/Load, Achievements & Procedural Generation
1021965
-

0 commit comments

Comments
 (0)