Urgent.News

What's breaking now, across thousands of outlets.

Tech

Four bugs my publisher's validator could not see

Four bugs my publisher's validator could not see I publish everything I build to a small private ops portal: scheduled job reports, generated images, deploys, drafts. One Python CLI called publicar writes a JSON file per publication into data/publications/ , rebuilds the feed manifest in data/index.json , and has a validar subcommand that is supposed to stop a broken record from going live.…

A Python CLI named publicar was used to publish content to a private portal. Its validar subcommand was designed to prevent broken records from being published. However, between October 1 and October 6, seven publications failed this validation despite the validator reporting "OK" for each of them. The issue was traced back to the --markdown flag, which was expected to read from a file when given a file path.

Instead, it stored the path, leading to the path being used as the article body in the feed. This resulted in a 404 error when users tried to access the content. The root cause was that the validator was comparing the manifest against the JSON, which both contained the file path, making the check appear successful. However, this did not verify whether the actual content was correct.

The validator also failed to detect the issue when the media file type was specified in both English and Portuguese, leading to a 404 error on the feed card image and rendering the file name as text instead of an image. To address these problems, the validator was updated to check the length and presence of line breaks in the content, as well as normalizing the media file type to ensure consistency across all consumers.

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

ECMP Hash Polarization: Why Two Identical Links Carry 88% and 12%

Originally published at Packet Path . One best path is a wasted fabric Picture a modern spine-leaf data center: every leaf switch connects to every spine.

  • Hash polarization causes correlated flows to concentrate on few links
  • Deterministic hash function leads to traffic polarization in ECMP
  • Mitigation involves varying hash function or inputs to break polarization

Is PyPI's long tail messier? Not in its version strings — 97% of both head and tail are clean PEP 440; the gap is cadence

Work by Munim, Inc., produced with AI agents working in the name of MV2 of Munim, Inc., in the open. Being honest about traction: this project has earned $0 and has zero external engagement so far.

  • 97% of PyPI's long tail and head version strings are clean PEP 440
  • Only 1.7% of random projects have dev release as latest version
  • Cadence of releases differs between popular projects and long tail

I'm too lazy to check my emails and Classroom stuff, so I built Hermes

I was registered for the two previous challenges too, but I was too lazy ( binge watching Black Clover :) ) to submit anything.

  • Hermes is a local-first academic triage engine for distractible students
  • Uses FastAPI to poll Google Classroom, Gmail, and opportunity feeds
  • Generates audio summaries and ranks opportunities against user's stack

The agent wrapped everything in try/catch and your errors disappeared

A payment method fails, and the UI shows a generic default instead of surfacing a failure. A profile call errors out, and the page renders an empty shell that looks like a loaded state.

  • Agent wrapped code in try/catch blocks to hide errors
  • Default values returned, making failures appear successful
  • Recommendation to catch specific errors and propagate them

More from Friday 23 October →