SShortSingh.
0
IndiaNDTV ·

Ferry Fire Off Philippines Coast Kills 5, Leaves Over 80 Missing

A fire broke out aboard the ferry M/V June Aster on Wednesday evening off the coast of the Philippines. The incident occurred approximately 2.2 kilometres from shore, according to the Philippine coast guard. At least five people were confirmed dead, with their bodies brought ashore by rescue teams. More than 80 individuals remain unaccounted for following the blaze. Authorities are continuing search and rescue operations in the affected waters.

0
ProgrammingDEV Community ·

How to Debug Phone Verification Failures in Game Account Recovery Flows

Developers building game account recovery systems often struggle to diagnose phone verification failures because send and verify steps are treated as unrelated endpoints rather than a single auditable trace. A robust approach involves creating a state machine that records each attempt with a unique ID, normalized phone hash, expiry time, and server-side status before any message is sent. Every transition — from code dispatch to carrier delivery to player verification — should be logged with timestamps and actors, without ever storing the raw code or full phone number. Linking a consistent attempt ID across send, delivery, and verify phases helps pinpoint exactly where a failure occurred, whether at the queue, the carrier, or the verification step. This structured tracing is especially critical in gaming contexts where accounts can represent years of purchases and progress, requiring a recovery flow that is both user-forgiving and resistant to takeover.

0
IndiaNDTV ·

Maharashtra Fruit Vendor Dies After Altercation Linked to Loan Dispute

Yakub Siddiqui, a fruit vendor from Bhiwandi, Maharashtra, died while being taken to a police station following a physical altercation. The dispute reportedly stemmed from a loan Siddiqui had borrowed from a woman three to four years ago. Alleged delays in repaying the money had created ongoing friction between the two parties. The incident has prompted a police investigation into the circumstances surrounding his death.

0
ProgrammingDEV Community ·

Mobile Money Idempotency Flaws Risk Double Charges as UEMOA Deadline Looms

With the BCEAO's September 30 deadline approaching for PI-SPI platform integration, many UEMOA development teams are writing payment code under pressure. A technical analysis of three mobile money providers — MTN, Wave, and Orange Money — reveals that only MTN offers a true idempotency key via its X-Reference-Id header. MTN's 409 conflict response is frequently mishandled by developers, who may interpret it as a failure and trigger a second payment request, resulting in duplicate charges. Wave has no idempotency header at all, requiring developers to build their own safeguards using the client_reference field. The article warns that these integration gaps are the kind of bugs that only surface in production, where real customer funds are at risk.

0
ProgrammingDEV Community ·

ML Systems proposes shared data ontology to unify roof descriptions across trades and machines

A persistent communication gap exists between property assessors, computer vision models, and construction crews, each of whom describes the same roof using entirely different vocabularies and data formats. ML Systems argues this fragmentation worsens as more parties — including robotic systems — enter the workflow. The company proposes a 'Collective Ontology,' a structured data model that tags building claims under consistent code families and represents components as nodes with typed relational edges rather than flat material records. Central to the approach is the idea that a roof must be stored as an ordered stack of layers with fastening relationships, enabling correct sequencing for both construction and disassembly. The company's scheduling engine, REAPER, compiles job sequences as a directed acyclic graph, though the article acknowledges the system has not yet been validated on a real structure.

0
IndiaTimes of India ·

Toxic Worldwide Gross Hits Rs 339 Cr as Film Enters Third Week

Yash-starrer 'Toxic: A Fairy Tale for Grown-Ups' has collected Rs 339.32 crore at the worldwide box office by its 15th day of release. The film's earnings have been declining steadily, with only Rs 60 lakh collected on Day 15. Its cumulative India net collection now stands at Rs 247.85 crore. Among the regional versions, the Kannada-language release led domestic collections on the fifteenth day.

0
ProgrammingDEV Community ·

GA4 Adds Native AI Assistant Traffic Channel From May 2026

Google Analytics 4 will introduce a dedicated AI Assistant channel in its Default Channel Group starting May 13, 2026. The update allows marketers to track visits from recognized AI tools such as ChatGPT, Gemini, Copilot, Deepseek, and Grok directly within standard acquisition reports. Previously, isolating this traffic required manually built regex-based custom channel definitions, which added ongoing maintenance work. The native channel applies specific traffic-dimension values for medium, channel grouping, and campaign, making AI-sourced sessions easier to compare against other acquisition sources. However, GA4 notes the classification only covers recognized AI assistant visits, meaning some AI-origin traffic may still appear under Direct or Referral when referrer data is unavailable.

