SShortSingh.
0
ProgrammingDEV Community ·

Developer builds open-source AI QA system to force rigorous code audits

Software developer Mohamed Saleh has released an open-source AI testing suite designed to prevent large language models from superficially approving flawed code. Frustrated by LLMs giving uncritical, overly positive code reviews, Saleh spent several weeks building a structured workflow that compels AI tools to conduct thorough audits. The system enforces up to 19 mandatory review phases — covering areas like OWASP Top 10 and state management — and requires the AI to cite exact file paths and line numbers for every finding. It also integrates runtime error data from Sentry and includes a 'red team' step where the AI attempts to bypass its own security fixes. Four specialized versions are available for backend, web, mobile, and desktop stacks, and are compatible with tools like Cursor and GitHub Copilot.

0
ProgrammingDEV Community ·

Redundancy in Software Systems: Why Backup Components Are Essential for Uptime

Redundancy in software engineering means having backup components — such as multiple servers or database replicas — so that if one part fails, others continue operating without user-facing disruption. It is a core strategy for achieving high availability, reducing downtime, and enabling disaster recovery across critical systems. Common implementations include load-balanced application servers, primary-replica database setups, and multi-region data replication to eliminate single points of failure. Industries like banking, healthcare, e-commerce, and payment platforms rely heavily on redundancy because even brief outages can cause revenue loss and erode user trust. Engineers are advised to consider redundancy once real users depend on a platform, designing systems that anticipate infrastructure failures rather than assuming constant availability.

0
ProgrammingDEV Community ·

KitDev Space builds developer tools on a browser-first privacy rule

Developer tool platform KitDev Space was built around a single guiding principle: run all processing in the browser and use a server only when the browser genuinely cannot do the job. The rule was inspired by a common habit among developers of pasting sensitive data like JWTs and .env files into third-party online tools without knowing where that data goes. Most everyday developer tasks — including hashing, encryption, image editing, and archive inspection — are handled entirely client-side using built-in browser APIs such as Web Crypto and OffscreenCanvas. Server-side processing is reserved for specific cases, such as tools requiring native libraries, cross-origin network requests, or inputs too large for a browser tab. When a server path is used, the platform discloses this to users explicitly rather than processing data silently on a remote machine.

0
ProgrammingDEV Community ·

How a self-hosted secrets manager can bring order to homelab credential chaos

A homelab operator describes migrating all credentials from scattered docker-compose files and .env configs into a single self-hosted secrets manager, Infisical, to establish one authoritative source for every secret. Each service authenticates using its own machine identity, limiting a potential breach to only that service's secrets rather than the entire vault. A lightweight resolver checks environment variables first, then the secrets manager, and finally a fail-closed default — ensuring the system breaks loudly rather than silently falling back to hardcoded credentials. The only secret stored on disk is a bootstrap credential used to authenticate at startup, with strict file permissions, from which all other secrets are derived. A notable pitfall encountered was Docker Compose silently truncating passwords containing dollar signs due to variable interpolation in env_file configs, which the author resolved by escaping the character or avoiding it in generated passwords altogether.

0
ProgrammingDEV Community ·

Developer releases CSS tool to fix the flat, depthless look of AI-generated websites

A developer has identified a recurring visual flaw in websites built with AI coding agents: pages appear flat and lacking depth, as if every element sits on the same plane. To address this, they created 'unflat', an open-source Agent Skill compatible with tools like Claude Code, Cursor, and Codex. The skill audits an existing page, extracts design tokens such as background color and accent, and appends a single CSS block to the global stylesheet without altering any other code. It applies nine layered adjustments — including subtle lighting, surface elevation, color washes, and contextual motifs — all derived from the site's existing design. The block is fully reversible, and a built-in checker confirms the page returns to its original state if the block is removed.

0
ProgrammingDEV Community ·

Developer Builds Blockchain-Based Rotating Savings Tool Inspired by Grandmother's Ajo Circle

A developer has built Ajo Chain, a Solana-based smart contract application that digitises the traditional Nigerian rotating savings system known as ajo or esusu, where members pool fixed contributions and take turns receiving a full payout. The project was inspired by the developer's late grandmother, a market trader who ran such a circle but once suffered a loss when the trusted person holding the pooled funds could not repay money borrowed under personal financial pressure. Ajo Chain removes the need for a single trusted custodian by placing escrow, rotation order, and default tracking entirely on-chain, with payouts only released once all five members in a group have contributed. A narrow AI agent powered by Google Gemini assists human moderators by drafting plain-language summaries of disputed defaults based on on-chain evidence, but makes no final decisions. The project is currently running on Solana's devnet with no real funds at stake, and a live transparency page documents a completed test round including one deliberate default and a subsequent late catch-up payment.

