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.

On wet shaving

I have been shaving with a double edged safety razor for about two months now and I feel ready to talk about it. In short, it’s far cheaper than cartridge razors in the long run and contrary to what you might think at first glance, you do not sacrifice safety or comfort for the value saved.

SICP Exercises Chapter 1 Part 1

I started reading through “Structure and Interpretation of Computer Programs” and thought it would be a good idea to publish my progress here. Here are my solutions for the first ten exercises in the book.

I did a few things at STM CTF 2018 Prelims

Here are a few challenges I chose to write about from the preliminary for STM CTF 2018 which will take place in Ankara at Oct 31. I want to thank the STM team for a fun and smooth CTF experience. I started competing in CTFs about half a year ago and I heard good things about STM CTF 2017. I hope I can attend this year :)