frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Ask HN: How do you manage your own recovery time?

1•julienreszka•27s ago•0 comments

Grok Build CLI is accused of uploading git repos to Google Cloud bucket

https://twitter.com/i/status/2076689215258014069
1•maxloh•38s ago•0 comments

UTC and Atomic Time

https://en.wikipedia.org/wiki/Coordinated_Universal_Time
1•5701652400•3m ago•1 comments

Show HN: I audited my own eight repos. Half of them lied in the README

https://github.com/Wasserpuncher/readme-check
1•Wasserpuncher•5m ago•0 comments

Show HN: Retire Me – crowdfunding one designer's escape from sensible

https://www.retireme.xyz/
1•ArashLowni•5m ago•0 comments

Closing a three-year-old issue using Rust arenas

https://giacomocavalieri.me/writing/gleam-rust-arenas
1•birdculture•6m ago•0 comments

Hassabis – A Framework for Frontier AI and the Dawning of a New Age

https://twitter.com/demishassabis/status/2076957440109625718
1•asiergoni•8m ago•0 comments

Show HN: Turnitin Report – AI checker and AI detector for student papers

https://www.turnitin.report/
1•gigisss•9m ago•0 comments

Jimmy Soni – Peter Thiel, Elon Musk, and the PayPal Mafia [video]

https://www.youtube.com/watch?v=OEcOUgXvz7g
1•ronfriedhaber•10m ago•0 comments

Native SDK from Vercel

https://native-sdk.dev/
2•orixilus•12m ago•1 comments

Show HN: Coura AI – AI clothes changer for realistic outfit photos

https://coura.ai
1•gigisss•12m ago•0 comments

Canada's Dead Sea? Diving into Saskatchewan's Salty Secret

https://canadiangeographic.ca/articles/canadas-dead-sea-diving-into-saskatchewans-salty-secret/
1•thunderbong•16m ago•0 comments

Worship me at the office altar: Why narcissistic leaders resist remote work

https://www.sciencedirect.com/science/article/pii/S0749597826000300
2•andyjohnson0•17m ago•0 comments

TSMC Spies Got 10 Years. Taiwan's AI Basic Act Has No Penalties at All

https://mrkt30.com/tsmc-spies-got-10-years-taiwans-ai-basic-act-has-no-penalties-at-all/
1•emsidisii•20m ago•0 comments

The gap between CPU and GPU was always software

https://zenodo.org/records/21352974
1•thelibrebob•21m ago•0 comments

The EasyJet Takeover: Can Apollo Own a European Airline?

https://www.disruptionbanking.com/2026/07/14/the-easyjet-takeover-can-apollo-actually-own-a-europ...
1•emsidisii•25m ago•0 comments

Strait of Hormuz Tensions Weigh on Chinese Stocks as Oil Surges

https://www.disruptionbanking.com/2026/07/14/strait-of-hormuz-tensions-weigh-on-chinese-stocks-as...
1•emsidisii•25m ago•0 comments

Scanline edge-flag algorithm for antialiasing [pdf]

https://mlab.taik.fi/~kkallio/antialiasing/EdgeFlagAA.pdf
1•xqb64•26m ago•0 comments

Embracing TanStack Start for full-stack development on Cloudflare – PageZERO v2

https://pagezero.dev/blog/tanstack-start-cloudflare-full-stack
1•pawelgalazka•26m ago•0 comments

Meritocracy in Perspective. The Rise of the Meritocracy 60 Years on (2020)

https://onlinelibrary.wiley.com/doi/10.1111/1467-923X.12839
1•robtherobber•29m ago•0 comments

Jails vs. LXC: What's the Right Choice for Infrastructure?

https://klarasystems.com/articles/jails-vs-lxc-whats-the-right-choice-for-infrastructure/
1•NexRebular•31m ago•0 comments

Atlas Neurochemical Characterization Human Brainstem with 3D Reconstruction

https://anchor.humanbrain.in/
1•Alien1Being•32m ago•0 comments

Toward a future that preserves benefits of neurotechnology for all

https://news.mit.edu/2026/toward-future-preserves-benefits-neurotechnology-for-all-0706
1•rbanffy•32m ago•0 comments

Test PostgreSQL migrations before COMMIT

https://vvka-141.github.io/pgmi/articles/test-postgresql-migrations-before-commit/
1•aevlampiev•32m ago•0 comments

Microsoft commits $2.5B, 6k employees AI implementation unit

https://www.cnbc.com/2026/07/02/microsoft-commits-2point5-billion-6000-employees-ai-implementatio...
2•rbanffy•32m ago•0 comments

Stoicism as a Mass Phenomenon

https://www.alejandradeargos.com/en/stoicism-as-a-mass-phenomenon/
1•bryanrasmussen•37m ago•0 comments

ModelDNA: Verifying the lineage of open-weight LLMs from weight fingerprints

https://arxiv.org/abs/2607.10617
2•saadaamir14•38m ago•0 comments

Fastmail announces launch of EU-hosted email infrastructure

https://www.businesswire.com/news/home/20260713988425/en/Fastmail-Launches-EU-Hosted-Email-Infras...
3•dson•38m ago•1 comments

Watching Nature Videos Can Help Relieve Stress, Study Finds

https://cnr.ncsu.edu/news/2026/07/nature-videos-relieve-stress/
2•XzetaU8•40m ago•0 comments

Show HN: We Built a Chat of Stanford's CS229 Course Notes

4•mingtianzhang•41m 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.