Vincent Dumoulin and Francesco Visin. “A Guide to Convolution Arithmetic for Deep Learning.” arXiv preprint arXiv:1603.07285 , 2016. https://arxiv.org/abs/1603.07285 
 Diagrams drawn with Excalidraw . 
 
 Setup: Input and Kernel 
 We start with a $5 \times 5$ input image and a $2 \times 2$ kernel. 
 
 
 Convolution with Stride $s = 1$ 
 The $2 \times 2$…
Let’s say we have a user-defined type Point defined as follows 
 struct Point {
 x: i32 ,
 y: i32 ,
 }
 and we want a String or &str of the form "(1,2)" to be converted into Point type. We need to implement
the From trait on the Point type so that we can do something like 
 let p: Point = Point::from(String::from( '(1,2)' ));
 or 
 let p: Point =…
Let’s say we have a user-defined type Dictionary which is defined as follows: 
 struct Dictionary {
 words: Vec < String > ,
 }
 
 impl Dictionary {
 fn new () -> Self {
 Dictionary { words: Vec::new() }
 }
 
 fn insert ( & mut self, val: String) {
 self.words.push(val);
 }
 }
 We would like to implement an iterator on our Dictionary…
Let’s say we have a user-defined type Rational defined as follows: 
 #[derive(Debug)] 
 struct Rational {
 num: i32 ,
 den: i32 ,
 }
 In order to support arithmetic operators like ( + , - , / , * ) on Rational , we would have to implement the Add , Sub , Div , Mul traits on Rational from the Rust standard library. To implement the Add trait
on Rational , we need…
Let’s just say we have a user-defined type Person defined as follows: 
 
 pub struct Person {
 name: String,
 age: i32 
 }
 We need to compare two Persons mat , mac defined as follows: 
 
 let mat: Person = Person{name: String::from( 'Mat' ), age: 30 };
 let mac: Person = Person{name: String::from( 'Mac' ), age: 35 };
 We cannot just do mat == mac or…
I am writing about my experience working with man pages today.
I have never written/updated any man pages in the past. The
man page i updated was intro(3) of
the FreeBSD Library Functions Manual. 
 Updating the man page involved going through the FreeBSD source code src/lib and figuring out the libraries that exist.
I came across many libraries which i had never heard of e.g.…
I like to contribute to open source, here are links to some of my contributions 🙏 
 
 LLVM 
 Repository: llvm/llvm-project 
 GitHub: @chaitanyav 
 Period: March 2023 – June 2026 
 
 1️⃣ C23/C2y Standard Library Builtins 
 🟢 C2y stdc_memreverse8 Builtins (June 2026) 
 PR #197358 | Merged June 8, 2026 | C2y Language Feature 
 Implemented the C2y <stdbit.h>…
I read a lot, here is a list of some of the 📚 i have read and want to read or am currently reading.
(Want to Read = 🔖, Currently Reading = 📖 ) 
 🗻 Mountaineering 
 
 Last Step: The American Ascent of K2 by Rick Ridgeway 
 K2: Life and Death on the World’s Most Dangerous Mountain 
 Into Thin Air by Jon Krakauer 
 The Call of The Ice:…
I am a Software Engineer. I enjoy working on compilers and open source, and I am interested in the mathematics behind machine learning. 
 Links to my work: 
 
 
 OneUpFeeds My personal RSS feed reader — A personal RSS aggregator for following blogs and news feeds in one place. 
 
 
 CS229 Project: Separation of Speech From Noise Challenge 
 Implemented the…