Recent stories
Each story's summary, with the places it was discussed.
Summaries are written by AI from the linked sources. Open the source for full context.
The v3 release of llms-py introduces a comprehensive architecture redesign focused on extensibility and modularity through a new plugin system.
This major update expands provider support to over 530 models from 24 providers by integrating with models.dev. Key technical features include robust Retrieval Augmented Generation (RAG) workflows via the Gemini RAG extension, support for the Model Context Protocol (MCP), and first-class Python tool calling capabilities. The platform now utilizes a server-side SQLite backend for persistent chat history and asset caching, replacing the previous IndexedDB implementation. Additionally, the release enhances the user experience with dedicated UIs for code execution, LaTeX math rendering via KaTeX, and a media gallery for managing generated image and audio assets. Developers can now customize the entire system through local or GitHub-hosted extensions, making llms-py a highly adaptable platform for both CLI and web-based AI interactions.
Python 3.12 and 3.13 removed 25 standard-library modules, and 1,623 of 354,763 indexed PyPI projects still contain unguarded imports that can fail.
Among the 60,000 most-downloaded projects, 852 have such imports; 544 have had no release in two years yet received 126 million downloads in 30 days. Notable failures include nose and boto on Python 3.12+, while pydub and others break on 3.13. Maintainers should replace imports or use successors and compatibility packages.
NightGuard AI is a local prototype that uses Prior Labs’ TabPFN to predict nocturnal hypoglycemia from Liam’s 90-day CGM and evening data before sleep.
It runs offline, reportedly producing predictions in under 40 ms; in the author’s evaluation, TabPFN reached ROC-AUC 0.938 versus 0.812 for Random Forest. A Next.js 16/TypeScript cockpit visualizes risk and suggested interventions, while FastAPI exposes the engine. The project is open source under the MIT License.
ReClip is a lightweight, self-hosted, open-source media downloader with a clean web UI.
Built with a small Python and Flask backend and vanilla HTML/CSS/JS frontend, it uses yt-dlp and ffmpeg to download MP4 videos or extract MP3 audio from 1000+ sites, supporting quality selection, bulk downloads, and URL deduplication.
AI agents have modeled CPython 3.15.2 in Lean by copying functions line by line, differential-testing each against real Python on at least 50,000 inputs, proving properties with Lean’s checker, and requiring independent review.
So far, 4,071 functions are accepted across 613,318 lines, 1,539 files, and 18,898 theorems and lemmas. The process produced 418 bug reports, including about 55 issues capable of crashing Python or corrupting memory through ordinary Python code.
Datahäxan is a technical art project exploring datamoshing and glitch art on the 1922 film Häxan.
By manipulating the hexadecimal representation of h264-encoded binary data and twiddling I-frame bits, the author introduces psychedelic colors and visual distortions. The project uses Python and ffmpeg to systematically mutate video streams while maintaining playback compatibility.
This study evaluates the hardware and energy impact of disabling Python's Global Interpreter Lock (GIL) in version 3.14.2.
While free-threading significantly improves performance and energy efficiency for parallel workloads, it increases energy consumption by 13-43% for sequential tasks. The findings highlight trade-offs in memory usage and object locking contention, suggesting careful evaluation before adoption.
TinyCity is an intricate city simulation game designed specifically for the Raspberry Pi RP2040 microcontroller using MicroPython.
Drawing heavy inspiration from the classic SimCity and the MicroCity project for Arduboy, it allows players to build and manage a growing metropolis on a small scale. The game features complex mechanics including residential, commercial, and industrial zoning, budget management, and a disaster system with random events. Players must balance power grids, crime, pollution, and traffic while reaching milestones to unlock bonuses. It includes save and load functionality, three terrain types, and various civic buildings like police stations, stadiums, and schools to enhance population growth through taxation and strategic planning.
A critical vulnerability (CVE-2026-48710) in Starlette and FastAPI allows attackers to bypass authentication by manipulating the Host header.
By injecting crafted paths into the header, attackers can deceive path-based middleware. Developers are advised to use reliable ASGI scopes or endpoint-level security, upgrade Starlette, and deploy compliant reverse proxies.
Maintain API stability in evolving libraries using the 'opaque data type' pattern in Python.
By combining typing.NewType with private classes and public factory functions, developers can hide implementation details and safely refactor complex configuration objects without breaking external client code or exposing mutable internals.
Faceoff is a Python-based terminal user interface (TUI) application built with Textual.
It provides real-time NHL game updates, detailed player and team statistics, standings, and game previews. Designed for hockey fans, the tool offers a responsive layout and automatically adjusts to terminal dimensions, making it easy to track games directly from the command line.
ComfyUI v0.40.0 adds broader model attention support, local asset export, standardized 3D outputs, camera-information and camera-angle nodes, prompt and preview metadata, native LoRA stack loading, and governance controls for custom nodes.
It improves Qwen3.5 and low-VRAM performance, adds ARM64 NVIDIA portability, enables or refines asset scanning and previews, supports compressed EXR and faster GLB texture saving, removes the cryptography dependency, updates the frontend and documentation, and introduces numerous partner nodes and workflow templates.
bine adds lightweight binary inspection features: ASCII-column shading reveals printable, nonprintable, and NUL bytes without expensive ncurses color calls, while large files can be visualized directly as Portable Graymap images by mapping bytes to grayscale pixels.
The approach is fast and useful for spotting structure, though resizing very large files remains memory-intensive.
Show HN: XY – A Fast, composable, GPU-accelerated interactive plotting library
Data Science · Python · Rust
XY is a fast, interactive Python charting library that uses a Rust core to handle massive datasets.
It renders screen-optimized density surfaces for large charts and exact markers for smaller ones. It integrates with notebooks and web applications, offering high performance by transferring compact typed binary buffers instead of JSON.
gpiozero-flow is a web-based visual programming tool for Raspberry Pi that enables users to connect GPIO devices by dragging and dropping components.
Built on the gpiozero library, it simplifies hardware interactions through a 'source/value' architecture, allowing users to build complex logic, generate Python code, and remotely control physical pins via a websocket-based agent.
The new marimo plugin for PyCharm brings reactive notebooks to JetBrains IDEs.
Developers can build, test, and demo code using live, interactive cells within their IDE. The notebooks are saved as standard Python files, ensuring full git compatibility and seamless integration with existing project environments, dependencies, and external tools like databases or AI coding agents.
To enable agents to handle long-term tasks, this guide introduces 'scratchpad' and 'to-do list' tools.
These allow models to plan, track progress, and rethink strategies autonomously. By integrating these tools with a comprehensive system prompt, agents can effectively decompose complex goals into manageable steps, ensuring persistence and reliability during extended work sessions.
This analysis investigates a case of lawful TLS wiretapping discovered after an interception operation failed due to a lapsed certificate.
It explores how attackers could leverage vulnerabilities in ACME clients, like CVE-2023-38198 in acme.sh, using shell injection techniques to achieve remote code execution and facilitate undetectable interception within the certificate issuance process.
Unauthorized, malicious versions of the Telnyx Python SDK (4.87.1 and 4.87.2) were briefly published to PyPI as part of a larger supply chain attack.
The Telnyx platform and APIs remain secure, but users running these versions should treat their environments as compromised and revert to version 4.87.0 immediately.
This interactive tutorial provides 75 practical exercises for learning the Pandas library in Python.
Users can execute code directly in their browser without installation. It covers essential data manipulation tasks, ranging from basic series creation and data cleaning to advanced topics like time series analysis, grouping, and complex DataFrame operations, serving as a valuable resource for data science and AI practitioners.