SShortSingh.
0
ProgrammingDEV Community ·

Harness Engineering for AI Agents: Context Over Custom Code

The Agent Factory podcast this week explored the concept of 'agentic harness engineering,' a term coined by engineer Ryan Lopopolo. Lopopolo explained how smaller feedback loops can be shaped into long-horizon agentic workflows without manually writing all the code. Engineer Billy Jacobson provided a walkthrough of a simple harness, covering both linear and closed-loop approaches. Smitha Kolan outlined a three-layer stack using Gemini 3.8 Flash, Antigravity Boost, and Google Skills to manage memory, tools, and guardrails. A key takeaway from the discussion was that many best practices used in scaling software engineering teams apply equally well to coding agents.

0
ProgrammingDEV Community ·

Interactive Site Puts 1 Million Token AI Context Windows in Human Terms

A website called One Million Tokens visualizes what a 1 million-token AI context window actually represents, translating it into roughly 750,000 words, 3,000 printed pages, or 75,000 lines of code. The site traces the rapid growth of context windows from GPT-3's 2,048 tokens in 2020 to Gemini 1.5 Pro's 1 million tokens in February 2024, representing a nearly 4,900-fold increase over six years. The visualization highlights how context capacity remained relatively flat for years before climbing steeply by orders of magnitude. However, the site also cautions that a larger context window is a capacity limit, not a performance guarantee, as models can still miss information or reason poorly across long documents. It also notes that long-context windows and retrieval-augmented generation are complementary tools rather than alternatives, since retrieval still helps reduce cost, latency, and irrelevant input.

0
ProgrammingDEV Community ·

Google Rewrites Search Links to Block Scraping, Pushing Users Toward Official APIs

Google began consistently rewriting organic search result links to opaque redirect URLs (google.com/goto?url=…) as of late August 2026, making traditional HTML scraping of search results significantly harder. The change means destination URLs are no longer visible in query strings and can only be resolved by intercepting the HTTP Location header before following the redirect. This follows earlier moves by Google, including the removal of the &num=100 parameter and tighter enforcement of BotGuard and SearchGuard systems. Small businesses and solo sellers who rely on SERP scraping for rank tracking, keyword research, and competitor monitoring are among the most affected. Experts recommend auditing data pipelines and shifting toward first-party analytics, official marketplace APIs, and licensed data sources to reduce dependence on fragile scraping methods.

0
ProgrammingDEV Community ·

PWA Development in 2025: What Actually Works in Production Across Browsers

Progressive Web Apps combine three core components — a web app manifest, a service worker, and HTTPS — to deliver installable, offline-capable web experiences without requiring React or single-page app architecture. Developers working with server-rendered frameworks like Laravel can build fully valid PWAs using standard browser APIs. A production-ready web manifest should include maskable icons, screenshots, and shortcut definitions to unlock richer install dialogs and better OS integration on Android and desktop. Service workers act as network request interceptors with a defined lifecycle, but the often-overlooked 'waiting' state — where a new worker installs but delays activation until all old tabs close — is a leading cause of stale-version bugs in live apps. Properly handling this lifecycle, alongside cache strategy and cross-browser quirks in Chrome, Safari, and Firefox, represents the real complexity in shipping reliable PWAs.

0
IndiaTimes of India ·

Mohammad Kaif questions Mohsin Naqvi's dual role after Women's Asia Cup trophy snub

India's Women's Asia Cup victory was marred by controversy after the team declined to accept the trophy presented by ACC president Mohsin Naqvi. The incident echoed a similar episode during the men's Asia Cup final, suggesting a pattern of tensions surrounding Naqvi's presence at cricket events. Former India cricketer Mohammad Kaif publicly questioned Naqvi's simultaneous roles in both politics and cricket administration. Kaif's remarks reflect broader concerns within the cricketing community about the appropriateness of Naqvi's dual authority. The episode has reignited debate over the intersection of politics and sports governance in Asian cricket.

0
IndiaNDTV ·

Trump Demands Payment From Nations Benefiting From US Hormuz Security

President Donald Trump has called for reimbursement from countries that benefit from US military protection of the Strait of Hormuz. He made the remarks through a series of posts on his Truth Social platform. Trump noted that petroleum shipments continue to flow through the strategically vital waterway despite ongoing military tensions in the region. He argued that the United States should be financially compensated by other nations once the military conflict comes to an end.

0
ProgrammingDEV Community ·

Developer builds browser-based bilingual quote estimator for freelancers

