MICROPROCESSORS AND CHIPSETS
IMMIGRATION AND MIGRATION
What is `std::pin::Pin` in Rust?
std::pin::Pin is a pointer wrapper that represents the guarantee that the pointee will not be moved through that pointer. ## Why is it required? The need for pinning arises from self-referential types. Self-referential structs are the most common example of address-sensitive types, and are the primary motivation for Pin. Take the following struct for example: rust 1struct SelfRef { 2 data: i32, 3 ptr: *const i32, // points to self.data 4} If we move an instance of this struct (for example, by moving ownership into another variable or returning it), its memory address changes. However, the raw pointer ptr still refers to the old memory location, leaving a dangling pointer. Hence, we need a way to mark SelfRef as unsafe to move once those self-references have been established, so any API that touches it must respect that. Rust cannot physically prevent moves. Instead, Pin encodes this as a type-level guarantee, which the rest of this post unpacks.FOOD COOKING AND DINING
Going from 2024 to 2025
I have never been a firm believer in things magically changing because the calendar flips from December 31 to January 1. But there’s something about this transition that invites reflection. It’s a moment to pause, to look back on the past year — to introspect, to be grateful for the good things that happened, and to stay grounded as I plan for what’s to come. ## In 2024 … - I spent quality time with the people I love and care about. - I tried cooking new recipes. - I explored many new places to eat. - I lost a significant amount of weight. - I went on numerous walks. - I traveled to new destinations. - I switched jobs. - India lifted the 2024 T-20 World Cup trophy. - I moved to a new place. - I watched anime and enjoyed it. - I made new friends. - I reconnected with old friends. - I opened up and expressed my emotions more freely. - I bought a watch and started wearing it regularly. - I purchased my first-ever vehicle. - I fell in love with coffee brewing. - I also fell in love with chai. - I celebrated my 25th birthday and received amazing gifts. - I discovered new music. - I became more dedicated to completing my daily tasks. - I started journalling consistently. - I gained more confidence in myself and treated myself with love and respect. While there were many happy moments, there were some sad moments too:
INDIA
HOME AND LIFESTYLE
Going from 2024 to 2025
I have never been a firm believer in things magically changing because the calendar flips from December 31 to January 1. But there’s something about this transition that invites reflection. It’s a moment to pause, to look back on the past year — to introspect, to be grateful for the good things that happened, and to stay grounded as I plan for what’s to come. ## In 2024 … - I spent quality time with the people I love and care about. - I tried cooking new recipes. - I explored many new places to eat. - I lost a significant amount of weight. - I went on numerous walks. - I traveled to new destinations. - I switched jobs. - India lifted the 2024 T-20 World Cup trophy. - I moved to a new place. - I watched anime and enjoyed it. - I made new friends. - I reconnected with old friends. - I opened up and expressed my emotions more freely. - I bought a watch and started wearing it regularly. - I purchased my first-ever vehicle. - I fell in love with coffee brewing. - I also fell in love with chai. - I celebrated my 25th birthday and received amazing gifts. - I discovered new music. - I became more dedicated to completing my daily tasks. - I started journalling consistently. - I gained more confidence in myself and treated myself with love and respect. While there were many happy moments, there were some sad moments too:
INDIA
INTERNET CULTURE AND SOCIAL MEDIA
@vrongmeal Origins
If you’re wondering why I call myself a “wrong meal”, well, you would be very vrong because I don’t. Years ago, young Vaibhav had a brilliant idea of creating different usernames on all the platforms using a very simple algorithm:
python INITIALS = "vr" # Vaibhav Rabber username = lambda site: f"{INITIALS}on{site}" Unfortunately, however I tried, Gmail did not allow me to create an email with "gmail" as part of the username. I ended up replacing the 'a' with an 'e' so it spelled out “g-meal”. This little incident gave rise to the username "vrongmeal".VAIBHAV RABBER
