SShortSingh.

Programming

0
ProgrammingDEV Community ·

Developer builds persistent memory system for Claude Code using Obsidian

A developer has created an open-source tool that gives Claude Code persistent memory by integrating it with Obsidian, a popular note-taking application. The system allows Claude Code to retain context across sessions, addressing a key limitation of AI coding assistants that typically lose context when a session ends. The project, named claude-obsidian-memory, is publicly available on GitHub for other developers to use and contribute to. The creator also published a video walkthrough on YouTube demonstrating the setup process and a session-recovery test. The tool aims to improve continuity and productivity for developers relying on Claude Code for extended or recurring projects.

0
ProgrammingDEV Community ·

Strategy Pattern Can Replace Bloated SQL Queries in Role-Based App Search

A software engineering article on DEV Community argues that complex, role-based SQL search queries should be treated as structured application logic rather than dynamically assembled strings. The piece demonstrates how a legacy approach — appending filters and role conditions to a single StringBuilder method — produces unmaintainable, hard-to-test code that can obscure security boundaries. The author proposes applying the Strategy design pattern twice: one set of strategies governs what data a user is permitted to see based on their role, while another handles the optional search filters a user applies. A companion demo repository illustrates both approaches against the same SQL Server schema, using Spring Boot, Spring JDBC, and Testcontainers for real-database testing. The article covers five distinct user roles with differing visibility rules and ten optional filters, highlighting how the composed approach makes each rule independently addressable and reviewable.

0
ProgrammingDEV Community ·

Developer fixes Next.js portfolio invisible to Google and AI crawlers with 5 tweaks

Full Stack Developer Dhruv Sheladiya discovered his Next.js portfolio was nearly invisible to search engines and AI crawlers like ChatGPT because the homepage relied entirely on client-side JavaScript rendering. Since bots such as Googlebot and AI crawlers often skip or delay JavaScript execution, they were seeing an empty page instead of his actual content. He resolved this by embedding crawlable profile text in a server-side layout component using Tailwind's screen-reader-only class, adding structured JSON-LD schema with sameAs links to his social profiles, and ensuring all those profiles linked back to his site. He also corrected a mismatched Open Graph image — resizing it from 1629×966 px and 1.77 MB down to the standard 1200×630 px at 80 KB using Next.js's built-in Sharp library. The fixes improved his site's visibility in search results and made his identity recognisable to AI-powered search tools.

0
ProgrammingDEV Community ·

AI Writes 47% of Enterprise Code in 2026 as Developer Trust and Adoption Surge

By 2026, artificial intelligence has become deeply embedded in software development, with AI assistants writing 47% of new code in enterprise GitHub repositories and being used daily by 44% of software teams. Developer trust in AI-generated code has grown significantly, with 81% of surveyed developers saying they trust it more than code written by junior colleagues. AI-powered tools have also transformed code review, cutting release delays from several days to under 18 hours for 62% of teams, while AI-assisted test generation has reduced post-release bugs by 38% compared to manual testing. Observability platforms now predict outages with 94% accuracy, and AIOps tools have cut mean recovery times by 43% at major companies. Looking ahead, Gartner projects that 65% of all code will be generated or reviewed by AI by 2028, signalling a fundamental shift in how software is built and maintained.

0
ProgrammingDEV Community ·

Google Search Console Launches Multimodal Filter to Track Image-Initiated Searches

Google Search Console has added a multimodal search type filter to its Performance reports, enabling website owners to track traffic from searches that begin with visual input rather than typed text. The filter consolidates data from four entry points: Google Lens, Circle to Search on Android, image uploads to Google Search, and Chrome's right-click image search feature. Google began rolling out the update globally on September 24, 2026, with data appearing as image-initiated search traffic reaches individual sites. The filter is available within both the standard Search results Performance report and the Generative AI features report, requiring no new dashboard. The update gives publishers, e-commerce sites, and local businesses a unified view of visual search behavior that was previously difficult to measure within Search Console.

0
ProgrammingDEV Community ·

Microsoft Fabric Certifications: DP-600, DP-700, and DP-800 Paths Explained

Microsoft offers three distinct certification tracks under its Fabric and SQL Data ecosystem, each targeting different professional roles. The DP-600 is designed for Power BI developers and data analysts, focusing on semantic modeling and Lakehouse analytics. The DP-700 targets data engineers and pipeline architects, covering end-to-end pipeline orchestration and real-time streaming. The DP-800 is aimed at SQL developers, emphasizing advanced T-SQL performance tuning and AI integration within SQL databases. All three certifications are supported by free, browser-based learning modules on Microsoft Learn, including hands-on labs that require no paid Azure subscription.

0
ProgrammingDEV Community ·

Dev builds AI-assisted incident-response tool with server-enforced two-lead approval gate

