SShortSingh.
0
ProgrammingDEV Community ·

How One Developer Built a Battery-Efficient Geofencing App to Auto-Silence Phones

A developer built Muffle, an Android app that automatically silences a phone based on the user's location, after repeatedly forgetting to manually toggle sound settings in places like mosques and boardrooms. The app uses Google Play Services' GeofencingClient, which offloads location monitoring to the device's hardware, avoiding the battery drain of constant GPS polling. The system detects boundary crossings using a mix of cell towers, Wi-Fi, and GPS, then fires a background trigger even when the app is not actively running. To handle overlapping location zones, the developer implemented a priority-based queue that determines which sound profile should be active at any given time, preventing erratic toggling. A key challenge was the delayed exit trigger, where the system intentionally waits before confirming a user has left a zone to avoid false callbacks caused by signal fluctuations near boundaries.

0
ProgrammingHacker News ·

Thomson Reuters Launches Proprietary Frontier AI Model Backed by Its Data Assets

Thomson Reuters has announced the launch of its own frontier AI model, leveraging its proprietary data assets. The company made the announcement in August 2026 via an official press release. Thomson Reuters positions its world-class data holdings as a key differentiator for the new model. The move signals the company's deeper push into AI-powered products and services for legal, tax, and financial professionals.

0
ProgrammingDEV Community ·

Microsoft Foundry IQ Now Supports Audio and Video as Indexed Knowledge Sources

Microsoft has integrated Azure Content Understanding into Foundry IQ standard mode, enabling organizations to extract and index content from audio, video, documents, and images for use in AI agent workflows. The integration, announced at Build 2026 and available from the 2026-05-01-preview API release, addresses a longstanding gap where recorded meetings and calls remained unsearchable despite containing valuable institutional knowledge. Developers have two ingestion paths: a native pipeline mode activated by a single property flag on file-based sources, and an explicit approach where Content Understanding is run independently before indexing the output as text. Microsoft's current documentation emphasizes document understanding over audio and video, so developers are advised to verify media-type support in their specific region and API version before building workflows around it. The explicit path is recommended as a reliable fallback that also makes adopting the native path straightforward once full media support is confirmed.

0
IndiaTimes of India ·

Sam Altman warns handful of tech giants could monopolize AI development

OpenAI CEO Sam Altman has voiced concern that artificial intelligence could end up controlled by a small group of powerful corporations, including Microsoft, Amazon, Google, Meta, and Nvidia. He stressed the importance of society and AI systems developing in tandem rather than one outpacing the other. Altman also acknowledged that his earlier predictions about AI timelines were overly optimistic. He noted that the economy's natural resistance to rapid change can slow down technological adoption, potentially allowing for a more measured transition to AI-driven advancements.

0
IndiaTimes of India ·

Heavy Rain Hits Delhi-NCR, Schools and Offices Switch to Remote Mode

Delhi-NCR was struck by heavy rainfall on Tuesday, following a significant downpour the previous day. Authorities instructed corporate offices and schools in the region, particularly in Gurgaon, to shift to work-from-home and online learning arrangements. Widespread waterlogging and traffic congestion severely disrupted daily life across the capital. Civic agencies mobilized to clear drainage systems and carry out emergency road repairs. The flooding added to residents' frustrations, as similar conditions had already affected the region just weeks prior.

0
IndiaNDTV ·

Trump Discloses $15K–$50K Investment in Musk's SpaceX

Former US President Donald Trump purchased SpaceX shares worth between $15,001 and $50,000, according to a financial disclosure document. The transaction was recorded on June 23, with Trump signing the disclosure on August 12. The document was made available to the public on August 22. The investment draws attention given Trump's political relationship with SpaceX founder Elon Musk.

0
IndiaTimes of India ·

Brent Crude Holds Above $90 Amid Middle East Tensions and US Iran Sanctions

Brent crude oil prices remained above $90 per barrel as geopolitical tensions in the Middle East intensified. Fresh US sanctions targeting Iran's financial resources prompted investors to reassess risks to regional oil supplies. Concerns were further heightened after an oil tanker sustained damage off the coast of Oman. Analysts noted that economic pressures helped temper fears of a major supply disruption from the Middle East. The developments coincided with US crude oil reserves falling to their lowest level since 1982.

0
IndiaNDTV ·

Iran Warns of Military and Economic Retaliation Amid Escalating US Sanctions

Iran has issued strong warnings of retaliation following moves by the Trump administration to expand sanctions against the country. Tehran signaled it is fully prepared to respond, with threats encompassing both potential military action and further cuts to oil exports from the Gulf region. These warnings were made even before any formal US economic measures were officially announced. The escalating rhetoric reflects deepening tensions between Washington and Tehran over economic and geopolitical disputes.

0
ProgrammingDEV Community ·

Developer Builds 'Judgment Loop' Tool to Prevent AI From Confidently Answering the Wrong Question

