frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Touareg CR after missile attack [video]

https://www.youtube.com/watch?v=AmCAjVvaqKE
1•debo_•2m ago•0 comments

Fighting Bot Traffic

https://markustenghamn.com/blog/fighting-bot-traffic
1•sukram•4m ago•0 comments

Whiteboard: Claim Your Pixels

https://whiteboard.lol
1•insomnie•6m ago•0 comments

Vibe coding personal apps in mid-2026

https://www.flourish.org/2026/08/personal-apps/
1•birdculture•7m ago•0 comments

The Horse and Sparrow Economic Theory

http://the13thtribe.blogspot.com/2025/03/the-horse-and-sparrow-economic-theory.html
1•thunderbong•8m ago•0 comments

Passive Investing and the Decline of Active Mutual Fund Alpha

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=6902444
1•toomuchtodo•9m ago•1 comments

Underrated Terminal App

https://apps.apple.com/fr/app/onepilot-ssh-shell-terminal/id6759485908
2•elearia•20m ago•0 comments

Show HN: Updating my wedding registry website with AI in 275 commits

https://benhoyt.com/writings/updating-gifty-with-ai/
1•benhoyt•20m ago•0 comments

5 years on, Afghan girls still barred from education under Taliban

https://apnews.com/article/afghanistan-girls-excluded-secondary-education-taliban-618c7f5c7659d43...
2•gmays•21m ago•0 comments

Our classifier scored "I have never seen a shadow figure" as a sighting

https://theanomalynetwork.com/notes/negation
1•kyleclouthier•22m ago•0 comments

MileClerk – Automatic mileage logging and IRS export (MileIQ alternative)

https://mileclerk.onepingfanventure.com/
1•huangheus•24m ago•0 comments

How to Measure Chess Position Complexity

https://chesscheaterdetector.com/blog/how-to-measure-chess-position-complexity/
1•domhudson•25m ago•0 comments

Mockup Nvidia GPUs on Linux systems

https://github.com/rnts08/Mock-nvidia-gpu-linux
3•rnts08•26m ago•1 comments

Ox Alpha Is Performing SOTA and as Well as GPT-5.6 Sol in Multi-Agent Arena

https://twitter.com/olam_labs/status/2090930116138582224
1•sensho•28m ago•1 comments

Show HN: AI driven civic dashboard for Palo Alto

https://paloaltocivic.com
1•brianhama•28m ago•0 comments

Plural Form(s) in Translation(s)

https://doc.qt.io/archives/qq/qq19-plurals.html
1•zebreus•28m ago•0 comments

Intel Hyper Threading Performance on the Xeon 678X "Granite Rapids-WS"

https://www.phoronix.com/review/intel-xeon-678x-ht
1•rbanffy•29m ago•0 comments

Show HN: EchoVault, an app that interviews you and answers as you after death

https://apps.apple.com/us/app/echovault-digital-legacy/id6762042028
1•kingbillion1•31m ago•0 comments

Apt Groups and Operations

https://docs.google.com/spreadsheets/d/1H9_xaxQHpWaa4O_Son4Gx0YOIzlcBWMsdvePFX68EKU/edit
2•gurjeet•31m ago•0 comments

Peanut Allergy? Fecal Transplant Might Be a Solution

https://www.usnews.com/news/health-news/articles/2026-08-06/peanut-allergy-fecal-transplant-might...
2•gmays•32m ago•0 comments

Linus: "A debug session from hell, enormously helped by an AI"

https://github.com/torvalds/linux/commit/818bebeb63dd6bf5f4e07e145f6cdbace520a34c
1•dnw•37m ago•0 comments

The Wi-Fi Password is 'heartcenter'

https://robertxworld.com/the-wi-fi-password-is-heartcenter/
1•devrob•37m ago•0 comments

Nvidia to Pay AI Startup Poolside a $6B License, Newcomer Says

https://www.bloomberg.com/news/articles/2026-08-20/nvidia-to-pay-ai-startup-poolside-a-6-billion-...
5•sbulaev•38m ago•0 comments

Trump, Vance and Bessent try to calm the bond market with 'alternative facts'

https://www.msn.com/en-us/money/general/trump-vance-and-bessent-try-to-calm-the-bond-market-with-...
4•petethomas•44m ago•0 comments

Hubble Solves Merger Mystery from Milky Way's Early Years Science

https://science.nasa.gov/missions/hubble/hubble-solves-merger-mystery-from-milky-ways-early-years/
1•bpierre•45m ago•0 comments

Trump's space transportation policy calls for new spaceport on federal land

https://arstechnica.com/space/2026/08/trump-admin-calls-for-more-spaceports-to-handle-surge-in-la...
2•rbanffy•46m ago•0 comments

Nayib Bukele's Content Machine Is Reshaping Latin America

https://www.newyorker.com/news/the-lede/nayib-bukeles-content-machine-is-reshaping-latin-america
2•rbanffy•49m ago•0 comments

Show HN: TUI to attribute experiment slowdown to shared-server congestion

https://lennart-rth.github.io/server-spy/
1•lennart-rth•49m ago•0 comments

HN: The Good Parts

https://danluu.com/hn-comments/
7•adletbalzhanov•52m ago•3 comments

Why it's appearing sorry message when I trying to post?

2•Edymilson•53m 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!