frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

ESA and JAXA team up on planetary defence, Ramses mission to asteroid Apophis

https://www.esa.int/Space_Safety/Planetary_Defence/ESA_and_JAXA_team_up_on_planetary_defence_Rams...
1•rustoo•2m ago•0 comments

Apple's iOS 26.5 Update Patches More Than 50 Security Flaws

https://www.macrumors.com/2026/05/11/ios-26-5-security-fixes/
1•akyuu•4m ago•0 comments

Show HN: I mage GhosttyFX, a JavaFX terminal view that uses libghostty

https://github.com/vlaaad/ghosttyfx/
1•vlaaad•5m ago•0 comments

Building a devcontainer: workspace mounts, DNS wildcards and /etc./resolv.conf

https://topaz.thecloudtheory.com/blog/devcontainer-topaz/
1•kamilmrzyglod•5m ago•0 comments

The Document Foundation Announces LibreOffice 25.8.7

https://blog.documentfoundation.org/blog/2026/05/12/tdf-announces-libreoffice-25-8-7/
1•berlianta•6m ago•0 comments

The Download: the hantavirus outbreak and Musk vs. Altman week 2

https://www.technologyreview.com/2026/05/11/1137031/the-download-hantavirus-outbreak-musk-altman-...
1•joozio•7m ago•0 comments

Allowlisting Config Capabilities by Embedding Rye in Go

https://ryelang.org/blog/posts/whitelist-config-with-rye/
1•middayc•7m ago•0 comments

Houses are for living, not for speculation

https://en.wikipedia.org/wiki/Houses_are_for_living,_not_for_speculation
1•robtherobber•7m ago•0 comments

LUKSbox – Store sensitive files in the cloud

https://luksbox.penthertz.com/
1•campuscodi•9m ago•0 comments

Show HN: I made a weird language and if you no think it dumb, I want your help

https://github.com/DO-SAY-GO/freelang
1•keepamovin•11m ago•2 comments

Elsevier vs. Meta: first science publisher sues over scraped research papers

https://www.nature.com/articles/d41586-026-01481-0
2•_____k•12m ago•0 comments

Robots We Saw at Kazakhstan's AI Conference

https://www.siliconimist.com/p/robots-of-gitex-kazakhstans-ai-conference
1•johncole•14m ago•0 comments

CERN KiCad Libraries

https://gitlab.com/ohwr/cern-kicad-libs
1•_____k•20m ago•0 comments

Ask HN: Books you wish you had read earlier?

4•chistev•20m ago•1 comments

Why Optimistic Merging Works Better (2015)

http://hintjens.com/blog:106
1•mpweiher•20m ago•0 comments

SQLite is the best home for AI agents

https://su3.io/posts/willow
1•losfair•22m ago•0 comments

Local Agent Memory with 98% Recall-5 on LongMemEval-S, no LLMs, no API Key

https://github.com/sachinsharma9780/memweave
1•r2d2_•24m ago•0 comments

Got tired of paying for 6 Shopify tools that didn't talk to each other

https://www.indiehackers.com/post/i-got-tired-of-paying-for-6-shopify-tools-that-didnt-talk-to-ea...
1•codefreex•24m ago•0 comments

Implementing advanced AI technologies in finance

https://www.technologyreview.com/2026/05/11/1136786/implementing-advanced-ai-technologies-in-fina...
1•joozio•26m ago•0 comments

Any app on recent Android versions can leak certain traffic

https://mullvad.net/en/blog/any-app-on-recent-android-versions-can-leak-certain-traffic
3•OuterVale•27m ago•0 comments

EU to crack down on TikTok, Instagram's 'addictive design' targeting kids

https://www.cnbc.com/2026/05/12/tiktok-instagram-social-media-addictive-eu-crack-down.html
5•thm•27m ago•1 comments

Six Million Selections Later: How the DMA Is Giving People Browser Choice

https://blog.mozilla.org/netpolicy/2026/05/11/six-million-selections-later-how-the-dma-is-giving-...
1•Vinnl•28m ago•0 comments

Enlightened Imagination

https://worrydream.com/refs/Kay_2005_-_Enlightened_Imagination_for_Citizens.html
1•seltzerboys•28m ago•0 comments

Agentic AI token compression using Haskell

https://blog.dan-gilmour.com/post/agentic-ai-token-compression
2•villagegreens•29m ago•0 comments

Israel Turned Eurovision's Stage into a Soft Power Tool

https://www.nytimes.com/2026/05/11/world/europe/eurovision-israel-gaza-netanyahu.html
2•doener•29m ago•0 comments

Bedrock 429'd My Token Quota and I Hadn't Done Anything Yet

https://2026.bhargav.dev/writing/bedrock-429-my-token-quota-and-i-hadnt-done-anything-yet
1•brgv-code•30m ago•0 comments

A $440k Breast Reduction: How Drs Cashed in on Legislation and Arbitration

https://www.nytimes.com/2026/04/22/us/politics/doctors-insurers-arbitration.html
1•tmoertel•31m ago•0 comments

Prave – the missing management layer for AI Agent Skills

https://prave.app/
1•karoabi•34m ago•0 comments

Codex CLI Cheat Sheet

https://www.agenticcodingweekly.com/p/codex-cli-cheat-sheet
1•primaprashant•34m ago•0 comments

The Rule of Three and Four

https://www.bcg.com/publications/1976/business-unit-strategy-growth-rule-three-four
1•dochtman•34m 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!