SShortSingh.
0
IndiaNDTV ·

Russian Cosmonauts Send Video Greetings to India on Its 80th Independence Day

Three Russian cosmonauts — Pyotr Dubrov, Anna Kikina, and Andrey Fedyaev — recorded a special video message to congratulate India on its 80th Independence Day. The cosmonauts used the occasion to acknowledge the longstanding ties between Russia and India. Their message highlighted the deep history of cooperation between New Delhi and Moscow. The gesture was seen as a symbol of continued friendship between the two nations.

0
ProgrammingDEV Community ·

Docker Networking and Volumes Explained: How Containers Communicate and Store Data

Modern applications typically run across multiple containers — such as web servers, databases, and cache layers — which must communicate reliably with one another. Docker addresses this through built-in networking drivers, primarily bridge, host, and none, each suited to different use cases. A key feature of Docker networking is DNS-based container discovery, which lets containers reference each other by name rather than by dynamic IP addresses that can change on restart. Docker volumes complement networking by providing persistent storage that survives container removal, ensuring data is not lost when containers are stopped or recreated. Together, Docker networking and volumes form the foundation for building and managing multi-container applications in production environments.

0
ProgrammingDEV Community ·

Developer Releases ActiveVPN: Open-Source Terminal Tool to Detect VPN and Proxy Use

A developer has released ActiveVPN, an open-source command-line tool designed to verify whether a VPN or proxy is actively protecting a user's connection. The tool checks network interfaces, running processes, external IP addresses, DNS resolvers, and IPv4/IPv6 configurations to detect potential leaks or misconfigurations. It assigns a verdict score from 0 to 100, ranging from 'Clean' to 'VPN Detected,' helping users confirm their actual privacy status. ActiveVPN supports features such as a kill switch, continuous watch mode with alerts, and JSON/CSV export for logging. The project is available on GitHub and is compatible with Python 3.8 through 3.12 across multiple operating systems.

0
ProgrammingDEV Community ·

How to Integrate a Payment Gateway into a Web App Using Razorpay

Integrating a payment gateway into a web application requires more than a payment button — it involves backend APIs, secure authentication, webhooks, and error handling. A typical flow moves from the customer through the web app and backend to the payment gateway and then the bank, with the backend verifying the transaction before fulfilling the order. Developers should evaluate gateways on factors such as supported payment methods, transaction fees, API documentation, and webhook capabilities before choosing one. For Indian applications, gateways like Razorpay support UPI, cards, net banking, and wallets, and offer a test environment for safe development. A key security principle throughout is to keep secret API credentials server-side and never expose them in frontend code or public repositories.

0
ProgrammingDEV Community ·

Wrong AI Input, Wrong Answer: How Raw Evidence Beats Symptom Descriptions

A web developer investigating malicious redirects on his website initially gave an AI tool only symptom descriptions, leading to a false conclusion that a third-party analytics script was to blame. Three weeks later, when an identical attack hit another site, he instead fed the AI the actual rendered HTML captured under the exact conditions that triggered the redirect. The AI immediately identified an 83KB malicious JavaScript payload hidden in WordPress database entries — invisible to any file-level search. The payload contained a browser detector, a link hijacker, and a cookie-based cooldown to avoid repeat triggers. The episode illustrates a key limitation of AI-assisted diagnosis: the tool can only reason about what it is shown, making the quality of input evidence far more critical than the sophistication of the model itself.

0
IndiaTimes of India ·

China's Expanding Carrier Fleet Struggles Against Advanced Submarine Threats

China's growing aircraft carrier fleet is venturing deeper into the Pacific as part of a broader strategy to project military power in the region. However, this expansion exposes the carriers to significant threats from adversaries such as the United States and Japan, both of which operate highly advanced submarine forces capable of launching undetected attacks. Analysts point to persistent gaps in China's anti-submarine warfare (ASW) capabilities, particularly in tracking and neutralizing hostile submarines. As Beijing pushes its naval presence further from its shores, the risk of ambushes by enemy submarines increases considerably. The strategic ambition to extend naval reach thus comes with heightened vulnerability that China has yet to fully address.

0
IndiaTimes of India ·

