frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Millennium Prize Problems Update

https://www.claymath.org/news/millennium-prize-problems-update/
2•jonbaer•7m ago•0 comments

Hugging Face CEO: OpenAI,Anthropic,Google Each Control as Much Compute as China [video]

https://www.youtube.com/watch?v=41YCqYYxq_Y
1•diskmuncher•10m ago•0 comments

OpenAI math papers: exotic four-spheres, smooth Poincaré conjecture false

https://github.com/openai/math/tree/main/preprints/Exotic-four-spheres-detected-by-Khovanov-homol...
2•acossta•14m ago•0 comments

EU antitrust chief Ribera backs digital tax on Big Tech, calls it 'peanuts'

https://www.reuters.com/business/retail-consumer/eu-antitrust-chief-ribera-backs-digital-tax-big-...
1•gwu78•15m ago•0 comments

Make Me a Million-Bench: a benchmark where AIs build companies in the real world

https://andonlabs.com/evals/mmm-bench
1•lukaspetersson•20m ago•0 comments

A Single HTML P2P Chat – The Simplest Functional Chat App on the Internet

https://github.com/kgacorp/onefilechat
1•pltc•22m ago•1 comments

AI-Generated Math Is Littered with Problems. Humans Are Trying to Fix It with AI

https://www.wired.com/story/ai-generated-math-problems-humans-fix-it/
1•gwu78•22m ago•0 comments

Show HN: I built the world's strongest classical chess engine

https://twitter.com/jackyuan35/status/2128994871952462199
2•jackyuanybt•26m ago•0 comments

The Real Reason Elon Musk Keeps Insisting DOGE Cuts Killed "Zero" Kids

https://newrepublic.com/article/213533/elon-musk-economist-interview-doge-cuts-killed-zero-children
3•tastyface•29m ago•1 comments

People Are Adding Typos to Their Writing to Seem Less Like AI

https://www.nytimes.com/2026/12/03/style/ai-writing-text-typos.html
1•bookofjoe•32m ago•1 comments

Ask HN: What is the best Social Engineering book?

1•s_u_d_o•36m ago•1 comments

Parkhausradar, Munich's parking guidance system online

https://github.com/it-at-m/Parkhausradar
1•doener•37m ago•0 comments

Show HN: Learn Git in the Browser

https://learn-git.jrsjackson26.workers.dev/
1•jonnyjackson26•47m ago•0 comments

My OpenAI Dot made a discovery without me asking

https://echo.ls/dots-cwc/
18•maplet•50m ago•0 comments

Where else does P-256 live?

https://unmitigatedrisk.com/2026/12/where-else-does-p-256-live/
2•tomwas54•55m ago•1 comments

Show HN: Pi-tva-toolbox Session-tree tools for the Pi coding agent

https://github.com/asakin/pi-tva-toolbox
1•asakin•56m ago•0 comments

Moire P2P app with v3 onion service per contact

https://github.com/moire-project/moire
1•moire-project•58m ago•0 comments

Show HN: Edit and sign PDFs in the browser without uploading them

https://www.pdflines.com/tool/edit
2•pdflines•59m ago•0 comments

The Animated Elliptic Curve

https://curves.xargs.org
2•syncsynchalt•1h ago•1 comments

Two Days of Secret Testimony Blew Up Trump, Huang and Nvidia

https://deanblundell.substack.com/p/treason-weasels-how-two-days-of-secret
3•gregsadetsky•1h ago•0 comments

Nvidia Chips to China: Timeline of What Trump Admin Officials Knew and When

https://www.justsecurity.org/166538/nvidia-chips-china-what-trump-admin-knew/
3•tastyface•1h ago•0 comments

Congress Could Put Encrypted Messaging at Risk in Next Week's Defense Vote

https://www.eff.org/deeplinks/2026/12/congress-could-put-encrypted-messaging-risk-next-weeks-defe...
2•hn_acker•1h ago•0 comments

Phone Can Spot Undercover Cop Cars for You Using WiFi and Bluetooth

https://www.thedrive.com/news/your-phone-can-spot-undercover-cop-cars-for-you-using-wifi-and-blue...
2•gnabgib•1h ago•0 comments

Jensen Huang Testimony to Congress [pdf]

https://assets.bwbx.io/documents/users/iqjWHBFdfxIU/rmj85rb7Yf2w/v0
2•toomuchtodo•1h ago•1 comments

China proposes rules to stop people falling in love with humanoid robots

https://www.independent.co.uk/asia/china/china-rules-people-love-humanoid-robots-b3096103.html
3•TMWNN•1h ago•0 comments

3D Printing Project

https://strata-support-studio.pages.dev/#printers
1•BonkerWonkers•1h ago•0 comments

Detecting Police Cars Using Wi-Fi and Bluetooth

https://www.schneier.com/blog/archives/2026/12/detecting-police-cars-using-wi-fi-and-bluetooth.html
2•y1n0•1h ago•1 comments

Show HN: Free Post Quantum Verification Check

https://evilpet.app/pqc
1•dioptre•1h ago•0 comments

NPM install-time security and GAT bypass2fa deprecation

https://blog.github.com/changelog/2026-07-08-npm-install-time-security-and-gat-bypass2fa-deprecat...
1•doener•1h ago•0 comments

Bitcoin faces a race against time to prepare for quantum threat

https://www.cnbc.com/2026/12/04/bitcoin-faces-a-race-against-time-to-prepare-for-quantum-threat.html
3•hackernj•1h ago•1 comments
Open in hackernews

LLM functions in TypeScript: a composable pattern for prompt/LLM/parse/execute

https://medium.com/llm-exe
5•llm-exe•1y ago

Comments

llm-exe•1y ago
A few weeks ago I posted about llm-exe, a TypeScript library for structuring LLM calls with reusable components.

I just put together a Medium series that digs deeper into how it works. It breaks down the idea of an LLM function - an executor that wraps a prompt, a model, and a parser. Each part does one thing well, and together they give you a clean, well-typed, testable, and composable way to work with LLMs.

The posts walk through each layer: prompt, parser, LLM, executor. If you're building LLM features in production with TypeScript, I think you’ll find the structure helpful. I am interested in any feedback.

Medium series: https://medium.com/llm-exe

mrbashtech•1y ago
Great work! folks at llm-exe; As a TypeScript developer working with LLMs, llm-exe has been a game-changer for me. It abstracts away the boilerplate of prompt formatting, model integration, and response parsing, allowing me to focus on building features.

The modular design—separating prompts, parsers, and executors—makes my codebase cleaner and more maintainable. Plus, the ability to switch between different LLM providers with minimal code changes is incredibly convenient.