frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

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

https://medium.com/llm-exe
5•llm-exe•11mo ago

Comments

llm-exe•11mo 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•11mo 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.

The Century-Long Pause in Fundamental Physics

https://danieltan.weblog.lol/2026/05/the-century-long-pause-in-fundamental-physics
1•danieltanfh95•51s ago•0 comments

Herbert Simon in 1979: on AI and robotics [video]

https://www.youtube.com/watch?v=p5c9ns0oeZg
1•clickglue•4m ago•0 comments

Craig Venter of Human Genome Project Dies at 79

https://www.economist.com/obituary/2026/05/01/craig-venter-raced-to-decode-the-human-genome
1•bookofjoe•5m ago•0 comments

Earning the Right to Have an Opinion on AI in the SDLC

https://sashankav.substack.com/p/earning-the-right-to-have-an-opinion
1•ColinEberhardt•5m ago•0 comments

Spirit Airlines shutting down after rescue talks collapse

https://www.bbc.com/news/articles/cqxlnrqjvzyo
1•berkeleyjunk•6m ago•0 comments

Quantization for Modern AI Systems (70-page free eBook)

https://pawankjha.substack.com/p/my-new-ebook-free-download-quantization
1•pawanjha25•7m ago•0 comments

What do you think is missing in most expense tracking apps?

https://play.google.com/store/apps/details?id=com.lowkeynova.fino&hl=en_US
1•enjoyingtime•11m ago•0 comments

Show HN: 3x Enemies Aggro Mod – Elden Ring Multiplayer Scaled Up to the Max

1•alansaber•14m ago•0 comments

Spirit Airlines canceled all flights and is going out of business

https://www.cnn.com/2026/05/02/business/spirit-to-halt-all-flights
2•teleforce•17m ago•0 comments

Multiple Hetzner Issues

https://status.hetzner.com/
1•teekert•18m ago•0 comments

Minnesota passes ban on fake AI nudes; app makers risk $500K fines

https://arstechnica.com/tech-policy/2026/05/minnesota-set-to-be-first-state-to-ban-nudification-a...
2•ndsipa_pomu•18m ago•1 comments

Dokkimi: Test every part of your app without code changes

https://www.dokkimi.com/
1•pugio•19m ago•0 comments

A New Mental Model for Work in the AI Age

https://dalehurley.com/posts/newmentalmodelforworkintheaiage/
1•dalemhurley•20m ago•1 comments

Heavy metal predators: diverse elemental enrichment across weapons of scorpions

https://royalsocietypublishing.org/rsif/article/23/237/20250523/481493/Heavy-metal-predators-dive...
1•bookofjoe•20m ago•0 comments

From CVS to Git, thirty years of source control

https://evilgeniuslabs.ca/blog/from-cvs-to-git-thirty-years-of-source-control
1•andsoitis•22m ago•0 comments

Show HN: Toggles – open-source feature flags for everyone

https://toggles.tinytown.studio/
1•aliezsid•24m ago•0 comments

Show HN: Droast – A Dockerfile linter that roasts you for your bad practices

https://github.com/immanuwell/dockerfile-roast
1•immanuwell•24m ago•0 comments

UK court orders Samsung to pay China's ZTE a $392M lump sump after patent trial

https://www.reuters.com/legal/litigation/uk-court-orders-samsung-pay-chinas-zte-392-million-lump-...
1•teleforce•27m ago•0 comments

Becoming a father shrinks your cerebrum

https://www.economist.com/science-and-technology/2022/10/21/becoming-a-father-shrinks-your-cerebrum
3•andsoitis•28m ago•0 comments

FreeBSD 15.1-BETA1 Now Available

https://lists.freebsd.org/archives/freebsd-stable/2026-May/004035.html
1•vermaden•30m ago•0 comments

Exposing ZFS volumes over the network via NVMe-oF

https://xata.io/blog/xatastor-zfs-nvme-of-for-millions-of-postgres-databases
2•mebcitto•30m ago•0 comments

Differences Between miniKanren and Prolog

https://minikanren.org/minikanren-and-prolog.html
1•tosh•33m ago•0 comments

Where in the World Is All That Gold Stored?

https://www.nytimes.com/2026/05/01/business/central-banks-gold-storage.html
1•bookofjoe•33m ago•1 comments

The Monster That Slays Arctic Subsea Cables: Icebergs

https://subseacables.blogspot.com/2026/05/the-monster-that-slays-arctic-subsea.html
1•giuliomagnifico•34m ago•0 comments

Ubuntu back up, In Saturday after DDoS attacks

1•relunsec•36m ago•1 comments

This Month in Ladybird – April 2026

https://ladybird.org/newsletter/2026-04-30/
1•exploraz•37m ago•0 comments

µKanren: A Minimal Functional Core for Relational Programming (2013) [pdf]

http://webyrd.net/scheme-2013/papers/HemannMuKanren2013.pdf
1•tosh•37m ago•0 comments

Architecting AI Compute (Part 1)

https://pawankjha.substack.com/p/architecting-ai-compute-part-1-the
1•pawanjha25•38m ago•0 comments

Real Tesla Multimilionaire is P85 with 1.800.000 km under the belt

https://evclinic.eu/2023/07/27/real-tesla-multimilionaire-is-p85-with-1-800-000-km-under-the-belt/
1•taubek•41m ago•0 comments

List of Unsolved Problems in Physics

https://en.wikipedia.org/wiki/List_of_unsolved_problems_in_physics
1•chistev•41m ago•1 comments