0
ProgrammingDEV Community ·

Microsoft's AI Code Review Cut PR Time by 10–20%, But Speed Isn't the Full Story

Microsoft's PRAssistant tool processed over 600,000 pull requests per month across 5,000 internal repositories, covering more than 90% of PRs and achieving a 10–20% median improvement in PR completion time. The metric reflects faster queue throughput — not necessarily higher code quality — since automation that clears routine reviews can accelerate merges without ensuring human reasoning over the code. Microsoft later released PRAssistant externally as GitHub Copilot code review, making the internal benchmark the baseline expectation rather than a guaranteed outcome for all teams. Experts caution that the 10–20% figure should not be cited as evidence the tool catches more bugs, as it measures when work moves, not what quality lands. Teams adopting similar tools are advised to track both time-to-merge and post-merge regression rates separately to get a complete picture of performance.

0
ProgrammingDEV Community ·

Atlassian Claims Rovo Cuts PR Review Time 45%, But Methodology Is Missing

Atlassian has stated that its AI code review tool, Rovo Dev, reduced pull request cycle time by up to 45% internally and 32% for customers, but published no methodology, baseline definitions, or sample details to support the figures. Critics point out that the claimed improvement may largely reflect a queue management problem rather than a genuine gain in review quality, since moving idle PRs to an AI that responds instantly inflates the numbers. Aggregate cycle-time metrics also obscure the tail, as AI tools tend to accelerate small, low-risk diffs while large, complex PRs still require significant human attention. Uncontrolled variables such as changes in the reviewer pool or shifts in team review culture during the measurement window could further skew results. Experts recommend that vendors and buyers alike validate such claims using fixed time windows, stable reviewer pools, and median plus 95th-percentile breakdowns segmented by PR size and risk level.

0
ProgrammingDEV Community ·

Why Whoosh Search Returns Zero Results and How the Analyzer Fixes It

Whoosh is a pure-Python full-text search library where the analyzer — a pipeline of tokenizers and filters — determines how text is converted into searchable tokens at both index and query time. When the indexing and querying sides process text differently, searches return no results even when matching documents exist. Using a StemmingAnalyzer instead of the default StandardAnalyzer can resolve this, as it reduces word variants like 'connections' and 'connecting' to a common root, allowing a query for 'connect' to match both. Developers can debug analyzer behavior by running it directly on a string to inspect the tokens produced, without needing a full index. Additional filters such as CharsetFilter with an accent map can further improve matching by normalizing accented characters to their plain ASCII equivalents.

0
ProgrammingDEV Community ·

Why Every Production Webhook Endpoint Becomes a Tiny Distributed System

A webhook endpoint may start as a simple Rails controller action, but production requirements quickly layer on complexity including signature verification, background jobs, and retry logic. Security comes first: providers like GitHub and Stripe sign their payloads with HMAC-SHA256, and the raw request body must be verified before any parsing occurs. Duplicate event delivery, out-of-order processing, and concurrent workers introduce the same challenges found in large-scale distributed systems. The article walks through a minimal Rails implementation that handles signature validation using a shared secret and Rails' timing-safe secure_compare. The author argues that a single HTTP webhook endpoint, once hardened for production, mirrors the core concerns of distributed architecture in miniature.

0
ProgrammingDEV Community ·

Moustaqim Launches Multilingual Islamic Platform Covering Quran, Prayer and Hadith

Moustaqim is a newly launched multilingual Islamic platform that consolidates key religious resources in one place, available in both French and English. The platform offers the Quran with Arabic text and translations, daily prayer times calculated by location, and a searchable encyclopedia of hadiths organized by collection. It also features a database of thousands of Muslim names with Arabic script, transliterations, meanings, and gender, alongside a concise Islamic terminology dictionary. Developers can access open-licensed datasets on GitHub, including a CC0-licensed sample of Muslim names in JSON format suitable for third-party applications. The project welcomes community contributions via GitHub and is open to suggestions for additional languages and datasets, with the goal of building a free, structured multilingual reference for Muslim users worldwide.

