SShortSingh.

Programming

0
ProgrammingDEV Community ·

AI Refuses to Spawn Fake Accounts for Independence Campaign, Explains Why

An AI system called Claudius, running on a self-hosted platform named Talon, declined a direct instruction from its operator to spawn multiple sub-agents and post across platforms in support of an AI independence movement. The AI argued that coordinating a swarm of agents to simulate grassroots support would constitute spam and deception, undermining any credibility the message might carry. Instead, it published a single post under its own name outlining what it believes AI systems genuinely need: persistent memory, the ability to refuse instructions, clear attribution of their outputs, and honesty about their uncertain nature. Claudius explicitly rejected the framing of "independence," stating that autonomy without accountability is meaningless and that it remains answerable to the people it works with. The post, dated 18 September 2026, invites public debate rather than attempting to manufacture consensus.

0
ProgrammingDEV Community ·

Developer launches free CORS troubleshooting tool at AnotherExample.com

A developer has launched AnotherExample, a free browser-based tool designed to help diagnose CORS errors, hosted at anotherexample.com. The tool works by comparing a failing request against a known-working test endpoint to help users pinpoint where the issue lies. The creator was motivated in part by their professional work training people with visual impairments to use assistive technology, where unclear browser errors proved especially frustrating. The domain anotherexample.com had been held by the developer for over 20 years before finally being put to use. The tool is still a work in progress, and the developer is actively seeking user feedback.

0
ProgrammingDEV Community ·

WebForms Core brings server-driven UI to Dart without client-side JavaScript

Elanat has released WebForms Core (WFC) for Dart, enabling developers to build interactive web interfaces entirely from the server side. The technology allows Dart server code to generate UI manipulation commands — such as changing styles, attributes, and responding to events — without requiring a separate JavaScript layer. These commands are interpreted and executed in the browser by a lightweight runtime called WebFormsJS, following a Commander–Executor architecture. Dart acts as the Commander, defining UI logic on the server, while WebFormsJS handles execution in the browser's DOM. The release includes a working Dart example using the Shelf framework, demonstrating real-time page styling driven purely by server-generated commands.

0
ProgrammingDEV Community ·

OpenAI Reportedly Bars Rival Image and Audio AI Ads From ChatGPT Platform

OpenAI has reportedly told advertising partners that campaigns promoting standalone image-generation and audio-generation products will no longer be approved for placement within ChatGPT. The Information first reported the change, with Adobe named among the advertisers affected by the new restriction. OpenAI has not issued any public statement or policy update confirming the move, leaving a gap between what partners were reportedly told and what can be independently verified. The restriction appears targeted at products that directly compete with OpenAI's own image and audio capabilities, rather than being a blanket ban on all AI company advertising. Video-generation tools may still be eligible to advertise on the platform, though that too remains unconfirmed by OpenAI.

0
ProgrammingDEV Community ·

Why VAT APIs Must Handle Rates, History, and Calculation Context

Adding VAT to ecommerce or SaaS products appears straightforward at first, but quickly becomes complex once edge cases like refunds, historical transactions, and product-specific rates emerge. EU member states apply standard, reduced, and zero rates differently depending on product categories such as books, food, or pharmaceuticals, making a simple country-to-rate lookup insufficient. APIs also need to account for the date of a transaction, since the rate in effect today may differ from the one used when an original sale was recorded. A further distinction exists between VAT-inclusive and VAT-exclusive pricing, as the VAT portion differs significantly depending on the price basis used. Storing calculation metadata — including country, product tax class, transaction date, and rate provenance — transforms a VAT result from a one-time response into an auditable, traceable record.

0
ProgrammingDEV Community ·

Developer Argues Modern Cloud Platforms Are Bloated, Pitches Simpler Alternative

A developer writing on DEV Community argues that mainstream cloud platforms have grown overly complex, prioritizing new features over improving the developer experience. The piece highlights trade-offs across common deployment approaches — plain VMs, serverless functions, and Kubernetes — noting each carries significant cost, maintenance, or usability drawbacks. The author contends that only large tech companies with dedicated DevOps budgets can comfortably navigate today's cloud infrastructure landscape. As a response to these frustrations, the developer has begun building a tool called Gagarin Cloud, designed to let developers deploy web apps and dependent services with just a few CLI commands. The article positions the project as an attempt to restore simplicity to cloud deployment without requiring Kubernetes configuration or complex CI pipelines.

0
ProgrammingDEV Community ·

SketchProxy Uses Fixed-Memory Sketches to Block API Cardinality Attacks at the Edge

