Category Theory for JavaScript/TypeScript Developers — Ibrahim Cesar
From Bartosz Milewski's Haskell-centric approach to something tailored for the JS/TS ecosystem. Exploring adjunctions, monads, and why Promise.then() is actually category theory in disguise.
Why do websites built with Next.js crash when using Google Translate? This includes the official Next.js website https://nextjs.org/docs. When you enable the browser's translation feature and click on any link, it crashes. · vercel/next.js · Discussion #66313
Summary Application error: a client-side exception has occurred (see the browser console for more information). Additional information No response Example https://nextjs.org/docs
Perhaps it’s time to embrace real web open standard .js files which don’t require any build steps or tooling to execute properly, all while utilizing the power combo of JSDoc + tsc to gain all of the benefits of type hints in IDEs and type checking in CI.
Static Typing in Ruby 3 Gives Me a Headache (But I Could Grow to Like It)
It kinda sorta works—with several asterisks. Hence the reason it took me so long to even write an article about Ruby 3 typing. I think I’m onboard with where this is all headed, but we have a ways to get there.
Deploying the world's largest GitLab instance 12 times daily
Take a deep dive into the code-to-production pipeline, including progressive rollouts, Canary strategies, database migrations, and multiversion compatibility.
The Fizzy application is a new play on Kanban board and project management. It has a comprehensive test suite focused mostly on unit and integration tests, althought other types of test are also present. The test suite is well-organized and follows Rails conventions with some application-specific patterns for multi-tenancy and UUID handling. Can we find more than that?
Ruby is a high-level language with elegant syntax. But sometimes, performance-critical tasks can be slow in pure Ruby. Writing a C extension lets us move performance-critical code into native C for speed while also tapping into existing C libraries.
Rails’s Swappable Migration Backend for Schema Changes at Scale
This post explores Rails’s swappable migration backend, a little-known feature that lets applications customize how migrations run. At Shopify, we relied on monkey patches and a brittle SQL parser to make Rails migrations work with our Schema Migrations Service. We developed the swappable backend feature to more simply adapt Rails’s migration runner to our needs. We’ll cover why and how we built this, and how Shopify uses it to power database migrations at scale.
ZJIT adds support for Iongraph, which offers a web-based, pass-by-pass viewer with a stable layout, better navigation, and quality-of-life features like labeled backedges and clickable operands.