Aubrey Powell
Aubrey Powell
The input I'm working with is already a sequence of `char`s containing Unicode codepoints. Converting these into a utf8 byte stream so that they can then be converted right back...
It turns out ChatGPT, the default interpreter for DreamBerd, tends to assume that the else keyword does nothing, and thus interprets else when as being the same as a simple...
The hidden FizzBuzz example utilizes `else when` statements, but they're not documented anywhere in the spec. As a result, ChatGPT assumed the wrong semantics for them, deciding that an `else...
If you write multiple `when` statements in a program, it's unspecified which order they'll execute in. This means execution order is implementation dependent, and people writing programs might come to...
PyTorch supports an optional parameter for 2D convolutions called `padding_mode`, which defaults to `zeros`, but can also be `reflect`, `replicate` or `circular`. This changes what values it uses for the...
For data augmentation, it's very useful to have operations to mirror and rotate a tensor. See PyTorch's `flip` and `rot90` methods.
Bevy is currently by far the most popular game engine in Rust, and for good reason. It's a solid, well engineered design, even if it's still in fairly early development....
So I think I got a working solution for #2, but in order to demonstrate it I decided to try porting over the Game of Life example from Bevy. And...