SShortSingh.
0
ProgrammingDEV Community ·

Developer builds custom Firebase e-commerce with atomic orders and admin panel

A developer built a fully custom e-commerce system from scratch for a POS terminal reseller, using Firebase Realtime Database, Firebase Storage, and Netlify instead of any off-the-shelf platform. The store supports a small product catalog with selectable pricing variants, and allows the sales team to place orders directly from the site with the salesperson's identity automatically recorded on each order. To avoid contaminating administrative data such as salaries and budgets, the e-commerce database was kept entirely separate from the internal management panel's Firebase project. Concurrent order placement is handled through Firebase's atomic runTransaction() function, preventing duplicate order numbers when multiple vendors submit orders simultaneously. Pricing plans are stored once in a global archive and linked to products by ID, avoiding data duplication and simplifying updates across the catalog.

0
ProgrammingDEV Community ·

Pinecone, Qdrant, Weaviate, Milvus: How to Pick the Right Vector DB in 2026

A hands-on analysis of four leading vector databases — Pinecone, Qdrant, Weaviate, and Milvus — highlights how each suits different production constraints rather than one being universally superior. Pinecone offers a fully managed, zero-infrastructure option best suited for datasets under 10 million vectors, while Qdrant stands out for filtering quality, native hybrid search, and lowest cost at scale. Weaviate brings built-in vectorization and mature hybrid search capabilities, and in April 2026 became the first vector database with a native MCP Server for direct LLM and agent integration. Milvus is the recommended choice for datasets exceeding 100 million vectors, leveraging GPU-accelerated indexing and a Kubernetes-based architecture, and recently replaced its messaging dependency with its own WAL system called Woodpecker. Benchmarks from Salt Technologies AI's 2026 report show Qdrant achieving the lowest latency at 4ms p50, while Pinecone's serverless cold queries can spike to 40–80ms — a gap that can significantly impact applications with bursty traffic patterns.

0
IndiaTimes of India ·

Mirzapur actor Satendra Soni alleges non-payment, threats by Paid Palki producers

Actor Satendra Soni, known for his work in 'Panchayat' and 'Mirzapur', has accused the producers of 'Paid Palki' of withholding his payment and threatening him. He claims that after he questioned them about his dues, he was evicted from his hotel in Maihar, Madhya Pradesh. Soni has since confirmed that he returned safely to Mumbai. He thanked his supporters and local authorities for their assistance during the ordeal.

0
ProgrammingDEV Community ·

Poor JSON Schema Design Is the Leading Cause of AI Agent Tool Failures

AI agents that call the correct tool with accurate arguments 95% of the time still complete multi-step tasks correctly only about 66% of the time, due to compounding errors across steps. Software engineers writing tool definitions for AI agents often underestimate the role of JSON schema quality in causing these failures. Common schema mistakes include vague descriptions, loosely typed parameters, mismatched required field names, and free-text fields where enumerations should be used. Because the AI model only sees the schema and never the underlying implementation, unclear or incomplete schemas force the model to guess, which is where most errors originate. Developers are advised to write precise descriptions, enforce strict types and enums, and build in clarification prompts for high-stakes missing inputs rather than allowing the model to assume values.

0
IndiaTimes of India ·

Over 5 Million Americans Lose Obamacare Coverage as Federal Subsidies Expire

More than five million Americans have dropped their Obamacare health insurance following the expiration of enhanced federal subsidies. The loss of these subsidies has caused premiums to rise sharply, making coverage unaffordable for many enrollees. The significant drop in enrollment has raised concerns among experts about the long-term stability of the health insurance market. While the Trump administration has attributed the decline to fraudulent enrollments, health policy experts argue that soaring costs are the primary driver. Analysts warn the trend could further reduce insurance availability for low- and middle-income Americans.

0
IndiaNDTV ·

Accused Couple Googled Kill Methods and Planned Disguises Before Fiancé Murder

