SShortSingh.
0
IndiaTimes of India ·

Netanyahu Rejects Trump's Gaza Plan, Insists on Full Hamas Disarmament First

Israeli Prime Minister Benjamin Netanyahu has turned down a 15-point US proposal related to the Gaza peace process. Netanyahu insists that Hamas must be fully disarmed before any Israeli military withdrawal can take place. He acknowledged that talks with Washington are continuing despite the rejection. Hamas, on the other hand, is demanding a complete Israeli troop pullout as a condition for entering negotiations. The opposing positions of both sides highlight major obstacles to moving beyond the existing ceasefire agreement.

0
ProgrammingDEV Community ·

How to Build Reliable Webhook Handlers: Retries, Idempotency, and Deduplication

Webhooks commonly fail in production due to network timeouts, slow endpoints, and duplicate deliveries, as senders like Stripe and GitHub retry any request that does not receive a timely 2xx response. This at-least-once delivery model means receivers can process the same event multiple times, making idempotency a critical responsibility of the handler, not the sender. The recommended fix is to store a stable provider-supplied event ID in a database with a unique constraint, using an atomic insert to reject duplicates before any side effects are applied. Wrapping both the deduplication claim and the business logic in a single database transaction prevents partial failures from causing inconsistent state. Applying these patterns — fast acknowledgment, database-backed deduplication, and transactional side effects — eliminates most categories of webhook-related production incidents.

0
ProgrammingDEV Community ·

Developer builds open-source TypeScript library to model SCHD dividend growth

A software developer has released an open-source TypeScript library called dividend-math, designed to simulate dividend reinvestment growth over time. The library centers on a pure function called dripCalculator, which models year-by-year share accumulation, price appreciation, and dividend growth. It was built to illustrate how ETFs like SCHD, which have historically grown dividends at roughly 10–12% annually, can outperform higher but stagnant yields over long holding periods. The tool powers several calculators on dividendpayoutcalculator.com, including a dedicated SCHD calculator that accounts for quarterly dividend payments. The library is available on npm under an MIT license, with source code hosted on GitHub.

0
ProgrammingHacker News ·

Engineer revives four-year-old reMarkable 2 tablet using SSH access

A hobbyist successfully restored a four-year-old reMarkable 2 e-ink tablet that had stopped functioning properly. The fix was documented in a personal blog post published on August 9, 2026. The process involved accessing the device over SSH, a secure remote shell protocol that reMarkable devices support by default. The author shared technical steps taken to diagnose and revive the hardware without replacing it. The project highlights how SSH access can extend the lifespan of consumer electronics through DIY repair.

0
ProgrammingDEV Community ·

How ESP32's LEDC Module Uses PWM to Control LED Brightness

The ESP32 microcontroller includes a built-in peripheral called LEDC (LED PWM Controller) that dims LEDs using Pulse Width Modulation, a technique that switches LEDs on and off faster than the human eye can detect. The original ESP32's LEDC module contains 4 timers and 16 channels, all configured by writing to 32-bit peripheral registers. Dimming an LED requires three main steps: configuring a timer with the desired frequency and bit resolution, linking an LEDC channel to that timer, and writing a duty cycle value to set brightness. Once configured, the LED runs autonomously at the set brightness with no CPU involvement, and brightness can be updated at runtime by writing a new duty cycle value or triggering a hardware-managed smooth fade.

0
ProgrammingDEV Community ·

Distributed Storage Explained: How It Works and When It Makes Sense

Distributed storage spreads data across multiple nodes so that individual hardware failures do not cause outages or data loss, unlike single-node systems where one crash can mean total downtime. Around 68% of mid-size and larger organizations already run distributed storage, with high availability and failure tolerance cited as the primary driver by 74% of them. Core mechanisms include consistent hashing to distribute data across nodes, replication for hot data, and erasure coding for capacity-sensitive cold storage. Systems must also choose between strong consistency, which prevents data conflicts but may reduce availability during network splits, and eventual consistency, which prioritizes uptime at the risk of temporary staleness. Experts caution that distributing too early adds significant complexity, cost, and a steep learning curve, making single-node setups the practical choice for workloads under 10TB with no strict uptime requirements.

0
IndiaTimes of India ·

Telangana plans new economic hubs to expand Hyderabad's urban footprint

Hyderabad is set for significant urban expansion as Telangana's government moves to manage the city's growing population. New economic centres are being planned to relieve congestion in existing overloaded areas. The strategy places strong emphasis on upgrading infrastructure and improving connectivity across the city. Authorities are also prioritising lake restoration and increasing green cover as part of the initiative. The overall goal is to achieve sustainable urban growth while enhancing public services for residents.

