SShortSingh.

Programming

0
ProgrammingDEV Community ·

Developer builds free background noise app to escape YouTube distractions

A developer created ZenWave Studio, a free web app for background sounds, after growing frustrated with using YouTube for ambient audio while working or studying. The platform offers white noise, brown noise, rain, and other ambient sounds without ads or distractions. Users can select a sound, set a timer, and focus without keeping a video tab open. The developer built it primarily for personal use before sharing it with friends and the wider DEV Community. The tool is available at zenwavestudio.com and is aimed at anyone who needs a distraction-free audio environment for focus or sleep.

0
ProgrammingDEV Community ·

MoE vs Edge AI: How a 35B Model Runs on an iPhone With Under 3GB RAM

A demo by a project called Edge0 showed a 35B-parameter language model running on an iPhone using just 1–2.5 GB of peak memory, sparking interest in how this is possible. The key technique is Mixture of Experts (MoE), a neural network architecture where multiple smaller sub-networks called 'experts' exist within a model, but only a few are activated for any given input token. This sparse activation means a model can have a large total parameter count while using far fewer parameters per computation, keeping active memory usage low. In Edge0's approach, the full set of expert weights is stored on the device's storage and only the required experts are loaded into RAM as needed. MoE is an architectural design choice, distinct from 'edge computing,' which refers to where computation runs — the two concepts are related in practice but solve fundamentally different problems.

0
ProgrammingDEV Community ·

How Clavio Builds Per-App Dictation Profiles with Smart Focus Tracking on macOS

Just Tools LTD has published a technical breakdown of how their macOS dictation app, Clavio, handles per-application voice input profiles. The app identifies target applications using bundle identifiers and tracks three distinct focus states to ensure transcribed text is always routed to the correct destination. Each app profile stores writing style, listening mode, wake phrases, and post-insertion actions as separate settings, preventing unexpected behavior when switching contexts. A layered resolver determines tone and polish intensity by checking app-specific preferences before falling back to global or built-in defaults. The system is designed to distinguish between different use cases — such as coding prompts versus professional emails — without conflating output style, capture trigger, and delivery action into a single setting.

0
ProgrammingDEV Community ·

BDD Does Not Require Gherkin: The Case for Plain-Code Acceptance Tests

Software developer and long-time BDD practitioner argues that Cucumber's Gherkin format has been conflated with BDD itself, even though the two are distinct concepts. In practice, acceptance criteria are typically written in Jira tickets and then manually copied into feature files by developers, creating redundant maintenance overhead across three artefacts instead of one. Gherkin's plain-text, regex-bound step definitions resist IDE refactoring, accumulate glue code, and produce reports that omit what the system actually did during a test run. The author contends that the constraints which made Gherkin a reasonable choice around 2008 no longer exist, while its costs remain. Modern alternatives such as Kotest BehaviorSpec, JGiven, or Yatspec can deliver Given-When-Then structure, readable output, and full refactoring support directly in code.

0
ProgrammingDEV Community ·

Multi-Agent AI Framework Harvested Thousands of Credentials in Under Six Hours

Google's Threat Intelligence Group documented a financially motivated cyberattack in which an autonomous multi-agent AI framework was used to steal thousands of credentials from cloud infrastructure. The attacker first gained access to a target organization's cloud environment, then deployed the system from within it, allowing malicious requests to appear as legitimate traffic. Built using an AI coding chatbot and Markdown-based operational playbooks, the framework autonomously handled vulnerability scanning, credential collection, IP rotation, and self-correction without human intervention at each step. Mandiant's incident-response analysis confirmed the entire operation, from initial setup to mass credential compromise, was completed in under six hours. The case highlights how the same self-correcting, resilient design patterns used in legitimate AI agent tooling can be repurposed to run offensive campaigns with minimal human oversight.

0
ProgrammingDEV Community ·

New language Velaris outperforms Deno and Python in catching dangerous AI-written code

A developer benchmarked a new programming language called Velaris against Deno and plain Python using 63 AI-written scripts, of which 56 were intentionally dangerous and 7 were harmless controls. Velaris caught 42 dangerous programs before execution through static analysis, compared to just 5 for Deno and none for Python. The key differentiator is Velaris's design: a function's signature declares which effects it may perform, allowing an audit tool to flag issues without running any code. Deno's permission model also blocked threats, but only at the moment a call was made at runtime, missing cases detectable earlier. The developer acknowledges limitations, noting the test corpus was self-written and that Velaris still requires container-based isolation rather than replacing it.

0
ProgrammingDEV Community ·

Aspiring Developer Adopts Structured Full-Stack Learning Path Aimed at Job Readiness

A software development learner has outlined a structured plan to become job-ready as a fresher full-stack developer, moving away from scattered tutorial-based learning. The approach covers frontend technologies like React.js, backend tools including Node.js and Django, SQL databases, data structures, and AI/ML concepts. Rather than simply completing courses, the individual aims to understand how each layer of a web application connects and communicates end-to-end. A core part of the methodology involves deliberately breaking code and debugging it to build deeper understanding rather than copying ready-made solutions. The learner plans to publicly document progress, mistakes, and projects on DEV Community to stay consistent and potentially help others on a similar path.

