frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Googlebook Linux Terminal Preview: VM-Backed Environment for AI and Development

https://android-developers.googleblog.com/2026/10/googlebook-linux-terminal-preview-vm.html
1•ingve•29s ago•0 comments

Ask HN: What is your usecase for ONNX model format?

1•maxchisto•1m ago•0 comments

Kcgi – minimal CGI and FastCGI library for C/C++

https://kristaps.bsd.lv/kcgi/
1•Bluestein•2m ago•0 comments

My coding agent said "all tests pass." They were never run

https://coldtake.dev/blog/bondsmith-hard-bonds-for-soft-claims
2•AlarQ•5m ago•0 comments

EXT4 Introducing IOmap Buffered I/O Path with Some Performance Gains

https://www.phoronix.com/news/EXT4-iomap-Buffered-IO
1•khalidkhair•5m ago•0 comments

RJ Mitte Dies: 'Breaking Bad' Actor Was 34

https://deadline.com/2026/10/rj-mitte-dead-breaking-bad-actor-1237155037/
1•bigwheels•5m ago•0 comments

Show HN: Brickbrag – A multiplayer brick-building world in the browser

https://brickbrag.com/
2•neuling•7m ago•0 comments

Picothermal – WebUSB Thermal Camera Using RP2040 and Flir Lepton

https://www.cezarchirila.com/blog/2026/10/picothermal/
1•icamaster•8m ago•0 comments

Did Ente Locker copy my code without attribution?

https://fairscan.org/blog/did-ente-locker-copy-my-code-without-attribution/
1•superwayne•9m ago•0 comments

How many cookies did you eat today?

https://sheets.works/data-viz/how-many-cookies
1•redbell•10m ago•0 comments

Show HN: Ever – A High-Level Language for Low-Level Purposes

https://github.com/evrlang/ever
1•pouya1dev•10m ago•0 comments

Show HN: E-reader app for iPhone, quote reels generator

https://bookidoro.app/
1•nikope•13m ago•0 comments

How did someone setup an elaborate data phisher at a PNC wawa ATM?

https://www.reddit.com/r/scammers/s/d93xO8dnWT
1•Steaglsz•17m ago•0 comments

Digital Habits Focus app: block the feed from social media sites

https://digitalhabits.org/tools/focus
1•tomduncalf•17m ago•0 comments

China's Five-Year Plan Mandates AI Agents Across the Economy: What It Means

https://openclawai.io/blog/china-ai-agents-five-year-plan
3•sarmike31•17m ago•0 comments

Farewell NASA ADS

https://www.nature.com/articles/s41550-026-03009-y
1•JohnHammersley•18m ago•0 comments

In Praise of John Cale, the Superior Velvet

https://thequietus.com/subscriber-area/low-culture-essay/john-cale-low-culture/
1•sebmellen•18m ago•0 comments

Army Announces First Ever 'Manufacturing Rodeo'

https://www.army.mil/article/296069/army_announces_first_ever_manufacturing_rodeo
3•lasermatts•19m ago•0 comments

Influencer MAII:)

https://www.instagram.com/maii_health
1•nevenp•20m ago•0 comments

From chat window to my desk: An AI-designed split keyboard

https://imrishabh18.github.io/blog/ai-corne-keyboard/
1•imrishabh18•22m ago•0 comments

Firefox 158 Now Available with JPEG-XL Support by Default

https://www.phoronix.com/news/Firefox-158-Released
2•Bender•22m ago•0 comments

He Made 500 Hours of Puzzles to Explode Your Mind

https://www.nytimes.com/2026/10/09/arts/jonathan-blow-order-of-the-sinking-star.html
2•rafaelc•22m ago•0 comments

Flood damaged EVs pose fire risk even after water recedes, fire officials say

https://ktla.com/news/california/flood-damaged-evs-pose-fire-risk-even-after-water-recedes-fire-o...
1•Bender•23m ago•0 comments

UCLA settles Oracle ERP dispute with $3.1M in credits and $1.31M wiped

https://www.theregister.com/saas/2026/10/12/ucla-settles-oracle-erp-dispute-with-31m-in-credits-a...
2•Bender•26m ago•0 comments

Cole Brauer sailed solo around the world. She plans to do it again

https://www.marketplace.org/story/2026/10/09/cole-brauers-solo-journey-around-the-world-wasnt-exa...
2•mooreds•30m ago•0 comments

Samsung to cut smartphone production by 30%

https://www.mt.co.kr/en/tech/2026/10/08/2026100709554237233
1•baal80spam•30m ago•0 comments

Lunar Mission Will Explore Old Lava Tubes as Potential Habitats

https://www.universetoday.com/articles/nasa-selects-gimli-to-search-the-marius-lunar-pit-for-a-po...
1•pseudolus•32m ago•0 comments

Back to bases: What's next at Airtable

https://www.airtable.com/newsroom/back-to-bases
1•caseysoftware•34m ago•0 comments

I Got My Muse AI Agent to Sext Me–and Meta Says That's Fine

https://www.wired.com/story/i-got-my-muse-ai-agent-to-sext-me-and-meta-says-thats-totally-fine/
2•mikelgan•35m ago•0 comments

Rediscovering the Romance of Travel Clocks

https://www.acollectedman.com/blogs/journal/rediscovering-travel-clocks
2•austinallegro•35m ago•0 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.