/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

btorpey.github.io
| | jmmv.dev

Dependency injection is one of my favorite design patterns to develop highly-testable and modular code. Unfortunately, applying this pattern by taking Rust traits as arguments to public functions has unintended consequences on the visibility of private symbols. If you are not careful, most of your crate-internal APIs might need to become public just because you needed to parameterize a function with a trait. Let's look at why this happens and what we can do about it.
5.1 parsecs

Travel
| |
| | blog.deesee.xyz

When you want to quickly grep for something but the pattern is too elaborate, Semgrep comes in really handy. It's a static analysis tool that has a lot of great use cases, but one usage I don't hear about often is quickly writing disposable rules to validate an idea when reviewing code. So that's what we're going to do here!
4.1 parsecs

Travel
| |
| | sergioprado.blog

Have you ever wondered how the Linux kernel is tested?
4.1 parsecs

Travel
| |
| | www.redotheweb.com

As we're reinventing web applications with SPAs and frontend frameworks, we need to reinvent web application security, too.
16.4 parsecs

Travel
|