A developer has built 'Incident War Room', an open-source incident-management app designed for on-call engineering teams, submitted as part of the Sanity hackathon. The tool features a live incident timeline powered by Sanity's real-time API, requiring sign-off from two separate on-call leads before any incident can be escalated to SEV1 severity. Crucially, the approval gate is enforced server-side through a Next.js Server Action, meaning it cannot be bypassed by directly writing to the backend. Once an incident is resolved, the timeline is frozen and an LLM automatically drafts a postmortem including root cause analysis and action items. The app was built using Next.js 16 and Sanity as the full backend, with the entire codebase generated via Claude Code following pre-written architecture and schema documentation.

0
ProgrammingDEV Community ·

How Cloudflare cached a 404 and blocked a new page for nearly an hour

The team behind Escrozon, a digital asset escrow marketplace, discovered that a newly deployed landing page kept returning 404 errors to visitors for close to an hour despite a successful deployment. The root cause was Cloudflare caching a 404 response that the team had inadvertently triggered by checking the new URL before it went live. Because their Cloudflare cache rule applied a one-hour edge TTL to all HTML responses including error pages, the stale 404 persisted at Cloudflare's edge even after the origin server began correctly serving the page. The issue was further complicated by Cloudflare's per-data-center caching, meaning users in different regions saw inconsistent results. To prevent recurrence, the team recommends avoiding pre-deploy requests to public URLs, setting short or no-cache TTLs for 4xx responses, and automating cache purges as part of the deployment pipeline.

0
ProgrammingDEV Community ·

AI Code Review Tool Cuts Per-Run Cost from 50 Cents to 4 Cents with Architecture Overhaul

Developer Maneshwar, building an AI code review tool called LiveReview, found that costs reached 50 cents per single run after Gemini File Search's free tier expired, driven largely by a reasoning model being used for retrieval tasks. The core problem was that Gemini 3.5 Flash's reasoning feature billed at $9.00 per million output tokens, meaning the tool was paying a thinking model simply to locate and return relevant text passages. A structural fix — separating the search step so one query could feed multiple draft generations — reduced costs from roughly $0.70 to $0.12 per run, but the underlying issue remained. The team ultimately replaced cloud-based retrieval with a local Chroma vector store using the Qwen3-Embedding-0.6B model, BM25 search, and Reciprocal Rank Fusion, while switching inference to DeepSeek V4 Flash at about one-tenth the token cost. The combined changes brought each run down to approximately 4 cents, a reduction of over 90 percent from the original price.

0
ProgrammingDEV Community ·

Developer Launches AsstsManager App for Small-Team Asset and Tool Tracking

A developer has built AsstsManager, a mobile app designed to help individuals and small teams manage tools, equipment, and other assets in one place. The app supports features such as serial number search, asset status tracking, due-date reminders, and bulk importing from Excel or CSV files. Built with React Native and Expo, it uses Firebase for backend services, authentication, and cloud data storage. AsstsManager offers a free tier alongside paid subscription plans that scale based on inventory size and feature requirements. The app is positioned as a lightweight alternative to enterprise ERP systems, targeting users who currently rely on spreadsheets for asset management.

0
ProgrammingDEV Community ·

Developer releases open-source daily work log tool for Claude Code on Linux

A developer has built and open-sourced worklog-for-claude-code, a lightweight Linux tool that automatically tracks daily activity and token usage across multiple Claude Code sessions. The tool reads local Claude Code transcripts via session hooks and an hourly systemd timer, storing minimal metadata — such as first prompts, token counts, and file names — into a private git repository the user controls. Sensitive data like API keys, passwords, and email addresses are stripped before anything is saved, and no information is sent to external servers. A nightly job compiles the records into a Markdown report viewable through a local web interface, with optional AI-generated summaries processed entirely on the user's own machine. The project, released under the MIT licence as version 0.1.0, is available on GitHub and PyPI, with a macOS port noted as a future possibility pending community contributions.

0
ProgrammingDEV Community ·

How Kotlin, Liquid Glass UI, and Real-Time Sync Power a Next-Gen Android Music App

LastWave is a conceptual Android music player designed to showcase modern app development techniques using Kotlin, Liquid Glass UI principles, and real-time synchronization. The app leverages Kotlin coroutines and structured concurrency to handle asynchronous tasks cleanly, keeping the main thread free and the codebase readable. Its interface draws on transparency, blur effects, and palette-driven color animations to create a visually immersive, depth-layered experience inspired by Material You. For cross-device consistency, LastWave uses a Last-Writer-Wins conflict resolution strategy backed by Firestore, ensuring playback state stays synchronized without performance trade-offs. The project serves as a technical reference for developers looking to combine expressive architecture with fluid, responsive UI design on Android.

0
ProgrammingDEV Community ·

Starbucks Bets on AI-Built In-House Software to Cut $400M Annual Tech Bill

Starbucks is using AI coding tools to develop internal replacements for enterprise software it currently licenses from vendors including Microsoft and IBM, Bloomberg reported on July 9, 2026. The company spends roughly $400 million annually on software and expects to save about $30 million this fiscal year, with around $10 million coming from software cuts. The first AI-built replacements, covering inventory tracking and equipment maintenance, could be deployed by end of 2027 pending testing. The move reflects a broader economic shift: as AI lowers the cost of building software internally, companies are reassessing whether renting from SaaS vendors still makes financial sense. However, analysts and industry observers caution that in-house systems carry hidden long-term costs in maintenance, engineering support, and operational risk — a lesson Starbucks itself learned after retiring a flawed AI inventory-counting tool in May.

