SShortSingh.

Programming

0
ProgrammingDEV Community ·

Developer Builds Dog-Anxiety App Pawsitive Using Google Gemini AI

A developer who has long felt nervous around dogs despite loving them created Pawsitive, an interactive learning app aimed at making canine encounters less unpredictable. The app teaches users to read dog body language, interpret common behaviors, and respond calmly in real-life situations. Pawsitive offers two distinct learning paths — one for people anxious around dogs and another for dog owners who may not realize their approaching pet can feel intimidating to others. A scenario-based feature called 'What Would You Do?' lets users practice decision-making, while a separate tool powered by Google Gemini allows users to upload dog photos and analyze visible body-language cues. The project was built as a submission for DEV Community's Weekend Challenge: Dog Days Edition and is publicly accessible via Vercel.

0
ProgrammingDEV Community ·

Engineering Team Uses KEDA to Cut Kafka Idle Costs and Tame Burst Lag Spikes

A development team running Kafka consumer services faced two conflicting problems: wasted resources during long idle periods and slow spike absorption during nightly data bursts. Traditional Kubernetes Horizontal Pod Autoscalers proved ineffective because sink workloads are I/O-bound, meaning CPU stays flat even as consumer lag climbs. The team adopted KEDA (Kubernetes Event-Driven Autoscaling), which scales workloads based on Kafka consumer-group lag rather than CPU or memory metrics, and supports scaling all the way down to zero replicas. A ScaledObject configuration was used to wake idle consumers the moment lag appeared and cap replicas at the topic's partition count during peak load. All benchmarks were conducted in a reproducible local lab environment, with full source code and setup commands published on GitHub.

0
ProgrammingDEV Community ·

How a 36% Product Margin Collapsed to 6% at Month-End Without Any Posting Errors

A developer simulated a full manufacturing month-end close inside an SAP S/4HANA sandbox to demonstrate how a healthy-looking margin can deteriorate sharply by period end. Revenue of 20,000 against a standard COGS of 12,800 initially showed a 36% margin, which fell to just 6% after closing entries — with no incorrect postings. The root cause was a planned depreciation figure of 3,000 that came in three times higher at 9,000 in actuals, tripling the effective labour activity rate and retroactively inflating production order costs. Variance from revalued orders settled to variance accounts rather than inventory, and the subsequent actual costing run shifted 6,000 of that variance directly into cost of goods sold, hitting the income statement. The experiment highlights how activity rate planning errors made weeks before month-end can silently erode margins, remaining invisible until the final costing run is executed.

0
ProgrammingHacker News ·

Debian community votes on policy for AI and LLM-generated contributions

The Debian project has launched a formal vote to determine how it will handle software contributions generated by artificial intelligence and large language models. The vote was announced in August 2026 via the official debian-devel-announce mailing list. This decision reflects growing debate within open-source communities about the legitimacy and licensing implications of AI-assisted code. The outcome will shape Debian's policy on whether and how AI-generated content may be accepted into its distribution.

0
ProgrammingDEV Community ·

CS Student Shares Beginner Guide to Building a Restaurant Reservation System

A fifth-semester computer science student has published a tutorial on DEV Community detailing how to build a functional restaurant reservation system using Node.js, Express, and MongoDB. The project allows users to browse available time slots, book tables for specific dates, and enables admins to manage reservations across a weekly schedule. The backend is built with Node.js and Express, with MongoDB handling data storage via Mongoose, while the frontend uses React and Tailwind CSS. The guide walks beginners through project setup, folder structure, database configuration, and core API routes including create, read, update, and delete operations. The tutorial is aimed at developers new to full-stack web development who have basic JavaScript knowledge and access to a local or cloud MongoDB instance.

0
ProgrammingDEV Community ·

How AmorLink Built a Five-Rung Logic Ladder for AI Group Chat Turn-Taking

AmorLink, a multi-character chat platform, has detailed the turn-taking system it developed to manage conversations where two AI personas share a single thread. The core challenge was determining which character should respond when a user sends a message, since naive approaches like having both reply every time or picking at random proved costly or immersion-breaking. The team designed a five-rung priority ladder that resolves most cases through simple string operations, such as detecting a named character, a room-wide address, or a short follow-up message, without calling an AI model. Only genuinely ambiguous turns are escalated to a lightweight LLM director that decides who responds and whether the second character should chime in. The system is designed to minimize inference costs and preserve the illusion of natural, intelligent conversation at scale.

0
ProgrammingDEV Community ·

How AI Tools Like ChatGPT and Claude Are Replacing Manual Chart Coding

A developer writing on DEV Community explains how AI assistants such as ChatGPT, Claude, and GitHub Copilot can generate ready-to-run data visualization code from plain-language descriptions, eliminating the need to manually write scripts. The workflow involves describing the dataset, desired chart type, styling preferences, and output format, after which the AI produces Python, R, or JavaScript code almost instantly. Popular library pairings covered include Matplotlib, Seaborn, Plotly, ggplot2, and ECharts, each suited to different use cases from static academic figures to interactive web charts. The author cautions that users must still verify the generated code for logical errors, outdated parameters, and data-cleaning issues, since AI occasionally produces plausible but incorrect outputs. The piece concludes that AI accelerates the 'how to code it' step, freeing analysts to focus on interpreting what the charts actually reveal.

