Tmux: Terminal Sessions That Persist
Finally learned tmux properly. Game changer for remote work and managing multiple terminal sessions. Why Tmux? Main benefit: Detach from sessions without killing processes. # SSH into server s...
Finally learned tmux properly. Game changer for remote work and managing multiple terminal sessions. Why Tmux? Main benefit: Detach from sessions without killing processes. # SSH into server s...
Needed to disable my laptop’s built-in keyboard when using an external one. Found a simple xinput solution. The Problem Using external keyboard but laptop keys still register. Accidental keypre...
Hit a build error with wasm-pack. Solution: downgrade to 0.9.1. The Problem Running wasm-pack build failed with cryptic errors. Something about missing files or build artifacts. The Cause Kno...
Spent the day figuring out Rust traits. Here’s the mental model that finally clicked for me. The Core Idea Traits define what a type can do, not what it is. trait Printable { fn print(&...
Emacs suddenly started throwing file-missing doing vfork errors on startup. Turned out to be an emacs-sqlite compilation issue. The Problem Emacs GUI wouldn’t start properly, showing error: fil...
Was reading about RSS vs Atom feed formats. Found out RSS 2.0 has a fundamental problem with relative URLs. The Problem with RSS 2.0 From the RSS/Atom comparison: RSS 2.0 does not specify t...
Found an interesting article about Go slice search vs map lookup performance. The TLDR surprised me. The Benchmarks For small collections, linear search through slices is actually faster than m...
Learned that mod.rs files are the old way. Rust 1.30+ has a better convention. The Old Way (Don’t Do This) src/ util/ mod.rs # Old style helper.rs The New Way src/ util.rs...
Debugging Rust macros is painful. Compiler errors point to the macro invocation, not what it generates. cargo-expand fixes that. The Problem #[derive(Debug, Serialize)] struct User { id: u3...
Came across this classic post about computer performance numbers. Really puts things in perspective. The Numbers Here are the key ones (approximate, 2024 hardware): L1 cache reference ...