SShortSingh.

Programming

0
ProgrammingDEV Community ·

Developer Removes AI Plugin Pair from Claude Code After One-Week Trial Shows Poor Results

A developer tested two Jev-based plugins integrated with Claude Code over one week starting September 21, 2026, to evaluate their practical utility. The first plugin, jev-skill-router, made 1,242 skill-selection judgments, but only 28 of its 539 skill picks matched what Claude Code actually used — a roughly 5% overlap rate. The second plugin was designed to prevent Claude Code from prematurely ending tasks, but in two closely examined cases it halted work after verification scripts had already completed successfully. The developer concluded that retrofit components are difficult to evaluate meaningfully inside Claude Code because each intervention can alter subsequent model behavior in unpredictable ways. Both plugins were removed, with the author noting that reliable plugin testing requires a fixed-flow pipeline rather than a dynamic, model-driven environment.

0
ProgrammingDEV Community ·

Key TypeScript Lessons Developers Wish They Had Learned Earlier

A developer reflecting on their TypeScript journey highlights several practical lessons learned through real frontend project experience. One early mistake was over-annotating variables, when TypeScript can already infer types like string or number automatically from assigned values. Overusing the 'any' type was another pitfall, as it bypasses TypeScript's core benefits and should be replaced with properly defined types wherever possible. The article also notes that explicit type definitions serve as built-in documentation, making functions easier to understand without needing additional comments. Finally, the developer advises beginners not to overthink the choice between 'type' and 'interface', recommending they start coding and learn the differences organically.

0
ProgrammingDEV Community ·

Developer Builds AI-Powered Local Search Tool Using Gemini and Google Maps APIs

A developer has published Part 2 of a seven-part series detailing the construction of a grounded local search workflow using Google's Gemini AI, the Google Places API, and Google Search grounding. The system splits retrieval into two paths: structured data such as ratings, hours, and addresses are fetched via Google Places, while softer user preferences like 'quiet enough to work' are handled through Google Search grounding. Gemini first interprets the user's query into a structured intent object, which then drives a bounded set of retrieval tasks to reduce duplication and latency. Results are normalized, scored using deterministic ranking, and synthesized by Gemini into map-linked recommendations. The open-source project, called ai-search-journey-lab, is deployed on Google Cloud Run and built with Python and Streamlit.

0
ProgrammingDEV Community ·

Same SSRF flaw found in MCP servers from Google, Anthropic, Microsoft, and Weaviate

A security researcher discovered an identical Server-Side Request Forgery (SSRF) vulnerability in Model Context Protocol servers independently built by four major vendors — Google, Anthropic, Microsoft, and Weaviate — over the first nine months of 2026. The shared flaw stemmed from a common false assumption: that a URL configured or supplied by an operator was inherently trustworthy, leaving model-supplied URLs unvalidated against internal IP ranges, loopback addresses, and redirect chains. Because MCP servers act on structured input from language models, any attacker who can influence what a model reads — via a prompt-injected webpage, document, or database row — can effectively control the server's outbound requests. Google's fix was merged in June 2026 and released as MCP Toolbox v1.5.0, with the issue assigned CVE-2026-14540 at CVSS 8.0 High. The pattern across four separate codebases, languages, and review cultures suggests the vulnerability reflects a systemic industry-wide misconception about trust boundaries in AI-integrated server architectures.

0
ProgrammingDEV Community ·

GEO Explained: How Developers Can Get Their Content Cited by AI Answer Engines

Generative Engine Optimization (GEO), also called Answer Engine Optimization (AEO), is an emerging practice focused on structuring web content so AI-powered tools like ChatGPT, Perplexity, and Google AI Overviews cite it as a source. Unlike traditional SEO, which targets ranked link results, GEO requires content to be highly extractable — meaning AI systems can lift clear, factual answers directly from the text. Key tactics include answering the core question within the first 60 words, using question-style headings, adding structured data markup, and maintaining consistent brand entity information across platforms. A developer writing on DEV Community shared that indie makers are increasingly asking how to appear inside AI-generated answers, and outlined a CLI tool he built to identify keyword gaps and question-style content clusters suited for both SEO and GEO. He argues the challenge is less about writing quality and more about identifying which conversational queries AI engines are already drawing from — framing it as a data problem rather than a content problem.