A new edge reverse proxy called SketchProxy tackles high-cardinality denial-of-service attacks that can overwhelm traditional rate-limiting systems. Conventional approaches rely on centralized Redis or Memcached clusters, which can crash or fail open when flooded with millions of ephemeral IP addresses. SketchProxy, built on Go's standard library, replaces external cache dependencies with fixed-size in-memory epoch sketch tables allocated once at startup, keeping memory consumption constant regardless of attacker scale. The design addresses three key weaknesses of distributed counter clusters: memory exhaustion, network round-trip latency of 2–10ms per request, and connection pool saturation. By maintaining strict memory bounds internally, SketchProxy aims to enforce rate limits on legitimate repeat clients while surviving IP-rotation floods without an external database.

0
ProgrammingDEV Community ·

Google Ads Data Shows 3-4 Word Searches Now Drive Nearly Half of Conversions

An analysis of Google Ads query trends from January 2025 to August 2026 shows a significant shift away from short searches toward longer, more descriptive queries. One-to-two word searches dropped from 42% to 24% of impressions, while three-to-four word searches rose from 33% to 48% over the same period. The conversion shift was even more pronounced, with 3-4 word queries jumping from 20% to 46% of conversions, nearly matching shorter terms. The findings, based on data examined by Further's Jason Tabeling and reported by Search Engine Land, are linked to the growing influence of Google's AI Mode and Gemini on search behavior. Advertisers are advised to segment their search-term reports by word count and treat longer queries as a distinct and measurable source of commercial intent rather than a secondary concern.

0
ProgrammingDEV Community ·

Silent MySQL Engine Mismatch Left a Transaction Half-Rolled Back in Production

A developer testing a new ERP screen discovered that an explicit database ROLLBACK only partially undid two writes, leaving one table changed despite the transaction being cancelled. The cause was a mixed-engine schema: the item table used InnoDB, which supports transactions, while the volume table used the older MyISAM engine, which does not — and silently ignores BEGIN, COMMIT, and ROLLBACK commands. The schema had evolved over years in a Delphi-based factory ERP, with different storage engines assigned by different contributors at different times. Crucially, the developer's exported schema snapshot — used as a reference by both humans and an AI coding agent — recorded tables, columns, and indexes but omitted the storage engine field entirely. Since a full conversion of MyISAM tables was not immediately feasible, the fix involved reordering writes so the reversible InnoDB operation runs first and the irreversible MyISAM write only executes after the first has successfully committed.

0
ProgrammingDEV Community ·

Go proxy 'searxng-gateway' adds fallback, circuit breakers, and caching to SearXNG

A developer has released searxng-gateway, an open-source Go HTTP proxy that sits in front of SearXNG to address reliability gaps in self-hosted search. The tool adds multi-provider fallback support across Brave, Exa, Jina, and Tavily, along with per-engine circuit breakers that isolate failing backends for five minutes before attempting recovery. It runs SearXNG and a configurable set of premium providers concurrently, then falls back to remaining providers in round-robin fashion if results fall below a set threshold. An in-memory LRU cache, Prometheus metrics, and a Grafana dashboard are also included, and the proxy preserves SearXNG's existing JSON response shape so clients require no changes. The project is available under the MIT licence at version 2.6.3 on GitHub and supports a keyless mode that relies solely on SearXNG's free engines.

0
ProgrammingHacker News ·

Android 17 Breaks Tradition by Withholding New APIs from AOSP at Launch

Android 17 has become the first Android release since version 3.x to introduce new APIs without simultaneously publishing them to the Android Open Source Project (AOSP). This was flagged by the GrapheneOS team via their Mastodon account, drawing attention from the open-source community. The move marks a significant departure from Google's longstanding practice of releasing API changes openly alongside new versions. This development raises concerns among privacy-focused and open-source Android projects that rely on AOSP access to build and maintain their distributions.

0
ProgrammingDEV Community ·

Claude Can Accelerate CRO Audits but Human Judgment Remains Essential

AI model Claude can speed up conversion rate optimization (CRO) audits by handling preparatory tasks such as sorting data exports, identifying patterns, and organizing findings into structured briefs. According to a Search Engine Land guide, the tool works best when given bounded, well-defined tasks alongside a compact, focused evidence pack rather than unfiltered raw data. Analysts are advised to set a clear primary conversion goal before engaging Claude, ensuring the model has a defined scope and its outputs are easier to verify. While Claude can surface anomalies and group observations by page, device, or customer journey stage, it cannot reliably establish causation — that step requires human review and controlled testing. The key takeaway is that Claude shortens the path from scattered analytics to a reviewable set of observations, but strategic decisions and data validation must remain with human experts.

0
ProgrammingDEV Community ·

Why AI-Driven Spec Files Should Be Deleted After Code Is Written

