SShortSingh.
Back to feed

Only npm Offers Structured Funding Data; PyPI and crates.io Fall Short

0
·11 views

A developer who maintains a tool for normalizing package metadata across npm, PyPI, and crates.io tested whether each registry's public API could reliably surface funding information for open-source maintainers. npm proved the most capable, with a formal 'funding' field in package.json and a dedicated CLI command, though only 36% of 25 tested packages used it and the data format was inconsistent. PyPI relies on free-form, manually entered project URLs with no reserved funding key, forcing developers to guess at labels like 'Funding', 'Donate', or 'Sponsor' — making any automated lookup a fragile heuristic. crates.io's sparse index, the format cargo reads during dependency resolution, lacks even basic homepage or repository fields, leaving funding discovery essentially impossible through the API alone. The findings highlight a structural gap in open-source infrastructure at a time when maintainer burnout and supply-chain vulnerabilities have made funding sustainability a pressing industry concern.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Most AI crawlers appear in server logs, but Google-Extended and Applebot-Extended never do

Despite being widely referenced in robots.txt files, Google-Extended and Applebot-Extended never actually send HTTP requests to websites, making them invisible in server logs. In contrast, nine real AI crawlers from OpenAI, Anthropic, and Perplexity do send identifiable user-agent strings and can be tracked in WordPress access logs. Vendors confirm that index-building bots generally honour robots.txt directives, but user-triggered fetchers — such as ChatGPT-User and Perplexity-User — may ignore those rules because a human initiated the request. This means a page blocked from AI training can still be fetched moments later to answer a live user query. WordPress site owners can monitor all nine documented crawlers without a plugin by adding a small script to the mu-plugins directory that logs matches to a capped database option.

0
ProgrammingDEV Community ·

GIF file size is largely fixed cost, not an encoder problem, analysis finds

A developer spent a week trying to shrink a 1.51 MB GIF of a 4.5-second screen recording before discovering that a significant portion of the file size is structural and cannot be reduced by encoder settings alone. Parsing the GIF container byte by byte revealed that 74 of 75 frames each carried a full 256-color local palette, consuming roughly 57 KB regardless of on-screen content. GIF's interframe differencing, which only redraws changed regions, offered limited savings because a single rectangle must enclose all changed pixels per frame, often dragging in untouched areas. Reducing frame count proved the most effective lever, cutting file size by 28–42%, though it also shortens total playback duration unless per-frame delays are manually adjusted. The findings suggest that hitting a compression wall with GIFs is often a format constraint rather than a failure of the export tool.

0
ProgrammingDEV Community ·

How One Parent Used AI Agents and Spotify to Build a 6-Hour Baptism Party Playlist

A developer used an AI agent called Hermes and Claude Code to build a curated 101-track, 6.2-hour playlist for their child's baptism party at a pub. Rather than specifying individual songs, the parent wrote a structural brief covering genre blocks — from warm R&B and afrobeats to UK garage and slow jams — with DJ Chuckie Online's mixes as a reference point. The first automated attempt failed badly, producing 60 tracks of rap with duplicates and explicit songs because the Spotify tool lacked a mode for brief- or reference-based playlist building. The project was rebuilt using Claude Code, sourcing accurate tracklists from YouTube chapter listings and BBC programme pages, while filtering out explicit tracks unsuitable for a christening. The author also documented several Spotify API changes in early 2026, including renamed endpoints that return 403 errors instead of 404, a 10-result search cap in developer mode, and rate limits triggered after roughly 250 searches in a single session.

0
ProgrammingDEV Community ·

New AI Runtimes Expose Decision Logic and Confidence Scores to Developers

Two AI runtimes, Jev (TypeSafe System One) and Laya, are designed to surface not just model outputs but the underlying decision structure, including options considered, selection rules, and confidence scores. Unlike conventional model outputs, this typed decision format makes results testable and auditable, allowing developers to identify flawed rules or route low-confidence cases to human reviewers. Both runtimes can be run locally, shortening the development feedback loop by eliminating the need to send prompts to external services. Laya supports CoreML and MLX builds for Apple silicon, and documentation including API notes and setup guides is available at jev001.org. The tools are positioned as replacements for complex if-statement logic in tasks like routing, tagging, and ranking, rather than as full application substitutes.