frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Power of Raycast, Now on iOS

https://www.raycast.com/ios
1•rene_d•11m ago•0 comments

Punchy – a security Tamagotchi that boxes the internet

https://punchy.virtualserv.uk
1•raister•19m ago•0 comments

What if your ChatGPT conversations have a dashboard that can track things

https://chatgpt.com/plugins/plugin_asdk_app_6ad58e43cfe881919841205d69cff9cf
1•vasanthps•21m ago•0 comments

Good writing is a business advantage (2020)

http://adaged.blogspot.com/2020/04/good-writing-is-business-advantage.html
1•zenincognito•30m ago•0 comments

Non-autoregressive NC LLM spits tokens 21x faster than text diffusion

https://hazyresearch.stanford.edu/blog/2026-10-12-ncm
1•LarsDu88•30m ago•0 comments

Junglia theme park in Okinawa posted ¥17.3B (US$109.84) loss in first year

https://www.japantimes.co.jp/business/2026/09/26/junglia-okinawa-first-year-loss/
1•guessmyname•33m ago•0 comments

Farewell – ETAOIN SHRDLU – 1978 [video]

https://vimeo.com/127605643
1•apical_dendrite•34m ago•0 comments

Ask HN: Is the Microsoft buyout just a long overdue correction?

2•sky2224•38m ago•1 comments

Push Ifs Up and Fors Down

https://matklad.github.io/2023/11/15/push-ifs-up-and-fors-down.html
2•dboon•39m ago•0 comments

From the Analytics Department to a Lone Operator with a Laptop

https://medium.com/@smoking2man/from-the-analytics-department-to-a-lone-operator-with-a-laptop-ho...
1•Aldus551•40m ago•0 comments

Digital Minimalism

https://vitalik.eth.limo/general/2026/10/31/digital_minimalism.html
3•wilbertliu•44m ago•0 comments

Mexico urges respect for treaties after Texas seizes nine islands on Rio Grande

https://english.elpais.com/usa/2026-10-30/mexico-urges-respect-for-treaties-after-texas-seizes-ni...
1•geox•45m ago•0 comments

Ask HN: Is anyone else struggling with AI wealth FOMO?

2•kadhirvelm•46m ago•1 comments

Automated Subtle Emergent Misalignment Research

https://alignment.anthropic.com/2026/automated-em-search/
1•pretext•50m ago•0 comments

UTF-34 BASE-4: Codespace 4^34 = 2^68, Zero-Waste Theorem, and 1M Binary Codes

https://media.githubusercontent.com/media/anhkhoavanhua/utf34/refs/heads/main/utf34_base4_1M_bina...
1•jackhua18112001•52m ago•0 comments

Cold showers benefit the environment and your health

https://www.unibas.ch/en/News-Events/News/Uni-Research/cold-showers-health-environment.html
4•DeepLogin•52m ago•1 comments

Tier 1 ISPs react to unfair pricing

https://www.datacenterknowledge.com/networking/cogent-unplugs-telia-in-peering-dispute
1•countWSS•54m ago•1 comments

Google Adopts New AI Training Control

https://www.seroundtable.com/google-ai-training-control-42430.html
1•thm•59m ago•1 comments

Spanish minister refuses to resign over second major train crash on his watch

https://www.channelnewsasia.com/world/spain-transport-minister-resign-train-crash-6507826
2•Markoff•1h ago•2 comments

Language Models Need Sleep: Learning to Self-Modify and Consolidate Memories

https://arxiv.org/abs/2606.03979
4•olalonde•1h ago•0 comments

Tell HN: Claude is using my limits even though it's infra is failing

3•throwaw12•1h ago•4 comments

How hard is it to check for whitespace?

https://serce.me/posts/2026-10-30-how-hard-is-it-to-check-for-whitespace
2•SerCe•1h ago•0 comments

Alkaline batteries are obsolete – but not for the reason you'd think [video]

https://www.youtube.com/watch?v=I1rlK3BKmyA
3•no-name-here•1h ago•0 comments

Show HN: Archwhere – work alongside AI coding agents on an architecture map

https://github.com/tapaskar/archwhere
1•sparkupcloud•1h ago•0 comments

Cloudflare Build

https://build.cloudflare.dev
2•tomrod•1h ago•1 comments

Apple Is Entering Its Slop Era

https://www.404media.co/apple-is-entering-its-slop-era/
1•Garbage•1h ago•0 comments

Cursed cruise: how the dream of never-ending luxury at sea became a nightmare

https://www.theguardian.com/news/ng-interactive/2026/oct/31/mv-odyssey-cruise-passengers-nightmar...
7•mellosouls•1h ago•1 comments

Show HN: Ramekin – IoT development, deployment and update platform via Apptainer

https://github.com/ascension-association/ramekin
1•mrbluecoat•1h ago•0 comments

Show HN: ViBrow – A custom browser engine in pure Python for Raspberry Pi Zero

https://github.com/HYXZKAKONHNK/ViBrow
1•pfehqqq•1h ago•0 comments

The Beleaguered Chip Sellers Getting Their Revenge on Apple

https://www.wsj.com/tech/apple-iphone-memory-chips-ai-c0084cc9
3•shubhamjain•1h 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!