SShortSingh.

Programming

0
ProgrammingDEV Community ·

IBM-Born Docling Library Converts PDFs and Docs into Clean AI-Ready Data

Docling is an open-source Python library originally created by IBM Research Zurich and now maintained under the LF AI & Data Foundation, designed to convert messy documents into structured, AI-ready output. It supports a wide range of input formats — including PDF, DOCX, PPTX, images, and even audio — and exports everything into a unified internal format that can be rendered as Markdown, HTML, or JSON. Unlike basic text extractors, Docling uses machine learning models to detect page layout, preserve reading order, and accurately reconstruct tables and code blocks, with OCR support for scanned files. The library integrates directly with popular AI frameworks such as LangChain, LlamaIndex, and Haystack, making it easy to plug into existing RAG pipelines. It runs entirely locally with no data leaving the user's machine, though its ML-based approach means a heavier install and slower CPU performance on large document batches compared to lightweight alternatives.

0
ProgrammingDEV Community ·

Developer Builds 47 MB Bootable Tool to Test Laptop Keyboards Without an OS

A laptop refurbisher and repair technician built KbdCheck, a minimal bootable Linux tool, after finding existing keyboard-testing solutions either required a working OS or were bloated with unnecessary features. Based on Arch Linux, the ISO weighs just 47 MB and runs directly from a USB drive without installing anything or modifying the host system. The interface displays a full keyboard layout and highlights each key as it is pressed, making it easy to identify faulty, stuck, or mis-mapped keys; a basic mouse test is also included. Because it operates independently of any installed operating system, it rules out software-level issues such as driver faults or accessibility settings that could otherwise mimic hardware failures. KbdCheck requires Secure Boot to be disabled and is available as a downloadable ISO with a SHA-256 checksum for integrity verification.

0
ProgrammingDEV Community ·

Green Tests, Zero Assurance: How Silent Failures Fool CI Pipelines

A software developer has documented three real-world cases where test suites reported passing results despite never actually validating code. In one instance, a test function contained only a 'pass' statement, while in another, 57 of 65 assertion files were misformatted, causing the harness to execute zero assertions yet return a green result. In a third case, CauterRule v0.3.0 showed 1,558 passing tests while a critical HTTP bearer-auth guard silently failed due to a swallowed import, only discovered through a Docker field test. The author argues the real danger is not the bugs themselves but the false confidence a green suite creates. The proposed fix involves meta-tests that explicitly verify a non-zero number of assertions were parsed and executed, treating a 0/0 result as a failure rather than a pass.

0
ProgrammingHacker News ·

The Rule Behind Using 'A' vs 'An' in English Explained

A blog post on redblobgames.com explores the grammatical rule governing the use of 'a' versus 'an' in English. The distinction is based on the sound that follows the article, not the letter itself — 'an' precedes words beginning with a vowel sound, while 'a' precedes those beginning with a consonant sound. The post gained modest traction on Hacker News, earning 32 points and a small number of comments. The article aims to clarify a commonly misunderstood aspect of English grammar for readers and writers.

0
ProgrammingDEV Community ·

Stanford Data Shows 20% Drop in Junior Developer Hiring Since 2022

A 2025 Stanford Digital Economy Lab analysis of payroll data found that employment among software developers aged 22–25 fell nearly 20% from its late-2022 peak. Over the same period, developers aged 30 and older saw their employment grow, even in roles highly exposed to AI. Analysts caution that the decline has multiple causes, including post-pandemic over-hiring corrections and rising interest rates, making a simple 'AI killed junior jobs' narrative an oversimplification. The pattern does, however, suggest that pressure is concentrated at the entry level, where tasks tend to be well-defined and low-context — the type of work AI tools now handle cheaply. With roughly 84% of developers already using AI tools per the 2025 Stack Overflow survey, career experts argue the most effective response is to develop judgment, domain ownership, and contextual expertise rather than competing on task execution alone.

0
ProgrammingDEV Community ·

Developer Shares Space-Optimized Sliding Window Solution for Array Duplicate Problem

A developer published a space optimization approach for a classic array problem that checks whether two identical values exist within a given index distance k. The initial solution used a dictionary to store each element's last seen index, returning true if a duplicate was found within k steps. The improved approach replaces the dictionary with a fixed-size set, capping its length at k elements at any point during iteration. When the set exceeds k elements, the oldest entry is removed to maintain the window size. This sliding window technique reduces memory overhead by ensuring only a bounded number of values are stored at once.

0
ProgrammingDEV Community ·

Reactive Agents v0.16 Offers Open-Source TypeScript Framework for Transparent AI Agent Control

