frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

"Tuimorphic" style: GUIs that are like TUIs

https://twitter.com/raphaelschaad/status/1999104234432733460
1•qouteall•1m ago•0 comments

Life in Gaza under Israel's all-encompassing surveillance regime

https://nymag.com/intelligencer/article/watched-tracked-targeted-israel-surveillance-gaza.html
2•richardatlarge•3m ago•1 comments

Trump Pretends to Block State AI Laws; Media Pretends That's Legal

https://www.techdirt.com/2025/12/12/trump-pretends-to-block-state-ai-laws-media-pretends-thats-le...
3•beardyw•4m ago•0 comments

Conscious of the Effects of Structural Racism

1•kwoii•6m ago•0 comments

At the Cafe – or the online "playground" for Caffeine

https://caffeine-lang.run/blog/at-the-cafe
1•bob-surfs•11m ago•0 comments

Reatom – State managers for any kind of apps

https://v1000.reatom.dev/
1•reconvene1290•13m ago•0 comments

Agentic AI in Retail: How Autonomous Shopping Is Redefining the Customer Journey

https://www.bain.com/insights/agentic-ai-in-retail-how-autonomous-shopping-redefining-customer-jo...
1•gmays•14m ago•0 comments

From Hand-Signed Forms to LLM's: The Evolution of Order Submission

https://blog.everstrike.io/evolution-of-order-submission/
1•mo3rew4r•19m ago•0 comments

COVID Origins. Debunking the Grift, Pseudoscience, & Politics of Lab Leak Theory

https://www.youtube.com/watch?v=ra0WKNhQZ0U
1•vo2maxer•22m ago•0 comments

Interactive Visualization of the Standard Model of Particle Physics

https://llsourcell.github.io/physics/standard_model.html
1•llSourcell•23m ago•1 comments

5 Jobs 4 years and the mindspace leading to it

https://ritavdas.substack.com/p/the-things-i-said-id-never-do
1•fandango1•27m ago•0 comments

What happens when the coding becomes the least interesting part of the work

https://obie.medium.com/what-happens-when-the-coding-becomes-the-least-interesting-part-of-the-wo...
1•obiefernandez•28m ago•0 comments

Ask HN: How do you give a local AI model long-term memory?

1•javantanna•29m ago•0 comments

LibXML2, Used by Steam, Chromium, Others Is Now Abandoned

https://www.youtube.com/watch?v=GDr4fKXmUvc
3•rasengan0•31m ago•0 comments

OSS Friday Update – Fibers Are the Future of Ruby

https://noteflakes.com/articles/2025-12-12-friday-update
1•todsacerdoti•35m ago•0 comments

Show HN: Guftaguu – Anonymous Chat and Real-Time Games (No Login Required)

https://guftaguu.vercel.app
2•SeeYouInHelL•40m ago•1 comments

GitHub Is Down

https://github.com/
2•diek•42m ago•3 comments

ChatGPT 5.2 Tested: How Developers Rate the New Update (Another Marketing Hype?)

https://www.finalroundai.com/blog/chatgpt-5-2-developer-reactions
2•birdculture•45m ago•0 comments

Catland, the Louis Wain Archive

https://catland.distin.org/
1•graypegg•45m ago•0 comments

The state of the kernel Rust experiment

https://lwn.net/SubscriberLink/1050174/63aa7da43214c3ce/
1•dochtman•46m ago•0 comments

Pdf-sign – Adobe-compliant PDF signing with GPG Agent

https://github.com/0x77dev/pdf-sign
1•0x77dev•49m ago•0 comments

Shaping the future of AI from the history of Transformer [2024]

https://docs.google.com/presentation/d/1u05yQQaw4QXLVYGLI6o3YoFHv6eC3YN8GvWD8JMumpE/edit?slide=id...
1•qouteall•49m ago•1 comments

The state of the kernel Rust experiment

https://lwn.net/SubscriberLink/1050174/604164032b9a01cc/
2•howtofly•59m ago•0 comments

React Is Rainbow Colored

https://skyview.social/?url=https%3A%2F%2Fbsky.app%2Fprofile%2Fsh03.dev%2Fpost%2F3m7tz3zhl522f&vi...
2•Shoetp•1h ago•1 comments

Crowd-sourced comparison of USB security tokens

https://docs.google.com/spreadsheets/d/1XlwmreiBkt82F4HG965Yp9ncULkgnFpNyfe7WAAtYPk/edit?gid=0#gid=0
2•stv0g•1h ago•0 comments

AI Can Write Your Code. It Can't Do Your Job

https://terriblesoftware.org/2025/12/11/ai-can-write-your-code-it-cant-do-your-job/
1•thunderbong•1h ago•0 comments

Musk's Mars mission adds risk to red-hot SpaceX IPO

https://www.reuters.com/business/aerospace-defense/musks-mars-mission-adds-risk-red-hot-spacex-ip...
1•TMWNN•1h ago•0 comments

EZ File Changer – Private, client-side image converter

https://www.ezfilechanger.com
2•waqaar-ansari•1h ago•0 comments

Ozempic Turned a 1970s Hit into an Inescapable Jingle (2024)

https://www.nytimes.com/2024/04/09/arts/music/ozempic-jingle-oh-oh-oh-its-magic-pilot.html
1•nxobject•1h ago•0 comments

Firefox Version 146.0

https://www.firefox.com/en-US/firefox/146.0/releasenotes/
3•ksec•1h ago•1 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!