frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Moving to Dubai for Remote Work

https://rozumem.xyz/posts/4/moving-to-dubai-for-remote-work
1•frizlab•1m ago•0 comments

Show HN: Diorama – Draw a world, play it with point and click

https://grzegorz.tanczyk.pl/diorama/
1•fullstackwife•2m ago•0 comments

Anthropic's FlashProve proves which model wrote a reply, and its 72x cost

https://theainewsreport.com/2026-11-04-anthropic-flashprove-provable-inference-explained.html
1•titusblair•2m ago•0 comments

Time to wake up MetOp-SG-B1 weather satellite

https://new.esa.int/articles/about-us/directorates/earth-observation-programmes/meteorological-mi...
1•titusblair•2m ago•0 comments

What Gemini does with saved chats, and what turning off Keep Activity costs

https://theainewsreport.com/2026-11-04-gemini-keep-activity-training-human-review-explained.html
1•titusblair•3m ago•0 comments

Skill to verify and optimize software with TLA+ and ts-tla

https://github.com/paralin/tla-skill
1•aperturecjs•5m ago•0 comments

New York reports first measles death in more than 30 years

https://www.nbcnews.com/health/health-news/new-york-measles-death-rcna607137
2•gmays•9m ago•1 comments

Insider Selling Isn't the Warning Sign. A Late Filing Is

https://optimistfi.com/research/does-insider-selling-predict-a-stock-drop-not-in-8209-cases
1•saidileepkumar•9m ago•0 comments

Fireflies: A game written in Neural Net Weights

https://twitter.com/etticat/status/2118091399430090865
3•etticat•10m ago•0 comments

New Morning

https://www.math.columbia.edu/~woit/wordpress/?p=15979
1•jjgreen•11m ago•0 comments

Texas just went blue, and the tech bros are sad

https://www.businessinsider.com/texas-went-blue-tech-bros-democrats-2026-11
11•doener•12m ago•0 comments

Try Envelox, our new privacy-focused iOS email app with built-in PGP encryption

https://testflight.apple.com/join/upeNtXP7
1•marc0janssen•12m ago•1 comments

League City to disable Flock cameras after voters reject their use

https://www.houstonpublicmedia.org/articles/galveston-county/2026/11/04/566248/league-city-to-dis...
1•pilingual•13m ago•0 comments

TIL: Bash can have functions and variables with the same name

https://heitorpb.github.io/bla/bash-var-func-name/
2•speckx•13m ago•0 comments

Hacking the T-Mobile Sidekick, 20 Years Too Late

https://x86.cx/blog/redanger
4•microcode•14m ago•1 comments

Prettier: An Opinionated Code Formatter

https://prettier.io/
3•doener•17m ago•1 comments

Thoughts on Zero Breach Repo?

https://github.com/interplains/zero-breach
1•insaider•17m ago•0 comments

Length Is Cheap, Competition Is Not: Attention Predicts Context Rot in Retrieval

https://arxiv.org/abs/2611.04169
1•liusci•19m ago•0 comments

Democratic Congress could test decades of US support for Israel

https://www.reuters.com/world/us/democratic-congress-could-test-decades-us-support-israel-2026-11...
3•grugagag•20m ago•0 comments

Advancing the Quality-Efficiency Frontier for Coding AI on Windows PCs

https://devblogs.microsoft.com/foundry-on-windows/coding-ai-on-windows-pcs-quality-efficiency/
2•doomroot13•20m ago•0 comments

Reverse Engineering a Children's Camera and Making It Run Doom

https://spodesabode.com/articles/reverse-engineering-a-childrens-camera/
1•speckx•21m ago•0 comments

Anti-Oligarchy Activists Plan to Dox Elon Musk and Other Billionaires

https://www.wired.com/story/anti-oligarchy-activists-plan-to-dox-elon-musk-and-hundreds-of-billio...
6•primogen•22m ago•0 comments

A Decade of Kill Bugs

https://alangrow.com/blog/a-decade-of-kill-bugs
1•birdculture•24m ago•0 comments

Paul Graham on why the Republicans lost the election

https://twitter.com/paulg/status/2118041310699352558
3•newspaper1•25m ago•0 comments

Security Incident Post Mortem

https://www.gitbook.com/status/security-incident-2026-11-03
1•themgt•25m ago•0 comments

Apple Is Putting Employees on an AI Budget

https://www.macrumors.com/2026/11/04/apple-reducing-employee-ai-spending/
3•tosh•25m ago•4 comments

Bruno: The Git-native API client

https://www.usebruno.com
2•blue_green_maps•27m ago•0 comments

Show HN: Review patch/diff files as VS Code diffs with on-demand loading

https://marketplace.visualstudio.com/items?itemName=mehmetoguzderin.patch-diff-review
1•mehmetoguzderin•27m ago•0 comments

AI's Building Boom Meets a Blue Wave. 'Neocloud' Stocks Fall

https://www.investors.com/news/technology/coreweave-nebius-slide-as-blue-wave-clouds-ai-boom/
1•angry_impala•28m ago•0 comments

Berkshire Hathaway invests further $330M in Bending Spoons

https://investors.bendingspoons.com/newsroom/berkshire-hathaway-invests-further-in-bending-spoons
1•u1hcw9nx•28m 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.