0
ProgrammingDEV Community ·

How a Single OCR Misread Can Corrupt an AI Agent's Long-Term Memory

A vision model misread a smudged diary entry, interpreting '18 June' as '13 June,' a small error that became a confidently cited legal fact once stored in an AI agent's long-term memory. The incident highlights how AI memory layers extract, link, and summarize stored data without questioning its accuracy, turning input errors into authoritative misinformation. The developer concluded that data must be validated before being committed to memory, not after, and that deterministic rule-based checks should only lower — never raise — a model's confidence score. Keeping original source files permanently attached to every memory entry was identified as a critical safety net, allowing users to verify recalled facts against raw documents. The author also recommended designing idempotent re-upload systems so corrected documents replace erroneous memories rather than creating conflicting duplicate entries.

0
ProgrammingDEV Community ·

Developer Builds AI Content Strategy Agent That Retains and Learns from Past Decisions

A developer has built ContentMind, an AI-powered content strategy agent designed to retain and apply historical context rather than treating each request as a fresh prompt. The system stores synthetic performance data for a fictional tech education brand, converting it into persistent memory via a service called Hindsight. When a user submits a new strategy query, the agent retrieves only relevant past memories — such as topic performance, audience preferences, and prior feedback — to inform its recommendation. The application is built with Next.js, TypeScript, and Tailwind CSS, using Supabase for authentication, Hindsight for memory storage, and Groq for generating final recommendations. The core innovation is a retain-recall-decide loop that allows the agent to improve its suggestions over time based on accumulated experience.

0
ProgrammingDEV Community ·

Developer fixes AI hallucination bug by moving counting logic out of the LLM

A developer building a customer support agent discovered that the underlying language model was producing inaccurate contact counts, sometimes undercounting or overcounting due to rephrased complaints. The root cause was that the prompt asked the model to both classify issues and count them — a task that blends judgment with deterministic arithmetic. The fix separated these responsibilities: the model now only classifies each interaction, while structured facts are stored in a memory layer called Hindsight and counted using standard code. This approach made the escalation logic auditable, since the final response includes both the computed count and the model's explanation for easy cross-checking. The developer noted that combining a vector-style retrieval store with structured fact storage eliminated the need to maintain two separate data systems in sync.

0
ProgrammingDEV Community ·

Converting M4A to MP3 on Windows saves almost no space, tests show

A developer tested Windows 11's built-in audio encoders and found that M4A and MP3 files produced from the same source audio differed in size by only 0.6%, or about 1,458 bytes. The reason is that Windows applies identical 192kbps bitrates to both formats by default, so the size gap reflects container overhead rather than any codec efficiency advantage. While AAC is technically a more efficient codec than MP3, Windows' preset system never assigns it a lower bitrate to demonstrate that benefit. The only practical reason to convert M4A to MP3 is compatibility — such as for car stereos or upload platforms that reject AAC files. The developer also noted that each lossy-to-lossy conversion degrades audio quality further, and that small timing differences introduced by encoders can cause audible clicks when stitching clips together.

0
ProgrammingDEV Community ·

TypeScript 6.0 flag lets developers use .ts extensions in imports for monorepos

TypeScript 6.0 introduces the --allowImportingTsExtensions flag, which permits developers to use .ts file extensions directly in import statements without triggering the TS1479 compiler error. Previously, monorepo teams had to build complex path-mapping workarounds because TypeScript blocked explicit .ts extensions in source imports, often causing silent failures at bundle time. The flag does not rewrite or emit imports itself — it simply removes the compile-time restriction, leaving actual path resolution to downstream tools like Vite, esbuild, or Turbopack, which already handle .ts paths natively. For monorepo setups, this means cross-package import errors surface earlier during type-checking rather than failing silently at production build time. Developers are advised to use the flag only in bundler-driven workflows, as enabling it without a custom loader will break native Node.js execution.

