Skip to content
Ray Gesualdo
— Category —

Code

A single tree in the middle of a field in front of the ocean

Using ASTs

March 30, 2024 | 5 Minute Read

Few things accelerated my understanding of code, and what I could do with it, faster than Abstract Syntax Trees (ASTs). ASTs are data representations of…

A massive thunderstorm

Caching Auth Tokens with Distributed Refresh

March 9, 2024 | 5 Minute Read

Ever been in this situation? You make an innocuous change to your authentication logic only to realize upon deploy that it invalidated all your users’…

A crab

Why I'm Bullish on Rspack

February 17, 2024 | 3 Minute Read

If you haven’t heard of it, Rspack is a Rust-based drop-in replacement for Webpack. It hasn’t hit its v1 release yet, but it’s already a favorite tool in my…

Tree roots

Optimizing Jest Runs with Dynamic Roots

February 10, 2024 | 9 Minute Read

At Salesloft, our primary frontend application has nearly 3,000 test suites containing over 20,000 tests. That’s a lot of time spent running tests in CI and…

Night with the sun on the horizon

Migrating to Astro: The End

January 12, 2024 | 8 Minute Read

Howdy again! We’re in the final mile now. We got the individual blog post pages working last time. In this final installment, we’ll add a few more pages,…

The beautiful night sky

Migrating to Astro: The Middle

January 10, 2024 | 10 Minute Read

Welcome back! Last time we walked through generating a new site, getting the blog post index page working, and adding the talks page. This time we’ll look at…

Oodles of space!

Migrating to Astro: The Beginning

January 5, 2024 | 9 Minute Read

My website hasn’t gotten much attention the past few years. In 2020, I slowly migrated from Gatsby to Next.js. I even had a partially-written blog post about…

Flattening Object Keys with TypeScript Types

April 26, 2022 | 3 Minute Read

A few weeks ago, I was working on a project where I needed to get all the flattened keys from a deeply nested object as a string union. I looked around the…

Why I Use Tailwind

February 3, 2022 | 7 Minute Read

I am admittedly a big fan of Tailwind, but for one primary reason: it makes me more productive. It may do the same for you. It may not. Perhaps you love the…

Simulating Texas Hold'em in Elixir

August 28, 2018 | 10 Minute Read

A few weeks ago, Todd Sharp wrote an article called “Simulating Texas Hold’em in Groovy” where, no surprise, he simulated a Texas Hold’em hand in Groovy. At…

Six Reasons I Chose Gatsby

May 10, 2018 | 5 Minute Read

Spoiler alert: I’m a big fan of Gatsby. I’ve worked with it multiple times and I’m continually impressed with its power and flexibility. For those who aren’t…

301 Redirects with Next.js

May 9, 2017 | 3 Minute Read

Last week, 3blades - the company I work for - launched our new website using Next.js/Now. In the process, we moved our company blog from our main website to…

Go to top