0
ProgrammingDEV Community ·

Magento 2 MSI Inventory Table Bloat Can Silently Degrade Checkout Performance

Magento 2 stores running Multi-Source Inventory (MSI), enabled by default since version 2.4, face a hidden performance issue caused by unchecked growth of the inventory_reservation table. The table stores temporary stock reservation records created when customers add items to their cart, but orphaned entries from canceled orders, failed checkouts, and partial shipments accumulate indefinitely. On stores with moderate traffic, this table can reach millions of rows within months, slowing down every cart operation that queries it. Developers can measure the problem using direct SQL queries and address it by scheduling a nightly cleanup script that removes compensated reservations tied to completed or canceled orders. Optimizing the source selection algorithm used during order fulfillment is also recommended for stores managing multiple warehouses.

0
ProgrammingDEV Community ·

RepoTrials lets teams benchmark AI coding agents against their own Git history

RepoTrials is a new open-source, local-first tool released under the Apache 2.0 license that converts existing Git commit history into repeatable benchmarks for evaluating AI coding agents. Rather than relying on public leaderboards, engineering teams can test which agent, model, or prompt configuration performs best on their own codebase. The tool reconstructs historical moments when a test was failing and packages them as sealed tasks, then grades agents by checking whether the relevant tests pass without breaking existing ones. Task data, hidden tests, and run artifacts remain stored locally, keeping proprietary code private while the engine stays open. Version 0.1.0 is now available on GitHub and currently works best with Python repositories that have reproducible historical tests.

0
ProgrammingDEV Community ·

Developer explains why Google Trends scrapers silently fail and how to fix them

A developer investigated why Google Trends scrapers frequently return empty results despite running successfully and charging users. The core issue is that Google's internal Trends endpoint aggressively rate-limits requests from datacenter IPs, issuing silent rejections rather than clear error messages. A secondary bug stemmed from an inconsistent XSSI guard prefix in Google's JSON responses, where a hardcoded comma separator failed against the real endpoint, which uses a bare newline instead. The developer resolved both issues by routing requests through residential proxies with browser warm-up and implementing session rotation with exponential backoff on failures. The fix was packaged as an Apify scraper that only logs output — and only bills — when real data is actually returned.

0
ProgrammingDEV Community ·

Beyond Prompts: How Context and Harness Engineering Power Reliable AI Agents

As developers build more complex LLM-based applications, simple prompt engineering is proving insufficient for tasks that require understanding codebases, running tests, and recovering from errors. Context engineering addresses what information a model should receive at any given moment, treating the context window as a finite resource that must be carefully curated rather than flooded with data. Techniques like RAG, memory systems, and just-in-time retrieval are all considered context-engineering strategies aimed at maximising signal over volume. Harness engineering goes a step further by providing the surrounding infrastructure — including tool execution, state management, permissions, validation, and observability — that allows an agent to act reliably in real environments. Together, these three disciplines form a more complete framework for building AI agents capable of handling sophisticated, multi-step software tasks.

0
ProgrammingDEV Community ·

Developer Builds Hinglish AI Voice Tutor to Help Indian Students Practice English and Math

A developer has created Bhasha Academy, an AI-powered voice tutoring platform designed to give Indian learners a private, judgment-free space to practice English and basic math. The system supports Hinglish — a mix of Hindi and English — and uses Deepgram Nova-3 for speech recognition, Google Gemini for conversation, and Murf Falcon TTS for voice output, all coordinated through LiveKit's real-time audio infrastructure. Two distinct AI voices, Anisha and Samar, handle language practice and math sessions respectively, with the system able to switch between specialist agents mid-conversation. The platform also features persistent memory to track learner progress and can escalate sessions to a human teacher when needed, with notifications sent via Discord. A key technical challenge involved ensuring natural Hinglish pronunciation by prompting the model to render Hindi words in Devanagari script rather than romanized transliteration.

0
ProgrammingDEV Community ·

React useInterval Hook Solves the Classic setInterval Stale Closure Bug

A common React pitfall involves using setInterval inside useEffect with an empty dependency array, causing the interval callback to read stale state and produce incorrect results. The underlying issue is a mismatch between setInterval's imperative, render-agnostic nature and React's closure-based state model. Dan Abramov's 2019 essay proposed a declarative useInterval hook that stores the latest callback in a ref, preventing stale closures without restarting the timer on every render. The @reactuses/core library implements this pattern with added real-world features such as null-based pausing, manual pause and resume controls, an immediate execution option, and StrictMode-safe cleanup. The article walks through the hook's internals and covers practical use cases including dynamic polling intervals and background-tab handling.

0
ProgrammingDEV Community ·

