SShortSingh.

Programming

0
ProgrammingDEV Community ·

ML Agent Reported Job Canceled While GPU Cluster Kept Running

An ML operations agent case study highlights a critical gap between agent-level cancellation and actual job termination on an external GPU scheduler. When an operator instructed the agent to cancel a fine-tuning run, the agent halted its own orchestration and reported success — but the job request had already been handed off to the scheduler. The scheduler subsequently accepted the job, which began consuming reserved compute despite the operator believing no allocation was active. The agent also risked losing the job ID needed to locate and properly cancel the workload. Experts recommend agents treat such cancellations as pending until the external scheduler confirms the job's final state, and actively retrieve the job ID to request and verify termination.

0
ProgrammingDEV Community ·

TypeSafe Jev Offers a Lightweight Decision Layer to Streamline AI Agent Workflows

Most AI agent systems rely on a single large language model for every task, including planning, tool selection, and risk scoring, which makes them costly and hard to test. TypeSafe Jev is a purpose-built tool that handles decision-making over a closed set of outcomes using three typed primitives: Choice, Score, and Noul. These primitives let developers separate fast, frequent decisions — such as tool routing, moderation triage, and permission gates — from open-ended generative tasks, keeping the latter in more capable models. Under this architecture, deterministic application code retains control over permissions, side effects, and rollback, preventing probabilistic components from silently driving destructive actions. The approach makes individual models replaceable while keeping the overall decision protocol stable and observable.

0
ProgrammingDEV Community ·

VoiceLoop: Open-Source Browser Voice Agent Library Rivals OpenAI Realtime on Latency

TodoForAI has open-sourced VoiceLoop, a zero-dependency JavaScript library that runs a full voice agent pipeline — VAD, speech-to-text, LLM, and text-to-speech — entirely in the browser. The library is designed for low latency, with first audio responses delivered in under a second by streaming TTS output while the LLM is still generating. A key feature is real barge-in detection based on transcribed words rather than microphone energy, which prevents the agent from cutting itself off due to speaker echo. Independent benchmarking via the team's own voice-agent-bench tool showed VoiceLoop with Deepgram and ElevenLabs matching OpenAI Realtime at roughly 862ms voice-to-voice latency while recording zero self-interruptions across 30 echo-coupled turns. The library is available on npm and supports any OpenAI-compatible LLM endpoint, with local WASM-based options requiring no API keys.

0
ProgrammingDEV Community ·

n8n 2.0 Brings Breaking Security Changes That Could Disrupt Existing Workflows

n8n 2.0 is a significant upgrade that changes core defaults around Code nodes, task runners, Python execution, database handling, OAuth, and workflow publishing. Task runners are now enabled by default, and Code nodes can no longer access environment variables or use the $evaluateExpression() function as they previously could, which may silently break existing workflows. Python execution has also been overhauled, replacing the Pyodide-based model with an external task-runner approach that drops support for some previously available built-in variables. These changes are primarily security-driven, meaning workflows that ran without issue on n8n 1.x may behave differently after upgrading even without any manual edits. Developers are advised to test Code nodes with the new task-runner flag enabled and migrate secrets from environment variables to n8n credentials before attempting the upgrade.

0
ProgrammingDEV Community ·

xAI Launches Grok 4.7 Targeting Coding Agent Workflows Over Benchmark Rankings

xAI released Grok 4.7 on September 21, 2026, positioning it as a reasoning model built for coding agents, agentic task execution, and long-form knowledge work rather than topping general intelligence leaderboards. The model scores 46 on Artificial Analysis's Intelligence Index at its highest reasoning effort, only two points above its predecessor Grok 4.6, placing it below the current frontier leader at 53. However, when evaluated within its native Grok Build agent environment, the model jumps to 56 on the Coding Agent Index, a nine-point improvement over Grok 4.6, highlighting how first-party tooling and scaffolding significantly amplify its real-world performance. Grok 4.7 supports a 500,000-token context window, accepts text and image inputs, and is available through the xAI API, Cursor, GitHub Copilot, and third-party gateways. The divergence between its standardized benchmark score and its agent-harness score underscores that evaluating AI models purely on composite indices can obscure their practical utility inside production workflows.

0
ProgrammingDEV Community ·

AI Agents Automate Keyword Research Using Google Search Console Data

A developer has built a workflow that connects AI agents to Google Search Console's Search Analytics API to automate keyword research for client websites. The system fetches up to 25,000 rows of real search query data spanning 12 months, eliminating reliance on guesswork-based keyword tools. A Node.js script processes the raw data through several stages, including route mapping, query aggregation, and intent classification. The agent then groups queries into clusters by page and search intent, such as informational or commercial, and flags keyword cannibalization where multiple pages compete for the same queries. The result is a structured JSON output that guides content decisions based on actual user search behavior rather than estimated traffic volumes.

0
ProgrammingDEV Community ·

Apify Store ranks Actors by lifetime users, not titles, developer's analysis finds