River Thames, once declared biologically dead, now home to sharks and seals

The River Thames in London has undergone a dramatic ecological turnaround after being declared biologically dead in 1957. Decades of pollution control efforts and improvements to sewage infrastructure have been credited with driving the recovery. The Thames Tideway Tunnel has played a significant role in reducing sewage discharge into the river. The waterway now supports a diverse range of wildlife, including sharks and seals. Despite the progress, threats such as rising water temperatures and nitrate pollution continue to endanger the river's ecosystem.

0
ProgrammingDEV Community ·

How a 225-Character Issue Became a 457-Line Spec in 29 Minutes Using AI

A software developer shared how a brief three-sentence GitHub issue, opened on August 1, was transformed into a detailed 457-line feature specification within 29 minutes using an AI coding agent. The entire lifecycle — from issue creation to implementation and merge — spanned under two hours, covering 15 files across two pull requests. The developer noted that terse issue-writing works well for solo contributors who retain context in memory, but breaks down when handing off work to teammates or AI agents. Rather than asking clarifying questions, the AI first read existing codebases to surface relevant precedents, then returned only with decisions that required human judgment. The author argues the real value lies in separating the research phase from the decision phase, making AI-assisted specification a practical part of the development workflow.

0
ProgrammingDEV Community ·

How AI Agents Transformed a Tech Lead's Daily Work Without Changing His Core Role

A tech lead describes how AI agents have fundamentally reshaped his day-to-day work over the past year, even as his underlying responsibilities remain the same. Tasks like writing code, reviewing pull requests, and processing emails are now largely handled by automated agents, freeing up his time for higher-level thinking. He now focuses more on understanding client needs, designing team workflows, and ensuring the right products are built in the first place. The shift was not planned but evolved incrementally, with each small automation compounding into broader change. He frames his role today as primarily decision-making — owning outcomes and judgment rather than raw output.

0
IndiaNDTV ·

NATO Jets Intercept Unauthorised Drone Over Latvia in Second Such Incident

NATO fighter jets shot down an unidentified drone over Latvian airspace, marking the second such interception within three months. The military alliance has launched a formal investigation into the incident, according to a NATO spokesperson. The repeated intrusions have heightened concerns across Europe about unauthorised drone activity in the region. The incidents come amid the ongoing Russia-Ukraine war, which has kept European nations on heightened alert over airspace security.

0
ProgrammingDEV Community ·

AES-GCM Flaw Lets One Ciphertext Decrypt Validly Under Two Different Keys

A cryptographic weakness in widely used AEAD schemes like AES-GCM and ChaCha20-Poly1305 allows an attacker with two known keys to craft a single ciphertext that decrypts successfully and differently under each key, with neither producing an error. This property, called key non-commitment, stems from the linear structure of AES-GCM's authentication tag, which can be mathematically solved to satisfy two keys simultaneously. The vulnerability has real-world consequences: Facebook Messenger's message franking system, designed to let users report abusive content in end-to-end encrypted chats, was found exploitable because attachment encryption relied on AES-GCM without key commitment. An attacker could send an abusive image that, when reported, would verify as an entirely different, innocuous file, effectively defeating the abuse-reporting mechanism. The flaw was patched, but the broader lesson is that successful AEAD decryption does not prove which key or sender was involved — a guarantee these ciphers were never designed to provide.

0
ProgrammingDEV Community ·

12 Questions Every Developer Should Ask Before Merging AI-Generated Code

A software developer has shared a practical checklist of 12 questions to ask before approving AI-generated code, drawn from over a year of hands-on code review experience. The guidance highlights that AI tools tend to address the literal prompt rather than the underlying intent, which can produce code that passes tests yet solves the wrong problem. Key concerns raised include unverified assumptions about input data, missing error handling for external API calls, and incomplete authorization checks that confirm login but not resource ownership. The checklist also warns that error responses in AI-generated code can inadvertently expose sensitive system details, such as stack traces, in production environments. The author recommends reviewers trace edge-case inputs, read original tickets before reviewing diffs, and be able to explain each code block aloud before approving a merge.

← NewerPage 28 of 2570Older →