How To Build a Site Just Like This One
A brief introduction to building sites with Hugo. Building a website doesn't have to be difficult. In fact, you can get started in just a few minutes...
hi, my name is
software engineer
click anywhere to continue
I'm a student at the University of Toronto pursuing an Honours BSc with a Major in Mathematical Sciences, Minor in Computer Science and Philosophy of Science (expected 2026).
I enjoy working close to the metal — from kernel drivers and assembly to full-stack applications. Recently wrapped up a 16-month co-op at AMD where I optimized power management systems and built developer tools used by 100+ engineers.
When I'm not coding, you'll find me reverse engineering games or playing with my cat.
⚡ Custom Direct3D wrapper that modifies game memory at runtime for improved frame rates. Over 100,000 users (2025). Open sourced to help other modders.
👾 Highly efficient CHIP-8 interpreter for emulating classic arcade games like Breakout and Pong.
🔨 Lightweight Windows disassembler using iDebugControl interface for analyzing low-level code at specific memory addresses.
🔲 Feature-rich Boggle implementation with a user-friendly graphical interface.
💤 Hack The North 2020++. Auto-join Google Meets & Teams, leave when everyone else does.
🔊 Discord bot that plays audio at random intervals. Great for annoying your friends!
University of Toronto — Honours BSc (2021 - 2026)
Major in Mathematical Sciences, Minor in Computer Science and Philosophy of Science
Feel free to reach out for any questions or opportunities!
A brief introduction to building sites with Hugo. Building a website doesn't have to be difficult. In fact, you can get started in just a few minutes...
While I was learning C++ a few years ago, I read a little about GCC's optimization flags and how they can improve performance...
Building a website doesn't have to be difficult. In fact, you can get started in just a few minutes with Hugo (not the movie). Hugo is a static site generator - like Jekyll, written in Go. It's very fast and easy to use, and perfect for personal websites like this one.
First, install Hugo on your system. On macOS, you can use Homebrew:
brew install hugo
On Windows, you can use Chocolatey or download the binary directly from the Hugo releases page.
Once Hugo is installed, create a new site:
hugo new site my-portfolio
cd my-portfolio
Hugo has a large collection of themes. You can browse them at themes.gohugo.io. For this site, I used a customized version of a portfolio theme.
You can deploy your Hugo site to GitHub Pages, Netlify, Vercel, or any static hosting service. GitHub Pages is free and works great with Hugo!
Note: This site has since been rebuilt with plain HTML/CSS to look like an operating system. Progress!
While I was learning C++ a few years ago, I read a little about GCC's optimization flags and how they can improve performance. I was curious about how much of a difference they actually made, so I decided to test it out.
I wrote a simple - and kinda useless - program that increments a number in a loop:
int main() {
long long sum = 0;
for (int i = 0; i < 1000000000; i++) {
sum += i;
}
return sum;
}
The results were quite dramatic:
At -O3, the compiler is smart enough to realize this is just computing a mathematical formula and replaces the entire loop with the closed-form solution: n*(n-1)/2. This is called loop optimization or strength reduction.
The moral: always enable optimizations in production builds, but also understand that sometimes the compiler is smarter than you think!
Use arrow keys or WASD to play
Left click to reveal, right click to flag