frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Nobody catches themselves envying – the cover story arrives first

https://pilgrima.ge/p/the-evil-eye
1•momentmaker•36s ago•0 comments

Bringing PyTorch Monarch to AMD GPUs

https://pytorch.org/blog/bringing-pytorch-monarch-to-amd-gpus-single-controller-distributed-train...
1•gmays•1m ago•0 comments

The Dark Night of Mathematics

https://kirwinhampshire.substack.com/p/the-dark-night-of-mathematics
1•rmdmphilosopher•1m ago•0 comments

Claude helps reduce our technical debt

https://ninkovic.dev/blog/2026/how-claude-helps-reduce-our-technical-debt
1•Brajeshwar•2m ago•0 comments

Secondhand fashion got expensive

https://www.theguardian.com/fashion/2026/jul/24/secondhand-fashion-thrifting-depop-cost
1•keiferski•2m ago•0 comments

Japan weighs regulating Pokemon cards amid trading mania

https://www.japantimes.co.jp/business/2026/07/23/japan-weighs-regulating-pokemon-cards/
2•anigbrowl•3m ago•0 comments

Remember Tesla?

https://www.theatlantic.com/technology/2026/07/tesla-elon-musk-comeback-cars/688056/
1•paulpauper•3m ago•0 comments

People are deceiving the justice system with AI

https://english.elpais.com/technology/2026-07-25/how-people-are-deceiving-the-justice-system-with...
1•root-parent•4m ago•1 comments

Brazilian farmers tokenized dairy cows to get loans, bypassing bank limits

https://www.coindesk.com/markets/2026/07/24/brazilian-farmers-tokenized-dairy-cows-to-get-loans-b...
2•paulpauper•5m ago•0 comments

DP21228 Science Under Threat? A Natural Experiment in Economics

https://cepr.org/publications/dp21228
1•paulpauper•5m ago•0 comments

Apple's Advertising Cognitive Dissonance

https://mjtsai.com/blog/2026/07/24/advertising-cognitive-dissonance/
1•ksec•7m ago•0 comments

Anduril in talks to raise funding at $100B valuation, over 3x last year's mark

https://techcrunch.com/2026/07/24/anduril-reportedly-in-talks-to-raise-funding-at-100b-valuation-...
1•bookofjoe•10m ago•0 comments

The whole premise of checking for human writing is daft

https://mohammedshehu.com/checking-for-human-writing-is-daft/
2•shehuphd•10m ago•0 comments

ChatGPT wants access to your health records so it can be a better not-doctor

https://www.theregister.com/ai-and-ml/2026/07/24/chatgpt-wants-access-to-your-health-records-so-i...
2•Bender•11m ago•0 comments

Pope's official prayer app commits cardinal sin, leaks 700K+ users' info

https://www.theregister.com/security/2026/07/24/popes-official-prayer-app-commits-cardinal-sin-le...
5•Bender•11m ago•0 comments

Ask HN: What happens when we do compress the context in Claude Code?

2•tbharath•12m ago•0 comments

Staging patches with Git add -p

https://www.simonholywell.com/post/git-add-p/
2•ankitg12•12m ago•0 comments

The AI Boom Made Average People More Interesting

https://alec.is/posts/the-ai-boom-made-average-people-more-interesting/
2•arm32•12m ago•0 comments

GNU C Library 2.44 Released With /etc./tunables.conf, More Optimizations

https://www.phoronix.com/news/GNU-C-Library-glibc-2.44
1•Bender•13m ago•0 comments

Memory-level parallelism: AMD is the king

https://twitter.com/lemire/status/2081035484633985112
1•tosh•19m ago•0 comments

The things that matter take a minute

2•ishener•20m ago•0 comments

Carbon: Graduating from the experiment (Google C++ evolution language) [video]

https://www.youtube.com/watch?v=WJl4ftb5Fxg
1•wild_pointer•22m ago•0 comments

Launched ORBIT AI Sandbox

https://orbit.schmitech.ca/
1•schmitech•22m ago•0 comments

Samsung Electronics, SK Group seal $950B in deals with AI firms

https://www.reuters.com/business/media-telecom/south-korea-president-lee-looking-open-new-era-ai-...
2•alephnerd•22m ago•1 comments

IMAX vs. IMAX 70mm: The difference between these two cinema formats

https://www.engadget.com/2220571/differences-between-imax-70mm/
3•ksec•23m ago•0 comments

The Interstellar Laser Beacons Hypothesis and the Cosmic Lighthouses Project

https://arxiv.org/abs/2607.12106
1•tcp_handshaker•23m ago•0 comments

Visa Vulnerability Agentic Harness – Agentic SAST Pipeline

https://github.com/visa/visa-vulnerability-agentic-harness
1•binyu•28m ago•0 comments

Google signs Open Weights letter

https://twitter.com/sundarpichai/status/2081026488158040181
4•tosh•30m ago•0 comments

A Space Mission to Earth's Nearest Black Hole: Reality or Science Fiction?

https://arxiv.org/abs/2607.10982
1•tcp_handshaker•30m ago•0 comments

The Many Mysteries of the European Eel

https://lithub.com/on-the-many-mysteries-of-the-european-eel/
1•geneticdrifts•31m 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.