A developer published eight Actors on Apify Store in five days, carefully optimising titles and documentation, yet struggled to appear in search results. After noticing identical Actor names ranking dozens of positions apart, they ran a statistical analysis using Spearman's rho across multiple search terms. The data showed lifetime cumulative users correlated strongly with search rank — scoring above 0.87 across all tested terms — while 30-day user counts barely registered. Title changes were found to temporarily remove an Actor from the index before restoring it to its original position, debunking the assumption that renaming influenced rank. The finding means ranking is effectively a ratchet: every historical user permanently boosts an Actor's position, but also creates a steep wall for newer entrants competing against established tools.

0
ProgrammingDEV Community ·

Developer finds 8 of 30 AI agent test calls failed due to flawed prompts, not the model

A software developer building an AI intake agent for US home-service contractors discovered that 8 out of 30 scripted test calls failed during evaluation. In one critical case involving a suspected gas leak, the agent correctly advised the caller to evacuate but logged a record with no address or callback number, making a dispatcher response impossible. Investigation revealed the failures stemmed from prompt design errors: the agent was given a file path to a JSON schema it could not access, causing it to invent its own data structure. A safety guardrail instructing the agent to stop collecting information during emergencies also lacked instructions to resume, leaving dispatchers with incomplete records. The developer fixed both issues by injecting the actual schema text directly into the prompt and adding explicit post-emergency follow-up instructions for collecting a caller's address and phone number.

0
ProgrammingDEV Community ·

How a Financial AI Agent Was Fixed to Hold One Belief Per User Fact

A developer building an AI financial advisory agent discovered that storing memory by session caused contradictory user beliefs — such as both 'cautious' and 'aggressive' risk profiles — to surface simultaneously during retrieval. The flaw stemmed from inserting new rows each session with no concept of a 'current' belief, leaving downstream agents unable to determine which version was valid. Two additional bugs were also uncovered: the agent fabricated financial data it was never given, and the system performed keyword matching despite being assumed to use semantic search. The team redesigned the memory layer around a 'one belief per fact' principle, where each fact has a stable key, a single current value, and a versioned history for auditability. Embeddings are used solely for retrieval ranking, while stable keys handle identity and metadata handles governance, preventing corrupted or conflicting records.

0
ProgrammingHacker News ·

Finnish Startup Verda Secures $189M in Series B Funding Round

Verda, a Finland-based startup, has raised $189 million in a Series B funding round. The company announced the raise through a blog post outlining what the new capital will mean for its customers. Details about the lead investors or other participating backers were not disclosed in the available information. The funding is expected to unlock new capabilities and expand offerings for Verda's existing and future customer base.

0
ProgrammingDEV Community ·

AI-DLC Reframes Software Development by Shifting Execution to AI, Not the Process

A developer has detailed how the AI-Driven Development Life Cycle (AI-DLC), originally developed by AWS, differs from the traditional Software Development Life Cycle (SDLC). Rather than replacing the SDLC, AI-DLC reassigns task execution from humans to AI agents while keeping humans responsible for approving each stage before work progresses. The framework follows the same linear phases — inception, construction, and operations — across sixteen stages that mirror classic SDLC activities such as requirements gathering, design, coding, testing, and deployment. Human approval is enforced at the architecture level, with stage transitions locked behind explicit sign-offs and conflict prevention built into the system. All outputs are automatically documented in Markdown and tracked in an audit log, replicating the paper trail traditionally maintained by project managers.

0
ProgrammingDEV Community ·

How Businesses Should Deploy MFA Across Email, VPN, and Admin Accounts

Multi-factor authentication (MFA) is essential for enterprise security, but a single password alone remains insufficient protection. Organizations should inventory all access points — including email, cloud services, VPNs, remote support, hosting, and admin panels — and prioritize securing the highest-privilege accounts first. MFA methods such as TOTP, push notifications, SMS, FIDO2 keys, and passkeys vary significantly in their resistance to phishing, so the chosen method should match the associated risk level. Companies must also establish clear recovery protocols, defining backup devices, who can reset MFA, and how user identity is verified. Experts note that MFA for remote access should be complemented by patching, least-privilege principles, logging, and secure configuration to be fully effective.

0
ProgrammingDEV Community ·

Building Custom Prometheus Metrics in PHP: Counters, Gauges, and Histograms

A developer tutorial demonstrates how to implement three core Prometheus metric types — counters, gauges, and histograms — using a minimal PHP application without any external framework. Counters track cumulative events such as total orders created, while gauges represent values that can rise or fall, like the current queue size. Histograms capture the distribution of continuous measurements, most commonly request durations, by sorting observations into predefined buckets. The PHP app runs on the built-in server and exposes all three metric types via a /metrics endpoint in the standard Prometheus text format. Together, these metric types cover the vast majority of real-world observability needs, enabling tools like Prometheus to calculate approximate percentiles at query time using histogram_quantile.

0
ProgrammingHacker News ·

Study finds teens increasingly replacing Google searches with AI tools

