SShortSingh.
Back to feed

Web NFC API lets browsers read and write NFC tags without a native app

0
·1 views

The Web NFC API enables modern web applications to interact with physical NFC tags directly through the browser, eliminating the need for native iOS or Android apps. The API supports reading NDEF messages, writing text, URLs, and vCard contact data, as well as locking tags to read-only mode. Currently, native support is limited to Chrome for Android version 89 and above, and requires an HTTPS connection along with an NFC-capable Android device. Developers must trigger scanning via a user action and should include feature detection to confirm browser compatibility before use. The API represents a significant step toward hardware interaction on the open web without app store dependencies.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

HTML, CSS, and JavaScript: A Practical Beginner's Guide to Building Webpages

A new beginner's guide outlines how every website is built on three core technologies: HTML, CSS, and JavaScript. HTML defines a page's structure using tags and elements, while CSS handles visual styling such as colors, fonts, and layout. JavaScript adds interactivity and logic on top of the static foundation. The guide walks learners through each technology individually before combining them in a hands-on project — a personal task tracker. Only a free text editor like VS Code and a web browser are needed to follow along.

0
ProgrammingDEV Community ·

Engineer Builds Hybrid Agentic RAG System Combining FAISS and BM25 for Smarter LLM Retrieval

A developer has designed and documented an Agentic Hybrid Retrieval-Augmented Generation (RAG) architecture that merges dense semantic search via FAISS with exact keyword matching using BM25, aiming to overcome limitations of traditional static RAG pipelines. The system uses an autonomous LLM agent built on the smolagents framework, enabling dynamic decision-making about when and how to retrieve information. During development, the engineer encountered significant challenges running the model locally on CPU, including import errors, latency exceeding 213 seconds per step, and model hallucinations. These issues were resolved by switching to a cloud-hosted model, Qwen2.5-72B-Instruct, and applying dynamic score normalization with a weighted fusion parameter. The research also outlines a future roadmap for scaling the architecture toward knowledge graphs, multi-agent consensus systems, and automated valuation frameworks.

0
ProgrammingDEV Community ·

Budget Alerts Don't Stop LLM Overspending — Here's What Actually Does

A developer recounts how a clear budget alert warning of 84% usage failed to prevent a $1,900 charge against a $600 cap after an overnight batch job ran unchecked. The article draws on a 1975 psychology study to argue that depletion warnings can actually increase the perceived urgency to consume remaining resources, not conserve them. A common coding pattern — checking spend before an API call but recording usage only after — leaves ledgers perpetually outdated, especially under concurrent workloads or fast-looping AI agents. The author demonstrates how twelve parallel workers can each independently read a stale budget figure, all clear the threshold, and collectively overshoot the cap by several times. The proposed fix replaces passive balance-checking with a database-level reservation system that locks and holds funds before any API call is made, similar to how financial transactions handle concurrency.

0
ProgrammingDEV Community ·

SD-WAN Wins Most 2026 Network Decisions, But MPLS Still Holds Niche Value

The long-running debate between MPLS and SD-WAN has largely settled in favour of SD-WAN for most organisations by 2026, as business traffic has shifted from private data centres to cloud and SaaS platforms. MPLS was built to deliver private, predictable connections to a central data centre, but that value diminishes when most traffic is destined for the public internet anyway. SD-WAN reduces costs by intelligently combining cheaper internet links and routes cloud-bound traffic more directly, improving performance for the majority of use cases. However, MPLS retains a genuine edge for latency-sensitive, mission-critical workloads such as real-time financial transactions, voice, and industrial control systems where guaranteed performance is non-negotiable. Most real-world deployments in 2026 are therefore hybrid, using SD-WAN for general and cloud traffic while retaining MPLS selectively where its dedicated reliability still justifies the premium.

Web NFC API lets browsers read and write NFC tags without a native app · ShortSingh