






The article explains how to send ping requests without root privileges by using a UDP socket with ICMP protocol instead of creating a raw socket. The author notes that while standard ICMP sockets require root access, the ping command-line tool works without it, and reveals the technique of using UDP sockets with protocol flags. Due to a lack of simple examples online and poor performance from LLMs on this topic, the author created and shared a Rust implementation on GitHub.
This article provides a practical guide for Rust developers on implementing custom error types to simplify error handling in Axum web applications. The author demonstrates how to create an AppError newtype that wraps anyhow::Error and implements IntoResponse and From traits, allo

The article discusses the complex issue of 'futurelocks' in Rust async programming, which the author identifies as a specific instance of a broader problem with asynchronous code. The author shares their personal experience of struggling to understand the topic while listening to a podcast, but eventually grasping the concept when it was explained in simpler

The article discusses 'futurelock' in Rust programming, which is a problem similar to async cancellation that defeats Rust's goal of enabling local reasoning about correctness. Futurelock occurs when combining multiple components that individually seem correct but together create deadlock issues, particularly with Mutexes that might be buried deep in the cod



This article discusses the ongoing debate in Rust programming about whether developers should explicitly invoke handle/clone operations for reference-counted values. The author examines both sides: Dioxus argues against explicit handles for high-level GUI applications where such calls are considered 'pure noise,' while acknowledging that for many application