Reactive Agents is an open-source, MIT-licensed TypeScript framework now at version 0.16, designed to give developers full visibility and control over AI agent behavior rather than relying on opaque runtimes. The framework uses an explicit builder API where each capability — memory, guardrails, reasoning — must be deliberately enabled, ensuring no hidden processes run without developer consent. A key feature is its ability to run the same agent code across both local small models and frontier models like Claude, making development and iteration cost-free before scaling up. To support smaller models, the framework includes model-adaptive context profiles that tune prompt density per model tier, along with a healing pipeline that automatically corrects minor tool-call errors so the agent loop does not break. The project positions itself as a solution for developers frustrated by agent frameworks that obscure internal logic, arguing that reliable agents depend more on sound engineering around the model than on the model itself.

0
ProgrammingDEV Community ·

Developer Builds Custom Skill-Assessment Engine With Anti-Cheat for Hiring Platform

A developer building HireLyf, an early-access hiring platform, has shared details about the core assessment engine powering the product. The system delivers a 40-question, 20-minute test divided into four 10-question sections, drawing dynamically from a question bank covering SQL, Python, React, DSA, and coding. The engine was designed to evaluate job readiness without relying on a third-party proctoring vendor. Anti-cheat calibration required multiple iterations to minimize false flags against honest candidates. The platform is currently available for free during its early-access period.

0
ProgrammingDEV Community ·

Autoland Loop Bug Fixed After Crash Caused Duplicate Task Submissions

A bug in an autoland loop was causing tasks to be posted twice when a crash occurred after task emission but before local completion was recorded. The fix targeted the producer layer, which now checks for an existing task before emitting a new one, rather than applying a broad board-level deduplication rule. This narrower approach was intentional, as the board functions as a dispatch surface rather than a simple log, meaning over-broad filtering could collapse distinct work items. The patch was validated on September 19, 2026, with all regression, script, and live pane checks passing, and the fix was recorded in commit 705407d5. The key takeaway from the incident is that safe retry logic requires precisely naming the event being deduplicated, not applying blanket filters.

0
ProgrammingDEV Community ·

How to properly automate email deliverability testing in CI pipelines

A technical guide published on DEV Community draws a clear distinction between two aspects of email deliverability: whether a message was correctly formed and authenticated, and whether it actually reached the inbox. The first — covering DNS records like SPF, DKIM, and DMARC — is fully automatable and should be tested in CI pipelines and run nightly against production DNS. The second, inbox placement, depends on receiver-side classifiers and sender reputation, making it a metric to monitor on a dashboard rather than a build gate. The article recommends asserting on outgoing message headers, running real send-and-read tests against a controlled mailbox, and checking the Authentication-Results header for all three protocol verdicts. It also warns against staging environments that can reach the open internet, advising developers to route non-production email through catching SMTP servers like MailHog or Mailpit by default.

0
ProgrammingDEV Community ·

How AI Is Shifting the Developer's Role From Coding to Orchestration

A developer's introductory post on the DEV Community explores the fundamentals of Artificial Intelligence, including its key characteristics and real-world applications. The piece highlights how modern AI is evolving from a passive tool into an autonomous and collaborative agent. This shift is directly influencing how software is developed and system architectures are designed. Rather than simply writing syntax, developers are increasingly expected to orchestrate, curate, and evaluate AI-generated code. The author invites the community to share how they are integrating AI into their daily projects.

0
ProgrammingDEV Community ·

Developer's 64-Day AI Coding Streak Revealed Hidden Cost of Always-On Work

A senior developer used AI coding agents over the summer to single-handedly build and launch ChargEV FleX across the full stack — app, backend, admin interface, and infrastructure. Between June 15 and August 17, he committed code for 64 consecutive days, writing over one million characters of commit messages in just two months. Data he later pulled from his own work history showed that 24% of his commits during that period fell between 10 p.m. and 3 a.m., up from 10% in the prior ten months. He reflects that AI removed the time constraint that once limited full-stack work, but also eliminated natural stopping points like waiting for builds or colleagues — friction that had quietly regulated his workload. The experience led him to conclude that running more parallel agent sessions than one person can thoughtfully oversee carries real personal and professional costs.

0
ProgrammingDEV Community ·

Why mixing transactional and marketing emails on one domain hurts deliverability

Sending all email types from a single domain means transactional messages like password resets share a sender reputation with marketing and cold outreach campaigns. When a poorly performing marketing send damages that shared domain reputation, critical transactional emails can begin landing in spam, even though the two systems are otherwise unrelated. Email receivers evaluate the From: domain as a unified history, making no distinction between a wanted account alert and an unsolicited bulk campaign. Experts recommend splitting email traffic across separate subdomains by risk profile, with cold outreach assigned an entirely separate registered domain to contain reputation damage. Proper DMARC configuration using the sp= tag, along with subdomain-specific SPF records and DKIM keys, is essential to make this separation effective.

