RSSAmplifier

Blog

Daniel Azuma

This is the website and blog of Daniel Azuma, a software engineer and RV traveler in the Seattle area.

daniel-azuma.comRSS feed ↗10 posts

Latest posts

Ractor::Wrapper and the Ractor improvements in Ruby 4.0

I discuss issues with the original Ractor implementation in Ruby 3.0 and the improvements made in Ruby 4.0. Along the way, I introduce Ractor::Wrapper, a Ruby class that wraps legacy non-Ractor-compatible Ruby objects such as database connections so they can be accessed by multiple Ractors.

Remembering Google

I spent twelve and a half years working at Google, much of that time as the Ruby language lead for Google Cloud. As I transition out of the role, I look back on what made Google great, and what made it not-so-great.

Beware Twitter/X

Please ignore any account on Twitter/X that claims to be me. They appear to have installed a bot to generate garbage content after I deleted my account. A cautionary tale.

Building a Discord Command: Part 4

Part 4 in a series on writing a Discord "slash" command in Ruby using Google Cloud Functions, showing how to split a long response across multiple messages.

Building a Discord Command: Part 3

Part 3 in a series on writing a Discord "slash" command in Ruby using Google Cloud Functions, showing how to respond to commands, and call external APIs and handle secrets in production.

Building a Discord Command: Part 2

Part 2 in a series on writing a Discord "slash" command in Ruby using Google Cloud Functions, showing how to authenticate and interact with the Discord API to add a command to a Discord channel.

Building a Discord Command: Part 1

Part 1 in a series on writing a Discord "slash" command in Ruby using Google Cloud Functions, showing how to set up a Discord bot, deploy a webhook to Cloud Functions, and validate requests.

Building a Discord Command in Ruby on Google Cloud Functions

Intro to a four-part series on writing a Discord "slash" command in Ruby.

Should I use instance_eval or class_eval?

This article explores the difference between Ruby's instance_eval and class_eval methods, and takes a peek into the depths of the Ruby execution context.

Designing a Ruby Serverless Runtime

We take a look at some of the design decisions and trade-offs involved in bringing Ruby support to Google Cloud Functions.