frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Streaming services' obnoxiously loud ads become illegal on July 1 in California

https://arstechnica.com/gadgets/2026/06/streaming-services-obnoxiously-loud-ads-become-illegal-on...
4•speckx•5m ago•1 comments

Fantasy Land: interoperability of common algebraic structures in JavaScript

https://github.com/fantasyland/fantasy-land
2•tosh•6m ago•0 comments

Create and share YouTube playlists without an account

https://y2pilot.com/
2•lvidakovic•7m ago•0 comments

How Many Elementary Particles Are There, Really?

https://www.quantamagazine.org/how-many-elementary-particles-are-there-really-20260615/
2•rwmj•8m ago•0 comments

Lemonad: A functional programming library for JavaScript

https://github.com/fogus/lemonad
1•tosh•8m ago•0 comments

The great herbivores of the Caucasus stage a comeback

https://www.unep.org/news-and-stories/story/great-herbivores-caucasus-stage-comeback
1•thunderbong•8m ago•0 comments

Some Intuition Behind the Contrapositive

https://max-amb.github.io/blog/some_intuition_behind_the_contrapositive/
1•max-amb•12m ago•0 comments

Designing Math Ft. Grant Sanderson (3Blue1Brown) [video]

https://www.youtube.com/watch?v=bLSLN96Gn-w
1•marvinborner•12m ago•0 comments

QRCard – Your digital business card

https://qrcard.up.railway.app/
1•nikitafaesch•16m ago•0 comments

Open-source cloud-native Postgres platform

https://github.com/xataio/xata
1•mebcitto•17m ago•0 comments

Phones Alerted Millions Before Quakes Shook Venezuela

https://www.nytimes.com/interactive/2026/06/27/world/americas/venezuela-earthquakes-android-alert...
2•jgalt212•20m ago•1 comments

A Street of Good Houses - The Shape of the Whole

https://shapeofthesystem.com/posts/2026/06/26/a-street-of-good-houses
1•supermatt•20m ago•0 comments

BlueBookOS: An LLM microkernel and language for specifying apps

https://bluebookos.com/
1•logn•20m ago•0 comments

Show HN: Nirnam – a browser-native message bus and AI agent framework for MFEs

https://github.com/shaurcasm/nirnam
1•shauryaSP•21m ago•0 comments

Generative artificial intelligence creates delicious, nutritious burgers

https://www.nature.com/articles/s41538-026-00953-x
1•Anon84•28m ago•0 comments

What's cooking on Sourcehut? Q2 2026

https://sourcehut.org/blog/2026-05-28-whats-cooking-q2-2026/
1•birdculture•29m ago•0 comments

Kb – Prolog Knowledge Base

https://github.com/mat-mgm/kb-prolog
1•triska•32m ago•0 comments

Overview of new contracts, pay and transfers in the Ukrainian army

https://mod.gov.ua/en/news/transformation-of-the-defence-forces-of-ukraine-a-comprehensive-overvi...
1•Someone•37m ago•0 comments

OpenRA

https://www.openra.net/
12•tosh•38m ago•4 comments

A thermodynamic approach to gravity could explain cosmic acceleration

https://phys.org/news/2026-06-thermodynamic-approach-gravity-cosmic-dark.html
3•wjSgoWPm5bWAhXB•40m ago•0 comments

Using Local Coding Agents

https://magazine.sebastianraschka.com/p/using-local-coding-agents
1•Anon84•43m ago•0 comments

Ask HN: Is there a quiet market for 'no enforced AI' dev jobs?

3•reinhardt•43m ago•1 comments

Ask HN: Steam OS as a Windows Replacement?

1•x______________•48m ago•0 comments

Mitchell Hashimoto: Defining Taste

https://xcancel.com/i/article/2070665127331037290
2•tamnd•48m ago•0 comments

XiaoKe API Gateway: PDF OCR Scrape Translate Review SummarizeXiaoKe API Gateway

https://github.com/y9695430-lang/xiaoke-api-gateway
1•xiaoke-api•49m ago•0 comments

Gnome AI Assistant Adds Image Generation Support

https://www.phoronix.com/news/GNOME-Newelle-Image-Gen
1•mehmetoguzderin•49m ago•0 comments

Show HN: RapidCam – Browser-based, parametric 2D CAD/CAM app for CNC and laser

https://rapidcam.app
2•Jemm•51m ago•1 comments

Tapered Language Models

https://arxiv.org/abs/2606.23670
1•sonabinu•53m ago•0 comments

Saying the Obvious Thing

https://www.seangoedecke.com/saying-the-obvious-thing/
1•swah•53m ago•0 comments

Show HN: Visual Map of ICML 2026 Papers

https://www.alphaxiv.org/icml/map
2•vednig•54m 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!