SShortSingh.
0
ProgrammingDEV Community ·

Green AI-Generated Tests Can Pass While Testing Nothing, Experts Warn

AI coding assistants can generate test suites that pass consistently yet fail to catch real bugs, creating a false sense of security for developers. The core problem is that a passing test only proves the code ran, not that the logic is actually verified. Mutation testing tools, such as Gremlins for Go, address this by deliberately introducing small code errors and checking whether tests detect them, producing a "mutation score" that reflects true test effectiveness. Unlike standard code coverage metrics, mutation scores reveal whether tests can actually fail when the code breaks. Developers are advised to require every AI-generated test to demonstrate it can produce a failure before it is merged into a codebase.

0
ProgrammingDEV Community ·

Developer Builds Four-Layer Config to Enforce Claude Code Behavior Beyond Suggestions

A developer frustrated with Claude Code ignoring instructions in his CLAUDE.md file built a structured four-layer configuration system to enforce consistent AI behavior. The setup ranges from soft guidelines in CLAUDE.md and reference documents to versioned skill playbooks loaded on demand for specific tasks. The critical layer is a shell script called guard.sh, which hooks into Claude Code's PreToolUse cycle to intercept and veto forbidden actions — such as reading .env files or bypassing git hooks — before they execute. Unlike the first three layers, which the model can read and ignore, the guardrail exits with code 2 to hard-block violations. The author's core principle is that only externally verifiable proof — a test, a command, real output — counts as rigor, never the model's own self-assessment.

0
IndiaTimes of India ·

Three Indian-origin men jailed in London over £174,000 cocaine and heroin ring

A major drug trafficking network in London, led by incarcerated dealer Hardeep Thind, has been dismantled by authorities. Three men of Indian origin, one of whom was a sitting magistrate, were sentenced to prison for their roles in the operation. The network was responsible for distributing cocaine and heroin valued at £174,000. After Thind's release, the criminal enterprise grew further in scale, prompting an extensive police investigation. The probe ultimately led to multiple arrests and convictions connected to the ring.

0
ProgrammingDEV Community ·

Beyond Facts: A Four-Type Knowledge Framework to Fix LLM Wikis

AI researcher and developer Andrej Karpathy's LLM Wiki concept enables users to build personal knowledge bases by having large language models extract and link concepts from raw material. A developer who built a 100-page wiki using this approach found that the system could recall facts accurately but lacked the judgment needed to act as an effective tutor or advisor. This limitation stems from the wiki storing only declarative knowledge — definitions and facts — while missing three other critical types: procedural knowledge (expert reasoning sequences), experiential knowledge (complete worked examples showing real mistakes), and interaction knowledge (knowing what to ask and when). Research on real teaching sessions supports this gap, with trained teaching assistants defaulting to direct answers over Socratic questioning under time pressure, despite knowing the method. The author argues that LLM knowledge systems must be redesigned to explicitly capture and store all four knowledge types to bridge the gap between knowing and executing under real-world conditions.

0
IndiaNDTV ·

11 Dead in Small Aircraft Crash in Eastern France

A small aircraft crash in eastern France has killed 11 people, according to reports. The incident was reported by NDTV, though the exact location within the region was not specified. Details surrounding the cause of the crash remain unclear at this time. The number of passengers and crew members aboard the aircraft had not been immediately confirmed following the crash.

0
ProgrammingHacker News ·

OpenAI Codex still lacks a way to exclude sensitive files from access

A GitHub issue requesting a feature to exclude sensitive files in OpenAI Codex remains unresolved. The request highlights a gap in Codex's current functionality, where users have no built-in mechanism to prevent the tool from accessing confidential or private files. The open issue has attracted community attention on both GitHub and Hacker News. The absence of such a feature raises potential privacy and security concerns for developers using Codex in their workflows.

0
IndiaTimes of India ·

India hand T20I debuts to Suryansh Shedge and Prince Yadav against Ireland

India face Ireland in the second T20I aiming to level the series after losing the opener. Captain Shreyas Iyer has made two changes to the playing XI, handing international debuts to Suryansh Shedge and Prince Yadav. The young debutants will be eager to impress on their first appearance for the national side. India are looking to bounce back with a win and restore parity in the series.

0
ProgrammingDEV Community ·

Developer Releases Free 9-Module Apache Kafka Course With 470 Minutes of Content

A software developer has published a free Apache Kafka course comprising 9 modules and 470 minutes of content, with no paywall or premium tier. The course was built to address a gap the author identified in existing learning resources, which either assumed prior knowledge or skipped foundational concepts. Unlike typical tutorials, the first two modules focus on the architectural problems that event streaming solves before introducing Kafka itself. The curriculum uses a consistent e-commerce scenario to build context, and includes working Python code along with a minimal Docker Compose setup. The author also shares mistakes made during curriculum development to help future learners and educators avoid similar pitfalls.

