frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

How America's Wealth Distribution Has Changed Since 1989

https://www.visualcapitalist.com/americas-wealth-distribution-1989-2025/
1•theanonymousone•4m ago•1 comments

We built a Rust EDR. macOS notarization tried to kill it

https://www.nemesislabs.xyz/
1•davidobi023•4m ago•0 comments

Wall clock is the wrong metric

https://www.anantjain.xyz/posts/wall-clock-is-the-wrong-metric
1•anant90•5m ago•0 comments

A battery 'hacking' app can strand an e-rickshaw – and the risks it poses

https://indianexpress.com/article/explained/explained-sci-tech/bms-apps-e-rickshaw-battery-hack-g...
1•Abishek_Muthian•6m ago•0 comments

Ancient Denisovan DNA is still shaping human immunity today (Science Daily)

https://www.sciencedaily.com/releases/2026/06/260613034210.htm
1•indynz•13m ago•0 comments

Show HN: ChatGPT, Claude and Codex-style chat inputs in one React component

https://prompt-area.com/styles
1•kachar•14m ago•0 comments

Malleating Git commit signatures

https://iter.ca/post/git-malleate/
1•smitop•14m ago•0 comments

Real 3D Minecraft on the GameBoy [video]

https://www.youtube.com/watch?v=2hwYoG96GQQ
1•zetamax•14m ago•0 comments

ForkMind – Git for LLM context: branch, offload, and restore it

https://github.com/Medhovarsh/forkmind
1•medhovarsh•15m ago•0 comments

Smolbren: Local search for your Markdown vaults

https://github.com/junaidrahim/smolbren
2•handfuloflight•18m ago•0 comments

Reminder Email to yourself with voice option

https://remindmyemail.com/
1•texasjosh•21m ago•1 comments

Chorus: A fast, single-writer write-ahead log on Google Cloud Storage

https://github.com/rockwotj/chorus
1•handfuloflight•22m ago•0 comments

Luteolin, an antioxidant, may contribute to prevention of hair graying (2025)

https://medicalxpress.com/news/2025-02-luteolin-antioxidant-vegetables-contribute-hair.html
2•OutOfHere•24m ago•0 comments

Code trails: A new way to understand software

https://app.principal-ade.com/
1•thunderbong•29m ago•0 comments

Egg producers will pay $3.3M and donate 53M eggs to settle price-fixing

https://apnews.com/article/egg-prices-collusion-settlement-d32b05892541613df3f4e4932109ee0c
3•SilverElfin•31m ago•1 comments

The Taste Gap(2014)

https://www.themarginalian.org/2014/01/29/ira-glass-success-daniel-sax/
1•o4c•31m ago•0 comments

Did You Mean: Recursion

https://www.google.com/search?sca_esv=01006499c0c391e8&sxsrf=APpeQnuafTsQxwAyVUUvNK-FJhxgKP-UEA:1...
1•bear_with_me•38m ago•0 comments

AI has taken over the stock market. The bond market is next

https://www.economist.com/finance-and-economics/2026/07/07/ai-has-taken-over-the-stock-market-the...
4•petethomas•40m ago•0 comments

Fable 5 Access Extended Through July 12

https://xcancel.com/claudeai/status/2074548242386178258
2•etothet•42m ago•2 comments

Meta expands generative AI tools with Muse Image rollout

https://www.reuters.com/technology/meta-expands-generative-ai-tools-with-muse-image-rollout-2026-...
1•adithyaharish•46m ago•0 comments

O-ring theory of economic development

https://en.wikipedia.org/wiki/O-ring_theory_of_economic_development
2•o4c•46m ago•0 comments

TackNote

https://tacknote.app/
3•TackNote•49m ago•0 comments

Convert ANY web page into a Sticky Note with my FREE Chrome extension

https://chromewebstore.google.com/detail/sticky-note-web-clipper-—/gniilbpapgommpalikcclpcnbcam...
2•taskloco_nyc•49m ago•0 comments

A fast, decentralized web crawler, indexer, and search engine in one Rust binary

https://splch.github.io/mycel/
3•splch•51m ago•0 comments

Is The Economist Always Wrong?

https://www.economist.com/interactive/finance-and-economics/2026/07/02/is-the-economist-always-wrong
29•nreece•55m ago•5 comments

Micro Stirling Mechanical Cryo-Cooler Teardown by Fraser(2023)

https://www.eevblog.com/forum/thermal-imaging/micro-stirling-mechanical-cryo-cooler-teardown-by-f...
2•pillars•56m ago•0 comments

Ask HN: Best Podcasts of 2026 [So Far]

4•AbstractH24•59m ago•0 comments

What if users start cloning SaaS using AI

2•mzubairtahir•59m ago•2 comments

Defending OpenClaw against indirect prompt injection

https://compsec.snu.ac.kr/blog/dualview
7•b2y•1h ago•0 comments

The Answer Citation Protocol (ACP)

https://ericstrate.com/the-answer-citation-protocol-acp-optimizing-web-architecture-for-token-eff...
2•ericstrate•1h 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!