Plurrrr

Tue 13 Dec 2022

Emacs: Context-aware yasnippets

Back in 2020, I wrote a semi-automatic yasnippet to generate Swift initializers. I say semi-automatic because it could have been a little smarter. While it helped generate some of the code, what I really wanted was full context-aware generation. The Swift struct already had a few properties defined, so a smarter yasnippet should have been able to use this info for code generation.

Source: Emacs: Context-aware yasnippets, an article by Álvaro Ramírez.

A Look at dyn* Code Generation

As I’ve written about before, an important goal for async Rust is to support async functions everywhere, including in trait objects (dyn Trait). To this end, we are adding a new experimental type called dyn* that will give us more flexibility to support dynamic dispatch for async methods. We now have experimental support for dyn* in nightly Rust now, so we can start to kick the tires and use our experience to inform future development.

Source: A Look at dyn* Code Generation, an article by Eric Holk.

Tips for analyzing logs

I’m going to talk about log analysis in the context of distributed systems debugging (you have a bunch of servers with different log files and you need to work out what happened) since that’s what I’m most familiar with.

Source: Tips for analyzing logs, an article by Julia Evans.