Welcome to My Blog

May 8, 2025

Hi!

Welcome to my blog (blog? posts? writing? whatever you want to call it). As you can tell from this website, I'm a much more STEM-oriented person as opposed to English, but I still do enjoy writing casually, especially on topics that interest me. You can expect topics related to Math, CS, Physics, or really just whatever I'm interested in at the time.

The stack behind this website and the blog portion specifically is quite cool. It's built on Next.js and all articles are written in markdown. I use MDX to convert the markdown to React, and this also allows me to include dynamic content with React components. On top of this I use Prism.js for code block syntax highlighting. So here's a little demo that uses these features:

python code-highlight
def calculate_fibonacci(n):
    """Calculate the nth Fibonacci number using dynamic programming."""
    if n <= 0:
        return 0
    elif n == 1:
        return 1
    
    # Initialize the first two numbers
    fib = [0, 1] 
    
    # Calculate the rest using bottom-up approach
    for i in range(2, n + 1):
        fib.append(fib[i-1] + fib[i-2])
    
    return fib[n]

# Example usage
result = calculate_fibonacci(10)
print(f"The 10th Fibonacci number is: {result}")  # Output: 55

I plan to add mathematical equations using KaTeX in future posts. I'll also be able to include interactive visualizations or demos using React components!


Lastly, these posts are purely for fun, and I don't expect many people to actually read them. But if you do ever want to talk about one of these posts or have any questions, feel free to contact me at jesse.hines@uwaterloo.ca.