PythonHub
2.36K subscribers
2.35K photos
49K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
You Should Probably Pay Attention to Tokenizers

This article emphasizes the importance of understanding tokenizers in AI applications, particularly for Retrieval-augmented generation (RAG) systems. The author demonstrates how different tokenizers handle various types of text input, including emojis and misspelled words, and explains how tokenization affects embedding quality and overall performance in natural language processing tasks.

https://cybernetist.com/2024/10/21/you-should-probably-pay-attention-to-tokenizers/
From Python to CPU instructions: Part 1

In the first part of a two-part series, we’ll compare the same program written in C and Python to reveal what Python hides from us.

https://dilovan.substack.com/p/from-python-to-cpu-instructions-part
Investigation of a Workbench UI Latency Issue

Netflix engineers investigated a JupyterLab UI latency issue in their Workbench product, tracing it to an unexpected interaction between a resource usage extension and memory allocation. The root cause was identified as the extension's performance degrading linearly with increased virtual memory usage, despite available physical memory.

https://netflixtechblog.com/investigation-of-a-workbench-ui-latency-issue-faa017b4653d
ClickPy

PyPI analytics powered by ClickHouse.

https://clickpy.clickhouse.com/
Adding keyboard shortcuts to the Python REPL

The article discusses how to enhance the Python REPL (Read-Eval-Print Loop) by adding custom keyboard shortcuts to improve efficiency and user experience. It provides step-by-step instructions for implementing these shortcuts, enabling users to navigate and execute commands more effectively.

https://treyhunner.com/2024/10/adding-keyboard-shortcuts-to-the-python-repl/
Zero Downtime Django Deployments with Multistep Database Changes

Preventing downtime during deployments is crucial for maintaining service availability and ensuring a positive user experience. Blue-green deployments have emerged as a popular strategy to achieve this goal. However, they introduce challenges, especially when dealing with database changes. This article delves into what blue-green deployments are, why database changes can be tricky in thi...

https://johnnymetz.com/posts/multistep-database-changes/