Tutorial

Custom commands in Bevy with extension traits

Bevy is an ECS-based game engine built in Rust. Extension traits are a pattern in rust that allows you to add methods to an existing type defined outside of your crate. You can probably guess where I’m going with this. In bevy, any system can access the Commands structure to issue commands manipulate the World. The most common one would probably be the Commands#spawn method which lets you spawn an entity with the components you specify.

Remote backups with Restic and Backblaze B2

Restic is a program that greatly simplifies the process of encrypted, incremental backups. Backblaze B2 is a pretty cheap cloud storage service that restic happens to support as a data storage backend. The first 10 GB of storage is free, which is plenty for storing configuration files and some source code.