Urgent.News

What's breaking now, across thousands of outlets.

Tech

Ghost in the Machine: Necromancing Dead Codebases Locally with Gemma 3 & Ollama

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 4: Ghost in the Machine Disclosure: this project was built with AI assistance — a local Gemma 3 model performed the code autopsy and drafted rewrites through Ollama, and a human verified every finding, rejected the invented ones, and wrote the tests. No cloud AI service was used. Ghost in the Machine: Necromancing Dead…

This article details a Python tool called "The Legacy Code Necromancer" that can resurrect abandoned codebases and generate a detailed audit report. The tool runs locally on a single machine, using Gemma 3 through Ollama to analyze the code, remove sensitive information, and suggest improvements. The author ran the tool on a sample directory containing two Python files with fake credentials, revealing 15 issues in total.

However, only 8 were confirmed critical flaws, while the rest were either invented by the model or not present in the code. The author rejected the unreliable suggestions and documented the findings, rejecting the model's inaccurate "Cause of Death" claims. The repository includes the annotated report and the final code output.

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

Anatomy of the Failed-Payment Email

A failed-payment email has about four seconds to be understood. The anatomy that survives those seconds is boring on purpose: a subject line that says what happened in the merchant's name, a first…

Webhooks Lie by Omission

A webhook is a promise a platform makes in the moment, and like most promises made in a hurry, it occasionally does not arrive.

  • Webhooks often omit crucial information
  • Systems must account for missing data
  • Reconciliation sweeps verify accuracy

The Price of a Percentage

Run the arithmetic a percentage-of-recovery tool hopes you will not. Say a store fails $40,000 of payments in a year — unremarkable for a mid-size subscription business — and a competent tool recovers…

  • Percentage-based pricing model can be detrimental to merchants in the long run.
  • Mid-size subscription business faces $40,000 in uncollected payments.
  • Flat fee pricing model remains constant regardless of recovery amount.

More from Thursday 29 October →