SShortSingh.

Programming

0
ProgrammingDEV Community ·

Developer builds script to verify all 8,556 PDF links in 871-page digital planner

A software developer created a Python-generated 871-page hyperlinked PDF planner containing 8,556 internal link annotations spanning daily, weekly, and monthly pages. To ensure quality, they wrote a verification script using pypdf that checks every link annotation, resolves its destination, and flags anything broken or out of bounds. Beyond basic link resolution, the script performs semantic checks — confirming, for example, that a calendar cell for March 14 actually lands on the correct page — and walks the full 105-week prev/next chain to catch year-boundary off-by-one errors. The shipped build passed with zero broken links out of 8,556 checked, though the script proved its value earlier in development by catching bugs caused by page insertions that silently remapped link destinations. The developer notes that on-device testing in apps like GoodNotes and Notability remains an outstanding gap not covered by the automated checks.

0
ProgrammingDEV Community ·

Missing description strings silently hide AI agent handlers from tool manifests

A development team discovered that their in-app AI agent could not access dozens of existing handlers because each lacked a required description string in its definition. Without that string, handlers are excluded from the manifest the agent receives, making them effectively invisible regardless of whether the underlying code works. Twenty-one handlers across the team's AI pipeline and prompt store features were affected, all functioning normally for human users but unreachable by the agent. The team also implemented a two-tier risk system, marking irreversible actions like hard deletes and free-text prompt edits as high-risk to prevent the agent from being granted permanent approval for those calls. Automated gap tests were added to each feature to catch undocumented handlers before they ship, since silent omissions produced no errors and were difficult to diagnose.

0
ProgrammingDEV Community ·

DOGFOOD Platform Lets Anyone Recompute and Verify Hackathon Results Independently

A new open-source hackathon platform called DOGFOOD, built by Hackathon Raptors, aims to make judging results fully transparent and independently verifiable by anyone. The platform uses a weighted scoring rubric combined with a statistical bias-removal model to adjust for judge leniency, then ranks projects by bias-corrected quality scores. When results are published, a signed bundle containing raw scores, weights, methodology, and code is hashed and signed with an Ed25519 key, allowing a standalone Python script to recompute and verify the ranking. Any alteration to the data, such as changing a single judge's score, causes verification to fail immediately. The project is available under the MIT license on GitHub and includes a public demo showing the full workflow from event creation to tamper-detection.

0
ProgrammingDEV Community ·

Belgian Developer Adds Peppol E-Invoicing to Open-Source Flask Time Tracker

A Belgian developer has integrated Peppol e-invoicing support into TimeTracker, a self-hosted open-source time tracking and invoicing application built with Flask. The update was driven by a Belgian regulatory mandate requiring all B2B invoices to be exchanged as structured e-invoices over the Peppol network starting 1 January 2026, replacing PDF-based invoicing. The implementation follows the EN 16931 European standard and generates both UBL 2.1 XML for Peppol transmission and CII XML for the Factur-X hybrid PDF format. Rather than building a full certified Access Point, the developer opted for a lightweight HTTP adapter architecture that forwards UBL documents to a third-party certified Access Point chosen by the user. The post details the key standards involved, the architectural trade-offs made for a self-hosted context, and the more challenging aspects of the build process.

0
ProgrammingDEV Community ·

Developer Discovers Dev.to Supports Short Informal Posts Like Twitter

A user on Dev.to recently discovered that the platform supports short, casual posts similar to Twitter or microblogging. The realization prompted them to make an introductory post greeting the Dev.to community. The post highlights that many users may not be fully aware of all the content formats available on the platform. Dev.to, primarily known as a developer blogging community, also allows brief social-style updates alongside long-form technical articles.

0
ProgrammingDEV Community ·

ElevenLabs API Lets Developers Clone Their Voice in Minutes Using Python

ElevenLabs, a neural text-to-speech platform, offers an API that allows developers to clone their own voice using just 10–30 seconds of recorded audio. The process involves recording a clean audio sample, uploading it via the ElevenLabs REST API, and receiving a reusable voice ID that can generate speech mimicking the original speaker. Developers can integrate the workflow into Python or JavaScript projects, with the platform providing a free tier and quick API key setup. The pipeline uses tools like ffmpeg for audio capture and standard HTTP libraries to interact with ElevenLabs endpoints. The cloned voice can be applied to use cases such as blog narration, podcast generation, or personalised chatbot responses.

0
ProgrammingDEV Community ·

How to Connect Claude and ChatGPT to a Task Manager via MCP Integration

Developers can integrate AI models like Claude and ChatGPT into task management tools using an open-source MCP server configured with API keys and webhook endpoints. Once set up, the system automatically breaks tasks into smaller actionable steps, called crumbs, with time estimates generated by the AI model. The integration requires deploying an MCP server, configuring prompt templates, and mapping task data fields to match the expected JSON schema. Common issues include missing environment variables, mismatched payload field names, and SSL errors on self-hosted servers, all of which can be resolved with targeted configuration fixes. The guide provides a step-by-step walkthrough covering server deployment, webhook setup, automation rules, and output mapping for both Claude and OpenAI's GPT-4o.