0
ProgrammingDEV Community ·

Embedded and Automotive Software Skills Are in High Demand, Industry Expert Says

The founder and CEO of Piest Systems has outlined why embedded systems and automotive software expertise are increasingly valuable in today's tech landscape. Modern vehicles can contain dozens of Electronic Control Units communicating over networks using protocols such as CAN, LIN, FlexRay, and Automotive Ethernet, requiring engineers to understand both hardware and software. Frameworks like AUTOSAR provide standardized software architecture for automotive ECUs, covering areas from application components to diagnostics and network management. Beyond development, the expert emphasizes that software testing and validation — including Hardware-in-the-Loop (HIL) testing — are critical yet often overlooked disciplines in automotive engineering. Embedded skills are also transferable across sectors including IoT, medical devices, robotics, aerospace, and industrial automation.

0
ProgrammingDEV Community ·

Developer Builds Lightweight Wiki and Database for Steal an Egg Game

A developer shared on DEV Community how they built a fast, minimalist wiki and database for the Steal an Egg gaming community. The project was motivated by frustration with existing resources cluttered with heavy ads, slow load times, and SEO spam. The site was built using a modern framework such as Next.js or Vue, styled with Tailwind CSS, and uses MDX for structured game content including egg stats and drop rates. Data is organized through JSON or database layers and optimized for Core Web Vitals and search engine performance, with fast client-side filtering for in-game lookups. The developer plans to add community contributions and automated data syncing, and has invited feedback and pull requests from the community.

0
ProgrammingDEV Community ·

Free App YoFi Unifies Income, Expenses, and Net Worth for Indie Devs

A developer has launched YoFi, a free financial dashboard designed for indie hackers, freelancers, and digital creators whose income is spread across platforms like Stripe, RevenueCat, and Gumroad. The app consolidates online revenue alongside personal finances, including expenses, savings, stocks, and crypto, to give users a single view of their net worth. YoFi also supports budgeting, subscription tracking, OCR-based receipt entry, and over 160 fiat currencies, catering to remote workers and digital nomads with multi-currency needs. The tool is currently available on Android and accessible via its web link, yofiapp.vercel.app. The creator built YoFi to address the common frustration of toggling between multiple dashboards just to answer basic questions about one's overall financial position.

0
ProgrammingDEV Community ·

Wrong SHA-1 Fingerprint in Play Console Silently Breaks Google Sign-In on Android

Developers using Google Sign-In on Android may find the feature works in debug builds but silently fails in production apps distributed via Google Play. The root cause is a fingerprint mismatch: Play App Signing replaces the developer's upload key with its own certificate before delivering the app to users, meaning the SHA-1 registered in Google Cloud Console must match Play's signing certificate, not the upload key. When the fingerprints don't match, Android's Credential Manager returns a generic 'cancelled' result with no error message, making the bug nearly impossible to diagnose. Developers who have opted into Google's Quantum-ready app signing beta face an added complication, as the SHA-1 buttons shown on Play Console's App Signing page no longer reflect the actual certificate signing the app. The fix requires downloading the deployment_cert.der file from Play Console, extracting its SHA-1 fingerprint, and registering it as an additional OAuth client in Google Cloud Console.

0
ProgrammingDEV Community ·

AI-Generated Code Is Quietly Building a Debt That Developers May Not Survive

A growing number of companies are delegating most of their coding to AI tools, confident in the speed and output quality, but researchers warn this approach carries serious long-term risks. An analysis of 623 million real-world code changes from 2023 to 2026 by GitClear and GitKraken found code duplication rose 81%, code reuse fell 70%, and error-masking patterns increased 47%. A structural limitation compounds the problem: even a 1-million-token AI context window covers only around 50,000 lines of code, far short of the millions of lines in typical production systems. A Penn State and USC study published in Scientific Reports found that passively using AI-generated content reduced developers' sense of ownership, self-efficacy, and perceived meaningfulness — effects that persisted even after returning to manual work. A randomized controlled trial by METR found that experienced developers using AI believed they were 20% faster, but were actually 19% slower, highlighting how AI adoption can mask a genuine decline in human capability.

0
ProgrammingDEV Community ·

How to Stress-Test an AI Coding Agent's Memory With a Simple Migration Scenario

A structured evaluation method for AI coding agent memory involves feeding the agent conflicting project instructions across separate sessions to see how it handles updates. The test uses two fictional projects, Atlas and Beacon, with Atlas receiving a command change from 'npm test' to 'pnpm test' on a specific date, while Beacon's command stays the same. Evaluators then probe the agent across fresh sessions to check whether it returns the current command, recalls historical state, distinguishes between projects, and correctly flags missing information. When an agent fails a question, the recommended approach is to isolate the failure to one of three stages: the write path, the retrieval layer, or the final prompt context sent to the model. The exercise is designed to be storage-agnostic, applicable to memory files, relational tables, vector stores, or knowledge graphs.

