PythonHub
2.36K subscribers
2.35K photos
49K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
CPython Garbage Collection: The Internal Mechanics and Algorithms

A detailed code walkthrough of how CPython implements memory management, including reference counting and garbage collection.

https://blog.codingconfessions.com/p/cpython-garbage-collection-internals
👍3
Inspectus

Inspectus is a versatile visualization tool for large language models. It runs smoothly in Jupyter notebooks via an easy-to-use Python API. Inspectus provides multiple views, offering diverse insights into language model behaviors.

https://github.com/labmlai/inspectus
Let's reproduce GPT-2 (124M)

In this video, Andrej Karpathy demonstrates how to reproduce the GPT-2 (124M) model, covering topics like parameter sharing, model initialization, mixed precision training, optimizations like flash attention, and hyperparameter tuning.

https://www.youtube.com/watch?v=l8pRSuU81PU
Optimal SQLite settings for Django

The article provides optimal SQLite settings for Django applications, aimed at enhancing performance and reliability for smaller deployments. It includes specific PRAGMA configurations and a simple backup strategy, highlighting the potential of SQLite when correctly tuned for production use.

https://gcollazo.com/optimal-sqlite-settings-for-django/
Cracking the Scheduling Code in Hay Day

Learn how to solve the scheduling problem in the Hay Day game using Mixed-integer linear programming and Google OR-Tools.

https://thinhcorner.com/blog/hayday-game-schedule
Build a SaaS App with Django, Stripe, Neon PostgreSQL, TailwindCSS, GitHub Actions

This video is a Python tutorial that teaches how to build a SaaS app with Django, Stripe, Neon PostgreSQL, TailwindCSS, and GitHub Actions. It covers topics like Django web development, sending emails, user authentication, deployment, database integration, static files, and subscription management.

https://www.youtube.com/watch?v=WbNNESIxJnY