Hacker News

Show HN: Single-header C++ libraries for LLM APIs – zero deps beyond libcurl

Hacker News - Fri, 03/06/2026 - 6:23pm

- llm-stream — streaming from OpenAI + Anthropic, callback-based - llm-cache — file-backed semantic cache, LRU eviction - llm-cost — offline token counting + cost estimation - llm-retry — exponential backoff + circuit breaker + provider failover - llm-format — structured output enforcer with hand-rolled JSON parser

Drop in one .hpp, link libcurl, done. No nlohmann, no boost, no Python.

https://github.com/Mattbusel/llm-stream https://github.com/Mattbusel/llm-cache https://github.com/Mattbusel/llm-cost https://github.com/Mattbusel/llm-retry https://github.com/Mattbusel/llm-format

Comments URL: https://news.ycombinator.com/item?id=47282433

Points: 1

# Comments: 0

Categories: Hacker News

Show HN: OpenGuard

Hacker News - Fri, 03/06/2026 - 6:22pm

Article URL: https://openguard.sh

Comments URL: https://news.ycombinator.com/item?id=47282426

Points: 1

# Comments: 0

Categories: Hacker News

I built a tool to transcribe podcasts after struggling to learn languages

Hacker News - Fri, 03/06/2026 - 6:21pm

When I was learning French, and now Russian, I constantly had the same frustrating problem: I could listen to podcasts and not understand what was being said. Especially in French, words blended together. I tried everything from pausing and rewinding episodes to using Google Translate. But more often than not, I gave up because that was killing my motivation. Eventually, I decided to solve the problem myself. I built PodcastsToText, a freemium tool that lets you paste any podcast episode link from Spotify or Apple Podcasts and transcribe it automatically (up to 30 minutes for free). Now, instead of struggling to catch every word, I can focus on learning, reread the transcript if I miss something, and really internalize the language. I hope this helps others like me who’ve spent hours listening but still feel lost. Feedback and suggestions are welcome!

Comments URL: https://news.ycombinator.com/item?id=47282422

Points: 1

# Comments: 0

Categories: Hacker News

Why Language Models Hallucinate (2025)

Hacker News - Fri, 03/06/2026 - 6:21pm

Article URL: https://arxiv.org/abs/2509.04664

Comments URL: https://news.ycombinator.com/item?id=47282421

Points: 1

# Comments: 0

Categories: Hacker News

Ask HN: What Are Your Biggest Career Regrets?

Hacker News - Fri, 03/06/2026 - 6:21pm

Comments URL: https://news.ycombinator.com/item?id=47282415

Points: 2

# Comments: 1

Categories: Hacker News

Show HN: Rust-First L3 Limit Order Book Backtesting Engine with Python Bindings

Hacker News - Fri, 03/06/2026 - 6:17pm

Hi HN,

I’ve been building a Rust-first backtesting engine for limit order book strategies and just open sourced the core engine.

Repo: https://github.com/chasemetoyer/Backtesting-Engine

The goal was to build something closer to how exchanges actually behave than typical OHLC-based backtesting frameworks.

Key features:

• L3 limit order book replay • deterministic event-driven matching engine • FIFO queue position modeling • Python strategy bindings for research workflows • parquet ingestion for high-volume datasets • replay trace tools for debugging strategy behavior

The core engine is written in Rust and exposed to Python via maturin. The idea is to combine Rust performance with Python-based research workflows.

Typical workflow:

1) Convert raw exchange data (ex: CoinAPI LIMITBOOK files) into canonical engine parquet 2) Run deterministic replay through the Rust engine 3) Execute strategies through Python bindings 4) analyze fills, equity curves, and risk metrics

The repo currently includes several example microstructure strategies such as:

• queue imbalance scalper • flow microprice scalper • cumulative flow momentum

I built this mainly to experiment with order book strategies where queue position and microstructure actually matter.

Would love feedback from people working on:

• market microstructure research • HFT simulation • Rust systems engineering • trading infrastructure

Especially interested in ideas for improving:

• event replay throughput • strategy interface design • multi-asset simulation

Thanks!

Comments URL: https://news.ycombinator.com/item?id=47282392

Points: 1

# Comments: 0

Categories: Hacker News

Show HN: NeoNetrek – modernizing the internet's first team game (1988)

Hacker News - Fri, 03/06/2026 - 6:05pm

Netrek is a multiplayer space battle game from 1988–89, widely considered the first Internet team game. It predates commercial online gaming by years, ran passionate leagues for decades, and is still technically alive — but getting a server up has always required real effort, and there’s been no easy way to just play it in a browser. NeoNetrek is my attempt to change that: Server: Based on the original vanilla Netrek C server, modernized with simpler configuration and containerized for one-command cloud deployment. There are ready-made templates for Fly.io and Railway, and public servers already running in LAX, IAD, NRT, and LHR. Anyone can self-host using the deploy templates in the GitHub org. Client: A new 3D browser-based client — no downloads, no plugins, connects via WebSocket. I built it starting from Andrew Sillers’ html5-netrek (github.com/apsillers/html5-netrek) as a foundation and took it in a new direction with 3D rendering. Site: neonetrek.com covers lore, factions, ship classes, ranks, and an Academy to ease the notoriously steep learning curve. A significant portion of the code and content was developed with Claude as a coding partner, which felt fitting for a project about preserving internet history. GitHub org: https://github.com/neonetrek Play now: https://neonetrek.com

Comments URL: https://news.ycombinator.com/item?id=47282303

Points: 1

# Comments: 0

Categories: Hacker News

Periodic Labs

Hacker News - Fri, 03/06/2026 - 4:24pm

Article URL: https://periodic.com/

Comments URL: https://news.ycombinator.com/item?id=47281266

Points: 2

# Comments: 0

Categories: Hacker News

Pages