0
ProgrammingDEV Community ·

How Idempotency Keys Prevent Duplicate Charges and Errors in ASP.NET Core APIs

When a client retries a failed HTTP request, side-effecting endpoints like payment processing or inventory updates can execute the same operation multiple times, causing duplicate charges or corrupted data — a problem known as a retry storm. Idempotency keys, typically UUIDs generated by the client, allow the server to detect repeated requests and return a cached response instead of reprocessing them. Developers can implement this in ASP.NET Core 8 using middleware that checks a distributed cache such as Redis before executing any business logic. The cached response — including status code and body — is stored for up to 24 hours so that replays return identical results without re-running operations. This pattern is especially critical for financial transactions, order creation, and third-party API integrations, while read-only endpoints generally do not require it.

0
ProgrammingDEV Community ·

Developer explains how a wall-clock sync bug silently overwrote users' notes

A developer discovered a flaw in their notes app's sync logic after a conflict erased a note written on an offline phone, replacing it with a later laptop edit. The app used SQLite on each device and resolved sync conflicts by keeping whichever version carried the larger Unix timestamp. Because the phone was offline when its note was written, its timestamp was older than the laptop's, even though the phone edit had occurred first in real time. The bug had gone unnoticed for over a year because most users operated on a single device, but a new reading-plans feature drove a surge in multi-device note editing. The developer had previously documented the limitation in a code comment, intending to revisit it if multi-device usage grew — a condition that was eventually met, not by a planned review, but by user complaints.

0
ProgrammingDEV Community ·

AI Reliability Shifts from Prompt Engineering to Structured Artifact Documentation

As generative AI moves from experimentation into production environments, developers and enterprises are prioritizing structured documentation over prompt engineering. AI artifacts — including Agent Cards, model manifests, evaluation reports, and behavioral signatures — provide machine- and human-readable descriptions of a system's capabilities, limitations, and intended use. Unlike prompts, these artifacts can be version-controlled, audited, and consumed by governance and orchestration platforms. Enterprises are already transitioning from centralized prompt libraries to artifact registries that store agent definitions, evaluation histories, and known failure modes. The shift mirrors the move from manual scripting to Infrastructure as Code, aiming to make AI systems more transparent, accountable, and scalable.

0
ProgrammingDEV Community ·

Developer Builds Java Library System Using DAO and Service Layer Architecture

A developer created a console-based Library Management System in Java using JDBC and MySQL to practice structuring real-world applications beyond simple exercises. The project was divided into five distinct packages — model, DAO, service, connection, and utility — to separate responsibilities clearly instead of consolidating all logic in a single class. Core features include adding and searching books, registering members, and managing issue and return transactions that also update book availability counts. Built without frameworks like Spring Boot or Hibernate, the project required direct JDBC interaction, offering hands-on experience with database connectivity. The exercise helped the developer understand that good code organisation is about assigning clear, purposeful responsibilities to each component rather than simply increasing the number of classes.

0
ProgrammingDEV Community ·

CaseMap Tool Generates Citation-Grounded Legal Reports Directly from Case PDFs

A new legal research tool called CaseMap, built by developer Vasim Ahmed Shaikh, converts uploaded case PDFs into structured reports with verbatim quotes and exact page citations. The tool is designed to address a common problem in legal research where AI-generated summaries paraphrase, omit, or fabricate source details. CaseMap processes documents locally in the browser where possible, aiming to keep sensitive case files from being sent to unauditable external servers. The product targets lawyers, in-house counsel, researchers, and law students who need reliable, citable extracts from lengthy judgments. CaseMap is currently live at casemap.ecocodes.in and was showcased on the vibecode.law community platform.

0
ProgrammingDEV Community ·

Developer builds dual Bluesky-X news bot to dodge X's $0.20 per-URL posting fee

A developer built a Python-based news bot that posts articles to both Bluesky and X, but limits X posts to just five per day due to the platform's $0.20 fee per URL-containing post. Bluesky charges nothing to post, making it the default destination for all filtered stories, while only articles from sources with an OpenPageRank of 6 or higher are sent to X. The bot runs every 30 minutes via GitHub Actions, pulling the latest articles from a news API and checking a local state file to avoid duplicates. Testing with one day of Renewable Energy news on 16 September 2026 showed 270 raw articles narrowing to just 5 qualifying X posts, cutting monthly costs from a potential $204 to around $30. The project also found that standard URL and duplicate-flag filters were ineffective, with title normalisation proving far more reliable for deduplication.

0
ProgrammingDEV Community ·

Hermeneutic tool turns past AI corrections into guidance for future coding tasks