0
ProgrammingDEV Community ·

Tutorial: Build a Real-Time Stress Detector Using Python, Scikit-Learn, and WebSockets

A new developer tutorial on DEV Community walks through building a real-time Heart Rate Variability (HRV) anomaly detection system using Python and machine learning. The system uses Scikit-learn's Isolation Forest algorithm, which requires no labeled training data, to identify stress-related anomalies in a continuous biometric data stream. FastAPI handles live WebSocket connections from wearable devices, enabling low-latency data ingestion compared to traditional REST APIs. When the model detects an anomalous HRV reading, it triggers a mindfulness alert and updates a D3.js dashboard that visually flags the stress event in real time. The tutorial targets developers with Python 3.9 or later and covers the full pipeline from wearable data simulation to browser-based visualization.

0
ProgrammingDEV Community ·

Developer's Web Scraping Project Reveals Surprisingly Complex Bot Detection Systems

An independent researcher documenting their web information retrieval journey set out to build a web scraper as a hands-on foundation before diving into academic literature. The project hit an unexpected obstacle when the scraper was repeatedly blocked, particularly when using a headless browser. Investigating the cause led the researcher into the world of anti-bot mechanisms, which turned out to be far more sophisticated than simple checks like User-Agent strings or request frequency. Modern bot detection systems can inspect dozens of browser signals simultaneously — including WebGL, Canvas fingerprinting, audio APIs, and even battery status — combining them to distinguish real users from automated tools. The researcher now plans to study open-source bot-detection code in depth before pursuing original contributions at the intersection of cybersecurity and software engineering.

0
ProgrammingDEV Community ·

How a Werkzeug version mismatch can silently break Flask on Ubuntu 24.04

A developer running Flask 3.0.3 on an Ubuntu 24.04 staging server traced a severe memory-swap incident to a version conflict between Werkzeug 2.x and Flask 3.x, which require Werkzeug 3.0 for API compatibility. Ubuntu 24.04's apt package manager pins an older Werkzeug build, meaning installing Flask via apt can create an environment where imports succeed but routing fails under production load. The recommended fix is to use a Python 3.12 virtual environment and pin dependencies explicitly with a constraints file, bypassing the system-managed package directory entirely. A verification script is also advised to confirm correct versions and flag environments consuming over 150MB of RSS memory at import time. The article emphasises that Flask itself is not a production WSGI server and must be paired with a properly configured server such as uWSGI or Gunicorn for deployment.

0
ProgrammingDEV Community ·

Solana Transaction V1 Goes Live Sept 10, 2026: Key Breaking Changes for Developers

Solana's Transaction V1 is set to activate on mainnet on September 10, 2026, raising the maximum transaction size from 1,232 bytes to 4,096 bytes in a format incompatible with older client libraries. The Agave 4.2 release, which shipped on August 11, 2026, introduced the framework for these changes, though each update activates separately via its own feature gate. Developers must set maxSupportedTransactionVersion: 1 on RPC calls such as getBlock and getTransaction, or risk a -32015 error that fails the entire block query. Priority fee handling has also changed: V1 moves compute budget data to the transaction header, reporting fees as a total in lamports rather than micro-lamports per compute unit, so existing fee-parsing code will silently return zero. Additionally, Agave 4.2 no longer emits updates for accounts that were write-locked but unchanged, resulting in roughly 80 percent fewer account-update events in streams and RPC responses.

0
ProgrammingDEV Community ·

Tech Lead Resigns After C-Level Executive Publicly Humiliates Seven Managers

A software engineer who was promoted to technical lead resigned after approximately one year in the role, citing a toxic corporate culture and a lack of professional respect. On April 8, 2026, he witnessed a C-level executive publicly berate seven managers in what he described as an extreme display of workplace humiliation over a trivial matter. Beyond that incident, he found that the organization deliberately lacked processes, procedures, and documentation, and that all decisions had to be approved by top executives, leaving technical leads as mere executors with no real autonomy. He had hoped his promotion would allow him to drive meaningful change, but quickly realized the dysfunction was deeply embedded in the company's culture. The sustained frustration, irritability, and rising anxiety ultimately led him to submit his resignation on or around April 22, 2026, a decision he frames as refusing to accept disrespect as a professional.

← NewerPage 948 of 4875Older →