0
ProgrammingDEV Community ·

Developer Builds AI Incident Response Tool That Learns from Past Outages

A developer has created MemoryOps, an AI-powered incident response platform designed for DevOps and SRE teams, addressing the risk of LLM hallucinations during live outages. The tool uses a persistent memory layer called Hindsight to store structured learnings from resolved incidents, ensuring AI recommendations are grounded in verified past events rather than fabricated citations. The architecture combines a React frontend, a FastAPI and SQLite backend, and the Groq Cloud LLM, with Hindsight serving as long-term memory separate from the live incident database. When an incident is resolved, its root cause, resolution steps, and post-mortem are retained in Hindsight; future investigations then recall semantically similar past incidents to inform AI-generated recommendations. Human engineers retain full control throughout, as the system provides evidence-backed suggestions without executing any autonomous actions.

0
ProgrammingDEV Community ·

How One Developer Made AI Memory Visible Through a 60-Second Demo

Developer Bhargavi Cheera tackled a common challenge in AI agent development: making invisible backend memory systems understandable to users within seconds. Writing for DEV Community, she described building a Streamlit-based sales copilot interface designed to visually demonstrate how an AI agent's memory compounds over time. The core technique involved showing the same query twice — once without accumulated context and once after the agent had processed prior interactions — to highlight the contrast in response quality. A 'Seed Initial Data' button was added to give demos a clean, repeatable starting state, while separate Quick Brief and Deep Brief modes offered different depths of memory recall. The design philosophy prioritized making memory effects self-evident through the UI rather than relying on verbal explanation.

0
ProgrammingDEV Community ·

Python audit tool flags unverified coupons using timestamps and safe CSV exports

A developer has released the eSIM Offer Audit Kit, an open-source Python tool that audits discount offer observations using timestamps and CSV exports. The tool assigns review flags—such as stale observation, unknown expiry, and future timestamp—to highlight records that need human attention rather than claiming any coupon is valid. Timezone-free timestamps are rejected to prevent silent misinterpretation, and a 30-hour review interval reflects editorial policy, not a provider's actual validity window. The CSV exporter prefixes potentially dangerous characters to reduce formula-injection risks when files are opened in spreadsheet applications. Notably, the tool contains no 'verified coupon' column, as automated checks cannot confirm domain ownership, final pricing, or successful checkout.

0
ProgrammingDEV Community ·

CommitSieve VS Code Extension Catches Secrets and Junk Files Before You Commit

A developer has released CommitSieve, a free, open-source VS Code extension designed to flag problematic staged changes before a Git commit is made. The tool scans only newly added lines in staged diffs, warning users about sensitive files such as .env, credentials, and private keys, as well as noise like node_modules and large binaries. It also detects focused test cases like it.only that can silently skip entire test suites in CI pipelines. The extension requires no setup, collects no telemetry, and displays issues directly in VS Code's status bar and Problems panel with one-click Unstage and Add to .gitignore options. The developer notes it warns rather than blocks commits, recommending users also maintain a Git hook or CI scanner as a hard enforcement layer.

0
ProgrammingDEV Community ·

Same SSRF flaw found in MCP servers from Google, Anthropic, Microsoft and Weaviate

A security researcher discovered an identical Server-Side Request Forgery (SSRF) vulnerability in Model Context Protocol servers built independently by Google, Anthropic, Microsoft, and Weaviate across the first nine months of 2026. All four vendors shared a common flawed assumption: that a URL parameter supplied to their MCP servers could be trusted, when in reality any input processed by a language model must be treated as potentially attacker-controlled. Because MCP servers act on real-world resources — fetching web pages, querying databases, or driving browsers — a malicious URL injected via prompt manipulation could redirect requests to internal networks, metadata endpoints, or admin panels. Google's flaw was assigned CVE-2026-14540 with a CVSS v4.0 score of 8.0 (High) and was patched in v1.5.0, while Anthropic's and Microsoft's servers lacked allowlists and failed to block private or link-local IP ranges. The researcher noted the root cause was not a coding error unique to any one team, but a shared architectural misconception about the trust boundary between language models and the servers they control.

