Git hooks are scripts in .git/hooks that run at commit and push time — exit non-zero and the operation is cancelled. This guide installs pre-commit, commit-msg and pre-push, and measures them: 9 attempts, 4 blocked, 5 allowed. Includes two real bugs found while testing: git diff --check --quiet and compileall without -f.
VIBEFIX EXPLORE
Explore what to build next
Reusable AI coding guides, tool updates, and signals from the builder ecosystem.
Featured
Latest
A context manager is the promise set up on entry, clean up on exit. This guide builds a Timer with __enter__/__exit__, explains why __exit__ returning True swallows exceptions, rewrites it with contextlib, and proves the point with a lock: 20000 increments with the lock, 5004 without. Standard library only, Python 3.12.3.
On November 17, 2026, Google made Tasks in Gemini free in six countries on Gemini 4 Hydrogen. Flip the toggle from Chat to Task and Gemini calls businesses, checks bills, compares products and pays with Google Pay under a spending cap — in its own sandboxed VM. Google admits tasks can still fail.
SQL is the language for talking to a relational database. This guide works through SELECT, WHERE, GROUP BY, JOIN, LEFT JOIN, subqueries, window functions, the NULL trap, parameter binding against injection, and transaction rollback on a fictional bookshop's two tables, ending with a daily revenue report. Standard-library sqlite3 only, Python 3.12.3.
Python offers three concurrency models — threading, multiprocessing, and asyncio — and the wrong pick adds bugs without adding speed. Measured on a fictional bookshop order program: threads and asyncio both cut five I/O waits from 1.00 s to 0.20 s, threads match sequential code on CPU work while processes speed up, plus a shared-counter race, timeouts, and a decision table. Standard library only, Python 3.12.3.
Microsoft Ignite 2026 opened on 17 November with governance as the headline: Agent 365 gained dynamic risk scoring and cost management, while Entra Agent ID can discover 60 local agent types — including Claude Code, Codex, and Copilot CLI — and give each an identity that is disabled after 60 idle days. Agents have moved from answering questions to changing the cloud, and Microsoft's answer is about who issues the ID, who keeps the books, and who can stop them.
On 22 November 2026, OpenAI chief scientist Jakub Pachocki published an internal curve: GPT-3.5 at about 0.99 log-perplexity, GPT-4 at about 0.91, the maths-breakthrough model at about 0.76 — and nobody knows what capabilities sit in the next window, 0.68 to 0.70. His proposal is that the industry agree on speed limits measured by one shared ruler. The ruler has four known flaws, and no other lab has followed yet.
Dates and times are easy to get wrong: the wrong time zone, a day off, or mixing naive and aware datetimes. This guide covers the datetime module from scratch — date, time, datetime, timedelta, time zones with ZoneInfo, strftime/strptime, timestamps, daylight saving time, and calendar math — with a small class schedule as its demo. Standard library only, Python 3.12.3, every output a real measured run.
Python lets you write price: float and -> float, yet passes a string and the program still runs. This guide uses a fictional bookshop inventory to explain type hints from scratch: Optional and X | Y, generics, TypedDict, Literal, Protocol, TypeVar, get_type_hints, and a hand-rolled runtime checker. Standard library only, Python 3.12.3, every output a real measured run.
On 19 November 2026, Google put Genie 4 in developers' hands via the Gemini API: continuous 720p, 24fps worlds with 48kHz stereo audio, explorable with WASD and changeable mid-session with text prompts. About $0.10 per second (approximate), 120 seconds per session, no published rate limits. Not the 28 October announcement — this is the developer release.