Hermes Labs has released Hermeneutic, an open-source tool that mines user corrections from AI coding agent conversations to build a reusable context library. When a user steers an agent back on track — such as limiting it to a review rather than a full refactor — Hermeneutic records that correction and its surrounding exchange. Using Ollama embeddings, the tool matches new prompts against past corrections and surfaces relevant guidance as a compact preamble before the task begins. It supports logs from Claude Code, Codex, and OpenAI-format sources, and categorises recurring issues like scope expansion or missed constraints. An optional Claude Code hook can automatically inject retrieved guidance into new prompts, and the tool is available via pip as version 0.1.12.

0
ProgrammingDEV Community ·

Why a Successful Screen Does Not Prevent a Duplicate Purchase

When a network connection drops after a customer clicks 'Buy', the server may never confirm whether the order was created, prompting the customer to try again and risk a duplicate charge. The concept of idempotency addresses this by ensuring a repeated request does not repeat its effect on the server. A practical approach separates two identifiers: a quote ID that locks in the offer details, and an idempotency key that tracks whether a specific purchase attempt has already been processed. The server uses a durable record linking the authenticated customer, the operation, and the attempt key to either return the original result or reject a conflicting request. Critically, the browser controls only what it displays, while the server alone must govern what data it creates or modifies.

0
ProgrammingDEV Community ·

Developer builds open-source password manager Ravenpass for macOS and Android

A developer frustrated with existing password managers built his own app, called Ravenpass, which is now open source and available on macOS and Android. Key pain points that drove development included poor UI design, lack of account organisation, and the high cost of apps supporting native macOS autofill with passkeys and two-factor codes. Ravenpass uses a Go-based vault core shared across platforms, with a Wails desktop app and a Swift credential provider extension communicating over a Unix socket for secure autofill. The encrypted vault file uses XChaCha20-Poly1305 and integrates with the Secure Enclave on macOS and Android Keystore, with no account creation required. Users choose their own storage location, and a 24-word recovery phrase and automatic encrypted backups are included to handle both access recovery and data loss separately.

0
ProgrammingHacker News ·

TLA+ Gains Fresh Attention Online as Developers Explore Formal Methods

TLA+ is a formal specification language used to design and verify complex systems, and it has recently attracted renewed interest across the internet. The language, created by computer scientist Leslie Lamport, allows engineers to mathematically model system behavior before writing code. A tutorial published on reasonable.io appears to have sparked discussion on Hacker News, drawing developers curious about formal verification. The conversation reflects a broader growing interest in applying rigorous, proof-based approaches to software and distributed systems design.

0
ProgrammingDEV Community ·

Novash: Open-Source Python Tool Checks Website SEO Issues From the Terminal

A developer has released Novash, a free open-source command-line SEO checker written in Python and available via PyPI. The tool allows users to scan any URL and receive a report covering elements such as page titles, meta descriptions, broken links, image alt text, structured data, and social metadata. Novash generates an SEO score out of 100 by deducting points for missing or problematic elements, helping users quickly gauge a page's technical health. Rather than simply listing raw HTML data, the tool provides actionable suggestions, such as specifying how many images lack alt text or how many links are broken. The developer built the tool after finding manual SEO checks across multiple pages tedious, though Novash acknowledges the score reflects technical issues only and not broader ranking factors like content quality or backlinks.

0
ProgrammingDEV Community ·

Terraform Best Practices in 2026: State Management, Modular Design, and Drift Detection

As cloud infrastructure grows more complex across multi-region and multi-cloud deployments, engineering teams increasingly treat Infrastructure as Code with the same rigor as application source code. HashiCorp Terraform remains a dominant tool in this space, with its ecosystem maturing around features like declarative import blocks and native removed blocks. Monolithic Terraform configurations pose serious risks, including large blast radii during failures, state file corruption from concurrent runs, and performance bottlenecks as resource graphs expand. Configuration drift — where live infrastructure diverges from declared code due to manual changes or third-party processes — compounds these risks silently over time. Modern production-grade Terraform architectures address these challenges through strict state isolation, modular design patterns, and automated drift detection pipelines.

0
ProgrammingDEV Community ·

How AWS Organizations SCPs and Landing Zones Work in Production

AWS Organizations offers more than consolidated billing — its real value lies in a hierarchical control plane that applies guardrails across all accounts in an organization. The structure consists of a management account, a root, nested organizational units (OUs), and member accounts where workloads actually run. Service Control Policies (SCPs) and Resource Control Policies (RCPs) set maximum permission boundaries but grant nothing on their own, and a common source of confusion is that Allow permissions must be explicitly present at every level from root down to the account. A missing Allow at any OU level results in an implicit deny, even if an IAM policy inside the account grants full access. Teams building a landing zone are advised to enable all features — not just consolidated billing mode — and to design OUs around lifecycle and control needs rather than organizational structure.

← NewerPage 878 of 3177Older →