[2024/08/30] mechagrad
An implementation of reverse-mode automatic differentiation in Rust. Crunch the numbers.
[2024/08/30] Forward-Mode Automatic Differentiation with Dual Numbers
A simple scalar (forward-mode) automatic differentiation implementation using dual numbers.
[2024/03/15] Minding Your PyO3 Allocations!
[Update: This information is now outdated!] Be careful about how you allocate memory with PyO3, otherwise your computer will explode. Avoid disaster.
[2023/08/14] Simple Exponential Smoothing with JAX
This notebook demonstrates simple exponential smooth models using JAX. continue reading . . .
[2023/08/12] Fitting an AR(1) model with JAX
This short notebook shows a simple method for fitting a first-order autoregressive process with JAX.
continue reading . . .[2023/08/07] Logistic Regression the JAX Way
This Kaggle notebook demonstrates a simple logistic regression model for the Titanic dataset using the JAX library.
continue reading . . .[2021/02/20] McAfee ATR CTF 2021 Writeup
From February 5th to February 18th, 2021, McAfee's Advanced Threat Research team held a capture the flag (CTF) competition based on one held the year prior for its own employees. The challenges tested teams knowledge on topics ranging from recon, to cryptography, to rf hacking, and more. I had fun solving the challenges and learned a few things along the way. I decided to clean up the notes I had taken during the course of the competition and put them online in hopes they may be of later use. continue reading . . .
[2017/04/08] More Than You Ever Wanted To Know About C++ String Layouts
While working on a reverse engineering project (a malware sample written in Objective-C++), I noticed a certain motif which always appeared whenever the program was dealing with C++'s std::string objects. The motif can be seen below. continue reading . . .