Investigators have uncovered that accused Siya Goyal and her lover Chetan had meticulously planned the murder of her fiancé in advance. The duo reportedly searched online for methods to kill and also prepared answers to give authorities in case they were questioned. The two had also planned to disguise themselves during the act to avoid raising suspicion. The premeditated nature of the crime emerged as a key finding during the ongoing investigation into the case.

0
ProgrammingDEV Community ·

Developer builds cross-PWA login handoff using browser-native HMAC-SHA256, no backend needed

A developer built a backend-free identity-passing system between two separate Progressive Web Apps running on different Firebase projects. The solution uses the browser's built-in Web Crypto API to generate an HMAC-SHA256 signed token embedded in a URL query parameter. When an operator clicks the Onboarding button, the sender app signs a payload containing the user's name, department, and timestamp with a shared secret, then opens the destination app with the token appended. The receiving app independently recomputes the signature and rejects the token if it doesn't match or is older than five minutes. Because both apps are internal tools, storing the shared secret on the client side was deemed an acceptable security trade-off.

0
ProgrammingDEV Community ·

Cache-Augmented Generation Offers a Simpler Alternative to RAG for LLMs

Cache-Augmented Generation (CAG) is emerging as a practical alternative to the widely used Retrieval-Augmented Generation (RAG) approach for grounding large language models in external knowledge. While RAG retrieves relevant document chunks from a vector database at query time, CAG loads all required knowledge into the model's context once and reuses it, eliminating the retrieval step entirely. The approach has become more viable as modern LLMs now support context windows ranging from hundreds of thousands to millions of tokens. CAG is best suited for static, bounded knowledge bases such as internal documentation or product manuals, where low latency and architectural simplicity are priorities. Experts suggest a hybrid strategy — caching stable content via CAG while using RAG for frequently changing data — can offer the benefits of both methods.

0
ProgrammingDEV Community ·

AI-Generated Godot Code Works Until It Doesn't — The Hidden Maintainability Problem

Developers using Claude Code to generate GDScript for Godot 4.x games can produce working code quickly, but a pattern dubbed 'Skeleton Implementation' is emerging as a long-term risk. The AI generates structurally correct code — classes, functions, scene logic — without transferring the underlying spatial and architectural reasoning to the developer. A detailed Qiita post by a Japanese indie developer, documenting AI-assisted title screen implementation using Claude Code and MCP, illustrates how this plays out in practice. While the generated code handles standard cases like scene transitions and viewport scaling, developers struggle to extend or debug it when edge cases arise — such as camera state persistence or dynamic resolution changes — because they never built the mental model behind the code. The concern is that AI-assisted codebases may pass all tests and appear functional, yet become unmaintainable even by the original developer within weeks.

0
IndiaTimes of India ·

AI Deciphers 2,000-Year-Old Herculaneum Scroll Charred by Mount Vesuvius

Scientists have fully unwrapped the ancient Herculaneum scroll PHerc. 1667 using artificial intelligence, recovering 1.5 metres of Greek text without physically opening it. The 2,000-year-old scroll, previously considered unreadable after being charred by the eruption of Mount Vesuvius, appears to contain a lost Stoic treatise on ethics, possibly authored by the philosopher Chrysippus. Researchers also confirmed through a second scroll that Philodemus' work 'On Gods' originally spanned eight books. The findings mark a significant breakthrough in recovering lost ancient literature through non-invasive digital techniques. The Vesuvius Challenge, which drives this research, is now offering a $1 million prize to whoever successfully decodes another intact scroll.

0
IndiaNDTV ·

Australian Man Arrested in Thailand After Teen Found Dead in Suitcase

Thai authorities arrested an Australian man in connection with the death of a teenager whose body was discovered inside a suitcase. The case came to light following the grim find, prompting an investigation by local law enforcement. Investigators are currently awaiting the results of a post-mortem examination before proceeding with formal charges. Authorities indicated they are also gathering additional evidence to support the case before filing charges against the suspect.

