SShortSingh.
0
IndiaTimes of India ·

Iran Fires Ballistic Missiles at US Military Base in Jordan; Most Intercepted

Iran launched a ballistic missile attack targeting a US military base near Al Azraq, Jordan. Jordanian air defenses successfully intercepted the majority of the missiles, with two landing in unpopulated areas causing no reported casualties. The strike triggered a reaction in global energy markets, pushing Brent crude oil prices higher. Separately, Iran-backed Houthi forces in Yemen also carried out strikes on cities in Saudi Arabia. The escalating tensions in the region are raising concerns over the security of military installations and key energy supply routes.

0
ProgrammingDEV Community ·

Dev tutorial: Build a React hook to sync state across browser tabs natively

A developer tutorial published on DEV Community walks through building a custom React hook called useSyncedState that keeps application state consistent across multiple browser tabs. The solution uses two built-in browser APIs — BroadcastChannel for instant state fan-out and navigator.locks for exclusive write coordination — without requiring any third-party libraries. Each tab registers a shared channel listener and acquires a mutex lock before writing, preventing race conditions and split-brain mutations. The hook also tags outgoing messages with a unique session ID to avoid echo loops, and includes fallback logic for environments where these APIs are unavailable, such as server-side rendering. The author shares the full implementation on GitHub alongside real-world use cases for multi-tab dashboards and collaborative interfaces.

0
IndiaNDTV ·

Delhi Home Robbed of Cash and Jewellery, Two Domestic Workers Missing

A Delhi resident's home was burglarized, with cash and jewellery stolen from the premises. Two domestic helpers employed at the household are currently under police scrutiny in connection with the theft. The workers reportedly had access to keys of the house, making them prime suspects in the case. Both individuals have been untraceable since the incident occurred, raising suspicions about their involvement.

0
IndiaNDTV ·

Corporate Bonds Offer 10% vs FDs at 7%, But Come Without Deposit Insurance

Corporate bonds are currently offering returns of around 10%, compared to roughly 7% offered by bank fixed deposits. While the 3% difference may seem attractive, the two instruments carry very different risk profiles. Bank fixed deposits are protected by the Deposit Insurance and Credit Guarantee Corporation (DICGC), which insures deposits up to Rs 5 lakh per bank. Corporate bonds, however, carry no such government-backed insurance cover. Investors are therefore advised to weigh the higher yield against the absence of a safety net before chasing the extra returns.

0
IndiaTimes of India ·

Ben and Casey Affleck's Father Timothy Affleck Dies After Mother's June Passing

Actors Ben and Casey Affleck have announced the death of their father, Timothy Byers Affleck. The loss comes shortly after the brothers lost their mother, Christopher Anne Affleck, who passed away in June. Timothy had a varied career as an actor and playwright, and after overcoming alcoholism, he went on to work as a counselor at an alcohol rehabilitation center. The Affleck brothers paid tribute to both parents by dedicating Casey's film 'Company,' screened at the Venice Film Festival, in their honor.

0
ProgrammingDEV Community ·

cursor-history CLI Lets Developers Search Cursor Chat Logs Across All Workspaces

A new open-source command-line tool called cursor-history allows developers to search through Cursor IDE chat conversations stored locally across multiple workspaces. The tool requires no API key, embeddings, or prior capture hooks, and can read chat history that existed before installation. It supports case-insensitive text matching and lets users list, search, export, and inspect sessions using simple commands via Node.js 20.x or compatible versions. Results can be scoped to a specific workspace or searched globally, with session exports available in JSON format for further inspection. Developers working across many projects can use it to quickly locate past debugging conversations, such as finding which project contained a specific authentication or connection-related discussion.

0
ProgrammingHacker News ·

Harvard Study Can Predict Most Suicide Attempts Up to a Week Ahead

Researchers at Harvard University have developed a method capable of predicting the majority of suicide attempts up to one week before they occur. The study draws on measurable indicators to identify individuals at elevated risk within a defined timeframe. This advance could give clinicians and mental health professionals a critical window to intervene before a crisis unfolds. The findings represent a significant step forward in suicide prevention, which remains a major global public health challenge.

0
IndiaTimes of India ·

Tom Brady and Gisele Bündchen's Luz Foundation Faces Scrutiny Over Donation Practices

