home/tags/#python

#python

11 posts

// posts tagged #python
Claude Code 400 'No Low Surrogate': Repairing a Broken Session

A lone UTF-16 surrogate in Claude Code's JSONL transcript permanently breaks every turn. Here's the surgical Python fix that preserves session history.

DeepSeek Open-Sources DeepSpec: Full-Stack Speculative Decoding

DeepSpec from deepseek-ai is the first open framework to tackle speculative decoding's hard part: training draft models and benchmarking them consistently.

Building AI Agents with MCP: Stop Writing Glue Code That Breaks

MCP standardizes how LLM agents invoke tools and APIs. Here's the architecture, the real productivity unlock, and what production deployments actually cost you.

Qwen-AgentWorld: Training AI Agents Inside a Language Model

Alibaba's Qwen team open-sources a framework that replaces hand-engineered simulation environments with LLMs, and the trade-offs are non-trivial.

Persistent Homology vs Moran's I: Spatial Transcriptomics with squidpy 1.8.x and GUDHI

A complete pipeline tutorial using squidpy 1.8.x and GUDHI on a 2,688-spot Visium mouse brain dataset — with critical migration notes and TDA benchmarking.

Build Local Speech-to-Text with Whisper: No Cloud, No API Keys Required

Learn how to implement privacy-first speech-to-text using OpenAI's Whisper model running entirely on your machine—no cloud dependencies or API costs.

Pyodide 314.0 Brings Official WebAssembly Wheel Support to PyPI

Python's WebAssembly runtime hits a major milestone: PyPI now officially supports WASM wheels, enabling seamless browser-based Python package distribution.

Texas Instruments Announces Ti-84 Evo: The Calculator That Taught Millions to Code Gets a Modern Refresh

After decades of dominance in classrooms, the iconic Ti-84 graphing calculator gets its biggest update yet with the Ti-84 Evo, featuring Python support and a color touchscreen.

Fixing MCP Timeouts in AI Agents: The Async HandleId Pattern

Learn how to prevent MCP tool timeout errors in AI agents using the async handleId pattern. Stop 424 errors when external APIs block your agent workflows.

Build Your First AI Agent in 60 Lines of Python — No Framework Needed

Learn how AI agents work by building one from scratch in Python. No LangChain, no CrewAI — just core concepts, the Anthropic API, and clean code.