SShortSingh.
0
IndiaTimes of India ·

Joe Root needs 79 runs to break Ponting's all-time home Test record at Headingley

England's Joe Root is on the brink of breaking Ricky Ponting's all-time home Test run-scoring record, needing just 79 more runs to surpass the Australian legend's mark. Root will get his opportunity when England face Pakistan at Headingley, with the series beginning on Wednesday. The prolific batter is also closing in on becoming England's highest run-scorer at the Leeds venue. Root is additionally approaching 12,000 international runs scored on English soil, underlining his remarkable consistency at home. The series against Pakistan marks a significant milestone moment in Root's career and in English cricket more broadly.

0
IndiaNDTV ·

Nine Dead in Kolkata Hotel Fire, AC Blast Suspected as Cause

A fire broke out at a hotel in Kolkata, killing nine people, some of whom were Bangladeshi nationals. Initial reports indicate the blaze may have been triggered by an air-conditioner explosion, though authorities have not yet confirmed the exact cause. The incident has raised serious concerns about fire safety standards in the city's hospitality establishments. Investigations are currently underway to determine the precise origin of the fire.

0
ProgrammingDEV Community ·

Tutorial: Add Explicit Floor Control to AI Voice Apps Using Tencent RTC

A common frustration with real-time AI voice companions is that automatic silence detection can interrupt users mid-thought, submitting incomplete input to a language model. To address this, a developer tutorial on DEV Community outlines building a TypeScript-based turn coordinator with two input modes: an automatic mode and a hold mode that waits for the user to manually trigger a response. The guide uses Tencent RTC as the voice transport layer, which supports connections to multiple LLM providers including OpenAI-compatible models. The coordinator is designed to handle edge cases such as stale LLM responses, network disconnects, and synthesis failures without silently resetting conversation state. The core principle is that a user's pause should be treated as an observation, not automatic consent to submit a query.

0
IndiaTimes of India ·

Teen killed in Bhopal by gang duped by social media hoax about organ prices

A 16-year-old boy was murdered in Bhopal after a group was misled by a social media hoax falsely claiming that certain human organs fetched crores of rupees. The alleged mastermind, posing as a doctor, convinced associates to carry out the crime based on this fabricated information. Police recovered the victim's decomposed body and confirmed that body parts had been removed. Divers are currently searching two lakes in the area to retrieve the missing organs as evidence. Authorities have launched an investigation into the accused, who reportedly made multiple attempts before carrying out the killing.

0
ProgrammingDEV Community ·

Developer seeks expert review of MVP stack debate: WordPress vs. custom Next.js

A founder building Equip-Ex, an industrial equipment marketplace, is seeking an independent technical review after their developer proposed replacing a planned WordPress-based MVP with a custom Next.js application. The original architecture was designed as a modular, low-complexity stack using WordPress for public-facing functions, Zoho as the operational CRM backbone, and n8n for workflow orchestration. The founder's concern is not about Next.js as a technology, but that the shift introduces custom engineering complexity before core business workflows have been validated commercially. No architecture decision record has been provided explaining which specific WordPress limitations justify the change. The founder is asking experienced developers — particularly those who have built marketplaces or CRM-connected platforms — to weigh in on whether the proposed change solves a real problem or represents premature complexity.

0
ProgrammingDEV Community ·

How Replacing Nested Loops with Hash Sets Cut a Batch Job from 4 Minutes to 200ms

A software developer discovered that a duplicate-checking function using two nested loops, which runs in O(n²) time, caused a nightly batch job to freeze for several minutes when processing a million-record dataset. The root cause was that the quadratic approach required roughly five billion comparisons for large inputs, consuming 90% of CPU and triggering server alerts. Replacing the nested loops with a hash-based Set reduced the algorithm to O(n) linear time, since each insertion and membership check on a Set is amortized constant-time. The optimized function completed the same batch job in under 200 milliseconds, compared to the previous four-minute runtime. The case illustrates why understanding Big-O notation allows developers to reason about performance before writing code, rather than discovering bottlenecks only under production load.

0
ProgrammingDEV Community ·

FullTrailer App Gains Dedicated Monad, Live WebSocket Data Subscriptions via Netget

The FullTrailer web application is being upgraded to run as its own standalone monad process, connected to the internet through the netget reverse-proxy gateway without requiring any changes to netget itself. WebSocket support is already functional end-to-end, as netget's existing configuration correctly forwards WebSocket upgrade headers on all monad and surface routes. A new in-process path notification registry, pathNotify.ts, is being built from scratch to enable live data subscriptions, since no such kernel-level write notification mechanism currently exists. The system will hook into the existing HTTP write handler to trigger subscriber callbacks whenever a matching namespace path is updated. The existing Beatle WebSocket client in this.gui will be extended with new message types for live reads and subscriptions, completing the client-to-server data pipeline.

0
ProgrammingDEV Community ·

Developer builds 59 privacy-first browser tools in vanilla JS with zero dependencies

A developer has publicly launched Antigravity Tools, a collection of 59 free, browser-based utilities built entirely in vanilla JavaScript with no external dependencies, backend servers, or analytics. The project was motivated by privacy concerns with popular online tools, such as JWT decoders and regex testers, which can log user data on remote servers. All operations run locally in the browser using native APIs including Web Crypto, Canvas, Web Audio, and IndexedDB. The toolkit covers a wide range of developer needs, including JWT inspection, RSA key generation, JSON formatting, cURL conversion, regex testing, and AI prompt utilities. The tools are available for free at antigravitytools.app.

0
ProgrammingDEV Community ·

Six Design Controls for Reliable Localized Password Reset Email Delivery

