Notes on ruff
An overview of ruff, a fast Python linter written in Rust that replaces tools like flake8, isort, and pyupgrade, and includes a language server.
An overview of ruff, a fast Python linter written in Rust that replaces tools like flake8, isort, and pyupgrade, and includes a language server.
Explains Python dictionary comprehension, compares its performance with for loops and dict() function, and provides benchmark results.
A developer automates iTerm key mapping creation for tmux using a Python script to generate JSON configurations, improving terminal workflow.
A developer explains their preference for Nox over tox for Python project testing, comparing configuration formats and flexibility.
A developer's critical reflection on using Calendar Versioning (CalVer) in open-source Python projects, comparing it to Semantic Versioning (SemVer).
A guide to creating and using interactive dual-axis line charts in Plotly for Python, with examples comparing sensor data.
Author announces closing his data science training company after seven years and shares his new role as a Senior Machine Learning Engineer.
The author discusses switching to Neovim, an Exercism Python exercise, and adding django-stubs for better type hinting in their SaaS project.
Explains why PyTorch multi-process data loaders cause massive RAM duplication and provides solutions to share dataset memory across processes.
A data scientist reviews his 2022 goals, including technical writing on ML topics and career progression, and sets new goals for 2023.
An introduction to Python type hints, explaining their purpose and demonstrating usage with common examples to improve code quality.
A guide to performing basic network connectivity tests using Python's built-in socket library, especially useful in constrained environments like containers.
A developer stream recap covering Python list methods, Stripe integration, and Firefox Content Security Policy warnings.
A tutorial on learning Python by creating a simple Ghost Gobble Arcade Game, focusing on boolean logic and list methods.
Compares performance of dict() vs {} for creating dictionaries in Python, showing {} is significantly faster due to bytecode differences.
A developer discusses solving a Python Blackjack exercise on Exercism and fixing a bug in a Django app's teacher checklist feature.
A developer uses Python, OpenCV, and computer vision to automate collecting in-game currency in City Island 5, earning millions overnight.
A developer discusses how thinking in one programming language (Swift) helps them write code in another (Python), drawing parallels to learning natural languages.
A Python tutorial using a currency exchange exercise from Exercism to teach basic numbers and math operators.
Explores surprising and subtle aspects of Python's scoping rules, focusing on unusual cases like exception binding and garbage collection.