frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

BBC replaced by TNT Sports as Commonwealth Games live broadcaster

https://www.bbc.co.uk/news/articles/c5yj9pnl5n4o
1•mmarian•34s ago•0 comments

Is the Root Cause Car Companies Using "19th-Century" AI Technology?

https://medium.com/@liuzc19761204/frequent-self-driving-accidents-is-the-root-cause-car-companies...
1•ZuoCen_Liu•43s ago•0 comments

Online Book: Exploring Mathematics with Python

https://coe.psu.ac.th/ad/explore/
1•Andrew2565•1m ago•0 comments

Believe the Checkbook

https://robertgreiner.com/believe-the-checkbook/
2•rg81•5m ago•0 comments

AI Safety has a scaling problem

https://boydkane.com/essays/safety-scaling
2•zdw•5m ago•0 comments

Using AI Generated Code Will Make You a Bad Programmer

https://unsolicited-opinions.rudism.com/bad-programmer/
2•speckx•6m ago•0 comments

Show HN: Zynk, a Fast, P2P Encrypted File Transfers and Messaging Across Devices

3•justmarc•6m ago•0 comments

Boosting One Mitochondrial Protein Increases Lifespan and Slows Aging in Mice

https://onlinelibrary.wiley.com/doi/10.1111/acel.70294
1•stevenjgarner•6m ago•0 comments

French public debt reaches a new high at 117% of GDP

https://www.lemonde.fr/en/politics/article/2025/12/19/french-public-debt-reaches-a-new-high-at-11...
1•geox•8m ago•0 comments

Why the weirdest sea level changes on Earth are happening off the coast of Japan

https://www.cnn.com/2025/12/17/climate/japan-sea-level-fishing-impact
1•stevenjgarner•10m ago•0 comments

Navy Turns to Proven Cutter Design for New Frigate Class

https://gcaptain.com/navy-turns-to-proven-cutter-design-for-new-frigate-class/
1•mjbellantoni•10m ago•0 comments

China blamed for UK government cyber attack

https://www.ft.com/content/fc7ebe87-8099-45f8-a8c2-2cf1c0b7dd83
3•mmarian•11m ago•0 comments

Map: Operator[] Should Be Nodiscard

https://quuxplusone.github.io/blog/2025/12/18/nodiscard-operator-bracket/
2•jandeboevrie•11m ago•0 comments

Show HN: I vibe-coded an aircraft AR tracking app and wasted weeks on AI bugs

1•auspiv•12m ago•0 comments

Launch OpenAI's Codex in a Container with PowerShell (Or Bash)

https://github.com/DeepBlueDynamics/codex-container
2•kordlessagain•12m ago•0 comments

Xorgproto 2025.1 Released to Recognize Newer Keyboard Keys

https://www.phoronix.com/news/xorgproto-2025.1
1•Bender•12m ago•0 comments

Default WAF rules fail to block most major exploits, study finds

https://www.scworld.com/news/default-waf-rules-fail-to-block-most-major-exploits-study-finds
1•Bender•12m ago•0 comments

GitHub walks back plan to charge for self-hosted runners

https://www.theregister.com/2025/12/17/github_charge_dev_own_hardware/
2•Bender•13m ago•0 comments

Is Firefox Firefucked?

https://kevquirk.com/blog/is-firefox-firefucked/
1•speckx•14m ago•0 comments

Engine Runs on Sound Waves

https://www.youtube.com/watch?v=xCnxsoXtlmY
2•akshatjiwan•14m ago•0 comments

The Best C++ Library

https://mcyoung.xyz/2025/07/14/best/
1•ibobev•14m ago•0 comments

Happy Birthday, BGP

https://www.potaroo.net/ispcol/2019-06/bgp30.html
1•fanf2•14m ago•0 comments

Garage – An S3 object store so reliable you can run it outside datacenters

https://garagehq.deuxfleurs.fr/
3•ibobev•16m ago•0 comments

Ask HN: What would you call a package whose purpose is to import data?

6•ctc24•16m ago•1 comments

Show HN: Free .env Template Generator – Quickly throw together a .env file

https://envlock.io/tools/env-template-generator
1•j_time•16m ago•0 comments

HandPad a Unique HackPad Made for Blueprint HackClub

https://blueprint.hackclub.com/projects/1897
1•amusoni240•18m ago•0 comments

Tokenization in Transformers v5: Simpler, Clearer, and More Modular

https://huggingface.co/blog/tokenizers
1•ibobev•18m ago•0 comments

I am a factory worker now

https://blog.jamesolds.me/post/factory-worker/
2•oldsj•19m ago•1 comments

Cold and lithium delay forgetting of olfactory memories in C. elegans

https://www.nature.com/articles/s41593-025-02143-6
2•bookofjoe•19m ago•0 comments

What If the Satanic Panic Had Never Happened?

http://grognardia.blogspot.com/2025/12/what-if-satanic-panic-had-never-happened.html
1•speckx•20m 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•7mo ago

Comments

zljdanceholic•7mo 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!