0
ProgrammingDEV Community ·

Developer builds citation-linked legal memory tool Tareekh on Hindsight platform

A software developer has built Tareekh, a memory system designed for litigation practice, using the Hindsight AI memory platform. The tool allows lawyers to upload diary photos, court orders, deeds, and notes, which are then split into per-hearing entries and stored in a searchable memory bank. Every factual answer the system generates includes a numbered citation pointing to the original source document. The developer structured stored data across three layers — tags for filtering recalls, metadata for displaying source citations, and a separate SQLite registry for exact reference data. A key design insight was using opaque IDs rather than names in tags, since document spellings vary, and carefully configuring observation groupings to enable cross-case pattern detection.

0
ProgrammingDEV Community ·

Developer Builds Long-Term Memory Layer for AI Sales Agent Using External Storage

A developer built an 'Account Context Engine' to help AI sales agents retain and retrieve long-term account history across hundreds of customer interactions. The core problem identified was that enterprise sales data is not missing but scattered across CRMs, emails, transcripts, and support tickets, making pre-call preparation difficult. An initial attempt to solve this by expanding the LLM's context window failed, as flooding the model with raw historical data diluted relevance rather than improving it. The solution involved separating long-term memory from the reasoning engine by integrating an external persistence layer called Hindsight to store and selectively surface account history. This architecture allows the AI agent to retrieve only contextually relevant past events when responding to a sales rep's query, rather than processing an unweighted log of all interactions.

0
ProgrammingDEV Community ·

Team Builds Voice-First AI Workspace JARVIS With Persistent Memory for Hackathon

A developer team called localhosters is building JARVIS, a voice-first autonomous AI workspace, for the HackwithHyderabad 3.0 hackathon. Unlike conventional chat-based assistants, JARVIS is designed to interpret high-level user goals and autonomously execute tasks across files, terminals, browsers, Git, and sandboxed environments. The system uses a persistent experiential memory layer called Hindsight, allowing it to recall outcomes from past tasks and apply that context to future requests. A central ToolRegistry enforces security policies, permission checks, and schema validation to keep autonomous execution within defined boundaries. The project is still under active development, with the team working across agent intelligence, memory, tool execution, and interface layers.

0
ProgrammingDEV Community ·

Analysis of 5,300 Monthly MCP Gateway Searches Reveals Thin, Concentrated Demand

A keyword analysis of 18 search phrases related to 'MCP gateway' found that roughly 5,300 monthly searches exist in the United States, with approximately 4,800 of those concentrated in three near-identical spellings of the same term. The remaining searches break down into vendor-specific queries involving tools like Microsoft, Okta, GitHub, Docker, and Amazon API Gateway, suggesting users are already familiar with specific products rather than exploring a broad category. A smaller cluster of around 250 monthly searches reflects definition, comparison, and selection intent, covering queries such as 'what is an MCP gateway' and 'MCP gateway vs MCP server.' The cost-per-click of $49.58 across the head terms signals strong commercial interest from advertisers despite relatively modest search volumes. The analysis was conducted using the Google Ads volume endpoint and was disclosed as the work of SmartGate, a company that itself builds an MCP gateway product.

0
ProgrammingDEV Community ·

Self-Taught Developer Seeks Mentor for K-12 STEM Simulation Projects

A developer named Nick is building science education simulations for K-12 students at local schools and an aviation museum, focusing on flight science. He has a background in older programming languages such as FORTRAN, BASIC, C, and C++, and has largely taught himself through trial and error. Nick currently uses AI tools to help build user interfaces and physical models, while applying his existing knowledge to verify accuracy. He is seeking informal mentorship from someone slightly more experienced who can guide his learning path. Nick has shared his work publicly and welcomes advice through the DEV Community.

← NewerPage 823 of 3171Older →