0
ScienceWIRED ·

How to Prepare Your Digital Assets for Transfer After Death

Managing and passing on digital assets to loved ones after death remains a complex and unresolved challenge. Unlike physical property, digital accounts and files often involve platform-specific terms of service that complicate inheritance. However, experts suggest that proactive steps taken during one's lifetime can significantly ease the process for surviving family members. These steps may include documenting account credentials, designating legacy contacts, and using password managers. Planning ahead remains the most practical way to ensure digital assets are accessible to those left behind.

0
IndiaNDTV ·

AAP and BJP Clash Over Rs 100 Crore Guru Ravidas Centre in Punjab

A proposed Guru Ravidas Centre in Naugajan village, Punjab, has become the latest flashpoint between the AAP and BJP. The facility is planned across approximately 10.5 acres and is estimated to cost around Rs 100 crore. It will include a research and study centre dedicated to the life and teachings of Guru Ravidas. The project has intensified political rivalry between the two parties, with both seeking to consolidate support among Punjab's Dalit community.

0
IndiaTimes of India ·

US Nuclear-Monitoring Satellites Accidentally Detected First Gamma-Ray Burst in 1967

Gamma-ray bursts are among the most energetic explosions ever observed in the universe. They were first accidentally discovered in 1967 by American Vela satellites, which were originally deployed to monitor nuclear tests. The unexpected detection puzzled scientists for decades before researchers were able to trace the bursts to distant cosmic phenomena. Subsequent studies linked these powerful explosions to events such as massive stellar collapses and collisions between neutron stars. Despite significant progress, the mechanics behind their intense jets remain not fully understood.

0
IndiaTimes of India ·

Bagworm caterpillars build and carry portable silk-and-leaf shelters on their backs

Bagworm caterpillars protect themselves by constructing portable cases using self-produced silk combined with leaves, twigs, and plant debris. The insect carries this self-made shelter at all times, using it for both protection and camouflage against predators. As the caterpillar grows, it continuously adds more material to the exterior of the case to keep pace with its size. Some cases are assembled from small sticks, giving them a log-cabin-like appearance that helps the insect blend seamlessly into its natural surroundings.

0
ProgrammingDEV Community ·

Silent 200 Responses Can Hide Empty Pages in Automated Policy Checks

A developer running automated legal-document checks discovered their script was silently passing client-rendered pages that returned HTTP 200 but contained almost no actual text. Pages like peerlist.io/terms and daily.dev/terms delivered under 100 characters of content — essentially empty JavaScript shells — while a real legal document typically contains 20,000 or more characters. Because the script used a negative assertion, treating 'no clause found' as a pass, an empty document produced the same result as a genuinely clean one. The Substack publisher agreement, which contained a clause the developer needed to flag, was nearly missed entirely due to this flaw. The fix involves validating input before grepping: checking minimum text length, confirming legal-document markers are present, and returning an 'UNRESOLVED' verdict rather than silently defaulting to clean.

0
IndiaNDTV ·

Taiwan Plans Drone-Heavy Defense Strategy to Repel Potential Chinese Invasion

Taiwan has developed a defense strategy centered on drone warfare to counter a possible Chinese military invasion. The plan involves deploying drones to detect and monitor incoming Chinese forces as they approach the island. These unmanned systems would then be used to strike enemy troops before they can secure a position on Taiwanese soil. The strategy aims to create an overwhelming aerial threat that would make any amphibious assault extremely costly for China.

0
ProgrammingDEV Community ·

Developer Launches 'Clear To Fly', an International Travel Guide Website

'Clear To Fly' is a newly launched website designed to serve as a comprehensive travel guide for international travelers. The platform aims to provide users with essential information and guidelines needed for international travel. The project was shared by a web developer marking their 150th day in the web development community. The site is hosted on Firebase and is publicly accessible online.

0
ProgrammingDEV Community ·

Why Magic Links in Logs and Support Tools Create Hidden Security Risks

Passwordless authentication systems can inadvertently expose login credentials when full magic link URLs are recorded in logs, traces, and support dashboards. Despite being considered temporary, a valid magic link functions as a credential and should be treated with the same care as a password. Security standards from OWASP and NIST warn against storing sensitive authenticators in adjacent systems with weaker access controls and longer data retention. The risk is largely internal rather than external, as developers and support staff routinely copy full URLs during normal debugging workflows. Experts recommend logging only redacted metadata — such as attempt IDs, delivery status, and masked recipient hints — rather than complete verification URLs or raw token values.

← NewerPage 81 of 2347Older →