0
ProgrammingDEV Community ·

How Anthropic's Internal Fix Became the AI Industry's Universal Standard

The Model Context Protocol (MCP) began in mid-2024 when Anthropic engineers David Soria Parra, Justin Spahr-Summers, and Mahesh Murag built an open standard to let AI assistants connect seamlessly with external tools, data sources, and development environments. The protocol addressed the so-called N×M problem, which required a unique custom connector for every possible AI-tool combination. Major spec updates in March and November 2025 introduced OAuth 2.1 authentication, real-time data transport, asynchronous operations, and a community-driven server registry. Adoption expanded rapidly across the industry, with OpenAI, Google DeepMind, and Microsoft all embracing MCP, and Anthropic eventually donating the project to the Linux Foundation's newly formed Agentic AI Foundation to make it vendor-neutral. By mid-2026, MCP had become ubiquitous across leading AI platforms, with its two largest SDKs recording over 470 million downloads in a single 30-day period.

0
ProgrammingDEV Community ·

How Frozen Tabs and Silent Jank Slip Past Standard Web Monitoring Tools

Modern real user monitoring (RUM) and session replay tools often miss critical performance failures because they sample only a fraction of sessions and rely on JavaScript errors to trigger full capture. Silent failures such as frozen tabs, scroll jank, and drag stutter throw no errors, so they are rarely recorded unless they happen to fall within the sampled portion. Long-lived single-page app sessions compound the problem, as replay length is typically capped, meaning the slow buildup before a freeze may never be stored. A Web Worker-based watchdog can detect main-thread freezes independently, since a frozen main thread cannot report its own failure. Per-session logging built on self-owned infrastructure is proposed as a way to ensure every complained-about session remains traceable.

0
ProgrammingDEV Community ·

Daemon vs Non-Daemon Threads: The JVM Rule Every Java Dev Must Know

The JVM shuts down only when all non-daemon threads have finished, completely ignoring any daemon threads still running at that point. Non-daemon status is the default for all threads, meaning threads spawned from the main thread inherit that status unless explicitly changed. Non-daemon threads are suited for critical work like network requests, where dropping an in-flight operation would be unacceptable. Daemon threads are better for optional background tasks such as analytics uploads, where terminating mid-execution causes no meaningful harm. Choosing the wrong type can either block JVM shutdown unexpectedly or silently kill important work in progress.

0
ProgrammingDEV Community ·

Serialization Fix Cuts IntegrateX Workflow Payloads by 94% via Domain-UI Separation

IntegrateX, a node-based workflow automation canvas, was initially persisting full React Flow UI objects — including positions, styles, and renderer state — directly to its database, causing bloated payloads as workflows scaled. The developer identified that over 90% of stored bytes were renderer state that the client could reconstruct on its own, never needing to be saved at all. To fix this, a lossless Serialization Adapter was built to translate UI objects into compact domain structs on save and rehydrate them on load, cutting round-trip payload sizes by 94%. This architectural separation between the UI model and the domain model also enabled benefits like stable versioning, server-side execution, and UI redesigns without breaking existing saved data. The developer notes that most rich-client applications face this same hidden trade-off, and a quick audit of any persisted payload often reveals a surprising proportion of unnecessary view state.

0
ProgrammingDEV Community ·

Developer Builds AI Finance App Where Model Can Propose But Never Touch Your Data

A developer has built Sable, a React Native personal finance app designed so that all financial data is stored locally on-device in SQLite, with no cloud backend. The app uses OpenAI function calling, but every AI-suggested action — such as logging a payment — is rendered as a 'Review & Confirm' card that only executes when the user manually approves it. This architecture ensures an AI hallucination can produce, at worst, a dismissible card rather than an erroneous ledger entry. Additional features include serialized database writes, an offline-first design, and a daily on-device RAG-powered Morning Briefing that summarizes spending without sending any financial data off the device. The developer argues this 'propose/confirm' pattern is broadly applicable to enterprise domains like healthcare and legal, where AI assistance is valuable but full AI authority over data is unacceptable.

0
ProgrammingDEV Community ·

MongoDB Query Speed Gains Come From Stage Order and Index Use, Not Hardware

A developer working on a clinical workflow API found that an aggregation pipeline began slowing down as data volume grew, despite the query logic and results remaining unchanged. The root cause was inefficient stage ordering — expensive operations like sorting and joins were running before documents were filtered down to a smaller set. The key fix involves placing the $match stage first on indexed fields, so the pipeline works on the smallest possible dataset from the start. The $lookup stage, which functions as a join and multiplies processing work, should run only after matching and limiting have already reduced the document count. Profiling with MongoDB's explain('executionStats') tool allows developers to identify bottlenecks using real numbers rather than assumptions, often revealing that reordering stages — not upgrading infrastructure — delivers the most significant performance improvements.

← NewerPage 1445 of 3359Older →