Urgent.News

What's breaking now, across thousands of outlets.

More in Tech

Code Is Open, Secrets Aren't: Organizing Your Project for AI Agents

This Article is also found in Web-Warrior-Toolbox Anything you put in the frontend or expose through routes is visible to users and AI agents, while secrets like API keys and credentials must stay…

  • Separate .env files for different environments to secure secrets
  • AI agents can access code repositories, not .env files
  • build.sh script builds project using appropriate .env file

Whoosh on the no-GIL Python: pure-Python search that can finally use your cores

For fifteen years, the standard answer to "why is my pure-Python search slow to index?" was: the GIL . Tokenizing, stemming, and building postings is all CPU-bound Python, and only one thread gets to…

  • Python 3.14 introduced no-GIL build for pure-Python CPU-bound tasks
  • Whoosh search library benefits from no-GIL for parallel indexing
  • Concurrency contract requires one writer per thread to avoid lock contention

More from Thursday 27 August →