frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Secure, Fast, and Extensible Sandbox Runtime for AI Agents

https://github.com/TencentCloud/CubeSandbox
1•hek2sch•43s ago•0 comments

Live ski resorts webcam ranking by snow

https://whogotsnow.com/
1•markznyc•48s ago•0 comments

We've Driven the Ugly Ferrari That Broke the Internet [video]

https://www.youtube.com/watch?v=B86taQzY5Es
1•thm•1m ago•0 comments

Data Centers Are Easy to Build. Powering Them Is Complicated, Slow and Expensive

https://www.404media.co/data-centers-power-energy-grid-epa-clean-air-act/
1•cdrnsf•1m ago•0 comments

Taking Control of the SQLite WAL

https://philipotoole.com/taking-control-of-the-sqlite-wal/
1•otoolep•2m ago•0 comments

Resume parsing and candidate matching, as an API and MCP server

https://www.rezmatch.ai/
1•asenn•2m ago•0 comments

Cyberpunk Video Games

https://shellzine.net/cyberpunk-video-games/
1•zdw•2m ago•0 comments

Armada: Open-Source, Encrypted, Discord Alternative Officially in Beta

https://soapbox.pub/armada
1•mkfain•4m ago•1 comments

I Designed a Custom PCB to Avoid Pressing a Button Three Times

https://blog.tymscar.com/posts/opensourcedimmer/
1•birdculture•4m ago•0 comments

Judge blocks first state law that would have banned prediction markets

https://arstechnica.com/tech-policy/2026/07/judge-blocks-first-state-law-that-would-have-banned-p...
2•pseudolus•8m ago•2 comments

Show HN: My Next.js .next folders hit 34 GB, so I built next-nuke to clean them

https://github.com/RoyBkker/next-nuke
1•bakkerinho•8m ago•1 comments

Ask HN: Does Brook's Law continue to hold in the age of AI?

1•erikig•10m ago•0 comments

Say hi to new Ojai in-car experience

https://waymo.com/blog/2026/07/gemini-in-waymo/
1•sdhillon•11m ago•0 comments

Fnox: Manage secrets with encryption or cloud providers – or both

https://fnox.jdx.dev/
2•thunderbong•11m ago•0 comments

New documentary recounts 'attitude of cruelty' toward axed federal employees

https://www.govexec.com/workforce/2026/07/documentary-recounts-cruelty-axed-federal-employees/415...
1•petethomas•12m ago•0 comments

Data centers are slowing America's shift away from coal

https://grist.org/energy/data-centers-electricity-power-coal-emissions-climate-report/
1•speckx•12m ago•0 comments

Spiderman to the Rescue

https://apnews.com/article/spiderman-good-samaritan-arkansas-traffic-42e01f656e66ab26df4ea0e2ef59...
2•ninju•14m ago•0 comments

The Silicon Valley Health Trend Making Doctors Nervous

https://www.nytimes.com/2026/07/29/opinion/health-data-trend-body.html
2•bonsai_spool•14m ago•1 comments

Give every AI project its own computer

https://github.com/futrx-com/remote.futrx
3•futrx•17m ago•0 comments

Walmart Leapfrogs EV Charging Competitors with Rapid Buildout

https://www.bloomberg.com/news/articles/2026-07-29/why-walmart-is-quickly-adding-charging-station...
2•toomuchtodo•18m ago•1 comments

eBay's cyberstalking saga ends with a $56M settlement

https://www.theverge.com/tech/972209/ebay-cyberstalking-harassment-settlement
2•haunter•18m ago•1 comments

His restaurant put edible ants on the menu. He could face one year in prison

https://www.cnn.com/2026/07/23/travel/south-korea-restaurant-ant-dessert-jail-intl-hnk
2•raybb•18m ago•0 comments

Content Creator

https://www.elenaverna.com/p/so-you-want-to-be-a-content-creator
2•AnhTho_FR•19m ago•0 comments

Existential Types on a Leash in Haskell

https://cdfa.github.io/existentials-on-a-leash/
2•fanf2•21m ago•0 comments

In China, people are renting out their faces to AI

https://restofworld.org/2026/china-ai-microdramas-face-licensing/
2•antondd•22m ago•0 comments

What happens when you put AI to work deciphering lost languages?

https://theconversation.com/cracking-the-code-can-ai-help-us-decipher-ancient-languages-288238
1•staplung•23m ago•0 comments

Default model enablement for Copilot Business and Enterprise

https://github.blog/changelog/2026-07-29-default-model-enablement-for-copilot-business-and-enterp...
1•smokeeaasd•23m ago•0 comments

Blocking AI Crawlers on Your Mastodon Server, Nginx Edition

https://justinribeiro.com/chronicle/2026/07/28/blocking-ai-crawlers-on-your-mastodon-server-nginx...
1•speckx•23m ago•0 comments

Reverse Engineering Google's Proprietary Hypervisor

https://alexhulbert.com/posts/reverse-engineering-googles-proprietary-hypervisor/
1•dongcarl•24m ago•0 comments

Big Companies Are Starting to Hire Again, Defying Predictions of AI Wipeout

https://www.wsj.com/business/big-companies-are-starting-to-hire-again-defying-predictions-of-ai-w...
7•theanonymousone•26m ago•2 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!