0
IndiaNDTV ·

Europe Heatwave Shatters Temperature Records Amid Climate Change Warning

A severe heatwave has swept across multiple European countries, breaking temperature records in the region. Scientists have directly linked the extreme heat event to man-made climate change, stating it would have been virtually impossible without it. The scorching conditions have affected populations across the continent, raising urgent public health and safety concerns. Experts warn that such extreme weather events are becoming more frequent and intense as global temperatures continue to rise.

0
IndiaNDTV ·

Indian Explosives Firm Named in Network Accused of Fueling Sudan Civil War

An Indian explosives manufacturer has been implicated in a network allegedly prolonging Sudan's ongoing civil war. The firm was named alongside Sudanese military-linked companies, Egyptian suppliers, and international recruitment networks. Sudan has been ravaged by a civil conflict that has caused widespread devastation across the country. The Indian company's alleged involvement points to a broader web of international actors accused of sustaining the war effort.

0
IndiaNDTV ·

Shinde Reacts to Fadnavis and Uddhav Sharing Flight to Nagpur

Maharashtra politician Eknath Shinde responded to media questions about a notable travel development on Friday. Chief Minister Devendra Fadnavis and former Chief Minister Uddhav Thackeray, who lead rival political factions, were spotted on the same flight to Nagpur. Shinde addressed reporters' queries regarding the significance of the two leaders sharing the flight. The incident drew attention given the political rivalry between Fadnavis's Mahayuti alliance and Thackeray's faction following the Shiv Sena split.

0
ProgrammingDEV Community ·

How DevSecOps Tools Shift Security Left in CI/CD Pipelines

DevSecOps integrates security checks directly into CI/CD pipelines rather than treating them as a final release gate, allowing vulnerabilities to be caught earlier and more cheaply. Pipelines are considered high-value targets because they hold cloud credentials, registry tokens, and production access, making them susceptible to supply-chain attacks, secrets sprawl, and artifact tampering. Key tool categories include Static Application Security Testing (SAST) for scanning source code patterns, and Dynamic Application Security Testing (DAST) for probing running application instances. Open-source tools such as Semgrep, Bandit, and built-in GitLab analyzers are highlighted as practical options for teams at various maturity levels. The overall goal is to make security checks automatic and consistent on every code push, turning secure practices into routine habit rather than periodic crisis response.

0
ProgrammingDEV Community ·

Free Python Pipeline Lets Startups Enrich Sales Leads Without Paying for Apollo or ZoomInfo

A developer has published a detailed guide to building a lead enrichment pipeline using only free or low-cost public data sources, targeting early-stage teams priced out of tools like Apollo, ZoomInfo, and Clearbit. The pipeline aggregates company data from eight sources — including WHOIS, DNS, GitHub, and job boards — to extract emails, detect hiring signals, and rank domains by buyer intent. Running the pipeline on 100 domains costs roughly $30–$50, compared to an estimated $500–$2,000 using paid alternatives. The approach delivers company-level intelligence — such as tech stack, team size proxies, and hiring activity — that is broadly comparable to paid tools, though it falls short on person-level contact data and verified direct emails. The guide also benchmarks email deliverability across platforms, noting that free-stack extraction yields around 70–75% deliverability versus approximately 78–84% for paid databases.

0
TechnologyTechCrunch ·

India's UPI Chief Sees AI as Key Driver of Next Digital Payments Era

Dilip Asbe, the head of India's payments infrastructure, believes artificial intelligence will play a central role in shaping the next phase of digital payment growth. He made these remarks in the context of the ongoing evolution of the Unified Payments Interface, or UPI, ecosystem. Asbe suggested that newer UPI applications could become more competitive by developing sustainable commercial models. His comments highlight the dual focus on technological advancement and financial viability within India's rapidly expanding digital payments landscape.

← NewerPage 41 of 105Older →