SShortSingh.
0
ProgrammingDEV Community ·

How RAG Helps AI Models Answer Questions Beyond Their Training Data

Large language models have broad but frozen knowledge, making them unable to address company-specific or post-training information without extra help. Retrieval-Augmented Generation (RAG) solves this by giving the model a search tool that fetches relevant documents and feeds the results back into its context window. Rather than relying on basic full-text search, RAG converts documents into mathematical vectors called embeddings, which capture meaning so that semantically similar text can be matched even when exact words differ. Because a single document may cover multiple topics, it is split into smaller chunks before embedding, improving search precision and reducing unnecessary context bloat. This article, part of a series on transitioning from software to AI engineering, focuses on the agentic RAG variant where the model itself decides what to search for.

0
IndiaTimes of India ·

Volunteer runs 1.5 miles uphill with blood to aid injured North Carolina climber

A climber sustained serious injuries after falling 15 to 20 feet on a difficult route near Shortoff Mountain in North Carolina. Emergency responders were called to the scene at Linville Gorge to assist the victim. A Burke Rescue volunteer carried critical whole blood on foot to reach the injured climber, covering 1.5 miles and ascending 1,000 feet in just 31 minutes. The blood was transported to help stabilise the climber's condition before further medical care could be provided.

0
ProgrammingDEV Community ·

Engineering a Browser-Based Step Sequencer: State, Timing, and Edge Cases

A technical deep-dive examines the engineering challenges behind building browser-based step sequencer interfaces, focusing on the data structures and logic rather than the musician's experience. At its core, every step sequencer relies on a two-dimensional boolean array tracking which sounds fire at which steps, alongside tempo, swing, and accent values. A common pitfall is using setInterval for playback timing, which breaks due to browser timer throttling, mid-bar tempo changes, and sample underruns — each requiring specific workarounds like lookahead scheduling. The article also highlights that limiting a sequencer to six to twelve tracks keeps the grid usable on touch devices and prevents interface clutter. These design patterns — fixed-size state arrays, a single source of truth for transport, and accessible grid layouts — apply broadly to any UI built around a discrete timeline.

0
TechnologyTechCrunch ·

Phil Schiller Steps Back from App Store Role Amid Leadership Shifts at Apple

Apple's top App Store executive Phil Schiller is moving away from his current role as the company undergoes significant leadership changes. The shift comes alongside CEO Tim Cook's departure, marking a notable transition period for the tech giant. Schiller, a longtime Apple executive, is not leaving the company immediately, but insiders suggest the move brings him closer to eventual retirement. The back-to-back exits of senior figures signal a broader reshaping of Apple's executive leadership structure.

0
IndiaNDTV ·

ABVP Wins Panjab University Student Council Poll With Akali Dal Support

Ankit Vidhan of the ABVP has been elected president of the Panjab University Campus Students Council. His victory was backed by the Shiromani Akali Dal's student wing, the Students Organisation of India (SOI). The alliance between ABVP and SOI mirrors a broader political experiment between their parent parties, the BJP and Akali Dal. The student council result is being seen as a significant indicator ahead of the upcoming Punjab assembly elections.

0
WorldBBC World ·

DollyFest Announced in Nashville and London to Honor Dolly Parton

A festival called DollyFest has been announced to celebrate the life of country music legend Dolly Parton. The event will be held in both Nashville and London, marking a departure from a conventional public memorial service. Parton's estate confirmed that the festival format was in line with the artist's own wishes. DollyFest is intended to serve as the primary tribute to Parton in place of a traditional farewell ceremony.

0
ProgrammingDEV Community ·

Developer reveals four billing bugs that let Apify actors charge users for nothing

A developer running 51 web scrapers on Apify's pay-per-event billing platform documented four distinct bugs that caused users to be charged incorrectly or services to run without generating revenue. One key flaw involved counting internal bookkeeping rows as billable items, meaning a scraper returning no real data could still trigger a charge. In another case, a billing event that had not yet been registered in Apify's Console caused the platform to silently serve real data over paid residential proxies without recording any charge. A third bug stemmed from the difference between 'prefill' and 'default' in Apify's input schema, which meant programmatic callers never received required proxy settings that human testers saw in the Console. The developer has since audited all 96 actors on the account and recommends registering billing events before deployment and using 'default' instead of 'prefill' for critical configuration fields.

0
ProgrammingDEV Community ·

How Source Code Becomes a Running Program: Compilers and Interpreters Explained

A technical deep-dive published on DEV Community breaks down the full pipeline that transforms source code into an executing program, covering stages such as lexing, parsing, abstract syntax trees, and semantic analysis. The article challenges the common binary distinction between compilers and interpreters, arguing the two approaches form a spectrum rather than separate categories. It uses Python, Java, and JavaScript's V8 engine as real-world examples of systems that blend both compilation and interpretation techniques. The piece walks through a simplified lexer implementation to illustrate how raw character streams are broken into meaningful tokens as a foundational first step. Understanding these fundamentals, the author argues, helps developers better interpret error messages, reason about performance, and evaluate programming languages and tools.

