P

Programming

Django, React, Flutter, Python scripting and more

63 articles

Advertisement

Django ORM N+1 Queries in Serializers: Detecting and Fixing Them

N+1 query bugs in Django serializers can silently turn a fast endpoint into a database-hammering bottleneck. Learn how to detect them with django-debug-toolbar and nplusone, then fix them permanently with select_related and prefetch_related.

Jun 28, 2026 8m read πŸ‘ 19

How to Structure Large Flutter Applications for Scalable and Maintainable Growth

As Flutter applications grow, poor project organization can quickly lead to technical debt, duplicated code, and difficult maintenance. Learn how to structure large Flutter applications using feature-based architecture, Clean Architecture principles, dependency injection, state management..

Jun 25, 2026 5m read πŸ‘ 17

Django Signals Firing Multiple Times: Causes and How to Fix Them

Your Django signal handler is running twice, three times, or more β€” and you have no idea why. This guide breaks down every common cause, from duplicate receiver registration to AppConfig mistakes, and shows you exactly how to stop it.

Jun 25, 2026 11m read πŸ‘ 17

Python openpyxl Formulas That Show Stale Values After Writing, Fix it

Many Python developers are surprised when Excel formulas written with openpyxl show outdated results even after saving the workbook. Learn why stale formula values occur, how Excel calculates formulas, and the best ways to ensure accurate spreadsheet results.

Jun 23, 2026 4m read πŸ‘ 31

Tracing Memory Leaks in Long-Running Python Processes with tracemalloc

Memory leaks in long-running Python applications can slowly degrade performance and eventually crash services. Learn how to use Python's built-in tracemalloc module to identify memory growth, locate problematic allocations, and fix leaks before they impact production.

Jun 23, 2026 5m read πŸ‘ 14

Why Array.sort() Gives Wrong Results Without a Compare Function

Many JavaScript developers are surprised when Array.sort() produces unexpected ordering for numbers. Learn why the default sorting behavior works this way, how compare functions solve the problem, and best practices for reliable sorting.

Jun 21, 2026 4m read πŸ‘ 15

Responding to a CVE Filed Against Your Open Source Project

Receiving a CVE report against your open source project can be stressful, but a professional and transparent response can strengthen trust in your software. Learn how to investigate, validate, fix, and communicate security vulnerabilities effectively.

Jun 21, 2026 5m read πŸ‘ 11
πŸ“¬ Weekly Newsletter

Stay ahead of the curve

Get the best programming tutorials, data analytics tips, and tool reviews delivered to your inbox every week.

No spam. Unsubscribe anytime.