SShortSingh.
0
ProgrammingDEV Community ·

Reliability vs Availability: Key Metrics and Patterns Every Engineer Should Know

Reliability and availability are distinct system quality measures: reliability means a system performs correctly without failure, while availability refers to how often it is operational when needed. Availability is calculated as uptime divided by total time and is commonly expressed in percentages, with services like Google Search and AWS S3 targeting 99.99% uptime. Key reliability metrics include Mean Time Between Failures (MTBF) and Mean Time To Recovery (MTTR), with availability improvable by either failing less often or recovering faster. Human error accounts for 70–80% of outages, stemming from misconfigurations, deployment mistakes, and accidental deletions. Engineers can build high-availability systems using strategies such as redundancy, health checks, circuit breakers, and retry logic with exponential backoff to handle failures gracefully.

0
IndiaTimes of India ·

BCCI agrees to house players in designated Asian Games hotels

The Board of Control for Cricket in India (BCCI) has agreed to accommodate its players in the officially designated hotels for the Asian Games. BCCI vice-president Rajeev Shukla confirmed the decision on Tuesday. The board had earlier resisted the arrangement, but has now relented on its earlier stance. Players will no longer be housed in any alternative hotel as previously considered.

0
IndiaNDTV ·

Revanth Reddy Calls for Opposition Unity to Counter BJP at Hyderabad Event

Telangana Chief Minister Revanth Reddy addressed a memorial meeting for communist leader Sarampalli Malla Reddy in Hyderabad, where he urged opposition parties to unite against the BJP. He argued that defeating the BJP would in itself represent a significant victory for Left parties. Revanth Reddy also alleged that the BJP poses a threat through 'vote deletion', raising concerns about electoral integrity. His remarks underscored a push for broader opposition consolidation ahead of future electoral contests.

0
IndiaTimes of India ·

Delhi PG collapse kills 7 students; victim's family donates his corneas

A residential PG building in Delhi collapsed, killing seven students, including Arpit Jai. Arpit had returned home just hours earlier to celebrate Rakshabandhan before the tragedy struck. His family, after identifying his body at AIIMS, chose to donate his corneas. Authorities arrested the building owner following the incident and launched a magisterial inquiry. The collapse has raised serious concerns about the safety of student accommodation in the area.

0
IndiaTimes of India ·

Supreme Court Questions Why BCCI Should Be Exempt from National Sports Governance Act

The Supreme Court has questioned why the Board of Control for Cricket in India (BCCI) should not fall under the purview of the proposed National Sports Governance (NSG) Act. The court indicated that if the BCCI and state cricket associations agree to be covered under the Act and its rules, pending litigation related to cricket body management could be resolved outside the Supreme Court. Such cases would be transferred to a dedicated sports tribunal established under the new legislation. The development signals the court's interest in bringing cricket's governing bodies under a unified national sports governance framework.

0
SportsESPNcricinfo ·

Cricket NSW Warns BBL Privatisation Plan Threatens Future of the Game

Cricket New South Wales issued a formal statement on Wednesday opposing Cricket Australia's push to privatise the Big Bash League. The state body criticised both the decision itself and the process through which it is being pursued. Cricket NSW highlighted what it sees as significant risks that the privatisation move poses to the broader game. The statement signals growing tension between state cricket associations and the national governing body over the BBL's future ownership structure.

0
IndiaTimes of India ·

Five Abandoned Baby Orangutans Found in Odisha Forest, Smuggling Suspected

Five young orangutans were discovered abandoned in a forest in Odisha's Balasore district during a routine patrol by forest officials. The animals are not native to India, raising immediate concerns about their origin and presence in the region. Authorities believe the orangutans were likely part of a failed illegal wildlife smuggling operation. The rescued animals have been medically examined and transferred to Nandankanan Zoological Park for care. An investigation is underway to trace their entry point into the country and identify those responsible.

0
WorldBBC World ·

Tung Chee-hwa, Hong Kong's First Post-Handover Leader, Dies at 89

Tung Chee-hwa, who served as Hong Kong's inaugural Chief Executive following the territory's return to Chinese sovereignty in 1997, has died at the age of 89. He was appointed to lead Hong Kong through one of the most significant political transitions in its modern history. His time in office was turbulent, defined by a series of crises and large-scale public protests. Tung's leadership marked the beginning of a new era for Hong Kong under the 'one country, two systems' framework agreed between Britain and China.

0
IndiaTimes of India ·

Indians Back Their Schools but 76% Say Better Opportunities Lie Abroad

A new Ipsos survey spanning 16 G20 nations reveals that Indians hold unusually strong confidence in their educational institutions and the value of academic degrees. Despite this optimism about schooling, 76% of Indian respondents believe young people would find better opportunities outside the country. This highlights a sharp disconnect between trust in the education system and faith in domestic prospects for the youth. India's response stands out among G20 nations for this contrast between educational confidence and opportunity pessimism at home.

0
IndiaTimes of India ·

