frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

BlueSCSI Milestones

https://bluescsi.com/milestones
1•rbanffy•2m ago•0 comments

The Library of Ashurbanipal

https://www.historytoday.com/archive/feature/library-ashurbanipal
1•samizdis•2m ago•0 comments

Are You a Human?

https://www.newyorker.com/magazine/2026/08/17/are-you-a-human
1•littlexsparkee•2m ago•0 comments

OpenAI Daybreak Red

https://developers.openai.com/api/docs/models/daybreak-red-latest
1•_pdp_•3m ago•0 comments

Dyna-2: A 1M-Hour Scaling Law for World-Action Models

https://www.dyna.co/dyna-2
1•skylerwiernik•3m ago•0 comments

iMessage Agents

1•anr0•4m ago•0 comments

High-orbit satellites could light the way for travel to the moon

https://news.mit.edu/2026/high-orbit-satellites-could-light-way-for-travel-to-moon-0810
1•gnabgib•4m ago•0 comments

Working on documents with your AI chat

https://revise.io/blog/08-10-2026/working-on-documents-with-your-ai-chat
2•artursapek•5m ago•0 comments

Armenia just opened the region biggest AI factory, because Trump signed licence

https://thenextweb.com/news/firebird-armenia-ai-factory-export-licence-compute-diplomacy
3•rbanffy•7m ago•0 comments

The Beauty of Settled Science

https://www.astralcodexten.com/p/the-beauty-of-settled-science
2•toomuchtodo•8m ago•0 comments

Seas have hit hottest temperature on record for July

https://www.theguardian.com/environment/2026/aug/10/global-seas-hottest-temperature-july-scientists
3•cuoder•8m ago•0 comments

Spy cameras on Navy drones sent data to China

https://www.telegraph.co.uk/news/2026/08/09/spy-cameras-on-navy-drones-secretly-sent-data-to-china/
3•like_any_other•9m ago•1 comments

There are 25% more psychotherapy sessions at 53 minutes than at 52

https://www.trytwofold.com/insights/53-minute-billing-threshold
2•ragswag•9m ago•0 comments

Corals Spin Tiny Vortices to Get Oxygen, but Not If It's Too Hot

https://www.quantamagazine.org/corals-spin-tiny-vortices-to-get-oxygen-but-not-if-its-too-hot-202...
1•rbanffy•10m ago•0 comments

Anthropic just proved AI isn't getting better

https://www.youtube.com/watch?v=xWxFEZICuwU
3•kesor•11m ago•0 comments

Putting frontier cyber models in more trusted hands – OpenAI

https://openai.com/index/putting-frontier-cyber-models-in-more-trusted-hands/
2•speckx•12m ago•0 comments

Slopocop: ESLint for TypeScript Slop

https://github.com/LBognanni/slopocop
1•lorisdev•12m ago•1 comments

Claude Code no longer limits sessions to 200 spawned subagents

https://github.com/anthropics/claude-code/commit/66edf5358349356774812264b75b8ea792f0d0a3
1•bakigul•12m ago•0 comments

Attacker Takes over Zoom AI

https://www.promptarmor.com/resources/attacker-takes-over-zoom-ai
3•hackerBanana•13m ago•0 comments

NYT Report Good News for Flock, but Overlooks Seven Major Problems

https://ipvm.com/reports/nyt-flock
1•jhonovich•13m ago•0 comments

Claude Sonnet 5 introductory pricing made permanent

https://twitter.com/claudeai/status/2086891169217122586
3•bvogelzang•16m ago•2 comments

C64 Demo: The Lab by Elysium (6 June 2026) [video]

https://www.youtube.com/watch?v=9g91vnJ6Bz4
1•austinallegro•16m ago•0 comments

Show HN: Étincel trains Claude's voice for PR reviews and code comments

https://github.com/AIStoryHub/etincel
1•jeeps1911•16m ago•0 comments

Investors Want Quarterly Reports, Unfavorable Results and All

https://www.bloomberg.com/graphics/2026-semiannual-reporting-obscures-bad-results/
2•petethomas•19m ago•0 comments

Tech leaders say AI means less work; staff say they work up to 90 hours a week

https://www.bbc.com/news/articles/cvgx4yd1gl2o
7•billybuckwheat•19m ago•1 comments

Elon Musk and the Infinity Rebuy

https://davekarpf.substack.com/p/elon-musk-and-the-infinite-rebuy
5•highfrequency•19m ago•0 comments

Major Oak: Ancient 'Robin Hood' tree is dead, experts say

https://www.bbc.com/news/articles/clyer9m0jmko
3•speckx•23m ago•0 comments

SpaceX plan for rocket launch site on Louisiana coast sparks backlash

https://www.theguardian.com/us-news/2026/aug/10/spacex-rocket-launch-site-louisiana-backlash
3•jethronethro•23m ago•0 comments

Ask HN: What new tools are you using?

3•jjcm•27m ago•0 comments

Nvidia is pulling Wall Street into the AI buildout

https://thenextweb.com/news/nvidia-500-billion-wall-street-ai-infrastructure-funding-package
5•berkeleyjunk•27m ago•0 comments
Open in hackernews

An Enterprise-Level Retrieval-Augmented Generation System

https://comfyai.app/article/llm-applications/enterprise-level-rag-hands-on-practice-II
6•zljdanceholic•1y ago

Comments

zljdanceholic•1y ago
How can we search the wanted key information from 10,000+ pages of PDFs within 2.5 hours? For fact check, how do we implement it so that answers are backed by page-level references, minimizing hallucinations?

RAG-Challenge-2 is a great open-source project by Ilya Rice that ranked 1st at the Enterprise RAG Challenge, which has 4500+ lines of code for implementing a high-performing RAG system. It might seem overwhelming to newcomers who are just beginning to learn this technology. Therefore, to help you get started quickly—and to motivate myself to learn its ins and outs—I’ve created a complete tutorial on this.

We have a complete graph to explain its workflow where multiple tools are used: Docling for parsing PDFs, LangChain for chunking text, faiss for vectorization and similarity searching, and chatgpt for LLMs.

Besides, I also outline the codeflow, demonstrating the running logic involving multiple python files where starters can easily get lost. Different files are colored differently. The purpose of showing this is not letting you memorize all of these file relationships. It works better for you to check the source code yourself and use this as a reference if you find yourself lost in the code.

The original project of Ilya Rice design its RAG system for answering questions of annual reports from companies, so he only designed three types of question response format for that challenge: a name, a number, or a boolean. But to ask questions about technical stuff, we absolutely ask general questions like How does RoPE work? to know about some concepts and the like Therefore, I further modify the system logic to fit this need by customizing an AnswerWithRAGContextExplanationPrompt class and automatically matching the most related chapter and corresponding pages via searching through all faiss databases (only retrieve the top-1) The final performance is demonstrated below (not cherry-picked, only tested once).

- What's the steps to train a nanoGPT from scratch? The answer is:

Training nanoGPT from scratch involves several clearly defined steps. First, set up the environment by installing necessary libraries, using either Anaconda or Google Colab, and then download the dataset (e.g., tinyShakespeare). Next, tokenize the text into numerical representations and split the data into training and validation sets. Define the model architecture including token/positional embeddings, transformer blocks with multi-head self-attention and feed-forward networks, and layer normalization. Configure training hyperparameters and set up an optimizer (such as AdamW). Proceed with a training loop that performs forward passes, computes loss, backpropagates, and updates parameters, while periodically evaluating performance on both training and validation data. Finally, use the trained model to generate new text from a given context.

All code are provided on Colab and the tutorial is referenced here. Hope this helps!