How to Handle Exceptions With the ThreadPoolExecutor in Python

Backdooring Rust crates for fun and profit

Mononym: Type-Level Named Values in Rust - Part 1: Demo and Implementation

Issue #131

11/25/2021

{{PreviewText}} 

Welcome traveler
Happy Thanksgiving to anyone who celebrates it! Even if you don't celebrate it, I'd encourage you to take a minute to think about what you're thankful for. When I'm feeling sad or just down, I think about the things I'm grateful for, and always feel better afterwards. This year, among other things, I'm thankful for all of your support :) Here's the last issue of the week.

====================================================================

How to Handle Exceptions With the ThreadPoolExecutor in Python

Published: 19 November 2021
Tags: python


Writing code that's meant to execute concurrently can be difficult, especially since most languages haven't been built to support it as a central design point. Jason Brownlee's article focuses on the ThreadPoolExecutor functionality in Python, specifically looking at handling exceptions in thread initialization, task execution, and task completion callbacks.


====================================================================

Backdooring Rust crates for fun and profit

Published: 17 November 2021
Tags: rust, infosec


You know what they say, the best defense is a strong offense! Well in the case of infosec, this is a relatively new approach. In this dangerous article, Sylvain Kerkour presents several methods for hiding and executing backdoor code in Rust crates.


====================================================================

Mononym: Type-Level Named Values in Rust - Part 1: Demo and Implementation

Published: 31 October 2021
Tags: rust


"Mononym provides the core type Named, which represents a named value of type T with a unique type N as its name". From my understanding, this allows one to create proofs in Rust that are type safe, enabling one to better implement functional programming methods. In this introductory article, Soares Chen demos how the Mononym library can be used, then goes on to discuss the technical details of its implementation.


Want to help?

Thank you for reading! If you enjoy the newsletter, I would really appreciate you helping me spread the word by forwarding this to your friends and colleagues!

If you want to discuss or comment on this issue, head on over to this page at A Byte of Coding. You can also subscribe there if you're new!

Have comments or feedback? Just reply to this email or hit me up on Twitter @AByteOfCoding.

Email landed in your promotions tab? Please move it over to primary so you don't miss the latest issues in the future.
Thanks for your Support! 

Thanks to sponsors and supporters like Євген Грицай, Scott Munro, zturak, pek, Emil Hannesbo, and Joe Hill this newsletter is provided to you for free. If you'd like to also show your support and buy me a monthly meal, you can donate on the Patreon page. It's not necessary, but it lets me know that I'm doing a good job and that you're finding value in the content.


Stats (updated daily)

Sent: 2558

Opens: 1242

Clicks: 226

Link Clicks Clicks % Unique Clicks Unique Clicks %
How to Handle Exceptions With the ThreadPoolExecutor in Python 71 33.49% 67 33.50
Backdooring Rust crates for fun and profit 83 39.15% 79 39.50
Mononym: Type-Level Named Values in Rust - Part 1: Demo and Implementation 58 27.36% 54 27.00

Previous

Back to Issues

Next