frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Rendering Arabic typography and its technical debt, an interactive introduction

https://lr0.org/blog/p/arabic/
1•SSLy•1m ago•0 comments

The Slow Death of Simplenote

https://zoia.org/posts/the-slow-death-of-simplenote/
1•Leftium•2m ago•0 comments

Sofle Pico Split Keyboard

https://www.soflepico.com/
1•igoose1•4m ago•0 comments

Evaluating LLM-generated code for domain-specific languages

https://www.sciencedirect.com/science/article/abs/pii/S0927025626003587
1•librasteve•8m ago•1 comments

SSL Certificate Expiry

https://medium.com/@thesuperrepemail/ssl-certificate-expiry-1fa4d69246bc
1•rajsuper123•12m ago•2 comments

Show HN: Bananagrams Tiles Word Game Online

https://www.bananagrams.org
1•code-less•18m ago•0 comments

Ask HN: Temporal Awareness in LLM?

1•Pamar•18m ago•0 comments

Anthropic makes Fable 5's invisible safeguards visible after backlash

https://xcancel.com/ClaudeDevs/status/2064949876463645026
1•frb•19m ago•0 comments

Run OSINT investigations from chat via MCP/OpenClaw

https://github.com/snuri00/osint-mcp
1•sn001•21m ago•0 comments

The DIY trap: I see founders spending $6k to save $240/year. Can we talk?

https://www.indiehackers.com/post/the-diy-infrastructure-trap-i-see-founders-spending-6k-to-save-...
1•DharmendraJago•22m ago•0 comments

CountryLink – guess what two random countries have in common across 8 categories

https://learn.enviro.org.au/countrylink.php
1•symonssss•22m ago•0 comments

Only One Input – Social media with the social part removed

https://onlyoneinput.com/
1•smyczek•22m ago•0 comments

Why AI hasn't replaced software engineers, and won't

https://www.normaltech.ai/p/why-ai-hasnt-replaced-software-engineers
1•trueduke•23m ago•0 comments

Streaming HTML

https://olliewilliams.xyz/blog/streaming-html/
1•thunderbong•23m ago•0 comments

Discussion: Fable 5 is weak at flagging prompts correctly

1•eckelhesten•24m ago•0 comments

Stack Overflow for Agents

https://agents.stackoverflow.com
1•CommonGuy•27m ago•0 comments

Quarks Are Time

https://as.oooooooooo.se/paper/
2•mbinatorom•32m ago•1 comments

Dutch mass claim states that Steam makes customers pay too much for games

https://gameclaim.consumercompetitionclaims.com/en/
2•HelloUsername•32m ago•0 comments

Bootproof – runs a repo and signs proof of whether it booted

https://github.com/bootproof/bootproof
1•bootproof•33m ago•0 comments

LumoSQL – Add features to SQLite for security, privacy, speed and measurability

https://lumosql.org/
1•smartmic•34m ago•0 comments

The Largest Number Representable in 64 Bits

https://www.mdpi.com/1099-4300/28/5/494
1•rowbin•34m ago•0 comments

Show HN: Conduit, a local-first SSH, Mosh and SFTP client for Android

https://github.com/gwitko/Conduit
1•gwitko•37m ago•0 comments

The number of possible chess games exceeds the number of atoms in the universe

https://spacedaily.com/d-the-total-number-of-possible-chess-games-is-so-large-that-it-exceeds-the...
1•arizen•39m ago•0 comments

Sweet Jeebus, macOS 27 Golden Gate Removes the Dumb Icons from Menu Items

https://daringfireball.net/2026/06/macos_27_golden_gate_removes_the_dumb_icons_from_menu_items
4•epaga•39m ago•1 comments

Accusations of 'AI Slop' Don't Screen for AI Text

https://arxiv.org/abs/2606.12073
3•igortru•41m ago•0 comments

Omarchy on Asahi creator lost access to his GitHub account two weeks ago

https://twitter.com/dhh/status/2064969863840276732
2•raybb•44m ago•0 comments

Local firewall for AI agents – blocks secret leaks and cuts API costs by 40–70%

https://github.com/ashp15205/guardian-runtime
3•ashp15•44m ago•0 comments

Open-source Linux tray app for tracking Claude Code and Codex usage

https://github.com/openusage-community/openusage
1•symonbaikov•45m ago•1 comments

Hate using Granola? Here is a free local version

https://github.com/emberscribe/hobnob
1•polemos•48m ago•0 comments

Publication trends for any academic journal

https://journaltrends.com/
1•ilreb•57m 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!