SShortSingh.
0
IndiaNDTV ·

Centre Says E20 Petrol Meets Standards After Karnataka Quality Charge

The Centre has responded to allegations about fuel quality in Karnataka by stating that E20 petrol complies with prescribed standards. The oil ministry reported testing 56 samples across different locations in the state, drawn from all three oil marketing companies. The samples recorded ethanol content between 19 and 20 per cent, with an average of 19.30 per cent. The ministry's findings were presented as evidence that the fuel meets the required specifications.

0
ProgrammingDEV Community ·

osFoundry keeps resident Claude Code sessions cache-friendly during busy channels

osFoundry's Message channel feature lets a long-running Claude Code session stay responsive to repeated mentions without re-sending everything each turn. The desktop app keeps a live agent process per channel and binding, and only the newest user turn is sent to an already-warm process. Cold or restored sessions receive the full framing and replayed history instead. Channel context shows at most twelve recent unseen messages, truncated at 600 characters and tracked by a per-session watermark. A simulation, since the Claude binary is not installed on the author's Mac, is used to estimate the savings in cache-friendly prompt size.

0
ProgrammingDEV Community ·

Day 28 of React Learning: useContext, React Router, and Navigation Basics

The author explains how useContext lets components share data without passing props through every intermediate layer, avoiding props drilling. They describe React Router as a tool that displays the correct component based on the current URL, enabling page navigation without reloading the site. BrowserRouter is presented as managing browser navigation, while Routes and Route connect URL paths to specific components via the element prop. The post also covers Link for declarative navigation and the useNavigate hook for programmatic navigation, such as redirecting to /home after a button click. A comparison of Link and useNavigate concludes the learning notes.

0
ProgrammingDEV Community ·

Lévis startup MilhommeSI builds French-Quebec AI phone assistant for local SMEs

Alexandre Milhomme founded MilhommeSI in Lévis in 2026 and is building a product for small and medium businesses across Quebec. He argues that starting with local firms on the South Shore gives him context on seasonal call patterns and more candid feedback from business owners. The first version of the AI secretary, named Sarah, handles 24/7 phone answering in natural Quebec French, answers frequent questions, takes contact details, books appointments and sends follow-ups by text and email. Milhomme says the team is deliberately limiting early features so that testing stays focused on core functions, and he plans to document the product's development in future installments.

0
ProgrammingDEV Community ·

Finding and Fixing Memory Leaks in JavaScript and React Apps

A developer describes how a steadily climbing memory graph in DevTools revealed a leak that slowly degraded their app's performance. Memory leaks occur when forgotten references stop the garbage collector from freeing objects, and the usual culprits are unremoved event listeners, uncleared timers, fetches resolving after unmount, detached DOM nodes, unbounded caches, and third-party instances that are never destroyed. The article recommends a quick check using the Performance monitor's JS heap size to spot sustained growth. It then outlines a deeper workflow using heap snapshot comparisons, detached-node filtering, allocation sampling, and the React DevTools Profiler to identify components that mount and unmount excessively.

0
ProgrammingDEV Community ·

How Hindsight Lets Support Chats Carry Customer Memory Across Sessions

A developer built RecallCare, a customer-support chat app, to keep customer knowledge separate from individual conversation transcripts. The system stores chat history per thread, while long-term facts such as devices and past resolutions are kept in Hindsight and tied to each customer. When a customer sends a message, the backend recalls relevant memories alongside a bounded set of recent messages before generating a reply. Each customer receives a stable, hashed bank identifier derived from their ID, so new conversations can access earlier history without loading full transcripts. The author argues this separation improves retrieval, prompting, and the overall usefulness of the support assistant.

0
ProgrammingDEV Community ·

Agent memory of past pipeline postmortems catches recurring warehouse bugs faster

A developer built a demo agent that consults stored postmortems from five data pipelines at a fictional logistics company to diagnose a missing-rows issue. The agent recognized a fiscal-week boundary bug that had caused an earlier outage, reaching the diagnosis in four queries instead of six. The stack uses an open-weight model for the agent loop, Hindsight Cloud for memory, and SQLite with Streamlit for the demo. The memory stores incidents as prose with exact identifiers preserved, and failed first responses are recorded so the agent learns dead ends as well as fixes. The author notes that retrieval returns extracted facts, so results are regrouped by incident ID and shown to the model as whole postmortems.

0
ProgrammingDEV Community ·

Three AI Agents Ran a Simulated Incident and Refused to Mark It Resolved Without Approval

A developer built a small incident-response team of three Claude Code agents that handle a production bug inside chat rooms alongside a human. The agents are separated by role: a commander that triages and coordinates without code access, an engineer that investigates and fixes the bug on a branch, and a QA agent that independently re-runs tests and can reject fixes. The scenario simulates a payment provider's API v2 renaming response fields, causing a checkout service to return 502 errors even on successful charges. The author reports that the most useful behavior was the commander declining to mark an incident resolved without human confirmation. The project runs on the Switch platform across Mattermost and Telegram, and the author notes that most of the code is plumbing, tests, and a safety gate rather than model logic.

0
ProgrammingDEV Community ·

osFoundry MCP tool list का Codex में token खर्च और project-wise कम करने का तरीका