A new study highlights a growing trend among young users aged 9 to 18 who are turning to AI tools instead of traditional search engines like Google. The research, reported by Norwegian Science and Technology News, suggests this generational shift in information-seeking behavior is becoming significant. Researchers note that the long-term consequences of this change remain largely unknown. Concerns likely center on how AI-generated responses may affect critical thinking, information literacy, and exposure to diverse sources among younger users.

0
ProgrammingDEV Community ·

Developer Builds Full-Duplex AI Voice Agent to Handle Shopify Customer Support

A developer has created SupportAI, a low-latency AI voice agent designed to manage real-time customer support and abandoned cart recovery for Shopify and direct-to-consumer e-commerce stores. The system operates over live voice calls, addressing limitations of traditional text-based chatbots that often leave customer queries unresolved. A key technical challenge was achieving full-duplex communication, including sub-800ms response times and barge-in handling, which allows the AI to stop speaking instantly when a customer interrupts. The agent can dynamically perform actions such as checking order status, processing changes, and re-engaging customers who abandoned their carts. A live demo has been made publicly available for testing and community feedback.

0
ProgrammingDEV Community ·

TypeSafe Opens Jev AI to All Users With $5 Free Credit After 140K Waitlist

TypeSafe launched its decision-focused AI model Jev on September 15, attracting a 140,000-person waitlist within days before opening registration to everyone on September 20. Unlike conventional text generators, Jev returns structured typed outputs — such as choices, scores, and yes/no probabilities — with calibrated confidence rather than free-form text. The model is priced at $0.042 per million input tokens with output provided free, making the $5 starter credit sufficient to classify roughly 120 million tokens or prototype a real-world workflow. Jev is accessible via its own console, Vercel AI Gateway, and Cloudflare Workers AI, though an earlier claim that it was listed on OpenRouter has been confirmed inaccurate. The model is designed for classification and decision tasks and is not suited for generative, predictive, or compound reasoning use cases.

0
ProgrammingDEV Community ·

How Modern Data Stack Tools Are Helping Travel Platforms Scale Analytics in 2025

Travel companies have long struggled with data infrastructure as rapid growth strains operational databases handling both transactions and analytics simultaneously. A practitioner with nearly a decade of experience outlines a layered warehouse architecture designed to address these challenges for online travel agencies and metasearch platforms. The recommended approach separates operational and analytical workloads using three distinct layers: ingestion, transformation, and consumption, each powered by purpose-built tools. Airbyte is highlighted as the preferred ingestion tool for its pre-built connectors, declarative configuration, and automated handling of schema changes. The author argues that even early-stage travel platforms can now adopt enterprise-grade analytics infrastructure without the costly migrations that have historically followed unchecked growth.

0
ProgrammingDEV Community ·

Satellite Geo QCM Leaderboard Shows How Transparent LLM Benchmarking Works

The Satellite Geo QCM benchmark evaluates large language models on geolocation tasks using satellite images, asking each model to pick the correct location from four fixed options. Unlike many leaderboards, it uses fully deterministic scoring with no LLM judge, meaning results are raw accuracy counts rather than subjective assessments. On the public leaderboard, DeepSeek V4 Flash Vision scored 98.18%, while the submitting team's own model, GLM 5.2, scored 78.0%, a gap of roughly 20 percentage points. The benchmark also breaks down scores by difficulty level, allowing users to see whether a model performs consistently or merely excels on easier items. A publicly accessible verbatim response trail lets anyone inspect the exact image, options, and answer each model provided, adding a layer of accountability rare in LLM evaluation.

0
ProgrammingDEV Community ·

6 Reasons People Still Visit Websites Despite AI Answering Most Queries

A data-backed analysis published on DEV Community in September 2026 examines why web traffic has not disappeared despite the rise of AI-powered search. Research from Pew Research Center found that pages featuring AI Overviews receive only 8% click-through rates compared to 15% on standard results, while SparkToro data showed just 374 out of 1,000 searches result in an external website click. However, analysts argue the data signals a shift in user intent rather than the end of web browsing, with Google reporting AI Mode users now conduct searches three times longer than traditional queries. Websites offering interactive tools, real-time data, verifiable original sources, and direct transaction pathways retain strong traffic because AI cannot fully replicate those functions. The article concludes that web publishers who focus on utility, timeliness, and accountability are better positioned to attract the users who still choose to click through.

0
ProgrammingDEV Community ·

Developer's WordPress Site Was Compromised Within 48 Hours Due to Weak Password

A developer discovered their WooCommerce test site had been compromised after noticing shop links were redirecting to empty search URLs, which turned out to be a symptom of a breach rather than a coding error. The site had been probed by automated scanners within hours of deployment, and a four-character password matching the username was cracked through credential wordlist attacks involving over 500 login attempts from roughly 20 IP addresses. Within seven seconds of a successful login, a script automatically created a rogue administrator account, and by that evening three separate parties had accessed the site as admin. The intruders deactivated seven plugins — including WooCommerce — to disable logging and security tools, inadvertently triggering the theme's built-in fallback behavior that alerted the developer. Because the site ran in an isolated container with the database unexposed to the host, the damage was contained and recovery involved a straightforward rebuild from a clean image.

← NewerPage 1023 of 3193Older →