SShortSingh.
0
IndiaNDTV ·

Nepal Floods Devastate Rasuwa, Nuwakot and Dhading Districts

Severe flooding struck multiple districts in Nepal, including Rasuwa, Nuwakot, and Dhading. The floodwaters surged downstream within minutes, overwhelming settlements in the affected areas. Eyewitnesses described the disaster as sudden and catastrophic, with families separated in seconds. The rapid onset of the floods left residents with little time to react or evacuate.

0
ProgrammingDEV Community ·

UK GDPR Technical Compliance: What Developers Must Know Ahead of 2026

ICO enforcement actions against UK organisations surged in 2024 and 2025, resulting in fines exceeding £12 million, largely targeting failures in technical security controls. UK GDPR, retained post-Brexit under the European Union (Withdrawal) Act 2018, requires developers to implement measures including encryption, pseudonymisation, access controls, and documented breach detection under Article 32. Common developer mistakes driving regulatory exposure include logging personally identifiable information in debug output, using soft deletes instead of hard deletes for right-to-erasure compliance, and neglecting Data Processing Agreements with third-party services. Data minimisation must be treated as a design-level decision, meaning fields should only be collected if there is a documented and justified reason to do so. Technically, EU GDPR and UK GDPR requirements are identical, though they diverge on administrative matters such as transfer mechanisms and the supervisory authority, which in the UK is the ICO rather than an EU national body.

0
ScienceWIRED ·

UK Energy Regulator Battles Speculative Data Centers Clogging Power Grid

The UK's energy regulator is taking active measures to prevent speculative data center projects from securing grid connections they may never use. These phantom projects are occupying capacity on the national power grid, blocking genuine infrastructure development. The issue has become a significant concern as unused reservations create bottlenecks across the country's electricity network. The situation carries broader implications for the UK's ambitions in artificial intelligence, which depend heavily on reliable and accessible data center capacity.

0
IndiaNDTV ·

India and Nepal Share Narayani-Gandak River and Its Flood Risks

The Narayani and Gandak are two names for the same river, which originates in Nepal before flowing into India. Known as the Narayani in Nepal, the river takes on the name Gandak once it crosses into Indian territory. The shared waterway links the two neighboring countries both geographically and hydrologically. Along with its waters, the river also carries shared flood risks that affect communities on both sides of the border.

0
IndiaNDTV ·

US Army Chief Fired After Resisting Order to Stop Kid Rock Helicopter Probe

A top US Army general was reportedly asked to halt an ongoing investigation into a low-flying military helicopter incident involving musician Kid Rock. General Randy George allegedly pushed back, insisting the Army should be allowed to complete its review of the incident. He was subsequently fired by Defense Secretary Pete Hegseth. The dismissal has drawn attention to potential political interference in a military investigation. The details of the original helicopter incident and its connection to Kid Rock have not been fully disclosed.

0
ProgrammingDEV Community ·

SskCore Framework Separates Task Lifecycle from UI to Fix Android Background Work

SskCore is an Android platform framework designed to address a common architectural problem: long-running tasks such as downloads, exports, and syncs losing visibility once a user navigates away from the screen that started them. The core design principle separates ownership of a task's lifecycle from its presentation, letting the platform manage when work is active, progressing, completed, or failed, while the app controls how that work is shown to users. Without such a shared model, developers tend to rebuild similar state management and progress UIs independently for each feature, leading to inconsistent behaviour across an application. SskCore aims to make any long-running operation understandable and actionable — including cancel and retry paths — throughout its full lifecycle, not just while the initiating screen is open. The framework targets real-world usage patterns where users switch screens, lose connectivity, or return to an app after extended interruptions.

0
ProgrammingDEV Community ·

How to Open and Debug SVG Files Directly in Any Modern Browser