0
ScienceWIRED ·

A Practical Business Traveler's Guide to Houston in 2026

Houston, known as Space City, is a major destination for business travelers seeking a mix of work and dining experiences. The guide covers key recommendations across categories including places to eat, stay, and work during a business visit. Houston's diverse culinary scene is highlighted as a particular draw for visitors. The city offers a range of options suited to professionals looking to make the most of their time between meetings.

0
SportsESPNcricinfo ·

Mitchell and Ravindra build big NZ lead before late spin breakthrough

New Zealand batters Rachin Ravindra and Daryl Mitchell put on a substantial partnership to push their side towards a commanding first-innings lead against England. Ravindra fell just short of a century, missing out on the milestone after a patient and determined knock. Mitchell continued to grind through the innings, anchoring the New Zealand batting effort with a disciplined display. England struggled to take wickets for much of the session, with the introduction of spin eventually providing a late breakthrough. The hosts were made to wait as New Zealand steadily extended their advantage in the Test match.

0
ProgrammingDEV Community ·

Why console.log Can Mislead JavaScript Developers During Debugging

Browser DevTools does not immediately serialize objects passed to console.log; instead, it stores a live reference and renders the value only when the user expands the entry. This behavior, known as lazy evaluation, means the console displays the object's current state at inspection time, not its state at the moment of logging. As a result, if an object's properties are mutated after the log call, the expanded view will reflect the updated values rather than the original ones. The same issue affects Promises, which may appear as 'pending' when logged but show as 'fulfilled' once expanded after resolution. This design is intentional, as eager serialization of every logged object would impose significant memory and performance costs in complex applications.

0
IndiaNDTV ·

Astronaut Shubhanshu Shukla shares journaling mantra from space mission

Indian astronaut Group Captain Shubhanshu Shukla revealed his personal philosophy of completing tasks before announcing them publicly. He maintained a detailed journal throughout his mission, using a combination of audio notes and written logs. This practice was adopted on the advice of experienced individuals who had previously undertaken similar missions. The documentation approach helped him stay focused and grounded during his spaceflight.

0
IndiaTimes of India ·

Buffalo Bills eyeing Broncos WR Marvin Mims Jr. in potential trade ahead of 2026

The Buffalo Bills are being linked as a possible destination for Denver Broncos wide receiver Marvin Mims Jr. ahead of the 2026 NFL season. Mims's future in Denver became uncertain after the Broncos acquired wide receiver Jaylen Waddle, leaving his role on the team in question. The receiver has acknowledged frustration over his limited involvement but has maintained a professional attitude throughout. With quarterback Josh Allen heading into his ninth NFL season, Buffalo may seek to bolster its offensive weapons. Analysts view Mims as an attractive trade candidate given his speed and overall potential.

0
IndiaNDTV ·

Ram Temple Theft: Suspects Allegedly Erased Phone Data, Saw 100x Wealth Surge

New details have emerged in the Ram Temple theft case, pointing to deliberate attempts by suspects to destroy evidence. According to sources, the accused tried to erase data from their mobile phones to cover their tracks. Investigators also found that the suspects' wealth had surged by approximately 100 times, raising suspicions about the proceeds of the crime. The suspects allegedly attempted to dispose of the ill-gotten gains as well. Authorities are examining both the digital trail and the financial records as part of the ongoing investigation.

0
IndiaTimes of India ·

14 killed in Saudi Aramco helicopter crash in Ras Tanura, probe launched

A helicopter crash in the eastern Saudi city of Ras Tanura on Sunday killed 14 people. The incident involved a helicopter operated by Saudi Aramco, the world's leading oil producer. Authorities have launched an investigation to determine the cause of the crash. Ras Tanura is a strategically important location for Saudi Arabia, serving as a major hub for the country's crude oil exports.

0
ProgrammingDEV Community ·

How to Fix FastAPI Bottlenecks in Auth, Cryptography, and Serialization

A performance-focused guide for FastAPI developers highlights three key areas where Python applications commonly slow down: authentication flows, cryptographic operations, and data serialization. The article recommends offloading CPU-intensive tasks like Argon2id password hashing to a ThreadPoolExecutor to prevent blocking the asyncio event loop. For token signing, Ed25519 is presented as significantly faster than RSA-2048, with token caching suggested to offset its slower verification speed. Replacing FastAPI's default Pydantic serialization with msgspec can yield up to five times faster performance on data-heavy responses. The guide also emphasizes using profiling tools like py-spy to identify real bottlenecks rather than relying on guesswork when optimizing Python services.

← NewerPage 50 of 127Older →