frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Astronomers discover the first ever green star

https://www.space.com/astronomy/stars/astronomers-discover-the-1st-ever-green-star-a-cosmic-zombi...
1•bushwart•1m ago•0 comments

The Hugging Face Incident

https://huggingface.wtf/
1•erwald•4m ago•0 comments

Did Ente Locker copy my code without attribution?

https://fairscan.org/blog/did-ente-locker-copy-my-code-without-attribution/
1•mtlynch•4m ago•0 comments

Community Notes for Everything

https://commonnotes.net/
1•toomuchtodo•6m ago•1 comments

Tenstorrent raises $1.5B [$6.2B valuation] to expand its open compute ecosystem

https://siliconangle.com/2026/10/19/chip-legend-jim-kellers-tenstorrent-raises-1-5b-to-expand-its...
1•peter_d_sherman•6m ago•0 comments

Show HN: Omasharp: Build Omarchy apps with C# and .NET

https://github.com/luisrudge/omasharp
1•luisrudge•6m ago•0 comments

DHH goes on white supremacist rant

https://twitter.com/dhh/status/2111638580229439730
1•grandpajoey•6m ago•0 comments

People are using AI to make smart TVs, dumb TVs

https://techcrunch.com/2026/10/19/people-are-using-ai-to-make-their-smart-tvs-dumb-again/
1•privacyisntdead•8m ago•0 comments

PE Bench: Benchmark for private equity analyst work

https://getcompound.ai/blog/introducing-pe-bench
2•peterjliu•9m ago•0 comments

Game decompilation site is closing because AI has 'broken the community aspect'

https://www.videogameschronicle.com/news/one-of-the-biggest-game-decompilation-sites-is-closing-b...
2•CharlesW•10m ago•0 comments

Skymizer HTX301 – IP Licensable AI Accelerator Card with 384GB for 700B Models

https://skymizer.ai/products/htx301/
1•peter_d_sherman•12m ago•0 comments

Why Windows 11 still ships with Windows 95's memory manager hidden inside it

https://www.windowslatest.com/2026/10/19/why-windows-11-still-ships-with-windows-95s-memory-manag...
1•khalidkhair•13m ago•0 comments

Show HN: OpenFlow – AI Agent Workflow Builder

https://github.com/SeeRay11/OpenFlow
1•searay112023•14m ago•0 comments

Bullhorn takes staffing platform offline to contain cyberattack

https://www.bleepingcomputer.com/news/security/bullhorn-takes-staffing-platform-offline-to-contai...
1•toomuchtodo•15m ago•1 comments

Trump Appointees Asked a Federal Agency to Acquire a Voting Machine and Hack It

https://www.propublica.org/article/cisa-election-security-donald-trump
5•soundworlds•18m ago•0 comments

Show HN: Chai-UI – A design system to generative AI apps

https://chai-ui.com/
1•KazaNLP•21m ago•0 comments

The simple words that can expose any liar, according to a forensic linguist

https://www.sciencefocus.com/wellbeing/how-to-catch-a-liar-language
1•gmays•21m ago•0 comments

Advancing coding in low‑resource programming languages

https://openai.com/index/low-resource-programming-languages/#sqlite-fortran
1•smusamashah•23m ago•0 comments

The Remarkable Secrets of Olive Oil

https://www.midwesterndoctor.com/p/the-remarkable-secrets-of-olive-oil
1•bilsbie•25m ago•0 comments

I Accidentally Stepped Off the Algorithm

https://vilkeliskis.com/b/2026/1019.html
1•tadasv•25m ago•0 comments

France's Supermarket Fridges Were Vulnerable Online for Months

https://ipinfo.io/blog/france-fridges-hack
14•emot•26m ago•5 comments

LLMs Deal with Fraudulent Papers

https://www.science.org/content/blog-post/how-llms-deal-fraudulent-papers
1•EA-3167•26m ago•0 comments

Sold a Story 2: What Happened to Teaching

https://features.apmreports.org/sold-a-story/season-2/
1•bcaulfield•27m ago•0 comments

US bans DeepSeek AI from government use as tech tension with China continues

https://www.bbc.com/news/articles/cjkgeq0k1wevo
2•a1o•28m ago•1 comments

Nearly 1 in 5 UC freshmen are flunking math, double the rate from 5 years ago

https://nypost.com/2026/10/19/us-news/uc-system-sees-surge-in-freshmen-failing-introductory-math/
3•bcaulfield•34m ago•2 comments

Word counting app for Novel Writing November

https://wordcairn.gnuware.com/
1•fredpwickerbill•36m ago•1 comments

Ask HN: Bring-your-own-AI hardware

1•flying_sheep•37m ago•0 comments

Flock cameras spread through government deals that bypassed public scrutiny

https://www.nbcnews.com/tech/security/flock-cameras-safety-surveil-spread-location-where-contract...
6•cdrnsf•37m ago•0 comments

Quebec's reserves of maple syrup almost depleted, says new report

https://www.cbc.ca/news/canada/montreal/quebec-maple-syrup-reserves-nearly-depleted-9.7386889
2•BiraIgnacio•40m ago•0 comments

A Spot of Hope for the Beleaguered Software Drone

https://horsedrawingtycoon.com/@cube-drone/blog/a-spot-of-hope-for-the-beleaguered-software-drone
1•tapoxi•42m 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.