Modern browsers like Chrome, Firefox, Edge, and Safari can render SVG files natively without any plugins, either by dragging the file onto a browser tab or using File > Open (Ctrl+O / Cmd+O). The browser parses the SVG's XML and renders all elements — including paths, text, filters, and animations — at full vector quality. However, SVGs opened via a local file:// URL may fail to load external resources such as linked fonts or images, since browsers apply stricter security rules to local files. Common rendering issues include missing viewBox or dimension attributes, JavaScript-dependent content, or an incorrect MIME type (image/svg+xml) when served from a server. Browser developer tools can be used to inspect and live-edit SVG markup, and online tools like SVG Lab offer an alternative for quick viewing and debugging without a local file.

0
ProgrammingDEV Community ·

Developer Builds Serverless Disposable Email Platform Using Cloudflare and Next.js 15

A developer has launched TTMAIL (trytempmail.co), a free temporary email platform built entirely on Cloudflare's edge infrastructure and Next.js 15. The platform uses Cloudflare D1 (edge SQLite), Cloudflare Pages Functions, and Cloudflare Email Routing to process and store incoming emails with sub-second latency. Unlike older disposable email services that rely on PHP/MySQL stacks, TTMAIL automatically strips tracking pixels and purges emails after 90 days for privacy. The platform also offers a public REST API, making it suitable for automated end-to-end testing in CI/CD pipelines using tools like Playwright or Cypress. The project was motivated by the developer's desire for a zero-maintenance, zero-cost alternative to ad-heavy or paywalled temporary email services.

0
ProgrammingDEV Community ·

EmailKnow uses one-way IP hashing to filter self-opens without storing personal data

EmailKnow developer identified a common tracking flaw where senders inflate their own open-rate stats by previewing sent emails. To fix this without storing raw IP addresses, the developer hashes the sender's IP using SHA-256 with a secret salt at send time. When a tracking pixel fires, the opener's IP is hashed the same way and compared against the stored value. A match flags the open as a self-open and excludes it from real open counts, while a non-match confirms a genuine recipient. The approach stores only a hash that cannot be reversed, answering a single yes-or-no question without retaining any personally identifiable location data.

0
IndiaNDTV ·

Tanker Hit by Unknown Projectile, Catches Fire Near Strait of Hormuz

A tanker was struck by an unidentified projectile near the Strait of Hormuz, triggering a fire onboard, according to the UK Maritime Agency. The incident occurred in a waterway that has seen heightened tensions following US and Israeli military strikes against Iran in late February. The UK maritime authority described the object that caused the damage as an unknown projectile. The Strait of Hormuz, a critical global oil shipping lane, has faced significant disruption amid the ongoing regional conflict.

0
ProgrammingDEV Community ·

Senior Engineers Use Code Reviews to Question Design, Not Just Hunt Bugs

A widely discussed piece from the DEV Community argues that the highest-value code review skill is questioning whether a change belongs in a codebase at all, not merely whether it works correctly. Research from Microsoft found that only 14% of review comments address defects, while 29% focus on code improvements like readability and maintainability. A separate Microsoft study concluded that at least 50% of review feedback concerns long-term maintainability rather than bug detection. Google's analysis of nine million code changes similarly found that reviews primarily serve to transfer knowledge, uphold codebase integrity, and establish team norms. The article contends that senior reviewers add the most value by evaluating a change within its broader system context, catching structurally misplaced logic that may look correct in isolation.

0
ProgrammingDEV Community ·

When and How to Encode SVG as Base64: A Practical Developer Guide

Encoding an SVG to base64 converts its text content into a string safe for embedding in CSS, HTML, or JSON without breaking surrounding formats, though the output is roughly 33% larger than the original. In JavaScript, the built-in btoa() function handles the conversion in two lines, but requires an extra encoding step for SVGs containing non-Latin-1 characters such as emoji or Chinese text. A common use case is embedding SVGs as CSS background images to avoid separate file requests, though URL-encoding the SVG is often a better alternative since it compresses more efficiently with gzip. Developers working on macOS, Linux, or Windows can also encode SVG files directly from the command line using built-in tools. Inline SVG remains the most efficient option when embedding directly in HTML, and base64 encoding should only be used when raw SVG markup cannot be accepted by the target context.

0
IndiaNDTV ·

