Hi! 👋 I'm Ben.

This is my blog. I also have some interactive posts here.

Resume Github Twitter Email Feed Directory Home

💍 Engagement August 22, 2020

I got engaged to a really wonderful girl.

🖥️ Useful bash / zsh Profile Additions May 27, 2020

Some functions I found useful to add to my bash and zsh profile.

🔬 Optimized Log-Sum-Exp PyTorch Function May 20, 2020

A walkthrough of how to optimize the log-sum-exp function in PyTorch.

🔬 Torch CUDA Extension Tricks May 6, 2020

Some tricks I found useful for writing CUDA extensions for PyTorch.

🧩 Two Students Riddle April 30, 2020

There is a teacher and 2 students in a classroom. The students are A and B. The teacher thinks of 2 positive integers and tells the sum of those numbers to student A without student B hearing it. Then tells their product to student B wit...

🧩 Combination Lock Riddle April 30, 2020

A combination for a lock has 3 wheels, X, Y, and Z, each of which can be set to eight different positions. The lock is broken and when any two wheels of the lock are in the correct position, the lock will open. Thus, anyone can open the ...

🔬 Hidden Markov Models and Conditional Random Fields April 7, 2020

A comparison of Hidden Markov Models and Conditional Random Fields, two kinds of probabilistic graphical models.

🧐 Recap from MIT Covid-19 Challenge April 5, 2020

Recap and potential future directions from the MIT Covid-19 Challenge.

📘 Notes on a Decadent Society March 22, 2020

Summary and thoughts about The Decadent Society: How We Became the Victims of Our Own Success by Ross Douthat.

🔨 Coding the Viterbi Algorithm in Numpy March 15, 2020

A demo of how to code the Viterbi algorithm in Numpy.