0
IndiaNDTV ·

Bihar Family of Five Hurt in Acid Attack Amid Money Dispute

A couple and their three children were injured in an acid attack in Bihar's Purani Bazar locality on August 29. The attack took place within the jurisdiction of Kesariya Police Station. According to police, the assault was triggered by a heated argument between the two parties over a financial transaction. Authorities have registered a case and are investigating the incident.

0
IndiaTimes of India ·

Hyderabad Man Sits in Pothole to Protest Poor Road Conditions in Old City

A Hyderabad resident staged an unusual protest by sitting inside a large pothole on a busy road in the city's Old City area. The demonstration briefly disrupted traffic and drew attention to the deteriorating state of local roads. Public frustration has grown after recent rains worsened existing potholes across the stretch. Civic authorities acknowledged the issue, noting that patchwork repairs had been carried out on the affected road multiple times. Officials added that road levelling work is currently in progress and full repairs are expected to be completed shortly.

0
IndiaNDTV ·

Delhi Court Sentences Conman Sukesh Chandrasekhar to 8 Years for Impersonating SC Judge

A Delhi court has sentenced conman Sukesh Chandrasekhar to eight years in prison for impersonating a Supreme Court judge. The court described the case as 'profoundly disturbing' and qualitatively distinct from ordinary impersonation offences. Judges noted that the crime struck at the foundations of the judiciary, a core pillar of democratic governance. The sentencing order underscored the severity of undermining public trust in the country's highest court.

0
ProgrammingDEV Community ·

AI Tool 'Day Three' Flags At-Risk Newborns Without Making Medical Decisions

A developer built Day Three, an AI-assisted maternal health tool, for the All Things Agentic Hackathon to address a critical gap in postnatal care in rural India. The system tracks mothers and newborns after discharge from health centres, sending follow-up prompts at WHO-recommended intervals — Day 1, 3, 7, 14, and 42 — and accepts responses via keypad, free text, or silence. When a danger sign is reported, the tool automatically books a clinic slot, alerts the on-call nurse, logs the case, and sends a Hindi SMS, all without human routing. Crucially, the AI is architecturally restricted from making clinical decisions: it can only flag concerns, while all diagnoses and symptom clearances must be confirmed by a human nurse. The prototype runs on Google Cloud Run with Firestore and Gemini, though the developer notes that no clinician has formally reviewed the rule set and all patient data used in testing is synthetic.

0
TechnologyTechCrunch ·

Kalshi permanently bans George Santos over State of the Union wagers

Prediction market platform Kalshi has issued a lifetime ban against former congressman George Santos. The ban is related to betting activity connected to the State of the Union address. The disciplinary action follows by roughly two months a settlement that Santos reached with the Commodity Futures Trading Commission over related charges. The CFTC had previously brought formal charges against Santos in connection with the matter. Kalshi's move represents one of the more significant consequences Santos has faced in the prediction markets space.

0
ProgrammingDEV Community ·

Physical Foundation Models Bridge Natural Language and Real-World Robot Actions

Researchers are developing Physical AI systems that translate high-level natural language instructions into precise robot actions by combining language understanding, vision, and environmental modeling. A simple command like 'bring me the bottle from the kitchen' requires a robot to decompose the task into multiple subtasks, including navigation, object detection, grasping, and delivery. Foundation models generate structured action plans rather than raw motor commands, which a robotics stack then converts into executable navigation and manipulation steps. The approach relies on closed-loop execution, where the system continuously plans, acts, observes, and replans to handle real-world uncertainties such as failed grasps or unexpected obstacles. Safety is enforced through explicit constraints like collision checking, velocity limits, and human approval for sensitive actions, with performance measured across metrics including task completion rate, recovery rate, and execution latency.

0
ProgrammingDEV Community ·

How Vision-Language-Action Models Are Reshaping Autonomous Robot Decision Systems

Vision-Language-Action (VLA) models aim to bridge the gap between visual perception, language instructions, and physical robot actions, replacing traditional segmented pipelines. Rather than feeding raw motor commands to a language model, the recommended approach uses a structured action interface with discrete commands like PICK, MOVE_TO, and PLACE to maintain a safety boundary between AI reasoning and hardware control. Developers are advised against placing language models directly inside millisecond-level motor-control loops unless the system is explicitly designed and validated for such timing demands. Key performance metrics for VLA systems include task success rate, instruction-following accuracy, action validity, latency, and safety violation tracking. The overall guidance emphasizes that VLA systems work best when integrated alongside deterministic robotics infrastructure rather than as a wholesale replacement for it.

← NewerPage 702 of 4127Older →