frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Isolate Meta Quest 2 from Meta – Inspired by CleanYourTV

https://github.com/nlhomme/cleanyourquest
1•palapof•34s ago•0 comments

Reflecting on My Failure to Build a Billion-Dollar Company

https://sahillavingia.com/reflecting
1•fagnerbrack•51s ago•0 comments

Time for a harsh truth: even with Netanyahu gone, the killing won't stop in Gaza

https://www.theguardian.com/commentisfree/2026/nov/12/gaza-benjamin-netanyahu-israel-opposition-p...
1•hebelehubele•1m ago•0 comments

Ernie 5.5 Flash Preview by Baidu

https://ernie.baidu.com/release/ernie-5-5-flash-preview/
1•ggcr•3m ago•1 comments

Dear DeepSeek engineer

https://critisticuffs.org/texts/dear-deepseek-engineer
1•biosboiii•3m ago•0 comments

Did You Say "Intellectual Property"? It's a Seductive Mirage

https://www.gnu.org/philosophy/not-ipr.html
1•justusw•4m ago•0 comments

Claude AI Is Down

7•cheptsov•6m ago•1 comments

Claude OAuth Failures

11•tankenmate•6m ago•4 comments

TimeNet challenge: An online hackathon for time-series AI

https://challenge.timenet.ai
2•masquare•7m ago•1 comments

How to Make Claude Code Validate Its Work

https://flowdeck.studio/blog/claude-code-validate-ios-changes-code-review
1•afterxleep•7m ago•0 comments

Tell HN: Claude Code Is Down

26•Andugal•9m ago•16 comments

Show HN: Ungate – Claude and ChatGPT subscriptions in Cursor's native chat

https://github.com/orchidfiles/ungate
1•theorchid•13m ago•0 comments

EU leaders seek to tackle challenges at first ever AI summit

https://www.reuters.com/world/china/eu-leaders-seek-tackle-challenges-first-ever-ai-summit-2026-1...
1•gvieri•16m ago•0 comments

How HN: Agent-brain – Notes-agnostic second-brain operating model for AI agents

https://github.com/juanyque/agent-brain
1•juanyque•17m ago•0 comments

Anthropic,OpenAI sued for allegedly infringing inventors' neural network patents

https://www.reuters.com/legal/litigation/anthropic-sued-allegedly-infringing-inventors-neural-net...
2•gvieri•18m ago•0 comments

A faster Easter date function

https://www.benjoffe.com/fast-easter
1•fanf2•19m ago•0 comments

Oee

1•dharmarajbudha•19m ago•0 comments

End of Mercenary Programmers

https://ronakgothi.com/p/end-of-mercenary-programmers/
1•ronakjain90•20m ago•0 comments

Tashrih – 3D anatomy for med students in French, Arabic and English

https://tashrih.dev/en/explore
1•amenigrami•21m ago•0 comments

OpenAI prompt that led to the ETH refutation

https://ethdiscussion.blog/2026/11/12/openai-prompt-that-led-to-the-eth-refutation/
1•artninja1988•21m ago•0 comments

Ask HN: How is your team handling the flood of PRs?

1•hubraumhugo•25m ago•0 comments

Grandmother of the Web: Mary Lee Berners-Lee's Early Work in Australia

https://www.pearcey.org.au/heritage/computing-history/grandmother-of-the-web/
2•Skyfall106•26m ago•0 comments

Taxonomy of 26 Ways AI Can Make Your Life Worse

https://www.f-secure.com/en/partners/illuminate-research/ai-harms-taxonomy
1•mrkn1•32m ago•0 comments

How the physics and chemistry of glassblowing work

https://theconversation.com/im-an-artist-who-works-with-glass-heres-how-the-physics-and-chemistry...
1•sohkamyung•33m ago•0 comments

Is there a 'right amount' of AI?

https://coyotetracks.org/blog/right-amount-of-ai/
2•milali•34m ago•0 comments

A better Claude Code ribbon

https://blog.hagebols.com/posts/usage-band-knows-who-i-am/
1•decide1000•34m ago•0 comments

I Wrote Jensen Huang's Biography. Here's What Led to His Downfall

https://www.nytimes.com/2026/11/12/opinion/jensen-huang-nvidia.html
2•chvid•35m ago•1 comments

New York City Council Approves Landmark Legislation Banning Surveillance Pricing

https://council.nyc.gov/press/2026/11/12/3339/
2•DeepLogin•36m ago•1 comments

Writing Effective Tools for Agents

https://p99log.com/designing-tools-for-ai-agents/
1•collinstonui•36m ago•0 comments

Steven Heller's Font of the Month: Brunner

https://ilovetypography.com/2026/11/12/steven-hellers-font-of-the-month-brunner/
1•jjgreen•36m 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!