Don't Let Your Code Cause the Next Software Disaster | Issue #11


Hi there,

This week has been anything but typical for ArjanCodes. Last Sunday, I released an additional video provoked by one of the largest recent IT disasters - the CrowdStrike incident. 🚨

In this video, I explore how the CrowdStrike disaster exposes a fundamental problem in software and why it will probably get worse in the future. If you missed it, you can watch it here.

The recent events motivated me to create another video, offering concrete examples and steps to ensure your code doesn't lead to a software disaster. 🛡️💻

I'll also share real-world examples from companies that basically serve as a crash course in what NOT to do. 🚫

Enjoy the video and happy coding!

Cheers,

Arjan

# Spotlight

PyCoach

Today I’d like to introduce you to Frank (aka The PyCoach). Frank has a Substack called Artificial Corner where he helps thousands of tech enthusiasts, developers, and data professionals make the most out of AI. He has contributed to the programming community through his Python courses on YouTube and Udemy and has recently launched a ChatGPT course where he teaches prompt engineering techniques to get better responses and how to make the most of ChatGPT’s most powerful features for programming, data analysis and more”

# News

Python's Pickle Module

This week, I took a dive into Python’s Pickle module. 🥒

While Pickle is a powerful tool for serializing and deserializing objects, it carries significant security risks you should know about. 🚨

I’ll explore these dangers and introduce safer alternatives like JSON and MessagePack to keep your projects secure and efficient. 🛡️

Make your Python applications safer and more robust! Click here to read the post.

UUIDs and When to Use Them

Nicole Tietz has recently published a comprehensive blog post that explores the various versions of UUIDs (Universally Unique Identifiers) and their specific use cases. 🖥️

She explains the differences between UUID versions 1, 3, 4, and 5, discussing their unique attributes, advantages, and ideal scenarios for use.

This article is a must-read for developers seeking to understand how to effectively implement UUIDs in their projects to ensure unique and reliable identifiers. 🌟 Click here to check it out.

# Community

🔍 Struggling with project structure in Python? Join the insightful discussion on my Discord server where community members share tips on using MVC, logging, and argparse to kick-start your Python project.

💬 From organizing files to handling CLI arguments and logging, this thread offers practical advice to help you refine your design patterns and streamline your workflow. 👉 Dive into the full conversation here.


Do you enjoy my content on YouTube and would you like to dive in deeper? Check out my online courses below. They've helped thousands of developers take the next step in their careers.

🚀 The Mindset Online Course Series

The goal of this series is to help junior developers grow their skills to become senior developers faster.

💥 Other Courses

💡 If you’re part of a development team at a company, I offer special packages for companies that give your team the tools to consistently write high-quality code and dramatically increase your team's productivity.

🪄 Learntail

My team and I created an AI quiz generator designed to accelerate your learning, called Learntail. You can try it for free or unlock even more capabilities and features with the monthly subscription. Take a look here.

Unsubscribe | Send by ArjanCodes

Wolvenplein 25, Utrecht, UT 3512 CK

The Friday Loop

Every Friday, you'll get a recap of the most important and exciting Python and coding news. The Friday Loop also keeps everyone posted on new ArjanCodes courses and any limited offers coming up.

Read more from The Friday Loop

Hi there, You’ve probably heard developers say "That’s not very Pythonic…" But what is Pythonic code, really? Is it about using list comprehensions? Avoiding for-loops? Dressing up like Guido van Rossum? In this week’s video, I answer that question by taking a small, messy Python script and refactoring it step-by-step using the principles behind idiomatic Python. Along the way, I’ll show you what it means to think like a Python developer, using things like: Functions instead of unnecessary...

Hi there, Have you ever found yourself writing functions like this? def render_article(article_id, db, logger, user, config, feature_flags, etc): …and then passing the same parameters through five different layers of your app? In my latest video, I walk through a realistic Python example and show how to fix this mess using the Context Object Pattern. I’ll start with the "before" version, refactor step by step, and explore: How to group related dependencies using a context object When this...

Hi there, This week’s video is all about uv workspaces, and why they’ve completely changed the way I manage Python projects. In the video, I walk you through a real-world example: I build a CLI tool and a FastAPI API that both fetch and summarize news headlines using OpenAI. But the real lesson is in how the project is structured. I show you how to share a local package between apps, define common dependencies like openai or httpx only once. And you can manage everything using uv’s workspace...