SShortSingh.
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.

0
ProgrammingDEV Community ·

Why AI-Generated Tests Can't Verify Their Own Code Changes

Software engineers face a hidden flaw in AI-assisted development: when an AI agent writes both a code patch and its accompanying tests in the same session, the tests cannot serve as independent verification. Because both artifacts share the same context and assumptions, a passing test suite may simply confirm the agent's own interpretation rather than the original ticket's requirements. The author proposes a three-lane workflow to address this, involving spec-isolated properties, content-addressed fixtures, and a skip budget that agent-generated diffs cannot modify. A key safeguard is deriving test contracts directly from ticket text in a separate workspace, before the agent session begins, with oracle files locked from agent edits. The article presents this as a practical workflow pattern rather than a formally studied solution, offering reproducible code skeletons for teams to adapt.

0
ProgrammingDEV Community ·

Open Source AI Gateway Bifrost Passes Real-World Access Control Test by Court Staffer

A California county court operations staffer tested Bifrost, an open source AI gateway from Maxim AI, to evaluate its role-based access control capabilities. The author built three distinct roles mirroring real courtroom staff — interpreter, reporter, and clerk — each scoped to different AI models and daily spending limits. All nine access attempts behaved as configured, with every expected refusal blocked at the gateway level before reaching the AI provider and logged with the associated role name. The test highlighted a key principle the author applies in actual court work: permissions should map to job functions, not titles, following the least-privilege model familiar from tools like AWS IAM. The author also drew a parallel to California court rules, which presume records are open but require any sealing orders to be narrowly tailored — mirroring how access control policies should be designed.

0
IndiaTimes of India ·

Manu Bhaker's Grandmother Passes Away in Rohtak Amid Difficult Phase

Olympic shooter Manu Bhaker has suffered a personal loss with the passing of her grandmother in Rohtak. The news reached her while she was training in Bhopal ahead of the Asian Games. Bhaker immediately left the training camp to travel to her native village. The loss comes at an already challenging time for the athlete, who has also been dealing with a recent fallout involving her coach Jaspal Rana.

0
IndiaNDTV ·

South Park Renames Itself in Satirical Jab at Trump's Renaming Push

Emmy-winning animated satire South Park has announced a name change as a dig at President Donald Trump. The move is a direct parody of Trump's recent efforts to rename major geographic landmarks. Trump had pushed to rename the Gulf of Mexico as the Gulf of America and Lake Ontario as Lake America. The show's creators used the renaming stunt to mock what critics see as symbolic but controversial presidential directives.

← NewerPage 917 of 4785Older →