Skip Navigation code drift

JavaScript

Mocking AWS at the Network Level

(6 min read) We use AWS pretty heavily at Taskless, with their compute-on-demand making it easy for us to scale our bi-directional API Gateway from zero to thousands of concurrent requests with no additional effort. It's truly wonderful; that is, until it's time to write tests. The path most

How Vercel Gets Their Bundles Small

(1 min read) The @vercel/nft (Node File Trace) package is responsible for a lot of Vercel's bundling magic. It statically analyzes files and can find non-JS dependencies in the execution path by spotting filesystem intersections via readFile and readStream calls. The result of this call is a list of only

Tailwind CSS for Email

(7 min read) I can no longer count the hours Tailwind saves me. I don't really hate the state of CSS-in-JS. I just find it gets in the way of quickly saying "make this blue, put it in a flex box oriented by row, with the items centered." It&

Solving a Node.js Memory Leak on Heroku

(6 min read) There's nothing more frustrating that your node.js app leaking memory. If you're coming here because of Heroku R14 / R15 errors, take some deep breaths, it'll be okay. Heroku's smart enough to swap to disk when this happens, and will kill and

GitHub as a CMS

(4 min read) GitHub's rich GraphQL API gives you a built-in headless CMS