SShortSingh.
0
ProgrammingDEV Community ·

Enabling intel_iommu Does Not Activate SR-IOV; VFs Must Be Created Manually

A technical guide clarifies that setting intel_iommu=on in GRUB only enables the IOMMU but does not activate SR-IOV on a Linux system. SR-IOV is a PCIe capability of a physical function (PF), and virtual functions (VFs) must be explicitly spawned by writing to the sriov_numvfs sysfs file. The author demonstrated this on a machine using an Intel 82599 10G NIC, where four VFs were created via a simple echo command targeting the PF's sysfs path. Since sysfs settings are not persistent across reboots, a udev rule or systemd unit is needed to restore VF configuration after restart. Common issues such as missing sriov_numvfs, IOMMU group conflicts, and CPU pinning are separate concerns unrelated to the initial SR-IOV setup step.

0
ProgrammingDEV Community ·

A Beginner's Step-by-Step Guide to Connecting Local Projects to GitHub via SSH

A developer has shared a practical walkthrough detailing how to upload a local project to GitHub using Git, SSH, and Terminal on a Mac. The guide covers installing and configuring Git with a username, email, and default branch name, then verifying those settings are saved correctly. It explains how to create a GitHub repository without pre-added files so it can be linked to an existing local project. SSH authentication is highlighted as the method GitHub uses to securely identify a user's machine without requiring repeated password entry. The tutorial is aimed at beginners who understand the tools exist but need clarity on what each setup step actually does.

0
ProgrammingDEV Community ·

What a coding-agent verification evidence bundle must contain to be reliable

A verification evidence bundle is a portable, structured record that documents exactly what was checked during a coding-agent review, enabling humans, CI systems, or future evaluations to audit results independently. It must capture key identifiers such as the task, repository revision, agent change, verifier version, and environment to prevent passing output from being incorrectly linked to the wrong patch or conditions. Each check should log its command, start and end state, exit result, and bounded output, with artifacts recorded by path and digest. The bundle must clearly separate passed requirements, reproduced failures, regressions, and unverified items, and should fail closed if any authoritative check is missing rather than substituting a confidence score. Sensitive data must be redacted and output bounds enforced, while supported formats including JSON, Markdown, and self-contained HTML ensure the evidence remains accessible for both automated pipelines and human review.

0
ProgrammingDEV Community ·

What Is the N+1 Query Problem and Why It Slows Down Your App

The N+1 query problem is a common database performance issue where an application runs one initial query to retrieve a list of items and then fires a separate query for each item to fetch related data. This pattern results in hundreds or thousands of redundant database round-trips instead of a single consolidated request. Each extra query adds network latency, CPU overhead, and database connection strain, potentially inflating a page load from milliseconds to several seconds. Engineers typically resolve this using eager loading or SQL JOIN operations, which retrieve all required data in one batched query. Fixing the problem can significantly reduce infrastructure costs, lower database CPU usage, and improve application reliability under heavy traffic.

0
IndiaTimes of India ·

Jharkhand MLA Jairam Mahto booked after video shows alleged abuse of cop

A video purportedly showing Dumri MLA Jairam Mahto using abusive language against a police officer has gone viral on social media. The incident reportedly stemmed from a dispute that escalated at a police station. According to police sources, the conversation was recorded by the station officer during the altercation. An FIR has since been registered against the MLA along with nine other individuals. Police have not yet officially confirmed the authenticity of the circulating video.

0
SportsESPNcricinfo ·

Richard Pyrah appointed Melbourne Stars WBBL head coach

Yorkshire's Richard Pyrah has been named the new head coach of the Melbourne Stars in the Women's Big Bash League. He takes over the top coaching role from Andy Christie, who steps down to an assistant position within the same setup. Pyrah brings experience from his work with Yorkshire cricket to his new role in Australian women's cricket. The coaching change marks a new direction for the Stars ahead of the upcoming WBBL season.

0
IndiaNDTV ·

Xi Jinping Expected to Attend India BRICS Summit With 400-Strong Delegation

Chinese President Xi Jinping is reportedly planning to visit India for the upcoming BRICS Summit, according to two sources familiar with the matter. He is expected to be accompanied by a delegation of approximately 400 officials. This would be a significant increase compared to his last visit in 2019, when his entourage comprised fewer than 200 officials. The reported visit would mark Xi's return to India for the first time in several years, coinciding with the high-profile multilateral gathering.

0
IndiaNDTV ·

Hyderabad Student Dies by Suicide at US University Amid Job Search Stress