0
ProgrammingDEV Community ·

How One Developer Built a Six-Role AI Agent System to Run His Homelab Projects

A developer has shared how he structured a single self-hosted AI model into six distinct agent profiles — chief of staff, scout, builder, security, writer, and IT admin — each assigned a narrow, specific role. The agents do not communicate directly with one another; instead, they share a Kanban-style task board where work moves through columns from idea to completion. A core design principle governs the entire setup: scripts and deterministic tools gather real-world facts, while AI models are only permitted to interpret, write, or route — never to independently source data. This separation is meant to prevent hallucination-driven errors, since the developer found that allowing models to freely research facts led to unreliable outputs. The result is a transparent, inspectable workflow where any agent can be restarted or replaced without losing progress, as all state is stored on the shared board rather than in conversation history.

0
ProgrammingDEV Community ·

How One Homelab Owner Built a Five-Layer Security Architecture With Hard Lessons

A self-hosted home server enthusiast has detailed the layered architecture and operational rules governing their personal homelab, structured deliberately like a small company with defined roles for each component. The setup uses five sequential security layers — a CDN edge, reverse proxy, identity provider, secrets manager, and the services themselves — ensuring no unauthenticated request ever reaches an actual application. A core principle of the design is that no service stores its credentials at rest; instead, secrets are fetched at runtime and verified by fingerprint rather than by printing or echoing them. Scheduled automation follows a strict separation of concerns: deterministic scripts gather data while AI models are only permitted to summarise or phrase outputs, never to independently fetch facts or make decisions. The author emphasises that monitoring must alert on silence and absence — not just errors — and that every alarm should be deliberately broken at least once to confirm it actually fires.

0
ProgrammingDEV Community ·

Four Layers Determine Which SDK a Coding Agent Picks for Your App

When a coding agent receives a task like adding payments to an app, it selects an SDK through up to four distinct layers: training data, web search, context retrieval, and tool execution. Mature SDKs hold an early advantage because base models have encountered their documentation, repositories, and usage patterns during training. However, model knowledge can be outdated or incomplete, making web search a critical second layer — triggered in roughly 20% of prompts, according to Vercel research. Mechanical issues such as crawler blocks, client-side rendering, and vague page titles can prevent an SDK from surfacing during that search phase. Beyond documentation, structured context like llms.txt files, MCP servers, and API design quality also shape the final selection, giving SDK teams actionable levers beyond traditional content marketing.

0
ProgrammingDEV Community ·

Developer Logs Week 12 of 100DaysOfCode Diving Into Spring Cloud Microservices

A developer documenting their #100DaysOfCode journey shared progress from days 73 to 76, focusing on Spring Cloud and microservices infrastructure. Topics covered included Spring Cloud Config for managing distributed configurations, Eureka for service registration and discovery, and Zuul as an API gateway. The learner also explored Spring Cloud Bus for propagating configuration changes and began studying JUnit for backend testing. Additional concepts included centralized logging, distributed tracing, Prometheus monitoring, and fault-tolerance patterns like the Circuit Breaker. The weekly reflection highlights that building microservices requires attention not just to individual services but also to configuration, security, communication, and reliability.

0
ProgrammingDEV Community ·

Developer builds Solana tool that splits charity donations evenly across three nonprofits

A developer created OneClickGood, a Solana Blink that automatically splits a single donation equally among three disaster-relief nonprofits — American Red Cross, Direct Relief, and GlobalGiving. The project was built in response to a perceived flaw in charitable giving, where media attention funnels donations disproportionately to the most visible organisation during a crisis. Unlike a standard donate button, the even split is enforced by three simultaneous blockchain transfer instructions in one atomic transaction, meaning either all three recipients are funded or none are. Each donation also carries an on-chain memo recording the amount and recipient basket, allowing anyone to independently audit the results without relying on the developer's server. The tool is currently live on Solana's devnet and includes a command-line verification script that confirms split accuracy using only public RPC data.

0
ProgrammingDEV Community ·

AI Model Followed Provider Schema Over Harness Instruction, Exposing Test Logic Flaw