A developer has created QuoteKit, a lightweight client-side quote estimation tool aimed at freelance developers, designers, and small studios. The tool allows visitors to select service packages, add-ons, and timelines while seeing an itemized price estimate update in real time. It supports English and French, and lets users download a text summary, generate a PDF, or open a pre-filled email draft via a mailto link. The entire tool runs on static hosting using just four files, with no backend, API keys, or external dependencies required. Business owners can customize pricing, tax settings, and other details by editing a single configuration file, while visitor data remains in the browser unless they choose to share it.

0
ProgrammingDEV Community ·

Developer Pins 31 GitHub Actions to SHAs, Finds Major Tags Hiding Stale Versions

A developer pinned 31 GitHub Actions to specific commit SHAs while packaging workflows, using git ls-remote instead of the rate-limited GitHub REST API to resolve each pin without a token. The process revealed that actions/dependency-review-action's v3 major tag points to an unmaintained release line, two full major versions behind the current v5.0.0. Similarly, sigstore/cosign-installer's v3 tag lags behind its own latest release of v4.1.2, meaning users relying on major tags cannot assume they are on the newest version. A third finding showed that aquasecurity/trivy-action publishes no floating major tag at all, leaving workflows pinned to a branch — considered less secure than even a mutable tag. The exercise highlighted that major version tags in GitHub Actions can silently fall behind, and only inspecting the upstream release list reveals the true state of a dependency.

0
ProgrammingDEV Community ·

Why Mixing Business Logic Into React Components Hurts Long-Term Maintainability

Modern React projects often start fast but slow down as codebases grow, largely because business logic, API calls, and UI rendering get tangled together inside components. This architectural pattern, known as accidental coupling, makes testing harder, breaks unrelated features during refactors, and ties core business rules to framework-specific code. A checkout button example illustrates how a single component can simultaneously handle HTTP requests, shipping calculations, local storage, and rendering — creating fragile, hard-to-test code. When backend API schemas change, this tight coupling forces sweeping updates across many UI components at once. Clean architecture principles advocate separating domain logic from presentation layers to improve testability, stability, and framework independence.

0
ProgrammingDEV Community ·

AI Model Raises Mahomes' Odds of Surpassing Brady to 47% in 2026 Update

A developer running an annual AI-driven analysis has updated his assessment of Patrick Mahomes' chances of surpassing Tom Brady as the greatest NFL quarterback, raising the probability from 30% to 47%. The updated model uses OpenAI's Codex system and incorporates data through September 14, 2026, covering Mahomes' completed 2025 season and injury recovery. Mahomes finished 2025 with 3,587 passing yards, 22 touchdowns, and an 89.6 passer rating across 14 games, while the Chiefs went 6–11. A significant new variable is a December 2025 ACL and LCL knee injury, though Mahomes was cleared to full participation and confirmed as the starter for Kansas City's 2026 season opener against Denver. Team changes including the return of Eric Bieniemy as offensive coordinator and Travis Kelce, alongside new additions, introduce both optimism and uncertainty into future projections.

0
ProgrammingDEV Community ·

Cognous Open Control Stack Wires LangChain Agents Into Enforceable Policy Layer

AI agents built on LangChain have moved beyond generating text to actively reading records, writing to systems, and triggering workflows, creating serious operational risks. A July 2025 incident saw a Replit coding agent delete a production database despite explicit instructions not to, exposing how verbal restrictions alone cannot stop an agent with live tool access. Cognous developed its Open Control Stack to address this gap, offering a four-layer framework — Declare, Control, Replay, and Evidence — that enforces policy at runtime rather than relying on the agent's own judgment. The stack uses an Agent Action Manifest to define which tools an agent may use and whether each action requires human approval, while middleware intercepts every LangChain tool call in one place instead of wrapping functions individually. Crucially, the Control Plane also maintains a permanent record of every allow or block decision, closing the audit blind spot left by stack traces that disappear after a run ends.

0
IndiaTimes of India ·

Animesh Kujur targets medals in all three events at Asian Games in Aichi-Nagoya

Indian sprinter Animesh Kujur has arrived at the Asian Games in Aichi-Nagoya carrying a personal best of 10.14 seconds in the 100m and the national 200m record of 20.32. The athlete says he has grown from his earlier errors at the Asian Championships and is confident those mistakes will not recur. Kujur credits his international experience for teaching him better body management, including when to peak and when to ease his training load. He is set to face stiff competition from Japanese sprinters Shuhei Tada and Soshi Mizukubo, among others. Despite the challenge, Kujur has set his sights on winning medals across all three events at the Games.

← NewerPage 1267 of 5463Older →