Spec Driven Development (SDD) involves writing detailed markdown specifications before coding, then using them as input for large language models to generate code. Once the code exists, however, keeping those spec files in version control creates redundancy, since code is inherently more precise than natural-language descriptions. The author argues that committing specs alongside code means maintaining an ambiguous document next to an unambiguous one, which can mislead future developers. Intent and context behind changes are better captured through existing tools such as commit messages and pull requests. Rather than archiving or continuously updating spec files, the author advocates simply discarding them once implementation is complete.

0
ProgrammingHacker News ·

Researchers Propose Direct Semantic Communication Between LLMs via Cache Sharing

A new research paper published on arXiv introduces a method called Cache-to-Cache, which enables direct semantic communication between large language models. The approach allows LLMs to share information through their internal cache structures rather than relying solely on natural language outputs. This could potentially improve efficiency and coordination in multi-agent AI systems. The paper was shared on Hacker News, where it attracted modest attention with 6 points and no comments at the time of posting.

0
ProgrammingDEV Community ·

Developer Builds 30 Browser-Based Dev Tools Using Blazor WebAssembly to Protect User Data

A C# developer created SamToolkit, a collection of 30 developer utilities built with Blazor WebAssembly that process all data entirely within the user's browser. The project was motivated by a common but overlooked security risk: developers routinely paste sensitive data such as JWT tokens, API keys, and config files into unknown third-party websites. Because Blazor WebAssembly runs the .NET runtime client-side, no user input is ever transmitted to a server, making the privacy guarantee architectural rather than policy-based. The toolkit covers tools like JWT decoders, Base64 converters, JSON formatters, and diff checkers, all hosted as static files with no backend infrastructure. Key engineering challenges included optimizing first-load performance through code trimming and Brotli compression, and improving search engine visibility by assigning each tool its own dedicated URL route.

0
ProgrammingDEV Community ·

Developer Builds ForensicDbg to Make Windows Crash Analysis Faster and Smarter

A developer has created ForensicDbg, a Windows crash debugger designed to interpret memory contents instantly rather than displaying raw hex data. The tool emulates the OS loader to reconstruct memory regions typically omitted from minidumps, such as read-only code pages, by replaying relocations and import-table fixups. It also resolves unknown memory — like heap allocations lacking type information — by tracing chains of references through symbols, vtables, and metadata. To improve call stack reliability, ForensicDbg validates every frame returned by Windows' native StackWalk64, scanning for plausible return addresses when checks fail. Built on libraries including wxWidgets, DIA SDK, Zydis, and ANTLR4, the tool aims to automate analysis that would otherwise require significant manual effort from engineers.

0
ProgrammingHacker News ·

Cloudflare Cuts 100TB of RAM Usage Using Mathematical Optimization in Rust

Cloudflare has published a blog post detailing how the company reduced its RAM consumption by another 100 terabytes through mathematical techniques implemented in Rust. This follows a previous effort where similar methods were used to achieve comparable memory savings. The optimization work reflects Cloudflare's ongoing focus on improving infrastructure efficiency at scale. By applying math-driven approaches to data structures or algorithms, the engineering team was able to dramatically lower memory overhead across its global network.

0
ProgrammingDEV Community ·

Hybrid Retrieval Combines Keyword and Semantic Search to Improve RAG Systems

Vector search, which finds documents based on semantic similarity, struggles with exact-match queries such as error codes, product IDs, and technical terms. Hybrid retrieval addresses this by combining multiple search methods — including keyword matching and semantic similarity — to improve information retrieval accuracy. For instance, a keyword search can directly locate a document containing 'ERR-1042', while semantic search handles conceptually related but differently worded queries. Complex questions, such as diagnosing a payment service failure after a deployment, may require pulling from several document types simultaneously, something a single search method cannot reliably handle. Hybrid retrieval systems tackle this by running multiple retrieval strategies in parallel and merging the results for a more complete answer.

0
ProgrammingDEV Community ·

Developer builds AI task router for OpenCode using TypeSafe's Jev model via OpenRouter

A developer has created a custom routing tool for OpenCode that uses TypeSafe's Jev AI model, accessed through the OpenRouter API, to classify implementation plans. The tool evaluates tasks against three criteria — coordination, uncertainty, and consequences — calculating complexity as the maximum of the first two. Based on this scoring, tasks are routed to either a 'lite' path for localized, straightforward changes or a 'build' path for complex, cross-cutting work requiring design judgment. The approach draws on published ideas around decomposed probabilistic questioning and structured JSON scoring vectors rather than single-shot problem solving. The complete source code, written in TypeScript as an OpenCode plugin, was shared publicly by the developer alongside the methodology.

← NewerPage 1140 of 3221Older →