frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Samenland City Sim: Towns are a pure function of their seed position and time

https://github.com/retrogames23/samenland
1•doener•1m ago•0 comments

Semimetal nanoribbons become better electrical conductors as they get thinner

https://physicsworld.com/a/semimetal-nanoribbons-become-better-electrical-conductors-as-they-get-...
1•EA-3167•2m ago•1 comments

The Rising Popularity of Memory on Logic, and Why Cerebras Needs to Keep Up

https://www.viksnewsletter.com/p/the-rising-popularity-of-memory-on
1•rbanffy•3m ago•0 comments

Food Systems and the Wealth of Nations over Twelve Thousand Years

https://www.nber.org/papers/w36062
1•marojejian•3m ago•0 comments

Tufazip: Learning to Compress a Billion Bytes of Wikipedia – Tufa Labs

https://tufalabs.ai/research/tufazip/
1•rbanffy•4m ago•0 comments

Teach your kids prime factorization through making snowflakes

https://moultano.wordpress.com/2026/05/01/cutting-snowflakes-and-prime-factorization/
1•moultano•6m ago•0 comments

How to get Agents to verify their work on their own?

2•king_art•6m ago•0 comments

Benchmarking 8 Mac dictation apps (149 runs): latency, error rate, CPU, RAM

https://tryenzo.ai/benchmark
1•selcam•7m ago•0 comments

IceLinkSocial

https://icelink.tail962463.ts.net/
1•icelinksocial•8m ago•0 comments

Ethereum Foundation: BN254 is weak, urges Tornado Cash users to withdraw funds

https://www.theblock.co/news/ecosystems/2026-12-06-ethereum-foundation-says-widely-used-cryptogra...
1•Catloafdev•8m ago•0 comments

Opus 5.5 quietly changed business instructions in 42.8% of enterprise prompts

https://twitter.com/rohanpaul_ai/status/2128994665320079536
2•MrBuddyCasino•9m ago•0 comments

NSA Mulls Curbs on AI Cryptography Research

https://www.bloomberg.com/news/articles/2026-12-06/nsa-mulls-curbs-on-ai-backed-cryptography-work...
2•gengelbro•12m ago•0 comments

An Intuitive Guide to Exponential Functions and E

https://betterexplained.com/articles/an-intuitive-guide-to-exponential-functions-e/
1•uvdn7•14m ago•0 comments

Tidal Is Building a Safe Haven from AI Music Slop

https://www.wired.com/story/tidal-is-building-a-safe-haven-from-ai-music-slop/
1•nephihaha•14m ago•0 comments

Anxiety and Depression Are Symptoms, Not Diseases (2016)

https://www.psychologytoday.com/us/blog/theory-knowledge/201603/anxiety-and-depression-are-sympto...
2•puttycat•15m ago•0 comments

Ed448 – Goldilocks and Elliptic Curve Cryptography

https://www.johndcook.com/blog/2026/12/06/ed448/
2•zdw•16m ago•0 comments

Show HN: I made this video with Claude and Motion Crackers

https://twitter.com/adamhincu/status/2129702073843241006
1•Adam-Hincu•17m ago•0 comments

A Secret Civilization is Living on my Laptop [video]

https://www.youtube.com/watch?v=8TWurJ3E7YU
1•vladde•18m ago•0 comments

Six Years of Mathematics

https://susam.net/msc-maths.html
3•subset•19m ago•0 comments

LackRack 20XX (2017)

https://github.com/NiBuch/LackRack-20XX
1•vladde•20m ago•1 comments

The Turing test if AI stops working because working sucks

https://jesse.id/blog/the-real-turing-test-if-ai-stops-working-because-working-sucks
1•jesse_dot_id•20m ago•0 comments

The 100x Trap

https://human-tokens.dev/p/qe0sP5u9/the-100x-trap
3•tnspacetime•23m ago•0 comments

Evolution of Rust compiler errors (2025)

https://kobzol.github.io/rust/rustc/2025/05/16/evolution-of-rustc-errors.html
2•vladde•24m ago•0 comments

Mini-Frontier-Lab

https://mini-frontier-lab.ai/
1•frozenseven•24m ago•1 comments

IRS Identity Protection PIN System: Two month outage starting Nov 15 ("planned")

https://www.irs.gov/identity-theft-fraud-scams/get-an-identity-protection-pin
3•nycdatasci•24m ago•1 comments

Wall Street gears up for 23/5 trading

https://www.reuters.com/business/wall-street-gears-up-235-trading-what-investors-need-know-2026-1...
2•TechTechTech•26m ago•0 comments

Show HN: Webcadr, a MIT CADR Lisp Machine emulator, runs in browser

https://stass.github.io/webcadr/
2•stass•37m ago•0 comments

Show HN: ExoJIT: define and run fused kernels in Python

https://xdsl.dev/blog/2026/11/22/exojit/
2•superlopuh•38m ago•0 comments

Ask HN: What Happened to Model Hardware Standard?

2•schappim•39m ago•0 comments

DrawOx – AI-powered construction management platform

https://www.drawox.online
1•chaudhryg•40m 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.