PythonHub
2.42K subscribers
2.35K photos
49.1K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
Finding performance problems: profiling or logging?

What’s the difference between trace-based logging and profiling? Which should you use—do you need only one, or both? What’s the fastest way to find performance problems in production?

https://pythonspeed.com/articles/logging-vs-profiling/
PySearch

PySearch is a completely free search engine for querying python libraries using natural language descriptions of the properties of the functions you are looking for. The goal is to help you find the function you are looking for when you know what library its in, but not what its name is.

https://www.pysearch.com/
The spelled-out intro to neural networks and backpropagation: building micrograd

Andrej Karpathy gives the most step-by-step spelled-out explanation of backpropagation and training of neural networks. It only assumes basic knowledge of Python and a vague recollection of calculus from high school.

https://www.youtube.com/watch?v=VMj-3S1tku0
Advanced Python: Achieving High Performance with Code Generation

If the phrase “hand-rolled bytecode” makes you laugh maniacally, this article is for you. If it makes you think “this is almost certainly a terrible idea,” then you have the right level of caution to be considering using it. This method is a powerful footgun and should be handled with care.

https://medium.com/@yonatanzunger/advanced-python-achieving-high-performance-with-code-generation-796b177ec79