frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Curlie web directory download – 2.9M editor approved websites for your AI

https://curlie.org/download
1•KnowledgeWeaver•1m ago•1 comments

Django 6.0 Released

https://www.djangoproject.com/weblog/2025/dec/03/django-60-released/
2•sirodoht•4m ago•0 comments

AI infrastructure is being built on a mountain of new DEBT

https://twitter.com/GlobalMktObserv/status/1995848679404507467
2•DivingForGold•4m ago•0 comments

Extending yeast lifespan boosts biosynthetic output of valuable compounds

https://phys.org/news/2025-11-yeast-lifespan-boosts-biosynthetic-output.html
1•PaulHoule•4m ago•0 comments

Show HN: Aim-Style Instant Messaging in VSCode

https://marketplace.visualstudio.com/items?itemName=devchat-dev.devchat-im
1•milowata•5m ago•0 comments

Sugars, 'Gum,' Stardust Found in NASA's Asteroid Bennu Samples

https://www.nasa.gov/missions/osiris-rex/sugars-gum-stardust-found-in-nasas-asteroid-bennu-samples/
1•e145bc455f1•5m ago•0 comments

Instant server hot-reload across the Wasm boundary

https://primate.run/blog/primate-035#server-hot-reload
4•sarumake•6m ago•0 comments

Show HN: ToolPlex Desktop – MCP marketplace and AI workflow builder

https://toolplex.ai
1•entrehacker•8m ago•0 comments

Ask HN: Is the absence of affect the real barrier to AGI and alignment?

1•n-exploit•9m ago•0 comments

The War for Seattle [video]

https://www.youtube.com/watch?v=LpaD9qpnzI0
1•surprisetalk•9m ago•0 comments

China will eventually open its borders to mass immigration

https://twitter.com/samoburja/status/1988128253891277071
3•surprisetalk•10m ago•2 comments

Is Watching Video Bad for Children's Skills?

https://www.nber.org/papers/w34466
1•surprisetalk•10m ago•0 comments

OpenAI is facing every startup's VC question: What if Google copies you?

https://gpt3experiments.substack.com/p/openais-vc-question-what-if-google
1•nutanc•10m ago•0 comments

Is "green AI" even possible?

https://manualdousuario.net/en/is-green-ai-even-possible/
1•rpgbr•10m ago•0 comments

Gratitude

https://philippdubach.com/2025/12/03/gratitude/
1•7777777phil•11m ago•0 comments

I fixed my lactose intolerance – by chugging ALL the lactose [video]

https://www.youtube.com/watch?v=h90rEkbx95w
1•EPendragon•11m ago•0 comments

RAG vs. Traditional ML

https://medium.com/@DavidLiCause/rag-vs-traditional-ml-390a34a2b045
1•davidlicause•12m ago•0 comments

Show HN: Local_faiss_MCP – A tiny MCP server for local RAG (FAISS and MiniLM)

1•nonatofabio•15m ago•0 comments

Show HN: Rephole, semantic code-search for your repos via REST API

https://github.com/twodHQ/rephole
1•riktar•17m ago•0 comments

OSHW: Small tablet based on RK3568 and AMOLED screen

https://oshwhub.com/oglggc/rui-xin-wei-rk3568-si-ceng-jia-li-chuang-mian-fei-gong-yi
1•thenthenthen•17m ago•1 comments

Show HN: Store Inspector – Free Chrome extension for Shopify competitor research

https://storeinspect.com
2•andersmyrmel•18m ago•0 comments

Why High Food Prices Will Make Public Groceries Inevitable

https://grocerynerd.substack.com/p/grocery-update-116-why-high-food
3•toomuchtodo•19m ago•0 comments

How to Benchmark C++ Code

https://codspeed.io/docs/guides/how-to-benchmark-cpp-code
5•art049•20m ago•0 comments

Diff of Claude Code system prompt over time

https://lukegil.github.io/claude-code-prompts/
1•lukegil626•21m ago•1 comments

Show HN: MCP Gateway – Unifying Access to MCP Servers Without N×M Integrations

https://www.truefoundry.com/mcp-gateway
5•supreetgupta•23m ago•1 comments

China's 1st reusable rocket explodes in fireball landing after reaching orbit

https://www.space.com/space-exploration/launches-spacecraft/chinas-1st-reusable-rocket-explodes-i...
5•perihelions•23m ago•0 comments

DNA analysis suggests first Australians arrived about 60k years ago

https://www.abc.net.au/news/science/2025-11-29/sahul-aboriginal-australia-65000-genetic-evidence/...
4•gmays•25m ago•1 comments

Real-world vector DB performance across the most popular providers

https://www.topk.io/blog/20251201-topk-bench
8•MarekDlugos•26m ago•5 comments

Code Walkthrough - Claude Code CLI and VS Code

https://codepointer.substack.com/p/claude-code-cli-bridging-terminal
1•ykhl1itj•28m ago•0 comments

Replace Your To-Do List with Interstitial Journaling to Increase Productivity

https://medium.com/better-humans/replace-your-to-do-list-with-interstitial-journaling-to-increase...
1•herbertl•28m 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!