Anand Rathi Analyst Picks Titagarh Rail, AIA Engineering, HBL Engineering for Sep 9

Mehul Kothari, Deputy Vice President of Technical Research at Anand Rathi Shares, has named three stocks as top technical picks for September 9, 2026. The recommended stocks are Titagarh Rail Systems, AIA Engineering, and HBL Engineering. These selections are based on technical research analysis conducted by Kothari. Such stock recommendations are intended to guide investors looking for short-term trading opportunities in the Indian equity market.

0
ProgrammingDEV Community ·

Developer builds AgentGuard CI tool after testing 12 attack payloads on own repo

A developer created AgentGuard, an open-source CI security tool designed to detect malicious instructions hidden inside AI coding agent configuration files such as AGENTS.md, MCP server definitions, and hooks. To validate the tool, the author planted 12 distinct attack payloads in their own repository, including hidden instruction overrides, zero-width characters, typosquatted server hosts, and committed API keys. AgentGuard detected all 12 threats deterministically without using an LLM in the scan path, and produced zero false positives on a clean control repository. A scan of 30 public repositories on GitHub, including those from Google, Microsoft, and Nextcloud, uncovered five with critical findings. The tool is MIT-licensed, free for public repositories on the GitHub Marketplace, and its own CI gate blocked the developer's pull request during a self-test, confirming it works as designed.

0
ProgrammingDEV Community ·

Qwen Releases Qwen3.8-Flash-Next, an Experimental 125B AI Model for Coding and Agents

Qwen has published Qwen3.8-Flash-Next, an open-weight experimental language model with a vision encoder, available on Hugging Face in Transformers format. The model features 125 billion total parameters with 6 billion activated, supports a native context window of 262,144 tokens extendable to one million, and is designed for coding agents, multilingual software engineering, tool use, and multimodal computer tasks. It is intended as an architecture preview underpinning the upcoming Qwen4 release, and is distinct from the production-hosted Qwen3.8-Flash service, which includes additional features. The model achieves notable benchmark scores, including 81.0 on SWE-bench Multilingual, 91.9 on LiveCodeBench v6, and 84.5 on AndroidWorld, outperforming several earlier Qwen models on coding tasks. Its license is listed as 'other' and does not explicitly grant commercial-use rights, meaning legal review is recommended before any commercial deployment.

0
ProgrammingDEV Community ·

React Context Is a Dependency Injection Tool, Not a State Manager

Many React development teams misuse the built-in Context API as a general-purpose state management solution, which can severely degrade application performance. Because React re-renders every component consuming a context whenever its value changes, high-frequency updates — such as keystrokes — can trigger costly cascades across the entire component tree. An audit of an enterprise dashboard found that form input latency reached 250ms per keystroke due to this misuse; migrating to Zustand reduced that figure to just 12ms. Zustand and similar libraries use selector-based subscriptions, ensuring only the directly affected component re-renders on each state change. Experts recommend reserving Context for low-frequency global data like themes or authentication status, and using external stores for any state that updates rapidly.

0
ProgrammingDEV Community ·

How LectuLibre Built a Chunking System to Translate Full Books via Claude API

AI book translation platform LectuLibre discovered that the primary engineering challenge was not translation quality but Claude API's output token limits, which cap responses at around 4,096 tokens — far short of a full book's 120,000 tokens. To work around this, the team built a paragraph- and sentence-aware text chunking system that splits source content into manageable segments of up to 8,000 tokens each. An overlap of roughly 200 tokens between consecutive chunks preserves narrative context and reduces translation errors at boundaries. The system uses the tiktoken library for token counting and supports parallel processing of chunks to minimize user wait times. The approach also handles common PDF and EPUB extraction issues such as headers, footers, and chapter structures.

0
ProgrammingDEV Community ·

Firefox Extension Exports PDFs Using Only Browser APIs, No External Library

A developer building Longshot, a Firefox screenshot extension, created a 336-line PDF exporter without relying on any external PDF library. The approach works because two key tasks a PDF library would normally handle — JPEG encoding and zlib compression — are already natively supported by the browser through canvas.toBlob and CompressionStream respectively. These browser APIs align directly with PDF's built-in /DCTDecode and /FlateDecode stream filters, allowing image data to pass through without re-encoding. The developer notes this is a narrow solution covering only image placement and invisible text layers, not the full range of features a general PDF library provides. A key engineering decision was to assemble the file as raw bytes with precisely measured offsets, since a single incorrect entry in PDF's cross-reference table renders the entire file unreadable without any obvious error.

0
IndiaTimes of India ·

US-Canada trade tensions deepen as new tariffs hit dairy, alcohol and motorcycles

The United States and Canada have escalated their ongoing trade dispute by introducing fresh tariff measures against each other. The latest US restrictions specifically target Canadian dairy and alcohol products, marking a significant intensification of the conflict. In response, Canada is actively exploring ways to reduce its economic dependence on the United States. As of now, neither country has signaled plans for immediate negotiations to resolve the standoff.

← NewerPage 922 of 4793Older →