The Luz Foundation, established by former couple Tom Brady and Gisele Bündchen, has come under scrutiny for its donation practices spanning 2007 to 2019. The foundation directed funds toward a variety of environmental and humanitarian causes during that period. Seeking greater impact, Gisele later created the Luz Alliance Fund as a separate philanthropic vehicle. The newer fund notably contributed to disaster relief efforts in Brazil following severe flooding. Both Brady and Bündchen continue to pursue philanthropic work through various partnerships.

0
ProgrammingDEV Community ·

Solo self-taught dev launches AURUM, a fintech platform where achievements are backed by real money

A self-taught solo developer has built and launched AURUM, a social fintech platform where users stake real money on their achievements rather than simply posting them. The platform features mechanics such as proof-of-stake wins, one-on-one duels with escrowed funds, community-based verification, and a tipping system that pools contributions for eventual winners. Built without a co-founder, formal funding, or a computer science degree, the developer handled every aspect of the project independently. The technical stack includes Cloudflare Workers, D1 (SQLite), Clerk for authentication, Paystack for payments, and a plain JavaScript PWA frontend. AURUM is now live at tryaurum.store, with the developer inviting feedback on both the product and its underlying architecture.

0
IndiaTimes of India ·

Wasim Akram slams Pakistan players' attitude after whitewash in Test series

Pakistan's dismal Test series performance has drawn sharp criticism from cricket legend Wasim Akram, who admitted he anticipated a 3-0 defeat. The Pakistan Cricket Board took sweeping action following the second Test, sending seven players home and dismissing head coach Sarfaraz Ahmed along with his support staff. Akram expressed sympathy for the players but pointed to poor attitude as a key factor behind the team's struggles. The PCB's drastic measures have surprised many in the cricket world, highlighting the depth of the crisis within Pakistan cricket.

0
ProgrammingDEV Community ·

IP Address and DNS Explained: How the Internet Finds Every Website

Every device connected to the internet is assigned a unique numerical identifier called an IP address, which functions like a physical location address for online servers. There are two versions in use: IPv4, which supports around 4.3 billion addresses and is nearing exhaustion, and IPv6, which offers a virtually unlimited pool of addresses to accommodate growing global device counts. Since humans cannot easily memorize numerical IP addresses, the Domain Name System (DNS) acts as the internet's phonebook, translating readable domain names like instagram.com into their corresponding IP addresses. When a user types a domain into a browser, a multi-step DNS resolution process — involving resolvers, root servers, TLD servers, and authoritative servers — returns the correct IP address, all within milliseconds. To avoid repeating this lookup every time, browsers cache DNS results locally for a period, significantly speeding up repeat visits to the same site.

0
ProgrammingDEV Community ·

Silent PHP bug served empty pages as 200 OK, triggering Google indexing issues

A PHP web application was silently serving deleted or inactive content pages with HTTP 200 responses instead of the expected 302 redirects, due to a flawed metadata guard condition. The bug stemmed from array_merge returning a non-empty array even when no real metadata existed, causing the redirect check to never fire. As a result, Google Search Console flagged hundreds of URLs over several weeks for issues including duplicate canonicals and unindexed crawled pages, with no errors appearing in application logs. The root fix was changing the guard from checking whether the metadata array existed to checking whether a specific required field, the page title, was present. The corrected condition ensured inactive or deleted URLs properly redirected users and search engine crawlers to the relevant section listing page.

0
IndiaTimes of India ·

Oil Nears $100 a Barrel Amid Rising US-Iran Military Tensions

Crude oil prices edged closer to $100 per barrel on Wednesday, extending gains for a fourth consecutive session. The surge follows a sharp escalation in hostilities between the United States and Iran. Iran launched missile strikes on US positions after American forces destroyed Iranian oil tankers. The tit-for-tat military exchanges have injected significant uncertainty into global oil markets. Analysts warn that continued volatility is likely as long as the conflict remains unresolved.

0
ProgrammingDEV Community ·

How to Control Mac Mini 5,2 CPU Fan Speed on Ubuntu 24.04

Users running Ubuntu 24.04 on a Mid 2011 Mac mini 5,2 can manage CPU fan speeds using the applesmc and mbpfan tools. The Linux applesmc driver exposes Intel Mac temperature sensors and fan controls through the sysfs interface, allowing manual or automated speed adjustments. mbpfan version 2.4.0 is available as a standard package in Ubuntu 24.04 and links fan speed to CPU temperature readings from coretemp. Users can configure temperature thresholds and fan speed limits in the mbpfan configuration file based on values reported by their specific hardware. Leaving the fan in manual mode at low RPM is flagged as a risk, since it prevents the fan from responding to increased CPU or GPU load.

← NewerPage 918 of 4786Older →