frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Hermes AI agent used to automate attack on Thai Finance Ministry

https://www.bleepingcomputer.com/news/security/hermes-ai-agent-used-to-automate-attack-on-thai-fi...
1•sbulaev•1m ago•0 comments

Lessons from Indonesia's 10-year journey towards universal health coverage

https://www.worldbank.org/en/programs/multi-donor-trust-fund-for-integrating-externally-financed-...
1•testing22321•2m ago•0 comments

Show HN: Proving Go 1.26's runtime/secret keeps secrets out of core dumps

https://towardsdev.com/runtime-secret-go-1-26s-answer-to-secrets-leaking-in-core-dumps-d884615e971f
1•cheikhdev•4m ago•0 comments

The False Promise of the First 'Smart' Homes

https://thereader.mitpress.mit.edu/the-false-promise-of-the-first-smart-homes/
2•EA-3167•5m ago•1 comments

The Bitmap Brothers – Gaming Legends [video]

https://www.youtube.com/watch?v=TBYQxMJ5GM8
1•doener•7m ago•0 comments

Show HN: KoIME – A BYOK voice-input keyboard for Android

https://github.com/sakai-sktech/koime
1•gysakai•7m ago•1 comments

Show HN: Fractal, coding agents in a tree with one Git worktree per node

https://github.com/plasma-ai/fractal
2•ryanpettry•8m ago•0 comments

NISAR's L-Band Radar Reveals 'Hummingbird' in Antarctica

https://science.nasa.gov/photojournal/nisars-l-band-radar-reveals-hummingbird-in-antarctica/
1•LostMyLogin•9m ago•0 comments

But does it need a UI?

https://graybeard.ing/but-does-it-need-a-ui/
1•rglover•12m ago•0 comments

DEI Fraud and Cover-Up at Cambridge

https://ncofnas.com/p/dei-fraud-and-cover-up-at-cambridge
3•haritha-j•13m ago•0 comments

Deel Alternatives for Global Payroll

https://megabite.pt/10-best-deel-alternatives/
1•kareneoperators•14m ago•0 comments

Veritasium – why he still gets views [video]

https://www.youtube.com/watch?v=QHhJ8_TJeNo
4•Gualdrapo•21m ago•0 comments

Typepad: An AI Writing Copilot

https://typepad.cc/
1•djxjxjcjcjc•21m ago•0 comments

Verse – functional logic programming in Unreal Engine 6 [video]

https://www.youtube.com/watch?v=ebqKYLKjL6U
1•modinfo•22m ago•0 comments

Paramount Agrees to Pause Its Warner Bros. Merger

https://www.wsj.com/business/media/paramount-agrees-to-pause-its-warner-bros-merger-88ae1de1
1•JumpCrisscross•24m ago•1 comments

Outbreak of diarrhea-causing parasite expands to 4 more states

https://ktla.com/news/nationworld/outbreak-of-diarrhea-causing-parasite-expands-to-4-more-states/
2•Bender•24m ago•0 comments

One ChatGPT link could smuggle a rogue AI agent into your company

https://www.theregister.com/security/2026/07/23/one-chatgpt-link-could-smuggle-a-rogue-ai-agent-i...
1•Bender•24m ago•0 comments

Europol flags 4,340 'horrific' URLs linked to The Com

https://www.theregister.com/cyber-crime/2026/07/24/europol-flags-4340-horrific-urls-linked-to-the...
2•ilreb•26m ago•0 comments

Canadian legislator's speech features telltale signs of LLM prompting

https://arstechnica.com/ai/2026/07/canadian-legislator-reads-out-apparent-llm-response-in-floor-s...
1•vok•27m ago•1 comments

Monumental solar observatory in New Mexico

https://www.nytimes.com/2026/07/22/arts/design/charles-ross-star-axis-land-art.html
2•ragall•27m ago•1 comments

Jimothy's Sandwich Stacker

https://fameboy.net/games/sandwich
1•djxjxjcjcjc•29m ago•0 comments

How to Regain the Lost Focus?

1•gabrycina•30m ago•0 comments

The Space Data Centers Situation Is Insane

https://www.youtube.com/watch?v=_qpdUNMt2yg
1•Arodex•31m ago•0 comments

Waymo explores split with Uber as robotaxi tensions deepen

https://www.ft.com/content/9dcb5d72-13aa-4f9c-ac6d-e022860df5ea
1•JumpCrisscross•31m ago•0 comments

Orbital data centers, yes or no?

https://www.youtube.com/watch?v=JAcR7kqOb3o
1•Arodex•32m ago•1 comments

State of the art research publication search

https://demos.exa.ai/scholar
1•shibo•33m ago•0 comments

Network expert Glenn Fiedler warns game devs to fix game vulnerabilities with AI

https://gamesbeat.com/network-expert-glenn-fiedler-warns-game-programmers-to-fix-game-code-vulner...
2•gafferongames•33m ago•0 comments

AI in Linux

https://drewdevault.com/blog/AI-in-Linux/
3•zdw•34m ago•0 comments

Canbus – Networking so simple, even YOU can understand it [video]

https://www.youtube.com/watch?v=QTTCqGtT6I4
2•jval43•36m ago•0 comments

NASA Deep Space ground station in Spain evacuated due to wildfires

https://spaceflightnow.com/2026/07/24/critical-nasa-deep-space-ground-station-in-spain-evacuated-...
1•gonzalohm•38m ago•2 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!