Pradeep, a student from Dammaiguda in Hyderabad, died by suicide in the United States. He had travelled to the US in 2024 to pursue a master's degree at the University of Texas at San Antonio (UTSA). Reports indicate he was under significant stress over his inability to secure employment. The incident has drawn attention to the mental health pressures faced by Indian students studying abroad.

0
IndiaNDTV ·

SIP Assets Triple to Rs 14.83 Lakh Crore in Five Years, B30 Cities Surge

Assets under management through Systematic Investment Plans (SIPs) have more than tripled over the past five years in India. SIP assets grew from Rs 4.25 lakh crore in March 2021 to Rs 14.83 lakh crore by March 2026. The growth reflects a significant shift in the mutual fund investor base across the country. Notably, participation from smaller cities beyond the top 30, known as B30 cities, has also seen a notable rise during this period.

0
IndiaTimes of India ·

Anthropic bars salary negotiation and tests candidates on safety-over-profit values

Anthropic, the AI company behind the Claude model, follows a fixed compensation policy under which candidates receive a non-negotiable salary offer. In addition to standard hiring rounds, every applicant must go through a culture interview designed to assess their commitment to the company's safety mission. A key question in that interview asks whether the candidate would accept their stock becoming worthless if it were necessary for safety reasons. CEO Dario Amodei introduced this screening because he is concerned that some new hires may be motivated primarily by financial gain rather than the company's core mission.

0
ProgrammingHacker News ·

How Historic Volcanic Eruptions Shaped Human Civilization

A feature by Knowable Magazine explores volcanic eruptions that have had significant impacts on human history. The article examines how major eruptions influenced climate, societies, and historical events across different eras. It highlights the far-reaching consequences of volcanic activity beyond immediate destruction, including effects on agriculture, politics, and population. The piece underscores the enduring relationship between geological events and the course of human civilization.

0
ProgrammingDEV Community ·

Building reliable restock alerts is harder than a simple in-stock check

Developers building Restockd, a free app for tracking Pokemon and collectible restocks, found that real-time restock alerts involve far more complexity than a basic true/false inventory check. Retail product pages often display inaccurate availability, with cached data, regional differences, and checkout mismatches creating conflicting signals. The core challenge was determining when an observation was trustworthy enough to trigger a user notification, not just whether a page could be scraped. The team recommends separating raw inventory observations from alert decisions, and measuring false positives and late alerts as distinct failure types rather than lumping them together as bad data. They also highlight the need for alerts to have their own lifecycle, independent of the underlying stream of inventory events, to avoid bombarding users with duplicate or misleading notifications.

0
WorldBBC World ·

Kremlin adviser warns UK drone factories could face attacks over Ukraine arms deal

A Kremlin adviser has issued a warning that UK drone manufacturing facilities may be targeted by attacks from unspecified sources. The remarks were made during an appearance on BBC Newsnight. The warning follows a recent announcement by the UK government that it has agreed to share blueprints for British-made missile components with Ukraine. The move is part of broader Western support for Ukraine amid the ongoing conflict with Russia.

0
IndiaTimes of India ·

Gurgaon Floods Strand Children in School Buses for Over 7 Hours

Heavy monsoon rainfall triggered severe flooding across Gurgaon on Monday, leaving multiple school buses stranded on waterlogged roads. Students were trapped inside the buses for more than seven hours, causing widespread distress among families. Parents monitored the situation anxiously through messaging groups while struggling to reach their children. Some parents waded through deep floodwaters to personally retrieve their children from the stranded vehicles. The incident has renewed concerns over the city's persistent infrastructure shortcomings during heavy rainfall.

0
IndiaTimes of India ·

US Proposes $103,265 H-1B Fee; VP Vance Urges Hiring American Workers

The US Department of Homeland Security has proposed a new fee of $103,265 for H-1B visa petitions, intended to cover the government's costs of administering the immigration system. Vice President JD Vance has backed the proposal, stressing the need to prioritize hiring and training American workers over foreign talent. Indian professionals, who form one of the largest groups of H-1B visa holders, stand to be significantly affected if the rule is enacted. The proposal is currently open for public feedback, with a 30-day window for comments before any final decision is made.

0
ScienceWIRED ·

US Data Center Boom Fueling Surge in New Natural Gas Power Projects

The rapid expansion of data centers across the United States is driving a significant increase in natural gas power development. Numerous gas power projects have either been proposed or are already under construction to meet rising energy demands. The growth signals a heavy reliance on fossil fuels to support the booming data center industry. This trend raises concerns among energy and climate observers about the long-term environmental implications of the sector's expansion.

← NewerPage 273 of 3353Older →