SShortSingh.
0
ProgrammingDEV Community ·

Developer Rebuilds Agentic RAG App on AWS Serverless, Ditching EC2 and a Database

A developer has documented migrating an agentic retrieval-augmented generation (RAG) application from a single AWS EC2 instance to a fully serverless AWS architecture. The original setup ran six Docker Compose containers on a t4g.small instance, loading a 24,775-fragment corpus into RAM on every run and costing around $15 per month even when idle. The new architecture replaces this with a Lambda-based API, S3 Vectors for storage, DynamoDB for conversations and feedback, and Amazon Bedrock for inference using Nova and Titan models. A key decision in the migration was deleting a Postgres database rather than migrating it, treating the corpus as a build artifact instead of a runtime dependency. The project also adopts proper infrastructure as code, eliminating the earlier reliance on bash scripts and manual SSH deployments.

0
IndiaTimes of India ·

ITAT Partly Clears Indian Expat in Kuwait Over Rs 2.5 Cr Unexplained Deposits

An Indian national working in Kuwait remitted Rs 1.09 crore to his Indian bank accounts but had not filed an Income Tax Return, drawing scrutiny from tax authorities. The Income Tax Appellate Tribunal reviewed the case after the department flagged substantial deposits in his Indian accounts with no return on record to explain their source. The tribunal deleted an addition of Rs 5.52 lakh, providing partial relief to the taxpayer. However, scrutiny over the remaining Rs 2.5 crore in deposits was upheld for further examination. The absence of an original ITR was central to the dispute, as it left the nature and origin of the funds unexplained in official records.

0
IndiaNDTV ·

Mumbai Man Faked PMO Identity Card to Impress Fiancée and Her Family

A Mumbai man named Rohan Parikh was found to have fabricated a Prime Minister's Office identity card at a public event. His motive, according to reports, was to present himself as a powerful central government official. Parikh had recently gotten engaged and sought to impress his fiancée and her family with a false image of influence and authority. The fake credentials were discovered at the event, exposing his deception.

0
IndiaNDTV ·

9/11 at 25: Reflecting on a Quarter Century of the Global War on Terror

The September 11, 2001 attacks on the United States marked a turning point that reshaped global security policy for decades. A former UN official reflects on the lasting consequences of the counterterrorism measures adopted in the aftermath of the attacks. Over 25 years, the so-called War on Terror has carried significant human, financial, and political costs worldwide. The anniversary prompts a broader reckoning with whether the strategies pursued since 9/11 have made the world safer or more complex.

0
ProgrammingDEV Community ·

Developer Finds Safari MCP Server Bug That Silently Mints Invalid Tab Tokens

A developer discovered a critical bug in their Safari MCP server where browser tab ownership tokens became invalid after a daemon restart. The flaw stemmed from a cached browser-session epoch in the extension's background worker that was never refreshed from storage, causing newly minted tokens to carry a stale identifier. When the worker eventually cold-started, it discarded all stored records tied to the outdated epoch, instantly invalidating every token created during the restart window. Affected tabs became permanently stranded — commands were refused and the tokens could not be rotated or recovered from the client side. The bug went undetected because six separate safety checks all passed silently, with only the final rehydration path actually comparing the epoch against storage.

0
ProgrammingDEV Community ·

CSS Flexbox vs Grid: A Beginner's Guide to Choosing the Right Layout Tool

CSS offers two primary layout tools — Flexbox and Grid — each designed to solve different design challenges. Flexbox is best suited for one-dimensional layouts, arranging items along a single row or column, making it ideal for navigation bars or button groups. Grid, on the other hand, handles two-dimensional layouts involving both rows and columns, making it a better fit for image galleries, dashboards, or product pages. Understanding the core difference between the two helps developers pick the right tool for each use case. The guidance is aimed at beginners looking to build a stronger foundation in front-end web development.

0
IndiaNDTV ·

Class 10 Girl Dies by Suicide After Alleged Sexual Harassment by Teacher in Tamil Nadu

A Class 10 girl in Tamil Nadu has died by suicide following alleged sexual harassment by one of her teachers. A senior police officer confirmed to NDTV that the investigation has revealed the teacher allegedly touched the student inappropriately. Authorities are currently probing the incident. The case has raised serious concerns about student safety and misconduct by educators in schools.

