Recent posts

Bit Bang SPI with Ruby+YJIT

In my previous post, I tested Ruby+YJIT against C, doing bit-bang I2C in the lgpio gem. The results convinced me to just do bit-bang SPI in Ruby. Testing YJ...

C vs. Ruby+YJIT: I2C Edition

I recently added a bit-bang I2C implementation to the lgpio gem. “Bit banging” means you don’t use the I2C hardware built into the SBC. Instead, you manipul...

Ruby & LGPIO on Orange Pi Zero 2W

Whether you’re getting started with electronics, want to prototype projects more quickly, or just want to use Ruby for something different, a single board co...

More Secure Passwords In Applescript

Sometimes an Applecript needs authentication. For example, this happens if you use do shell script to run a UNIX command with administrator priveleges: do s...