A developer discovered that an AI model's tool-call arguments were flagged as a mismatch by their test harness, but the root cause was a conflict between two competing authorities: the harness expected a single-key JSON object, while the provider's runtime schema required additional fields. The model complied with the provider's schema rather than the harness instruction, which was technically correct behavior since the harness was demanding something the schema did not permit. The developer noted that a mismatch only proves a difference exists, not which side holds the correct expectation. Rather than loosening the comparison to hide the failure, the fix added the required intent field as a harness-authored constant to the expected object, preserving the integrity of the control. Simply copying the model's own output into the expected value was rejected as it would have made the test verify the model against itself.

0
ProgrammingDEV Community ·

AI Coding Agent Benchmarks Are Misleading Without Retry and Time Caps

Reported pass rates for AI coding agents are often incomplete because they omit critical controls such as retry limits and wall-clock time ceilings, making comparisons between tools unreliable. Two agents can show identical success rates while one solved tasks in a single attempt and another silently looped through multiple repair cycles. A proposed evaluation framework calls for sealed task packs with frozen prompt templates, hidden test digests, explicit retry ceilings, and tool-trace identifiers as mandatory dataset fields. The framework also defines a small metric set — including a boolean pass result, attempts used, elapsed time, and a trace file hash — to detect hidden rework and incomplete runs. Without these standardized controls, published benchmark percentages resemble marketing figures rather than reproducible experimental evidence.

0
ProgrammingDEV Community ·

How One SaaS Developer Fixed Billing Lockouts by Writing Subscription State Five Ways

A developer building VoiceDash, a white-label voice AI portal, discovered that relying solely on Stripe webhooks to write subscription state caused paying customers to be locked out of the product. The core issue was a race condition where Stripe's redirect back to the app arrived before the webhook, leaving the database without an active subscription row. The developer reframed the problem by treating the database as a cache of Stripe's authoritative subscription data rather than the source of truth. To keep that cache reliably warm, five separate code paths were built to write subscription state: the webhook handler, the checkout return page, a client-side retry verifier, the plan-change route, and a read-time reconciliation check in the app layout. Data integrity across all five writers is maintained through idempotent upsert operations keyed on a unique Stripe subscription ID, ensuring repeated writes produce consistent results without corruption.

0
ProgrammingDEV Community ·

Why Free AI Inference Models Should Never Define Your API Contracts

Software teams increasingly rely on free-tier AI inference models to fill gaps in API design, but this practice carries hidden risks when those models are allowed to define authoritative contracts or wire formats. Free models may invent plausible-looking headers, error codes, and field names that never exist in production, causing failures that surface only during incidents rather than in tests. The article argues that free inference belongs in an isolated 'sketch lane' for exploratory tasks like prompt testing and throwaway prototypes, not in directories or workflows that other teams will integrate against. Key red flags include tasks that define wire formats, draft customer-facing copy, or require bit-identical reproducibility over time. The recommended safeguard is a strict preflight gate: if output targets a contracts directory or fails schema validation, the process stops rather than adapting the schema to match the model's invention.

0
ProgrammingDEV Community ·

Build vs. Buy AI: Why SMBs Must Account for the Full Cost of Ownership

Adopting AI tools for business operations carries hidden long-term costs that go far beyond licensing fees, including ongoing maintenance, model deprecation, and connector upkeep. Research from McKinsey, BCG, and Gartner highlights that while AI use is widespread, fewer than 6% of enterprises generate measurable value at scale, and over 40% of agentic AI projects may be canceled by 2027. AI systems differ from traditional software in that they drift over time — accuracy can silently degrade and outputs carry legal weight, as demonstrated when Air Canada was held liable in a 2024 tribunal ruling for a chatbot's incorrect policy advice. A support agent handling 50,000 chats monthly can require over $500,000 per year just to maintain accuracy, while typical enterprise AI rollouts see only a fraction of licensed seats used regularly. For small and mid-sized businesses, the core question is not which tool has the best features, but whether the organization can sustain the full operational burden of ownership over a 24-month horizon.

0
TechnologyTechCrunch ·

Phil Schiller Steps Back from App Store Role Over Concerns About Its Future

Apple veteran Phil Schiller is stepping down as head of the App Store, according to a Bloomberg report by Mark Gurman. His decision was reportedly influenced in part by reservations about the future direction of the App Store. Schiller will not be leaving Apple entirely, however, and will continue with the company in the role of Apple Fellow. In that capacity, he is expected to work on unspecified projects going forward.

← NewerPage 828 of 4581Older →