0
WorldBBC World ·

Rescuers Board Burning Philippine Ferry 40 Hours After Fire Broke Out

Philippine rescue teams have managed to board a ferry approximately 40 hours after a fire first broke out on the vessel. The operation has been significantly hampered by thick, toxic fumes and extreme temperatures inside the ship. These dangerous conditions have made it difficult for rescue personnel to safely navigate and search the vessel. The delayed boarding highlights the severity of the blaze and the challenging environment rescuers continue to face.

0
IndiaNDTV ·

Delhi Influencer Files Rape and Extortion Complaint Against SSB Officer's Associate

A Delhi-based social media influencer has filed a complaint alleging rape and extortion against two individuals in Muzaffarpur, Bihar. The accused are ASI Vikas Kumar, posted at the SKMCH sector headquarters of the Sashastra Seema Bal, and his associate Rajiv Rai. The woman submitted her complaint to both SSB authorities and the local district police. The case highlights a serious allegation of misconduct involving a paramilitary personnel and his civilian associate.

0
IndiaTimes of India ·

Villagers in UP Hold Tower Technician Captive Over 2 Years of Poor Network

Residents of Fatehpur district in Uttar Pradesh detained a mobile tower technician for approximately two hours, driven by frustration over prolonged poor mobile connectivity in their area. The villagers had been dealing with unreliable network coverage for nearly two years before taking the drastic step. Another villager alerted local police, who intervened and secured the technician's release. Following the incident, the technician filed a complaint, leading authorities to register an FIR against unidentified individuals. Police have launched an investigation into the matter.

0
ProgrammingDEV Community ·

How to Collect Meaningful Bug Reports During Google Play Closed Testing

Google reduced its closed testing requirement from 20 to 12 testers in December 2024, making production access more attainable for personal Android developer accounts created after November 13, 2023. However, simply recruiting testers is not enough, as low engagement or absent crash logs can flag an app during Google Play's production review. Developers are advised to reduce friction by integrating in-app shake-to-report tools that auto-capture screenshots and device logs, replacing manual email-based reporting. Structuring testers' sessions around specific user journeys — such as offline mode simulation or payment flows — helps surface edge cases and permission errors more reliably. Platforms like PeerPlay offer reciprocal and paid testing tiers to help indie developers secure consistent, quality feedback before submitting for production access.

0
ProgrammingDEV Community ·

How VRRP Eliminates the Hidden Single Point of Failure in Load Balancer Setups

A common infrastructure design uses multiple backend servers behind a load balancer to prevent downtime, but the load balancer itself can become a single point of failure if it crashes. Running a second load balancer does not solve the problem on its own, because DNS still points clients to the first machine's fixed IP address. Switching DNS during an outage is unreliable due to TTL caching by resolvers, operating systems, and browsers, resulting in prolonged downtime. The solution is a Virtual IP (VIP), an address that no single machine permanently owns and can move between servers without any client-side changes. VRRP (Virtual Router Redundancy Protocol), defined in RFC 5798, is the protocol that allows two or more machines to coordinate ownership of a VIP and automatically elect a new owner when the active node fails.

0
ProgrammingDEV Community ·

AgentInspect Tool Lets Developers Audit AI Agent Execution Paths, Not Just Answers

A developer explored AgentInspect, a TypeScript library designed to verify whether AI agents follow correct execution paths — such as actually calling a weather tool rather than skipping it and returning a fabricated answer. The tool records agent traces locally as JSONL files and applies deterministic, rule-based checks on model calls, tool calls, and their order. In a test using Vercel AI SDK with mock language models, two scenarios produced identical final answers, but AgentInspect correctly flagged the run that bypassed the weather tool as a process failure. The experiment also compared AgentInspect with more established tools like Promptfoo, LangSmith, and DeepEval, noting that AgentInspect feels early-stage but is already practical for CI pipeline checks. The author was prompted to try the library after receiving a cold email from its developer, highlighting growing interest in agent observability beyond simple output evaluation.

← NewerPage 1114 of 5115Older →