frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Designing Kolibri: Architecture Trade-Offs from First Principles

https://aleph-alpha.com/en/blog/designing-kolibri-architecture-trade-offs-from-first-principles/
1•frostbyte7•2m ago•0 comments

Show HN: The safe-choice tax – what the vendor nobody gets fired for costs

https://svpremium.dev/
1•PaywallBuster•3m ago•1 comments

We must recall open-ended AI agents with internet access from the market

https://garymarcus.substack.com/p/we-must-recall-open-ended-ai-agents
1•chmaynard•5m ago•0 comments

Show HN: Osfeed – open-source tools by what they do and what breaks on upgrade

https://osfeed.dev/
1•iluxavin•7m ago•0 comments

The Insane Real Engineering of the Nazi Enigma Machine [video]

https://www.youtube.com/watch?v=JsBZOcqZerk
2•dataflow•8m ago•1 comments

Show HN: Kenerate – One workspace for AI image, video and music models

https://kenerateai.app/
2•welcomezhangjun•9m ago•0 comments

Using Mastodon and Bluesky as the comment back end for a static website

https://codeberg.org/souverain/commentaires/src/branch/main/README.en.md
2•kadrek•10m ago•0 comments

Like a drill going into my eye: why the Havana syndrome mystery refuses to die

https://www.theguardian.com/us-news/ng-interactive/2026/oct/10/havana-syndrome-mystery-cia-russia
1•ggm•10m ago•0 comments

RepRapMicron: A decent 500μm (1/2mm) Benchy

http://blog.reprap.org/2026/10/reprapmicron-success-decent-500m-12mm.html
2•_Microft•12m ago•0 comments

PWA to Replace DeepL and Google Translate

https://github.com/Donnie/latte
1•donnieashok•12m ago•0 comments

Reverse Engineering Therion's Steal Success Rate in Octopath Traveler

https://alessandrocuzzocrea.com/reverse-engineering-octopath-traveler-therion-steal-success-rate/
1•rex64•12m ago•0 comments

Wrapper for Free Open Router Models

https://wfform.com/
1•metaph6•13m ago•0 comments

Hawaiian Harmony: Blood Sugar Support Liquid Supplement Guide

https://script.google.com/macros/s/AKfycbwa0L-VYEKBZYw-ZwhH_9RStnRil53WbgddYtT5ySEQ6xLMnVSa_WBcue...
1•wendwardgen•13m ago•0 comments

Researchers studied AI layoffs. Here's their warning. [video]

https://www.youtube.com/watch?v=O3gYyCB2n9o
2•shinryuu•13m ago•1 comments

How Does Life Unfold? A Landscape Metaphor Comes into Its Own

https://www.quantamagazine.org/how-does-life-unfold-a-landscape-metaphor-comes-into-its-own-20261...
1•asplake•14m ago•0 comments

Microsoft 365 subscribers set to lose up to 4 TB of OneDrive storage

https://www.theregister.com/personal-tech/2026/10/09/microsoft-365-subscribers-set-to-lose-up-to-...
1•beardyw•15m ago•0 comments

Plydesk: Connect to Linux machines using a password or SSH key-No daemon

https://osfeed.dev/p/iluxav/plydesk
2•iluxavin•15m ago•0 comments

Biggest Democracy Under Siege

https://www.bbc.com/news/live/cwg7xz8vr58pt
1•amtamt•17m ago•1 comments

Only mock your own interfaces

https://henko.net/blog/only-mock-your-own-interfaces/
1•ykgoon•28m ago•0 comments

Train your own Decision Model with Unsloth

https://unsloth.ai/docs/basics/train-your-own-decision-model-with-unsloth
1•vinhnx•29m ago•0 comments

Vec1: Native vector search (ANN) in SQLite

https://sqlite.org/vec1/doc/trunk/doc/vec1.md
2•thunderbong•29m ago•1 comments

Computers Cannot Make Decisions

https://wiki.cateat.fish/art:computers_cannot_make_decisions
2•heavensteeth•34m ago•0 comments

Ubuntu now has official desktop images for RISC-V

https://www.omgubuntu.co.uk/2026/10/ubuntu-desktop-riscv-iso
1•fork-bomber•40m ago•0 comments

ZJIT is now as fast as YJIT

https://railsatscale.com/2026-10-09-zjit-is-now-as-fast-as-yjit/
1•riffraff•41m ago•0 comments

When I type "hi" into Claude Code, what happens?

https://the-agent-stack.com/
1•theahura•41m ago•0 comments

Maritime: Persistent Cloud Agents

https://maritime.sh
1•handfuloflight•44m ago•0 comments

Show HN: Crosstune – Open any music link in your favorite app

https://crosstune.4st.li/
1•astrolince•48m ago•1 comments

If AI keeps evolving,would you worry about your next generation's survival

3•hanstyle•49m ago•1 comments

The U.S. Nuclear Plant Fleet Is Leaning into AI

https://spectrum.ieee.org/ai-assistants-nuclear-power-plant
1•geox•50m ago•0 comments

AI Writing Labels – Sloppate liberius, sloppate recte

https://aialabels.com/
1•lateharvest•51m 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•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!