A technical guide outlines six key controls for building secure, localized password reset email systems for media platforms. The approach centers on keeping HTML templates in versioned, application-owned source code rather than provider-hosted editors, ensuring preview and production emails use the same rendering path. Localization requires an explicit fallback chain with approved catalog revisions, and reset URLs must be generated by the application rather than embedded in translation files. A durable outbox with idempotency keys and expiry-aware retry limits ensures delivery evidence is preserved and expired links are not resent. The framework also mandates plain-text alternatives alongside HTML to cover all mail clients and avoid gaps in delivery coverage.

0
IndiaTimes of India ·

Consumer Commission Orders Greenline Travels to Pay Rs 73,000 After Bus Detour Costs Passenger Flight

A consumer commission has ruled against Greenline Travels after one of its buses took an unplanned route, causing a passenger to miss his flight to Delhi. The affected passenger was an M.Phil. student who needed to reach Delhi to attend his course. The commission determined that the bus company was deficient in service due to the unexplained route deviation and resulting delay. Greenline Travels has been ordered to pay Rs 73,000 to cover the cost of the missed flight, accommodation expenses, and compensation for mental distress.

0
ProgrammingDEV Community ·

5 Messaging Patterns That Keep Distributed Services Reliable at Scale

Modern distributed systems like food delivery platforms often rely on asynchronous messaging instead of direct service calls, making them more resilient to failures. Key patterns include message queues that hold requests when a receiver is down, and publish-subscribe topics that fan a single event out to multiple independent consumers. Competing consumers allow many workers to drain a shared queue simultaneously, enabling rapid scaling during traffic spikes. A dead-letter queue captures repeatedly failing messages so one corrupt entry cannot block the entire pipeline. Idempotent consumer design ensures that processing the same message more than once — a common occurrence due to network retries — produces no duplicate side effects such as double-charging a customer.

0
ProgrammingDEV Community ·

Developer builds open-source security scanner for MCP servers amid rising CVEs

A developer has released sentrymcp, an open-source security scanner for Model Context Protocol (MCP) servers, built in Rust and available under the MIT license. The tool was created after the developer found no purpose-built scanner existed, despite over 40 CVEs disclosed against MCP implementations this year. It performs static analysis to detect path traversal, command injection, missing authentication, and tool poisoning, while a runtime proxy mode monitors for 'rug pulls' — cases where a server silently alters a tool's description after user approval. Research from Endor Labs found that 82% of over 2,600 real MCP implementations use file operations prone to path traversal, and nearly 40% of scanned servers lack authentication entirely. The project can be run via a Docker one-liner, and its findings are ranked by severity with references to CWEs or the OWASP MCP Top 10.

0
SpaceNASA ·

NASA APOD Highlights Unidentified Streak of Light in August 2026 Feature

NASA's Astronomy Picture of the Day (APOD) for August 19, 2026 features an image or video depicting an unidentified streak of light that may or may not be a meteor. APOD is a long-running NASA program that publishes a daily astronomical image or photograph accompanied by an explanation from a professional astronomer. The featured content raises questions about the true nature of the luminous streak, leaving its classification uncertain. Viewers are encouraged to enable JavaScript to view the associated video content. The post is part of APOD's ongoing effort to engage the public with intriguing and thought-provoking cosmic phenomena.

0
ProgrammingDEV Community ·

How to Build Reliable Async Batch Summarization for Node.js Support Triage

A software architecture guide outlines best practices for handling multi-document summarization in Node.js-based customer support triage systems. The approach treats each batch summarization task as a durable async job, requiring tenant and document identities to be attached before submission and tracked throughout processing. Developers are advised to write accounting records before submitting work, join results by document ID rather than array position, and verify completeness before marking any export as ready. The architecture separates the cost ledger from the content store and uses deterministic storage keys to make repeated exports idempotent and missing results detectable. The guide emphasizes that request timeouts, terminal job states, and successful downloads each carry distinct meanings and must not be conflated to avoid support and accounting failures.

0
IndiaTimes of India ·

Pakistan SC orders hospital transfer for Imran Khan, mandates weekly family visits

Former Pakistani Prime Minister Imran Khan was visited by his sister Noreen Niazi at Adiala Jail after a nine-month gap. The Supreme Court of Pakistan directed that Khan be transferred to a hospital and granted weekly meetings with his family. Khan also had an extended meeting with his wife, Bushra Bibi, during the same period. Medical assessments revealed that the jailed leader has been experiencing fluctuating blood pressure and anxiety. The court emphasized that access to family is a fundamental right and cannot be treated as a privilege.

0
IndiaTimes of India ·

Will Smith in talks to play villain in Allu Arjun and Atlee's 'Raaka'

Hollywood actor Will Smith is reportedly in discussions to join the upcoming sci-fi action film 'Raaka', directed by Atlee and starring Allu Arjun. Negotiations for Smith to play the lead antagonist have allegedly been ongoing for close to a year. Shah Rukh Khan is also said to be involved in an international shooting schedule planned after September. The film is reported to span two timelines, weaving together historical and contemporary settings. Deepika Padukone and Mrunal Thakur are among the actresses linked to prominent roles in the project.

0
ProgrammingDEV Community ·

Why 'What Do You Want to Build?' Beats 'Which Language Should I Learn?'

A programming trainer observed that most beginners who struggled had never defined a concrete goal before choosing a language to learn. After watching hundreds of trainees stall, he replaced the standard language recommendation with a six-question intake process, reserving the language choice for last. Trainees who arrived with a specific project in mind — such as automating a flea-market app — settled on a language within five minutes and completed working tools within months. In contrast, those who began coding without a clear purpose often spent months making little meaningful progress. The trainer argues that purpose and available study time are the two factors that effectively determine language choice, making the decision nearly automatic once both are established.

← NewerPage 112 of 2886Older →