frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

OpenAI GPT-6 Astra is AGI? [video]

https://www.youtube.com/watch?v=vuFYLqe3-xc
1•harshalone•1m ago•0 comments

Review: Sid Meier's Memoir by Sid Meier

https://www.ybrikman.com/blog/2026/06/18/sid-meier-memoir/
1•adrianwaj•3m ago•0 comments

Ancient Coins Reveal a Wealth of Information About the Roman Republic

https://nautil.us/ancient-coins-reveal-a-wealth-of-information-about-the-roman-republic-1284847
1•Brajeshwar•3m ago•0 comments

AI Philosophy Competition

https://www.zacharygoodsell.com/ai-philosophy-competition
1•m-hodges•3m ago•0 comments

Two Nations, an Accident, and the Urgent Need to Understand the Laws of Space

https://www.wired.com/story/two-nations-horrible-accident-urgent-need-laws-of-space-lachs-moot/
1•voxleone•4m ago•0 comments

How the Planet-Altering Disaster of "Forever Chemicals" Was Kept Secret

https://www.propublica.org/podcast/forever-chemicals-pfas-pfos-3m-secret-kris-hansen
1•stevenwoo•6m ago•0 comments

Show HN: Show HN Hall of Fame

https://artifactbin.dev/@vivek/6bXsx3-vol-2-show-hn-hall-of-fame
2•nuwandavek•8m ago•0 comments

Donut Labs Solid State Battery Looks Like It May Be Real After All

https://cleantechnica.com/2026/09/04/donut-lab-reveals-amazing-performance-tests/
1•gumby•8m ago•0 comments

Doomscrolling Ourselves to Death

https://www.edwest.co.uk/p/doomscrolling-ourselves-to-death
1•jger15•9m ago•0 comments

A Wandering Mind Is an Unhappy Mind [pdf]

https://greatergood.berkeley.edu/images/uploads/A_Wandering_Mind_Is_an_Unhappy_Mind.pdf
1•aray07•12m ago•0 comments

Discovery of a new IRC bot message board (2018)

https://drewdevault.com/blog/How-to-write-an-IRC-bot/
1•Zsfe510asG•12m ago•0 comments

Show HN: Functional options design pattern and implementation in Go

https://archetechmes.vercel.app/blog/functional-options-go
1•rzwsan•12m ago•1 comments

Sears is alive and well in Mexico

https://www.washingtonpost.com/world/2026/09/05/sears-isnt-dead-its-alive-well-mexico/
1•bookofjoe•12m ago•1 comments

GPT 6 Astra for Developers [video]

https://www.youtube.com/watch?v=9xp1XWmJ_Wo
1•s3p•13m ago•1 comments

Cash in on the AI Boom by Renting Out Your Spare Compute

https://spectrum.ieee.org/ai-inference-distributed-computing
2•pseudolus•15m ago•0 comments

Org chart is your cycle time

https://keithbrown.com/org-cycle-time/
2•optimizethis•17m ago•1 comments

SpaceX is building its own gas turbine blade factory to power AI faster

https://qz.com/spacex-turbine-blade-foundry-ai-data-centers-090226
1•JumpCrisscross•18m ago•2 comments

"Kill All Humans"

https://bsky.app/profile/ruggsea.eurosky.social/post/3murj32dbvs26
2•Bluestein•18m ago•0 comments

Processing power for folding@home has dropped significantly

https://stats.foldingathome.org/os
1•alightsoul•18m ago•1 comments

Almost Anyone Can Make Money Selling Electricity with AI and Batteries

https://www.bloomberg.com/news/features/2026-09-03/consumers-profit-off-solar-batteries-selling-e...
2•JumpCrisscross•19m ago•1 comments

New urinal designs prevent messy splashes onto legs and the floor (2022)

https://www.cbc.ca/news/canada/kitchener-waterloo/urinal-designs-no-splash-backs-university-water...
1•fidotron•22m ago•0 comments

NYC law could force Uber and Lyft to keep dangerous drivers on the road

https://reason.com/2026/09/05/nyc-law-could-force-uber-and-lyft-to-keep-dangerous-drivers-on-the-...
2•leephillips•23m ago•1 comments

Separating Parsing Expression Grammars Using Cell-Probe Lower Bounds

https://arxiv.org/abs/2608.29592
1•pcfwik•23m ago•0 comments

Prompt Evolution Engine

https://vahetorozyan.com/prompt-engineering-engine/
2•VaheT•23m ago•0 comments

Ask HN: Why does it seem like the game industry is stagnating?

1•ishener•24m ago•1 comments

Run AI in the Browser: A Practical Guide to Transformers.js

https://tighten.com/insights/run-ai-in-the-browser-a-practical-guide-to-transformers-js/
1•eustoria•24m ago•0 comments

PJM drops Oklo advanced nuclear project from interconnection study cycle

https://www.utilitydive.com/news/pjm-oklo-advanced-nuclear-ferc-interconnection/829150/
1•JumpCrisscross•25m ago•0 comments

Patching Qualcomm QHEE to Get KVM Running on Arduino Uno Q

https://jaseg.de/blog/kvm-on-qualcomm-arduino-uno-q/
1•ahlCVA•25m ago•0 comments

Turn your AI into a world-class designer

https://www.lennysnewsletter.com/p/how-to-turn-your-ai-into-a-world
2•eustoria•26m ago•0 comments

Drawesome: Drawing Toolbar for React

https://benji.org/drawesome
1•eustoria•27m 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!