SShortSingh.
0
ProgrammingDEV Community ·

How to Add Face ID and Fingerprint Authentication to Your Flutter App

A Flutter developer has published a practical guide on integrating biometric authentication — including Face ID and fingerprint — using the local_auth plugin. The tutorial covers required dependencies, platform-specific setup steps for both Android and iOS, and common pitfalls such as missing the NSFaceIDUsageDescription key that silently crashes iPhone apps. Developers are advised to always check device support and user enrollment before enabling biometric prompts, rather than assuming hardware availability. The guide also explains key configuration options like stickyAuth and biometricOnly, which control behavior during app-switching and passcode fallback scenarios. The author notes that while the implementation is simpler than expected, skipping platform configuration steps can cause silent build or runtime failures.

0
IndiaTimes of India ·

Raksha Bandhan 2026 Falls on August 28; Key Timings and Rituals Explained

Raksha Bandhan in 2026 will be celebrated on Friday, August 28. The Shravana Purnima Tithi begins on August 27 and concludes the following day. Devotees are advised to perform the Rakhi-tying ceremony only after the Bhadra Kaal period ends, as it is considered inauspicious. Sisters will prepare a ceremonial thali with ritual items before tying the Rakhi on their brothers' wrists. The ceremony is accompanied by prayers for the brothers' well-being and prosperity.

0
WorldBBC World ·

Cameroon Femicide Wave: Eight Women Killed in a Week Sparks National Outrage

At least eight women were killed within a single week in Cameroon, triggering widespread public anger. The alarming spate of femicides has drawn condemnation from prominent figures, including a top footballer who publicly spoke out against the violence. The athlete warned that staying silent in the face of such killings amounts to complicity. The deaths have intensified calls for authorities to take stronger action to protect women in the country.

0
ProgrammingDEV Community ·

Java's Project Lilliput shrinks object headers to cut memory and CPU usage

OpenJDK's Project Lilliput aims to reduce the size of Java object headers — internal metadata attached to every object by the JVM — from 12–16 bytes down to 8 bytes. At scale, this seemingly small change can translate to significant savings: OpenJDK's own benchmarks report up to 22% less heap usage, 8% lower CPU consumption, and 15% fewer garbage collection cycles. The optimization also improves CPU cache efficiency by packing objects more tightly in memory. Developers do not need to modify their code to benefit, as the change is implemented entirely within the JVM itself. The feature shipped as experimental in Java 24 (JEP 450) and became an official, though still opt-in, HotSpot feature in Java 25 (JEP 519), with a proposal to enable it by default currently in draft.

0
TechnologyBBC Tech ·

Meta UK Settlement: Five Key Takeaways as Campaigners Push for More

Meta has reached a settlement in the UK, raising significant questions about the implications for data privacy and social media regulation. The agreement has drawn attention from campaigners who argue the matter is far from resolved. Other major social media companies have not yet issued responses to the development. The settlement is seen as a landmark moment in ongoing debates around tech accountability in the UK. Advocacy groups continue to push for broader reforms beyond what the settlement currently addresses.

0
ProgrammingDEV Community ·

How AI Memory Systems Work: Short-Term Context and Long-Term Recall Explained

Modern AI applications use memory systems to store, retrieve, and apply information across multiple interactions, making responses more personalized and consistent. AI memory is broadly split into two categories: short-term memory, which holds context within a current conversation such as recent messages and active tasks, and long-term memory, which retains user preferences and key facts beyond individual sessions. Short-term memory functions like human working memory, keeping track of ongoing dialogue so the AI can follow multi-step conversations without losing context. Because large language models have limited context windows and processing lengthy conversations raises costs and latency, applications use techniques like recent-message windows, summarization, and context compression to manage short-term memory efficiently. Long-term memory allows an AI to recall stored preferences or decisions from past sessions, enabling it to tailor future responses without requiring users to repeat themselves.

0
IndiaNDTV ·

UP Districts on High Alert as Flood Risk Rises Along Nepal Border

