Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Topics Languages

Python

Python language, ecosystem or tooling.

Search within Python, or combine it with other topics →

This week

Last week

Airbnb Engineering

De-identifying text at scale: How Airbnb protects personal data in AI training

Case study 13 min +130 XP

Airbnb de-identifies messages, reviews and support chats before ML training using Presidio, an open-source PII framework, shipped as an in-process Python library and a shared pipeline step whose de-identified dataset tag gates model deployment.

Week of Nov 9

Week of Nov 2

Week of Oct 26

Week of Oct 19

Introducing ModuleLens: Zooming into PyTorch Modules for Human and Agentic Engineering

Case study 5 min +50 XP

ModuleLens lets Pinterest ML engineers capture any PyTorch module from a sharded multi-GPU recommendation model and rebuild it locally within seconds, replacing full-model initialization with a "module-first" workflow.

Week of Oct 12

Hugging Face

TorchNeuron: running HF models on AWS Trainium is easier than ever

Announcement 7 min +70 XP

TorchNeuron is a PyTorch plugin that exposes AWS Trainium as a native `neuron` device with eager execution, `torch.compile`, and native distributed APIs (DTensor, FSDP2, TP), replacing the PyTorch XLA–based path that required lazy tensors and static graphs.

Hugging Face

Welcome Muse Spark Open: open-weight frontier multimodal mixture-of-experts model from Meta

Announcement 19 min +190 XP

Muse Spark Open is Meta's open-weight multimodal mixture-of-experts model with ~816B total and ~42B active parameters, 256 experts per layer with 8 routed per token, a 1M-token context, and text, image, audio and video inputs producing text output, aimed at agentic coding.

LangChain

Building Long-Running Agents with ScaleDown and Deep Agents

Announcement 9 min +90 XP

The langchain-scaledown integration offloads context-management decisions in long-running agents (summarizing history, compressing tool results, extracting fields, classifying state) from frontier LLMs to ScaleDown's small, task-specific constrained decoding models, which ScaleDown reports are far faster and cheaper on these narrow tasks.

Week of Oct 5

Unsupervised Topic Discovery with Text Embeddings

How-to 14 min +140 XP

Wealthfront derives a hierarchical taxonomy of support-call topics from free-form representative notes by embedding each note with OpenAI's text-embedding-3-small, reducing dimensions with UMAP (to 25), and clustering with HDBSCAN into 89 top-level clusters, then re-running UMAP+HDBSCAN within each cluster to get sub-topics.

Week of Sep 28

Week of Sep 21

Week of Sep 14

Week of Sep 7

Week of Aug 24

Render

How Render Workflows powers our internal data pipeline

Case study 10 min +100 XP

Render's two-person data team replaced a time-spaced set of cron jobs with a Render Workflows DAG that waits for a late-arriving Go-built invoice projection dataset, runs dbt in projection-independent and projection-dependent partial builds, then fans out downstream tasks like doc sync, cost monitoring and Metabase cache warming in parallel.

Week of Aug 17

Week of Aug 10

Hugging Face

Introducing OlmoEarth embeddings: Custom embedding exports from OlmoEarth Studio for downstream analysis

Announcement 8 min +80 XP

OlmoEarth Studio can now compute on-demand embedding exports from Ai2's open OlmoEarth Earth-observation foundation models, configurable by area, 1-12 monthly periods, encoder size (Nano 128-dim, Tiny 192-dim, Base 768-dim), 10-80 m resolution, and Sentinel-2/Sentinel-1 inputs.

One line of Python, and a 3× drop in p99

Case study 9 min +90 XP

Removing an unconditional structured-log warning (plus four Prometheus-style metric increments) from a Python ad-decisioning service's hot path cut sustained p99 latency from ~48ms to ~18ms and CPU from 8–10 to 2–4, with pre- and post-deploy latency bands not overlapping at all.

Week of Jul 27

Week of Jul 20

Week of Jul 13

Week of Jul 6

Week of Jun 29