0
ProgrammingDEV Community ·

How JavaScript Custom Events Work and When Developers Should Use Them

A developer nearing completion of The Odin Project's Foundations curriculum has shared a practical breakdown of JavaScript Custom Events. Unlike standard events such as 'click', Custom Events are manually created and triggered by developers using the CustomEvent() constructor, which accepts an event type and an options object. The constructor extends the native Event object and includes a detail property for passing custom data alongside the event. Using dispatchEvent() fires the event on a target element, while separate event listeners can respond to it without modifying the original function, keeping code modular and reusable. The author also highlights a key pitfall: using arrow functions with event listeners breaks the 'this' keyword's binding to the DOM element, requiring standard function syntax instead.

0
ProgrammingDEV Community ·

Developer Rejects Security Advice on OAuth Endpoint, Finds Real Flaw Elsewhere

A developer running a QR code service received an unsolicited security report last week flagging an open OAuth dynamic client registration endpoint as a vulnerability. The developer argued the endpoint was functioning as intended, since the Model Context Protocol requires open dynamic registration to allow AI clients like Claude to connect without prior approval. The suggested fixes — requiring access tokens or a redirect URI allowlist — would have effectively disabled MCP support, and the redirect concern was already mitigated by strict per-client checks enforced at both authorization and token exchange. However, investigating the report led the developer to spot a genuine risk: the consent screen displayed the attacker-controlled 'client_name' field as trusted text, enabling anyone to register a client named something like 'QRFLOW Official Support' and craft a convincing phishing page on the real domain. The actual fix addressed how unverified client names were rendered on the consent screen, leaving the registration endpoint itself untouched.

0
ProgrammingHacker News ·

How Intel's 8087 FPU Computed Tangents Using More Than Just CORDIC

A reverse-engineering analysis of Intel's 8087 floating-point unit has revealed the inner workings of its tangent computation algorithm. The study, published on righto.com, found that the 8087 did not rely solely on the CORDIC method as commonly assumed. The chip's tangent routine appears to incorporate additional techniques beyond standard CORDIC to achieve its results. The findings offer a deeper technical understanding of how this influential 1970s-era math coprocessor handled trigonometric calculations.

0
ProgrammingDEV Community ·

Google Gemini Agentic Video Cuts Token Use 88% but Has 4 Silent Failure Conditions

A developer integrating Google's Gemini Agentic Video feature into a LINE Bot found that the mode reduces token consumption by 88% and costs by 66% compared to standard static video processing. Unlike the default static mode, which loads every frame at a fixed sampling rate, agentic mode lets the model selectively scan only relevant video segments to answer specific queries. Testing on a two-hour Google I/O keynote showed the feature could accurately pinpoint timestamped content, such as pricing discussions and product segments. However, the developer discovered four conditions must be met simultaneously for agentic mode to activate: using API version v1beta1, setting the media_processing parameter to AGENTIC, using a supported model, and configuring the thinking_level setting. Critically, if any condition is unmet, the API still returns a successful 200 response with no error, silently falling back to the more expensive static mode.

0
ProgrammingDEV Community ·

Steam Deck Guide: How to Install Windows .exe Patches on SteamOS Without Errors

Steam Deck users running SteamOS often struggle to install Windows-based .exe patches, localization mods, or fan updates because the installers cannot locate game directories hidden within Linux's dot-folder structure. The root causes are hidden folder restrictions under SteamOS and sandbox permission isolation from tools like Bottles or Flatpak applications. A workaround called the 'Relay Transfer Method' involves temporarily copying the game folder to a visible public directory such as Downloads or Desktop, running the patch installer from there, and then copying the patched files back to the original Steam game directory. The method avoids complex terminal commands and works with common compatibility tools like Bottles or Protontricks to launch the .exe installer. Users should also check whether the patch generates a new executable and rename files accordingly to ensure the game launches correctly after patching.

0
ProgrammingDEV Community ·

Google Gemini 3.8 Flash TTS Goes GA: Developer Builds Japanese Song-Learning Web App

Google officially launched Gemini 3.8 Flash TTS and Gemini 3.8 Flash-Lite TTS on September 22, marking their general availability. A developer used the new text-to-speech API to build a web app that fetches song lyrics, translates them into Chinese, adds phonetic transcriptions for Japanese or Korean, and teaches pronunciation sentence by sentence. The GA release introduced three notable capabilities: text-description-based voice design, voice replication from short recordings with consent watermarking, and per-sentence tone and style control. The two models differ in focus — the flagship targets expressive vocal performance while the Lite variant is optimized for high-volume, cost-efficient generation. The developer noted that while TTS output quality was strong, undocumented implementation details around the new interactions and voices API structure consumed significant development time and daily API quota.

← NewerPage 891 of 3178Older →