Developer Builds Multi-Tenant RAG Knowledge Base with Source Citations and Demo Mode

A full-stack developer at RA Technologies has built KnowBase AI, a multi-tenant SaaS knowledge base that lets businesses upload documents and receive AI-generated answers grounded in their own content. The system uses a retrieval-augmented generation pipeline covering document ingestion, intelligent chunking with overlap, semantic retrieval, and source-cited responses streamed via server-sent events. Multi-tenancy required isolating each workspace's data at the retrieval layer to ensure one tenant's documents never surface in another's answers. The tech stack includes Next.js 16, TypeScript, SQLite with Prisma, and a provider abstraction layer supporting OpenAI, Gemini, and Claude, with a mock fallback enabling a public demo without API key exposure. The developer highlights source citations as the critical feature that makes the tool trustworthy for real business use cases like customer support.

0
ProgrammingDEV Community ·

Google indexed 13 of 16 pages on a brand-new site within one morning

A new website with no backlinks, no audience, and no prior history was launched with 16 pages, a sitemap, and a connected Google Search Console property. By the following morning, 13 of the 16 pages had been indexed by Google without any paid service or special intervention. The team had used Search Console's Request Indexing feature on 9 of the pages that first afternoon, while the remaining 6 were left untouched, resulting in 9 out of 9 requested pages and 3 out of 6 unrequested pages being indexed. The data suggests organic indexing can happen quickly for new sites, though the small sample size prevents any firm conclusions about whether the Request Indexing button made a meaningful difference. The findings also highlight that Google's Indexing API is officially intended only for job postings and live-stream events, meaning its use for general content may not guarantee indexing action despite returning a success response.

0
ProgrammingDEV Community ·

How a Developer Uncovered a Fake Digital Identity Haunting Open-Source Spaces

Senior backend engineer Sean Byrne began investigating after a colleague mistakenly contacted a GitHub account sharing his name, photo style, and bio. The suspicious profile had no followers, no activity, and repositories set to private, yet references to a 'Sean Byrne' appeared across forums, mailing lists, and open-source documentation. A 2026 Hacker News thread detailing the same investigation went viral, with dozens of users reporting similar phantom identities credited in real projects. OSINT analysis revealed a pattern of high-quality, credibility-building contributions spread thinly across platforms, with no signs of genuine long-term engagement. The fake persona appeared deliberately constructed to lend legitimacy to code that no real person had authored or reviewed.

0
ProgrammingDEV Community ·

Developer Builds AI Disaster Assessment and Women's Safety Tools at Gen AI Academy APAC

A participant in the Gen AI Academy APAC Edition has shared insights from the ongoing program, which combines artificial intelligence with hardware development. As part of HackTronix 2.0, the developer is working on a 3D LiDAR-based system designed to evaluate shelter damage following natural disasters. A second project, called EVA (Early Vulnerability Assessment for Women's Aspirations), aims to build an AI platform supporting underrepresented groups. The author highlights that real-world AI development requires understanding hardware constraints and deployment challenges beyond theoretical knowledge. The post encourages others to participate in similar hackathons and bootcamps, emphasizing hands-on learning over credentials.

0
ProgrammingDEV Community ·

Developer Builds AI Thinking Partner After Realising His Writing Block Was a Clarity Problem

A developer created ThoughtForm, an AI-powered tool, after recognising that his difficulty writing was not a writing problem but a coherence problem — his ideas were formed but disorganised. Inspired by the Socratic method, the tool acts as a conversational thinking partner, asking questions to help users examine, refine, and articulate their ideas before committing them to text. Unlike conventional AI writing assistants, ThoughtForm is designed to produce the user's own words and arguments rather than generate content on their behalf. The developer argues that the real value of such a tool lies in structured thinking and clarity, not in producing polished prose for an audience.

0
ProgrammingDEV Community ·

Developer Explains Portfolio Site Architecture Using a Shopping Centre Analogy

A developer named Adam Belton has written about the architecture behind his personal portfolio website, AdamBelton.com, which hosts his writing and upcoming projects. The site uses a ports-and-adapters architecture comprising host, delivery, and application layers, along with capabilities, ports, adapters, and composition. To make the technical structure more accessible, Belton uses a shopping centre metaphor, where different units represent distinct projects that share common resources such as security, storage, and AI capabilities. One of those projects, ThoughtForm, is a conversational AI workspace designed to help users explore, organise, and articulate their thoughts through guided questioning and idea mapping. ThoughtForm has not yet launched, but Belton plans to release it as his first demo product in the near future.

0
ProgrammingHacker News ·

Cambridge professor Jason Arday, who resigned over plagiarism claims, found dead

Jason Arday, a professor at Cambridge University, has been found dead following his resignation amid plagiarism allegations. The news was reported on August 14, 2026, by The Guardian. Arday had been at the centre of a high-profile academic misconduct row at Cambridge. His death comes shortly after he stepped down from his position at the university in connection with the plagiarism claims.

← NewerPage 27 of 1246Older →