SShortSingh.
0
SportsESPNcricinfo ·

Naveen-ul-Haq recalled to Afghanistan squad for India T20I series

Afghanistan fast bowler Naveen-ul-Haq has been named in the squad for their upcoming T20I series against India, marking his return to the side. The pacer's last appearance for Afghanistan was in December 2024, making this a notable comeback after a gap. The series also marks a leadership transition, with Ibrahim Zadran officially appointed as Afghanistan's T20I captain. Zadran's captaincy appointment signals a new era for the Afghan side heading into the high-profile contest against India.

0
ProgrammingDEV Community ·

How to Enrich Elasticsearch Logs With GeoIP Data at Ingest Time

Elasticsearch includes a built-in GeoIP processor that can automatically enrich log documents with geographic data — such as country, city, and coordinates — at the time of indexing. The processor uses free MaxMind GeoLite2 databases, which Elasticsearch downloads and updates automatically, requiring no manual plugin installation. Enrichment is configured through an ingest pipeline, and the _simulate API can be used to test it before applying it to live data. A critical setup step is mapping the location field as geo_point in an index template before indexing, without which Kibana maps will render empty. Private and internal IP addresses return no geo data by design, so pipelines should be configured with ignore_missing set to true to handle such events gracefully.

0
IndiaTimes of India ·

FSSAI Scrutinises Whisky Makers Over Fake Age Claims and Flavor Additives

India's Food Safety and Standards Authority (FSSAI) has launched an investigation into alcoholic beverage manufacturers over alleged regulatory violations. The probe centers on the use of flavor additives designed to replicate the characteristics of naturally aged spirits. Authorities are also examining whether brands are making misleading age claims on their product labels. Consumers have been advised to read labels and disclosures more carefully when purchasing alcoholic beverages. The crackdown reflects mounting concerns among regulators about transparency and authenticity in the Indian spirits industry.

0
ProgrammingDEV Community ·

Developer Builds Cloud-Free Face Recognition Door System Using Local Hardware

A France-based home AI developer has built a face recognition system for their front door that runs entirely on locally owned hardware, with no data sent to external servers or cloud platforms. The system detects faces, converts them into mathematical fingerprints, and compares them against a small enrolled local database, completing inference in one to two seconds on low-power hardware. Rather than alerting the user every time a known face appears, the system is designed to stay silent for recognised individuals and only notify when an unrecognised person is detected. The developer found that roughly 40 percent of real-world door events produced no usable facial data due to poor angles, lighting, or motion, highlighting the limits of relying on face recognition alone. To address this, the system cross-checks multiple inputs — including phone presence and door sensor data — to reach more reliable conclusions than any single sensor could provide.

0
ProgrammingDEV Community ·

api-diff v0.2.0 launches with array validation and onDrift callback support

The npm package @nakshatra6350/api-diff has released version 0.2.0, adding two new features: array validation and an onDrift callback. The tool recorded over 158 downloads within three days of its initial launch. The update was announced by developer nakshatra6350 on DEV Community. The package is available for installation via npm and its source code is hosted on GitHub.

0
ProgrammingDEV Community ·

Why Flexible Python Dicts at API Boundaries Create Hard-to-Debug Production Bugs

A software engineering article on DEV Community argues that using Python dicts to handle inbound data across trust boundaries — such as HTTP request bodies or webhook payloads — is a common source of subtle production bugs. The core problem is that dicts silently accept wrong types, missing fields, or null values without raising errors at the point of entry, letting bad data travel deep into the application stack. In a practical example, a user ID arriving as a string instead of an integer passes through a dict-based handler undetected, only failing later inside infrastructure or database code with a misleading stack trace. The article recommends validating all external data strictly at the boundary — using tools like Pydantic — so that type mismatches are caught immediately rather than propagating downstream. The guiding principle offered is to keep data structures strict at trust boundaries and reserve flexibility only for internal application logic where the data shape is already controlled.

0
IndiaTimes of India ·

Ukraine Marks Four Years of War as Grinding Conflict Reshapes European Security

Russia's full-scale invasion of Ukraine has now stretched into its fifth year, with fighting showing no signs of a swift resolution. The conflict has increasingly resembled First World War-style trench warfare, inflicting heavy human and financial losses on both sides. Ukraine has managed to sustain its defenses through a combination of battlefield adaptability and continued support from Western allies. The prolonged attritional struggle is testing the endurance of both nations while fundamentally altering Europe's broader security landscape.

0
IndiaNDTV ·

Bihar Exam Official's 'Dogs Bark' Slur Against Student Protesters Sparks Backlash

A Bihar exam officer sparked controversy after making a derogatory 'dogs bark' remark directed at students who were protesting. The comment drew sharp criticism and triggered a political row in the state. Leader of Opposition Tejashwi Yadav visited the Gardanibagh protest site to express solidarity with the agitating students. Yadav publicly demanded an apology from the official over the inflammatory remarks.

0
IndiaNDTV ·

