SShortSingh.
0
ProgrammingDEV Community ·

Query Budgets for Fresh Support Retrieval: Limits That Protect Changed Evidence

The article argues that a hard query budget around each retrieval request should direct spending toward fresh, diverse chunks rather than forcing a model to process everything. It describes a funnel approach of fetching candidates, removing near-duplicates, reranking, and fitting results into a token-based context budget, using example values such as 40 candidates, 12 survivors, and 6 evidence chunks. The author stresses that these numbers are adjustable policy choices rather than universal truths, and recommends tracking candidate counts, trimmed evidence, and chunk age as operational signals. Chunking by meaning and change boundaries, storing hashes and timestamps, and separating support and freshness query paths are presented as key design practices. The piece also warns of failure modes such as context dilution and stale dominance, and advises surfacing empty retrievals as visible failures rather than silently retrying without limits.

0
ProgrammingDEV Community ·

Next.js 16.4.6 Starts Gzipping Route Handler Responses on Self-Hosted Servers

Next.js 16.4.6 added automatic compression for route handler responses that are not already compressed, a change that affects apps self-hosted with next start. A developer tested routes on versions 16.4.4, 16.4.5 and 16.4.6, finding that JSON responses and server-sent event streams became gzipped in 16.4.6 while earlier versions sent them uncompressed. Streaming behavior held up, with chunks still arriving about every 500 milliseconds, though the tests covered only next start and not reverse proxies, CDNs or Vercel. The 16.4.5 security release had stripped Content-Length and encoding headers from route handler responses, and 16.4.6 does not restore Content-Length for PDFs, which are sent chunked. Handlers that set their own Content-Encoding header on pre-gzipped output were also affected, with 16.4.5 dropping the header so clients received raw gzip bytes.

0
ProgrammingDEV Community ·

Freight operator unifies seven systems into one corridor view to catch delays early

A Saudi freight and logistics operator moving containers and bulk by rail and road across long corridors faces costly chains of delay, where a customs stall at a seaport can cascade into missed train handovers. The proposed design links seven existing systems of record into a single consignment view, using a read-only projection built on the container number that every system already carries. Data flows through adapters that track lineage, ordering and staleness, so the system can distinguish a quiet period from a stopped feed. The approach aims to let corridor planners spot stalls and rebook before customers have to raise the alarm, and it is framed as an open reference architecture under CC BY 4.0.

0
ProgrammingDEV Community ·

Steam Frame's rapid adoption signals VR shifting toward daily-use software

The Steam Frame reportedly reached fifth place in Steam's hardware survey within a month of launch and still has backorders, suggesting VR is moving from an early-adopter niche to everyday use. The article argues this change shifts software goals toward training, habit formation, and rehabilitation support rather than entertainment alone. It highlights Amblyotube, a Meta Quest app by Seven Sports that uses separate display feeds for each eye, with a dominant-eye shader and an AI-based sharpener for the weaker eye. The app requires no patches or glasses, runs 30 to 60 minutes a day, and is intended for ages 13 and up. The developer stresses it is a supplementary visual training aid for binocular coordination, not a diagnostic or curative tool.

0
ProgrammingDEV Community ·

Sentinel-IR 0.4 adds Python support, native-code detection, SHA-256 audit logging and 484 tests

Sentinel-IR is a tool that turns source files into a compact structural representation for AI agents, and version 0.4 extends it to Python. The release adds detection of unsafe deserialization, such as pickle loads and certain yaml, joblib and torch calls, along with flagging of native-code access like ctypes and FFI packages. Calls are resolved through a file's imports, so aliased or indirect invocations are still caught. The MCP server now includes an audit log secured with SHA-256 hashing. All components are released under the Apache-2.0 license, with the test suite growing to 484 tests.

0
ProgrammingDEV Community ·

Node.js Upload Storage: Keep Files in PostgreSQL or Move Bytes to Object Storage?

The article argues that small, bounded files can reasonably live in PostgreSQL alongside their metadata within one transaction, while larger upload workloads often benefit from storing immutable bytes in S3-compatible object storage. It stresses that the cheapest option is whichever backup, restore, deletion, and failure handling a team can realistically operate, not merely the lowest storage price. The author recommends a split design, with metadata in PostgreSQL and opaque object keys pointing to the bytes, once uploads could meaningfully affect database queries or recovery. Across either design, the application must remain the authorization boundary, and deletion should be traceable and physically executed through a retryable process. The piece also warns that HTTP caching can expose private documents and recommends choosing Cache-Control directives based on sensitivity and verifying headers at the edge.

0
ProgrammingDEV Community ·

Vietnam and Japan Expand AI, Patent and Semiconductor Cooperation

During Party General Secretary and State President To Lam's visit to Japan on November 9, 2026, Vietnam's Ministry of Science and Technology and Japan's MEXT signed a memorandum on AI research and development. The two countries also agreed to accelerate patent examination through the PPH Navigator program, slated to start on April 1, 2027, aiming to cut first-action examination times to about eight months. In a separate step, Vietnam's digital technology and AI department signed a memorandum with the University of Tokyo's d.lab to support multi-project wafer chip prototyping at a national center. The collaboration focuses on hands-on training for engineers and lecturers in chip design, fabrication and packaging. Additional joint semiconductor research, including 11 NAFOSTED-JST projects, and a PTIT partnership with Japan's Matsuo Institute on deep learning talent were also reported.

