Never think about Python formatting again
An introduction to Black, a Python code formatter that automatically formats code to eliminate debates and save time on manual formatting.
Matt Segal is a software engineer and tech lead who writes about software design, Python development, system architecture, and the craft of engineering teams. His blog focuses on practical approaches to building reliable, maintainable software - from dependency management and code reviews to continuous delivery and scalable system design.
57 articles from this blog
An introduction to Black, a Python code formatter that automatically formats code to eliminate debates and save time on manual formatting.
How to use Cloudflare's free services to simplify DNS, SSL, and CDN setup for web developers.
A review of the Nand to Tetris course, which teaches how to build a computer from first principles, from logic gates to a high-level language.
A beginner's guide to DNS, explaining how to set up domain names, A records, and CNAMEs for your website.
Learn 4 practical debugging techniques for Django, including using pprint, pdb, assertions, and logging to find and fix bugs faster.
Learn how to use Python's built-in pdb debugger to quickly find and fix bugs in Django applications, replacing slow print statement debugging.
A guide on configuring Django to write application logs to a file in a production environment for easier debugging.
A guide on integrating Django application logs with Papertrail, a web-based log aggregator, for easier log viewing and searching.
A guide to customizing Django's class-based views, showing how to override methods for filtering and ordering data.
A guide on using Sentry for error tracking and monitoring in Django applications, highlighting its setup and benefits.
A DevOps talk on using configuration management tools to maintain consistent environments and prevent deployment bugs.
A guide to 9 essential Docker commands for debugging Django applications running in containers, including pdb and bash shells.
A guide on using Watchdog to automatically restart Celery workers when Python code changes during local development.
Three deployment strategies for integrating a Django REST backend with a React frontend, comparing pros and cons.
A guide on deploying Django model changes to production using migrations, covering a simple method and best practices.
How to handle slow Django views by offloading long-running tasks using Django Q for background processing.
A guide to setting up scheduled tasks in Django using the Django-Q library as a simpler alternative to Celery.