Suspect Arrested in 2021 Manipur Ambush That Killed Army Colonel and Family

A 28-year-old suspect named Thiyam Boycha Singh, also known as Balin, has been arrested in connection with a 2021 Manipur ambush that killed an Army Colonel, his wife, and son. The arrest was made during a search operation at Lilong Ushoipokpi on Saturday. A joint team comprising Thoubal CDO and 11 Assam Rifles personnel carried out the operation. The suspect had been wanted for his alleged role in the deadly attack that claimed three lives three years ago.

0
WorldBBC World ·

Sean Grayson, officer convicted of killing Sonya Massey, dies in prison

Sean Grayson, the former US police officer convicted of murdering Sonya Massey, has died while incarcerated. He had been receiving treatment for cancer at the time of his death. Grayson was found guilty of shooting Massey, a Black woman, inside her home in Illinois. The case drew widespread attention and renewed national debate over police brutality and the use of excessive force in the United States.

0
IndiaTimes of India ·

Perplexity AI in funding talks with Nvidia at over $30 billion valuation

AI search startup Perplexity, led by CEO Aravind Srinivas, is in discussions with Nvidia for a new funding round, according to The Information. The deal would value the company at more than $30 billion, representing a rise of over 50 percent from its previous valuation. The company's annualised revenue has surpassed $750 million, driven largely by its Perplexity Computer agent product. Perplexity previously made headlines with an unsolicited $34.5 billion bid to acquire Google's Chrome browser.

0
ProgrammingDEV Community ·

Developer Discovers Cloudways Auto-Banned His Own IP While Debugging Site Outage

A developer found himself locked out of his own website, Rev6, hosted on Cloudways via DigitalOcean, while his phone could access it without issue. Extensive local network debugging ruled out router settings, firewalls, VPNs, and ISP issues as the cause. The phone comparison proved misleading, as Brave's built-in VPN was routing its traffic through a different public IP address entirely. Testing from an external network revealed an active connection refusal rather than silence, pointing to a server-side block. Cloudways' automated Bot Protection feature had blacklisted the developer's home IP, flagging it under the Philippines country filter with no human review involved.

0
ProgrammingDEV Community ·

Why Knowing When to Quit a Job Is a Skill, Not a Failure

A software professional reflects on leaving three jobs over his career, each time carrying a sense of failure that he later recognised as a recurring pattern worth examining. Drawing on frameworks from Seth Godin's 'The Dip' and Steven Bartlett's 'Happy Sexy Millionaire', he argues that the cultural narrative equating persistence with virtue and quitting with weakness is both durable and costly. Godin's taxonomy of workplace situations — the Dip, the Cul-de-sac, and the Cliff — offers useful vocabulary, but the author notes it is far easier to apply in hindsight than in the moment. He cites Stewart Butterfield's exits from failed projects before building Flickr and Slack as evidence that timely quitting can clear the way for better outcomes. The author concludes that sunk-cost thinking compounds the cost of staying too long, and that recognising a dead end early is a practical skill rather than a moral failing.

0
TechnologyBBC Tech ·

Twitch and Amazon sued over alleged unauthorized AI training on livestreams

Twitch and its parent company Amazon are facing a lawsuit over claims that they used streamers' livestream content to train artificial intelligence models. The legal action alleges that this was done without obtaining proper consent from the content creators involved. Streamers also claim they were not adequately compensated for the use of their videos. The case raises broader questions about the rights of online creators whose content may be used to develop AI systems.

0
ProgrammingDEV Community ·

Developer Analyzes 1,427 Personal AI Prompts and Finds a Gap Between Skill and Self-Perception

A developer analyzed 1,427 of their own AI prompts collected over six weeks, between mid-June and late July, to study how their questioning style had evolved over six months of AI use. The data showed significant shifts: adversarial and verification-focused prompts grew fivefold, while prompts about methodology and governance nearly tripled, and average prompt length jumped from roughly 200 to 1,000 characters. Despite this measurable growth, the same prompt logs revealed recurring expressions of self-doubt, including fears of wasting time and believing others were more capable. The author noted a striking contradiction: on the very days they wrote anxious, self-questioning prompts, they were also independently designing controlled cross-model experiments with proper variable isolation — without any formal statistics or engineering training. The piece concludes that the author's self-assessment had remained frozen six months in the past, failing to reflect the sophistication their own data clearly demonstrated.

0
IndiaNDTV ·

Supreme Court Judge: Tiny Fraction of Kumbh Budget Could Have Saved 125 Marathi Schools

Justice PB Varale has highlighted a stark funding contrast involving the Nashik Kumbh Mela expenditure and struggling Marathi-medium schools. The judge stated that even 0.1 per cent of the budget allocated for the Nashik Kumbh could have been sufficient to prevent 100 to 125 Marathi schools from shutting down. His remarks served as a pointed critique of government spending priorities in Maharashtra. The statement underscores growing concerns over the financial neglect of Marathi-medium educational institutions in the state.

← NewerPage 163 of 3210Older →