PythonHub
2.36K subscribers
2.35K photos
49K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
Debugging distributed database mysteries with Rust, packet capture and Polars

Unravel a mysterious network bandwidth issue in QuestDB's primary-replica replication was identified and resolved. Learn about the tools and techniques used, including Rust for packet capture and Python with Polars for data analysis, to optimize network performance.

https://questdb.io/blog/debugging-distributed-database-mysteries-with-rust-pcap-and-polars/
The trouble with __all__

This article discusses the limitations and pitfalls of using the all attribute in Python for defining public APIs, emphasizing how it fails to enforce module boundaries and can lead to tightly coupled codebases. The author proposes an alternative solution involving a custom import hook to ensure stricter module interface enforcement.

https://www.gauge.sh/blog/the-trouble-with-all
FINALLY Python is Getting Rid of the GIL!

This video discusses how Python 3.13 is revolutionizing performance by making the Global Interpreter Lock (GIL) optional! Learn what the GIL is, why it exists, and the potential impacts of its removal on your Python projects.

https://www.youtube.com/watch?v=zWPe_CUR4yU
👍2
Talk to Django with natural language. Text to SQL and more.

The video demonstrates using Djeno database for natural language to SQL queries via embeddings, emphasizing semantic search, and integration with Django. It covers setting up PostgreSQL, creating Django models, embedding for efficient search, and caching for performance, while addressing bugs and customizing prompts in the SQL engine.

https://www.youtube.com/watch?v=GfDJ-Sxn4dE