New episode: #423 - Solving 10 different simulation problems with #Python with @allendowney & host @mkennedy
https://talkpython.fm/episodes/show/423/solving-10-different-simulation-problems-with-python
Python is used for a wide variety of software projects. One area it's really gained a huge amount of momentum is in the computational space (including data science). On this episode we welcome back Allen Downey to dive into a particular slice of this space: simulation problems and Python in Physics and Engineering in general.
Episode 400: Ruff - The Fast, Rust-based Python Linter on @talkpython
with guest @charliermarsh and host @mkennedy #python
https://talkpython.fm/episodes/show/400/ruff-the-fast-rust-based-python-linter
Our code quality tools (linters, test frameworks, and others) play an important role in keeping our code error free and conforming to the rules our teams have chosen. But when these tools become sluggish and slow down development, we often avoid running them or even turn them off. On this episode, we have Charlie Marsh here to introduce Ruff, a fast Python linter, written in Rust. To give you a sense of what he means with fast, common Python linters can take 30-60 seconds to lint the CPython codebase. Ruff takes 300 milliseconds. I ran it on the 20,000 lines of Python code for our courses web app at Talk Python Training, and it was instantaneous. It's the kind of tool that can change how you work. I hope you're excited to learn more about it.
Episode 401: Migrating 3.8 Million Lines of #Python
A massive project all of us Python folks can learn from with Ben Bariteau & @mkennedy
https://talkpython.fm/episodes/show/401/migrating-3.8-million-lines-of-python
At some point, you've probably migrated an app from one framework or major runtime version to another. For example, Django to Flask, Python 2 to Python 3, or even Angular to Vue.js. This can be a big challenge. If you had 100s of active devs and millions of lines of code, it's a huge challenge. We have Ben Bariteau from Yelp here to recount their story moving 3.8M lines of code from Python 2 to Python 3. But this is not just a 2-to-3 story. It has many lessons on how to migrate code in many situations. There are plenty of gems to take from his experience.
The Ruff VS Code extension now supports Quick Fixes for auto-fixable violations, import sorting, fix-all-on-save, and more.
Upgrade to v2022.0.18 to try it out!