0
IndiaNDTV ·

Chennai Air Quality Drops to 'Very Poor' as AQI Tops 300 on Diwali

Air quality in Chennai slipped into the 'very poor' category on Diwali as the Air Quality Index crossed 300. Valasaravakkam, a densely populated residential area in southwest Chennai, recorded the city's highest reading at 343. Nungambakkam in central Chennai followed with an AQI of 332, while the busy commercial district of Sowcarpet in north-central Chennai registered 311. The readings reflect the surge in pollution linked to festive activity during the celebrations.

0
IndiaTimes of India ·

Oil Prices Dip After Trump Signals Pause in Iran Military Action

Oil prices fell following remarks from US President Donald Trump about possible military action against Iran. Trump reportedly postponed planned strikes but said the naval blockade in the Strait of Hormuz will remain in place. Separately, Opec oil output rose in October, driven by higher production from Saudi Arabia, Kuwait, and Iraq. Russian and Ukrainian officials also held peace talks aimed at ending their ongoing conflict.

0
IndiaNDTV ·

Jensen Huang's Net Worth Drops $7.4 Billion in One Day Amid Nvidia Share Decline

Nvidia CEO Jensen Huang lost roughly $7.4 billion in a single day as the company's shares came under pressure. The decline also pushed him down two places in global billionaire rankings. The sell-off was tied to concerns over an investigation involving his relationship with a Chinese figure, according to the report. The article describes the investigation as a source of market unease but does not provide details on its findings. Further developments in the probe could affect both Nvidia's stock and Huang's wealth ranking.

0
IndiaTimes of India ·

Uttar Pradesh boy's claims about a past life lead to probe of 1983 murder

Titu Toran Singh began talking about details of a previous life while still a young child in Uttar Pradesh. He said he had once been Suresh Verme, a man who was murdered in 1983. Investigations found a radio shop that Suresh had owned, and Titu was reported to have recognized members of Suresh's family during a visit. The case has prompted discussion among psychologists about childhood memory and personal identity.

0
IndiaTimes of India ·

81-year-old M. John Harrison Becomes Oldest Booker Prize Winner

British author M. John Harrison has won the Booker Prize at the age of 81, making him the oldest recipient in the award's history. He received the honour for his novel 'The End of Everything'. The book is set in a dystopian future shaped by a mysterious catastrophe that has upended society. The win is seen as a notable milestone for science fiction within mainstream literary circles. It also recognises a body of earlier work that helped pave the way for the genre's broader acceptance.

0
IndiaNDTV ·

Trump Says He Offered UFC Chief Dana White the Press Secretary Job

Donald Trump said on Saturday that he had offered the White House press secretary position to UFC chief Dana White. The remark surprised many observers, given that the role is a government post and White is known primarily as the head of the mixed martial arts organization. The article reports Trump's statement itself and does not confirm whether White accepted the offer. It also notes the wider attention the comment drew after Trump made it public.

0
IndiaNDTV ·

Cockpit Voice Recorder Recovered From Site of Deadly Florida Jet Crash

Investigators have recovered the cockpit voice recorder from the crash site of a Learjet that was bound for the Bahamas. The aircraft slammed into the ground on November 1 and burst into a fireball. The recovered device may help investigators reconstruct the final moments before the crash. The article provides limited further details beyond the recovery and the date and nature of the incident.

0
ProgrammingHacker News ·

Developer Begins Formalizing CPython Semantics in a Proof Framework

A post on broyojo.com describes an effort to formalize CPython, the reference implementation of Python. The linked article is the primary source for the project's details. The item was shared on Hacker News, where it received 10 points and no comments at the time of capture. The available text provides limited information beyond the title and link, so specifics about methods and scope cannot be confirmed from this source.

0
IndiaTimes of India ·

France Accuses Iran's Revolutionary Guards of Cyberattacks on Supermarket Fridges

French intelligence agencies have attributed disruptive cyberattacks on commercial refrigeration equipment to Iran's Revolutionary Guards. The hacks hit hundreds of supermarkets and other food retailers, disrupting cold-storage systems across the country. Blood banks were also affected, prompting urgent steps to safeguard their cold storage. French officials have raised the prospect of EU sanctions and urged international cooperation in response.

0
IndiaTimes of India ·

Trump Backs Hegseth as Impeachment Articles Target Defence Secretary

President Donald Trump has publicly voiced strong support for Defence Secretary Pete Hegseth as efforts to impeach him gain traction. Republican Representative Thomas Massie has introduced impeachment articles tied to US military operations in Iran and Venezuela. Trump criticised Massie's move and praised Hegseth's military record and operational accomplishments. Hegseth has rejected the charges, calling them politically driven and without merit.

← NewerPage 180 of 7144Older →