A developer has released an open-source agent skill called Judgment Loop, designed to address a subtle but critical flaw in AI systems: producing confident, well-structured answers before the actual problem is properly defined. The tool acts as a reasoning guardrail that routes AI responses through five modes — Quick, Decision, Research, Learning, and Review — each tailored to the stakes and uncertainty of a given query. Rather than generating recommendations outright, Judgment Loop prompts the AI to identify what reality needs to change, flag unverified assumptions, and propose the cheapest test to challenge its own conclusions. The skill is intentionally proportional, reserving its full analytical process for high-consequence or uncertain decisions while keeping simpler tasks lightweight. Released under an MIT-0 license, the project includes a runtime file, worked examples, evaluation cases, an OpenAI agent interface, and a Simplified Chinese translation.

0
ProgrammingDEV Community ·

When passing tests still let a software bug slip through undetected

A developer maintaining qbofile, a browser-based accounting file converter, discovered that green unit tests can mask incorrect logic when both sides of an assertion are generated by the same flawed code. The bug involved converting transaction split amounts from IIF format, used by QuickBooks Desktop, to QIF format, read by Quicken and GnuCash, where a sign convention error would cause both sides of the test equation to flip simultaneously, keeping tests green. Mutation testing confirmed the assertions were wired to the code but could not determine whether the underlying logic was correct. The developer resolved the uncertainty by building a purpose-designed QIF file and importing it into GnuCash, verifying the split totals were accurate — turning a confident assumption into a confirmed measurement. Separately, a real defect was uncovered during the review process, unrelated to signs and involving how IIF payee and memo fields map to QIF's distinct P and M fields.

0
ProgrammingDEV Community ·

AWS Shared Responsibility Model: What Cloud Security Falls on You vs. AWS

The AWS Shared Responsibility Model divides cloud security into two distinct domains: AWS secures the underlying infrastructure, while customers are responsible for what they deploy and configure on top of it. AWS covers physical data centers, hardware lifecycle, hypervisor isolation, global network security, and patching of managed services like RDS and S3. Customers are accountable for data encryption, identity and access management, OS patching on IaaS instances, network configuration, and credential management. The boundary between these responsibilities shifts depending on the service model used — IaaS, PaaS, or SaaS — meaning there is no single fixed line applicable to all scenarios. Most real-world cloud security incidents stem not from AWS failures but from customers mistakenly assuming AWS handles tasks that are actually their own responsibility.

0
IndiaNDTV ·

Two UP Children Go Missing After Attempting YouTube Secret House Challenge

Two children in Uttar Pradesh left their home after being inspired by a 'Secret House Challenge' trend on YouTube. The incident prompted a swift response from local police and the state's Mission Shakti team. Authorities launched a search operation and successfully located both children within approximately two hours. The children were safely recovered and reunited with their respective families.

0
IndiaTimes of India ·

Iran Tells US Coercion Won't Work as Pezeshkian Meets Pakistan Army Chief

Iranian President Masoud Pezeshkian held talks with Pakistan Army Chief Asim Munir in Tehran amid rising regional tensions and ongoing US sanctions. Pezeshkian called on the United States to reconsider its approach toward Iran, warning that pressure tactics obstruct diplomatic progress. He stressed that coercive methods make meaningful negotiations more difficult rather than productive. Both leaders underscored the importance of bilateral cooperation in promoting peace and stability across the region.

0
ProgrammingDEV Community ·

Developer disables semantic cache after tests reveal it returns opposite answers with full confidence

A developer building a regulatory document retrieval system implemented a semantic cache using cosine similarity to avoid redundant model calls, setting a threshold of 0.92 to match near-identical questions. After a colleague challenged the safety of that threshold, a six-day investigation revealed the cache could return answers to questions with opposite meanings — such as 'patients with fever' versus 'patients without fever' — without any warning signal. Testing with 20 handcrafted Spanish administrative question pairs showed the highest adversarial similarity reached 0.9984, while the lowest genuine paraphrase scored only 0.7470. This meant no threshold could safely distinguish opposite-meaning questions from true paraphrases, making the cache fundamentally unsafe for rule-based queries where citation accuracy is critical. The developer disabled the cache by default and published a full write-up, noting that a bad cache hit is more dangerous than a bad search ranking because it bypasses the model entirely and shows no sign of failure.

0
ProgrammingDEV Community ·

Why Backtests Lie: The Overfitting Traps Every Quant Trader Must Avoid

In quantitative trading, a profitable backtest is easy to produce but often meaningless, as strategies tuned on historical data tend to memorize noise rather than capture genuine market patterns — a problem known as overfitting. Key culprits include multiple testing, where running thousands of parameter variations almost guarantees a winner by chance, and lookahead bias, where future data inadvertently leaks into past decision points. Survivorship bias further distorts results when backtests exclude delisted or bankrupt assets, while ignoring realistic transaction costs and slippage can make a losing strategy appear highly profitable. Experts recommend walk-forward testing on rolling out-of-sample windows, keeping a locked holdout dataset touched only once, and favouring strategies with fewer parameters that perform robustly across a range of settings. Accounting honestly for the total number of strategies tested — using tools like the deflated Sharpe ratio — is essential to distinguishing a genuine edge from a statistical accident.

← NewerPage 254 of 3329Older →