Nepal Minister Praises PM Shah as Action-Oriented Leader at Kathmandu Summit

Nepal's minister addressed the NDTV World Anviksha Summit held in Kathmandu, where he spoke about Prime Minister Shah's leadership style. He described Shah as an action-oriented prime minister who prioritizes swift results from his cabinet. The remarks came amid ongoing flood conditions affecting Nepal. The summit provided a platform for the minister to highlight the current government's approach to governance and decision-making.

0
ProgrammingDEV Community ·

Public Audit of OSS Release Exposes Documentation Errors the Developer Missed

After shipping v0.2.1 of PlannerCritic, developer and author found their release documentation contained verifiable inaccuracies when a reader proposed a structured public audit. The reader froze five specific claims from the release before inspection and verified each solely against publicly available artifacts. Three of the five claims failed verification, including a test-count discrepancy, a self-contradicting field-test report stating both zero true failures and one true failure, and a mismatch in how many times a specific detector fired. Crucially, the underlying engine results were found to be sound — the errors were confined to how the release was documented and communicated. The developer concluded that a system can perform correctly while the written narrative around its release remains inaccurate, a distinction they argue most open-source maintainers overlook.

0
IndiaTimes of India ·

De Villiers stands by Kohli-Tendulkar comparison, clarifies his remarks

Former South Africa batter AB de Villiers has defended his earlier comments comparing Virat Kohli and Sachin Tendulkar after facing backlash. He clarified that his remarks focused on how both batters adapted their game, particularly in overseas conditions. De Villiers credited Tendulkar for establishing a foundation for subcontinental batters on the world stage. He praised Kohli for taking that legacy forward, while also acknowledging that Kohli's overseas statistics do not fully match Tendulkar's record. De Villiers emphasised that the comparison reflected his personal opinion.

0
ProgrammingDEV Community ·

How to Build a Reliable JSON Output Pipeline for Local LLM Models

Local large language models often return malformed JSON — including code fences, trailing commas, and unwanted prose — causing runtime errors in production applications. Developers using tools like Ollama can reduce these failures by passing a full JSON Schema object instead of a simple format string, which enables constrained decoding that prevents structurally invalid output. However, constrained decoding does not guarantee correct values, and older servers or smaller models can still misbehave on complex or nested schemas. A more robust approach combines schema-constrained generation with a resilient parser such as json-repair, Pydantic-based schema validation, and feedback-driven retries on failure. The article provides a reusable structured_extract() function designed to handle these edge cases across different local LLM setups.

0
IndiaTimes of India ·

India's Armed Forces Launch Rescue and Relief Operations Amid Nepal Floods

India's armed forces have been deployed to assist Nepal in the wake of devastating floods. The military response includes both rescue operations and humanitarian relief efforts. The rapid mobilization highlights India's capacity to act as a first responder in regional crises. This operation is part of a broader pattern of India providing disaster assistance to neighboring nations. The mission further underscores India's commitment to humanitarian support and its strategic role in the region.

0
ProgrammingDEV Community ·

OpenHands Bug Exposes Gap Between Service Health and Session Liveness in AI Agents

A real incident logged in OpenHands PR #4548 revealed that a browser-tool conversation remained stuck for over eight hours while health-check endpoints continued returning HTTP 200 responses. The root cause was an unbounded shutdown wait in AsyncExecutor.close(), where remaining tasks were never cancelled, leaving the session unable to make progress despite appearing healthy at the service layer. The fix introduces task cancellation and a 10-second timeout on shutdown, explicitly framed as a best-effort safety net rather than a guarantee of clean resource cleanup. A separate multi-agent system called CodeFlowMu surfaced a related but distinct problem: a recovery path could reactivate a worker before the task had completed the lifecycle transition needed for legitimate execution. Both cases illustrate that reliable agent recovery requires verifying at least five separate layers — service health, session liveness, task eligibility, causal prerequisites, and formal acceptance — rather than treating a single healthy status as sufficient to resume work.

← NewerPage 429 of 3627Older →