Upgrading a Cloudformation-managed RDS Instance Engine

Posted on April 19, 2023 in blog • Tagged with aws, rds, infrastructure, devlog

I manage all of my AWS infrastructure with Cloudformation, and have for several years. While this is usually very helpful, sometimes there are snags with one of the many AWS services and how cloudformation attempts to interact with them.

Upgrading my database version was one of these. This post outlines …

Continue reading

Nested Arc RwLocks in Rust

Posted on April 18, 2022 in blog • Tagged with rust, prettypileofbones, devlog

In my attempt to create what amounts to an in-memory database in rust for a game project, I ran in to a topic for which I could find no explicit documentation.

"Can I nest RWLocks, read the inner lock out of the outer lock, and then read/write the inner …

Continue reading

Rust Implementation of Latin Square Generation

Posted on March 18, 2022 in blog • Tagged with rust, mathematics, prettypileofbones, devlog

While working on a multiplayer browser game using a rust websocket server, I ran to unexpected difficulty in trying to determine the turn order for a variable sized group of people.

The solution to my issue is a balanced latin square, which allows me to predetermine turn order for my …

Continue reading