Week of Jun 22

Hugging Face

Shipping huggingface_hub every week with AI, open tools, and a human in the loop

Case study 10 min +100 XP

huggingface_hub moved from releases every 4-6 weeks to weekly releases driven by a single GitHub Actions workflow that automates versioning, tagging, PyPI publishing, downstream test branches, post-release bumps and Slack reporting, with an open-weights model (GLM via HF Inference Providers, run through OpenCode) drafting release notes and announcements.

Week of Jun 15

Week of Jun 8

Week of Jun 1

Astral

Vulnerability and malware checks in uv

Announcement 6 min +60 XP

uv gains two preview security features: `uv audit`, a native replacement for pip-audit that checks locked dependencies against known vulnerabilities and adverse statuses like deprecation, running 4-10x faster on typical projects, and an opt-in malware check (`UV_MALWARE_CHECK=1`) that queries OSV for MAL advisories on every sync and aborts before malicious code runs.

Google Research

The next chapter in flood resilience: Open sourcing Google’s hydrology framework

Announcement 6 min +60 XP

Google has open-sourced the hydrology modeling framework behind Flood Hub's riverine flood forecasts as a PyTorch-based Python package under Apache 2.0, letting meteorological agencies train or fine-tune LSTM streamflow models on their own data via the Caravan dataset.

Week of May 25

Week of May 18

Week of May 4

Week of Apr 27

Week of Apr 20

Week of Apr 13

Week of Apr 6

Week of Mar 30

Week of Mar 23

Week of Mar 16

ClickHouse

Designing the new async-native ClickHouse Python client

Deep dive 12 min +120 XP

The new async-native clickhouse-connect client replaces the legacy thread-pool wrapper with aiohttp for network I/O and a half-sync/half-async design: an async producer streams response chunks into a bounded queue (10 chunks of up to 1MB) while the existing synchronous Native-format parser consumes them in an executor thread, with the same queue reversed for inserts.

Week of Mar 9

Week of Mar 2

Hugging Face

Introducing Modular Diffusers - Composable Building Blocks for Diffusion Pipelines

Announcement 8 min +80 XP

Modular Diffusers lets diffusion pipelines be assembled from reusable, self-contained blocks (text encoding, VAE encoding, denoising, decoding) instead of monolithic DiffusionPipeline classes, while keeping the same call API.

Week of Feb 23

Hugging Face

Mixture of Experts (MoEs) in Transformers

Deep dive 10 min +100 XP

Hugging Face transformers v5 reworks its internals to treat Mixture of Experts models as first-class: a WeightConverter pipeline packs per-expert checkpoint tensors into contiguous runtime tensors with async, lazy materialization, cutting Qwen1.5-110B load time from ~66s to ~21s (10s with tensor parallelism) on an A100.

Week of Feb 16

Fragmentation to framework: Spec-first development at Benchling

Case study 8 min +80 XP

Benchling replaced M×N hand-built integrations between scientific object types (DNA sequences, notebook entries, inventory) and platform capabilities (REST API, warehouse, search, config migration) with the Object Framework, a spec-first layer over its monolithic SQLAlchemy-based service.

Week of Feb 9

Hugging Face

Custom Kernels for All from Codex and Claude

How-to 9 min +90 XP

Hugging Face packaged CUDA kernel expertise (GPU architecture guides for H100/A100/T4, diffusers and transformers integration patterns, vectorized kernel templates, benchmark scripts) into an agent skill that lets Claude and Codex generate complete kernel-builder projects with PyTorch bindings.

Week of Feb 2

Week of Jan 26

Week of Jan 12

htmx essays

Building Critical Infrastructure with htmx: Network Automation for the Paris 2024 Olympics

Case study 8 min +80 XP

A Django/Celery/SQLite/htmx stack was used to build a network service portal that configured switch ports for the Paris 2024 Olympics network across three services: Direct Internet Access, Private VLAN and Shared Internet Access.

The quest for software engineering knowledge.

Look:
Layout: