frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Silicon Valley's Dream City Has Crashed into Small-Town Politics

https://www.wsj.com/us-news/silicon-valleys-dream-city-has-crashed-into-small-town-politics-4521d1bd
1•Anon84•6m ago•0 comments

Ask HN: Would you support a law banning filming people in public?

1•dfps•6m ago•0 comments

Ask HN: Built a benchmark? Would love to learn

1•ramstar3000•9m ago•0 comments

FrameLab – FPS calculator for PC games, checked against real hardware runs

https://framelab-fps.com/uk
1•BMatiashchuk•9m ago•0 comments

Genius or Mid Life Crisis Lol

https://www.reddit.com/r/founder/comments/1x25aws/genius_or_midlife_crisis/
1•jimmyshoez•12m ago•0 comments

Two Kings of New York: Visualizing the Careers of Jay-Z and Nas

https://streettaichi.com/pages/kings-of-new-york
2•laybak•14m ago•0 comments

Show HN: Open-Source Canva Alternative

https://github.com/shaongitbd/doory
1•Aditya_1•17m ago•0 comments

'AI slop' hides the conversations we should be having

https://doi.org/10.1038/s44387-026-00161-8
1•DeepLogin•18m ago•0 comments

Every US Electrical Outlet Explained [video]

https://www.youtube.com/watch?v=n_1wzYQwnts
2•zdw•21m ago•2 comments

Why OpenAI's latest results dump has left mathematicians in shock

https://theconversation.com/is-this-the-mathocalypse-why-openais-latest-results-dump-has-left-mat...
2•ColinWright•26m ago•1 comments

Amiga Demoscene for Beginners

https://spookbench.net/blog/amiga_dmscn/part0.html
1•nickt•29m ago•0 comments

Temporal Continuity API (Groundbreaking)

https://api.rscapex.com
1•TomKrysos•32m ago•0 comments

PwnPad – hardware hacking platform built for practical learning

https://github.com/twelvesec/PwnPad
2•therepanic•42m ago•0 comments

Build your own decision model

https://nishtahir.com/build-your-own-decision-model/
13•softwaredoug•44m ago•1 comments

A black box recorder for contracts

https://lexifina.com/blog/a-black-box-recorder-for-contracts
2•alansaber•51m ago•0 comments

Show HN: Convertix – A free, client-side QR code generator with customization

https://convertix-fast-imager-co.blogspot.com/p/convertix-free-online-qr-code-generator.html
3•tanjirods•55m ago•0 comments

A mountain of AI math, a few precious bytes

https://blog.adafruit.com/2026/10/10/a-mountain-of-ai-math-a-few-precious-bytes/
1•abetusk•56m ago•0 comments

Ask HN: What's your favorite children's books?

1•lgregg•1h ago•4 comments

Show HN: ManimGX – Manim's API on a Rust/wgpu engine, for 3D videos in Python

https://github.com/academa-labs/manimgx
3•sinaatalay•1h ago•0 comments

Show HN: Mailbox Viewer – publish FOIA email dumps as a static Gmail-like site

https://github.com/rahimnathwani/mailbox-viewer
1•rahimnathwani•1h ago•0 comments

Wilmund

https://wilmund.com/
2•WillDaSilva•1h ago•0 comments

Back to School with High-Speed Attack Drones

https://www.wsj.com/opinion/stopping-school-shootings-with-security-drones-44e22f75
2•fortran77•1h ago•1 comments

A Stark Warning from a Former AI Doomer

https://podcasts.apple.com/us/podcast/a-stark-warning-from-a-former-ai-doomer/id1515786216?i=1000...
8•_virtu•1h ago•0 comments

When Corn Flakes Were Part of an Anti-Masturbation Crusade

https://www.mentalfloss.com/food/corn-flakes-were-invented-part-anti-masturbation-crusade
1•snarky-comments•1h ago•1 comments

Slipstream – explore F1 results and compare lap times

https://github.com/saccofrancesco/slipstream
1•sh4dow05•1h ago•0 comments

California Did Little to Punish a Raw Milk Farm After Two Girls Got Sick

https://www.propublica.org/article/california-raw-milk-regulation-emily-marris-moonlight-ridge-farm
2•jkestner•1h ago•2 comments

Secret of Orange Cats Revealed After 60-Year Search

https://www.sciencealert.com/secret-of-orange-cats-finally-revealed-after-60-year-search
2•bookofjoe•1h ago•0 comments

We're All Working for AI Now

https://medium.com/@mustafaydemir/were-all-working-for-ai-now-19353aa51e82
2•criexe•1h ago•2 comments

Podcast to Yoto Playlist Sync

https://github.com/veleek/PodcastToYoto
1•veleek•1h ago•1 comments

Agisoon.lol: Predictions of the Singularity

https://www.agisoon.lol/
2•JohnLocke4•1h 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.