about rss

[2024/04/28] The Prosecutor's Fallacy

A short exposition of the prosecutor's fallacy. Objection!.

[2024/04/09] Deriving the Matrix form of Linear Regression

A note showing how to solve a multivariate least squares regression. Let's regress.

[2024/04/03] Ghidra on labwc on Wayland on NixOS: A Lesson in Java UI Toolkit Weirdness

A quick note on wm impersonation to get some Java programs to render a window. Check it out.

[2024/03/15] Minding Your PyO3 Allocations!

Be careful about how you allocate memory with PyO3, otherwise your computer will explode. Avoid disaster.

[2024/03/11] Disable Window Decorations and Window Switcher Menu in labwc

How to change the window switcher menu and disable window decoration in labwc. Find out.

[2024/03/09] Getting Mastodon to Run on a Low-RAM VPS

Setting up Mastodon is simple, but there are some snags in building on a low-end computer. Read on.

[2024/03/02] Setting up a Rust winit/wgpu Development Environment on Wayland under NixOS

It can be surprisingly tough to get all the dependencies in place just to be able to create a window. Read on.

[2024/02/20] Logitech g810 NixOS udev Rules

How to make the fancy keyboards light up. Read on.

[2024/02/16] A Simple Local TODO in Fish Shell

The most simple TODO system I could think of. Learn more.

[2024/02/09] Helix Language Servers & NixOS

How to configure Helix language servers on NixOS. Read . . .

[2024/02/03] A Limit Problem

A fun little limit problem. continue reading . . .

[2023/11/18] Limiting a Linux Process' CPU Usage

AKA a brief intro to cgroupv2. continue reading . . .

[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 . . .