Urgent.News

What's breaking now, across thousands of outlets.

Tech

Git seance: I let deleted functions speak from beyond the grave (with local Gemma)

This is a submission for the Hacktoberfest Open-Source AI Challenge: Ghost in the Machine What I Built Every repository is a graveyard. Functions get written, argued over, shipped, and then one day a commit quietly removes them, and nobody says a word. git seance holds the funeral they never got. It walks your git history, finds functions that were deleted and never came back, and lets one of…

This is a Python script that reads a repository's git history and summons deleted functions to speak through a local Gemma model. It walks the git history, identifies functions that were deleted and never returned, and enables one of them to speak through a local Gemma model, revealing who wrote it, when it was added, and the commit that removed it.

The script uses standard Python libraries and works with Python, JavaScript/TypeScript, Go, and Rust definitions. It was demonstrated on the psf/requests repository with the gemma3:4b model running on a laptop CPU through Ollama, uncovering seven ghosts from the last 400 commits. The most poignant is set_http_proxy, a 85-line function that meticulously handled proxy configurations, added to the Session object on November 27, 2020, and reverted the same day by its creator.

The script can operate in offline mode if no model is reachable, presenting only the factual details.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

How a Live Unsaved-Changes Diff Works in a VS Code Extension

| Baselines, Myers line diffs, debouncing, undo/redo, and the edge cases behind SavePoint Diff's gutter markers. I recently shipped SavePoint Diff , a VS Code extension that shows gutter markers for…

  • SavePoint Diff highlights unsaved changes with gutter markers
  • Baseline captures last saved content of each file
  • Performance optimized with debounce time for diffing

Cohere Rerank v5 Pro and Fast for C# Developers

Most retrieval-augmented apps follow the same path. A vector search returns 30 or 50 passages, and the chat model reads all of them. Some of those passages are close but wrong.

  • Cohere releases Rerank v5 in Pro and Fast versions for .NET applications
  • Pro version prioritizes ranking quality for complex queries and long documents
  • Fast version focuses on low latency and high throughput for frequent searches

More from Friday 30 October →