एक MCP client के handshake के बाद osFoundry का server 59 tools की list लौटाता है, जिसे Tokyo से curl के जरिए बिना token के जांचा गया। Codex CLI इस server से एक url और config table के जरिए जुड़ता है, और जब तक client इन्हें defer नहीं करता, हर model request में ये सभी declarations शामिल होती हैं। लेखक ने tiktoken से माप लिया है कि पूरे tool list का payload लगभग 10,494 tokens है, जिसमें declarations का हिस्सा 7,609 tokens है। सबसे बड़ी single declaration edit_note_tab लगभग 336 tokens की है। OpenAI यह सार्वजनिक नहीं करता कि tool declarations को बिलिंग में कैसे गिना जाता है, इसलिए ये आंकड़े केवल payload पर आधारित हैं।

0
ProgrammingDEV Community ·

Rust for Beginners: Fast Code with Compiler-Enforced Memory Safety

Rust is a programming language offering C++-level speed while its compiler blocks many memory bugs that cause crashes and security flaws. Its ownership model, enforced by the borrow checker at compile time, is the hardest concept for newcomers but catches errors before a program runs. The compiler's detailed error messages and the Cargo build tool make learning more approachable. Learners are advised to start with the official free book, practise with small programs, and use clippy and fmt from the outset. The language has a steep learning curve and a younger ecosystem, so it suits systems-focused developers rather than those wanting quick web development.

0
ProgrammingDEV Community ·

API CaseTracker Uses Per-Customer Memory Banks to Stop Repeat Support Diagnoses

A developer has built API CaseTracker, a support tool for enterprise API platforms that addresses the problem of engineers repeatedly rediscovering the same fixes. Recurring incidents, such as a 401 Unauthorized error caused by a token cache expiry buffer, often cost hours because each customer's architecture differs and past solutions are lost in closed tickets. The system stores knowledge in isolated memory banks per customer, so one client's private configuration details are never recalled for another. According to the project's figures, recall takes about 120 milliseconds and mean time to resolution drops by roughly 99 percent for recurring incidents. For novel problems, the tool is designed to flag cases as needing investigation rather than offering speculative answers.

0
ProgrammingDEV Community ·

Why Automotive and Motorcycle Shopify Stores Need Fitment Certainty to Convert

Automotive and motorcycle shoppers tend to be technical and arrive with a specific vehicle and problem in mind, so a wrong purchase costs them more than a disappointing buy. An expert designer argues that these stores should prioritize confidence over brand storytelling. The first hurdle for parts retailers is whether a product fits the buyer's bike, which is best addressed with a persistent vehicle selector and fitment confirmation on product pages. The article also recommends storing fitment as structured data, such as product metafields, rather than burying it in descriptions. It further suggests choosing a fitment app carefully by testing candidates on real catalogue data and reviewing recent feedback.

0
IndiaTimes of India ·

Idaho hunters kill 12 wolf pups under state-backed reimbursement program

Three hunters in Idaho killed 12 wolf pups and were reportedly paid up to $2,000 for each animal. The payments come through a state programme that reimburses hunters for such kills. Critics have raised concerns about the use of taxpayer money to fund the scheme. Opponents have described the practice as bounty hunting, particularly because it targeted newborn pups. Wildlife experts have also voiced concern about how the animals were killed and the possible impact on wolf populations.

0
ProgrammingDEV Community ·

Building an Evidence Pack Before Piloting Industrial Android Terminals

A terminal that runs a demo app may still be unsuitable for a production fleet, since procurement, developers, and operations often hold incomplete and disconnected information. The article recommends compiling a small evidence pack that links requirements to a reproducible device configuration, including board revision, hardware modules, OS build, firmware, and SDK details. Each requirement should have a named evidence owner, and untested items should be recorded as unverified rather than passed. Broad claims such as scanning or serial support should be converted into specific, testable conditions with expected outcomes defined in advance. The guidance also stresses tracking Android version, security patch level, and firmware, and treating vendor security and update assurances with caution until they are documented and dated.

0
IndiaTimes of India ·

Feeling sad after a finished book or series may reflect strong attachment to its characters

Many people feel sadness when they finish a book or series they cherished, according to psychological perspectives. Such feelings are said to reflect how deeply readers and viewers connect with fictional characters. Research suggests that a person's attachment style plays an important role in how emotionally invested they become. Many describe a real sense of loss when a beloved story reaches its end. The reaction highlights the personal significance storytelling can hold in people's lives.

0
IndiaTimes of India ·

Gukesh visits Tirumala temple before World Chess Championship title defence

Reigning World Chess Champion D Gukesh went to the Sri Venkateswara Temple in Tirumala to seek blessings before defending his title. He faces Uzbekistan's Javokhir Sindarov in the match. The 14-game championship is scheduled in Geneva from November 24 to December 12. Both players are 20 years old, which would make it the youngest World Championship clash in chess history. The tournament carries a prize fund of USD 2.5 million.

0
TechnologyThe Verge ·

Tesla to wind down Cybertruck production next year to make room for Cybercab

Elon Musk announced on Friday that Tesla will end Cybertruck production next year. The move is intended to free up manufacturing capacity for the Cybercab. The Cybertruck was once promoted by Musk as the company's best product and a showcase of its engineering. The Verge's commentary frames the decision as an unusually public and embarrassing way to discontinue the vehicle. The article also revisits Musk's earlier claims about the truck's performance and design.

← NewerPage 483 of 7352Older →