Why your multiprocessing Pool is stuck (it’s full of sharks!)

Writing a simple 16 bit VM in less than 125 lines of C

Generate All the Things

Issue #138

12/8/2021

{{PreviewText}} 

Yo
Sorry for missing the issue yesterday. Traveling has me knocked out the groove. I'll have an extra issue tomorrow to make up for it.
What do you guys think about web3? It seems like people have discovered a hammer (blockchain), and now everything looks like a nail to them. Has anyone actually come across an application that benefits from using blockchain over more conventional methods?
Here's the issue.
PS. Since I ask you guys and gals questions a lot, and get some pretty good answers, I think I'm going to start a page or set of pages on the website with the questions I ask and the answers I get. I'll ask your permission to use any answer you send in a follow up email.

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

Why your multiprocessing Pool is stuck (it’s full of sharks!)

Published: 1 October 2021
Tags: python


Dealing with threads and parallel processing is one of the more complicated aspects of writing code, especially when there are obscure issues that might cause your program to become deadlocked. In this informative article, Itamar Turner-Trauring dives deeply into the inner workings of Python's multiprocessing pool and why deadlock issues might arise due to process forking.


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

Writing a simple 16 bit VM in less than 125 lines of C

Published: 1 December 2021
Tags: c


Title really says it all. Andrei Ciobanu starts with the basics of what a virtual machine is covers every step in the journey of implementing one.


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

Generate All the Things

Published: 6 December 2021
Tags: rust


Property based testing is when you test a general property of an output. It's been popularized in Haskell by the QuickTest framework. In this article however, Aleksey Kladov focuses on a specific step for property testing; "how to conveniently enumerate any kind of combinatorial object without using recursion" in Rust.


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: 2595

Opens: 1167

Clicks: 375

Link Clicks Clicks % Unique Clicks Unique Clicks %
Why your multiprocessing Pool is stuck (it’s full of sharks!) 89 24.65% 83 24.70
Writing a simple 16 bit VM in less than 125 lines of C 181 50.14% 170 50.60
Generate All the Things 91 25.21% 83 24.70

Previous

Back to Issues

Next