0
ProgrammingDEV Community ·

Developer open-sources three Node.js utilities built while creating an edtech platform

A developer building MCQplex, an exam-prep platform, has released three small Node.js utilities as open-source tools on npm. The packages are llm-free-cascade, which chains multiple free-tier LLM APIs such as Gemini, Groq, and Cerebras as fallbacks; pdf-render-pool, which manages a pool of headless Chromium instances to avoid the overhead of launching a new one per PDF; and mongo-job-lock, which prevents duplicate cron job execution across multiple Node instances. All three libraries carry MIT licenses, have zero or optional peer dependencies, and include tests. The developer noted that llm-free-cascade is designed to be easily maintained, with stale provider configurations fixable via a single-file pull request.

0
ProgrammingDEV Community ·

500 Programmatic SEO Pages for Kolkata Makeup Artist Yield 6 Clicks in 15 Days

A team launched 500 programmatic SEO pages on a subdomain for Bishal, a bridal and event makeup artist based in Kolkata, on 31 August 2026. After 15 days, Google Search Console recorded just 6 clicks, 89 impressions, a 6.7% click-through rate, and an average position of 28.9. Only 6 of the 500 pages have received any impressions so far, which the team describes as normal for newly indexed long-tail content. One page targeting 'traditional Bengali bridal Kolkata' has already accumulated 64 impressions and is trending toward page one of search results. The team has committed to publishing weekly performance data for 12 weeks to document how the campaign develops over time.

0
ProgrammingDEV Community ·

Scry API Replaces Hard Rate Limits with Congestion-Based Pricing for AI Agents

Scry is a programmable search API designed for AI agents that substitutes traditional hard rate limits with a congestion pricing model, where query costs rise under high load and fall when demand eases. Instead of receiving a 429 error upon hitting a quota, agents receive a dynamic price signal and can choose to proceed, defer, or cancel a query based on cost. The API provides access to over 164 billion rows of indexed internet data spanning sources like Reddit, arXiv, Wikipedia, and Stack Exchange, queried via SQL-like syntax. Unlike fixed token-bucket systems, Scry functions as a spot market for query capacity, requiring agents or their orchestrators to implement cost-aware decision logic and budget management. When multiple agents share a billing account, the platform does not enforce an arbitration model, placing the responsibility on developers to prevent budget exhaustion or priority conflicts.

0
ProgrammingHacker News ·

Researcher logs 72 hours of idle Android network traffic via pfSense

A researcher conducted a self-directed experiment capturing network packets from an idle Android device over a 72-hour period. The study used pfSense, an open-source firewall and router platform, to monitor and log outbound traffic. The goal was to analyze the extent of background telemetry and data transmissions made by Android without any active user interaction. Findings were published on the researcher's personal blog as part of a broader investigation into de-Googling and reducing device telemetry in 2026. The post garnered attention on Hacker News, sparking discussion around Android privacy and data collection practices.

0
ProgrammingHacker News ·

OONI Invites Users to Measure and Report Internet Censorship Worldwide

The Open Observatory of Network Interference (OONI) is calling on internet users globally to help measure and document online censorship. The project offers a free app that users can install to run network tests from their devices. Data collected is contributed to an open, publicly accessible dataset tracking censorship patterns across countries. The initiative aims to build the largest crowd-sourced record of internet interference worldwide.

0
ProgrammingHacker News ·

OpenAI and Anthropic accused of exaggerating AI security threats to influence regulators

OpenAI and Anthropic allegedly overstated AI security breaches to pressure federal authorities, according to insiders cited by the New York Post. The claims suggest the companies may have used security incidents as leverage to shape regulatory policy in their favor. Critics argue the tactic was aimed at protecting the firms' competitive positions rather than addressing genuine public safety concerns. The report raises questions about the credibility of AI security disclosures made by leading artificial intelligence companies to government bodies.

0
ProgrammingDEV Community ·

Dev migrates agentic RAG app to AWS serverless, uncovers pre-existing data bugs

A developer completing a three-part series on migrating an agentic RAG assistant to AWS serverless infrastructure discovered two pre-existing bugs unrelated to the cloud move itself. A flawed chunk ID scheme caused 303 out of 24,775 document chunks to silently shadow each other during retrieval fusion, meaning some content could never surface in results. Separately, a 119 KB chunk — far exceeding the 8,192-token embedding model limit — would have failed or been silently truncated, leaving it absent from the vector index. The migration also required reworking a GitHub rate-limit handler, since sleeping inside AWS Lambda wastes billed compute time and risks hitting the 15-minute execution ceiling. Atomic budget reservation logic originally built on a single PostgreSQL UPDATE was successfully ported to a DynamoDB conditional write, preserving the concurrency-safe spending guarantee.

← NewerPage 1113 of 3219Older →