Uttar Pradesh authorities have placed districts bordering Nepal on high alert amid rising flood concerns. The administration is conducting continuous monitoring of rivers prone to flooding in the region. Vulnerable villages along the border have been alerted as a precautionary measure. Relief and rescue teams have been kept on standby to respond swiftly to any emergency flood situation.

0
ProgrammingHacker News ·

Emacs 31 Introduces Built-in Markdown Tree-Sitter Mode for Better Editing

Emacs 31 is set to include a new built-in mode called markdown-ts-mode, which leverages Tree-sitter for improved Markdown editing support. A community member published an unofficial guide explaining how the mode works and how users can get started with it. Tree-sitter is a parser generator tool that enables faster and more accurate syntax highlighting and code analysis. The guide aims to help Emacs users understand and adopt the new Markdown editing capabilities ahead of the official release.

0
ProgrammingDEV Community ·

NexPath Intercepts Vague AI Coding Prompts and Suggests Clearer Alternatives

NexPath is a prompt quality layer designed for AI coding tools such as Cursor, Windsurf, and Claude Code, sitting between the developer and the agent to catch ambiguous prompts before they are submitted. When a vague prompt is detected, the tool presents an enhanced version alongside the original, letting the developer choose which one gets sent. The enhanced prompt typically adds scope boundaries, acceptance criteria, verification steps, and safety requirements that developers often skip during fast-paced coding sessions. The tool does not generate code itself but aims to reduce downstream problems — such as broken logic or missing safeguards — that can result from underspecified instructions. NexPath stays silent when a prompt is already clear, only intervening when it identifies room for meaningful improvement.

0
ProgrammingDEV Community ·

Three-Gate Framework Proposed to Catch Failures in Agent-Written Code Patches

A software engineer has outlined a three-gate validation system designed to catch common failure modes introduced by AI agent-generated code patches before they are merged. The first gate uses property-based testing to verify structural invariants — such as ensuring a rewritten function never returns negative values — rather than relying solely on example-based tests. The second gate pins test fixtures to a manifest file with checksums, so any silent data changes made by an agent trigger a merge-blocking alert requiring human approval. The third gate addresses flaky tests by quarantining them with a mandatory expiry date and a linked ticket, forcing developers to either fix, replace, or explicitly delete the test. The author argues that the ordering of these gates is critical, as each is designed to address a distinct failure mode: wrong logic, altered test data, and nondeterminism respectively.

0
IndiaNDTV ·

BJP-Akali Dal Alliance Talks in Punjab Ongoing With Seat-Sharing Under Discussion

The BJP and Shiromani Akali Dal are continuing negotiations over a potential electoral alliance in Punjab. One round of seat-sharing talks has already taken place, according to sources who spoke to NDTV. A key dynamic shaping the discussions is the BJP's increasingly assertive stance, marking a shift from its traditionally junior role to the Akali Dal in the state. Three key questions are reported to be on the table as both parties work toward a possible agreement.

0
ProgrammingHacker News ·

RealDiff Tool Compares Runtime Behavior of Code Changes Across Six Languages

A developer has released RealDiff, an open-source tool designed to perform runtime behavior diffing for pull requests. Unlike traditional code diffing, RealDiff analyzes how code actually behaves at runtime rather than just comparing source changes. The tool supports six programming languages, broadening its potential use across different development stacks. It was shared on Hacker News as a community project, linking to its GitHub repository for access and contribution. The tool aims to help developers catch behavioral regressions that static code comparison tools might miss.

0
ProgrammingDEV Community ·

Too Many AI Code Review Comments Can Bury the Ones That Actually Matter

A software developer observed that an AI code reviewer generated around a dozen comments on a routine 200-line pull request, most of which were technically valid but low-priority. The sheer volume caused the developer reviewing the PR to skim through comments and nearly miss the one genuinely critical finding buried among trivial suggestions. The author argues that AI review tools are designed to maximise issue detection, but the real challenge in code review is signal-to-noise ratio — identifying what truly deserves a developer's attention. This experience prompted the author to begin building Codzee, a tool aimed at prioritising meaningful feedback over exhaustive flagging. The post closes with open questions to the developer community about trust, comment thresholds, and how to balance thoroughness with usability in automated code review.

← NewerPage 520 of 3738Older →