frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

How AI Innovation Becomes Geopolitical Power

https://www.foreignaffairs.com/united-states/how-ai-innovation-becomes-geopolitical-power
1•jonbaer•4m ago•0 comments

Show HN: Photonic Reservoir Compressor – Hybrid Sin Optical and RANS Compression

https://github.com/synthesis496/photonic-reservoir-compressor/
1•synthesis496•6m ago•0 comments

Plato's Key-a rotation and a global scale let an LLM use other's representations

https://hazyresearch.stanford.edu/blog/2026-11-25-platos-key
1•tomrod•11m ago•0 comments

NSF – Accelerated Bachelor's to PhD (AccelPhD)

https://www.nsf.gov/funding/opportunities/accelphd-accelerated-bachelors-phd
2•aanet•11m ago•2 comments

Effective Altruism Is Too Tied to the AI Industry to Stop It

https://ai-frontiers.org/articles/effective-altruism-is-too-tied-to-the-ai-industry-to-stop-it
2•bagacrap•15m ago•0 comments

Show HN: Bebox – back end in a box, inside a single process

https://bebox.run
2•j4w8n•15m ago•0 comments

Dyson's $500 Leaking CameraJet Toothbrush Is Back, and We Now Know Why It Failed

https://www.wired.com/story/dyson-leaking-camerajet-toothbrush-is-back-and-we-now-know-why-it-fai...
1•bookofjoe•22m ago•1 comments

The After Math

https://peppaking8.github.io/the-after-math/
1•markus_zhang•23m ago•0 comments

Gaia unveils two-billion-star map of our galaxy and beyond

https://www.esa.int/articles/about-us/directorates/science/gaia/gaia-unveils-two-billion-star-map...
1•rexbee•27m ago•0 comments

In a Streaming World, Should You Stand Still

https://dl.acm.org/doi/abs/10.1145/3770855.3817495
1•teleforce•31m ago•0 comments

First Portion of NASA Hybrid Jet Engine Project Yields Successes

https://www.nasa.gov/general/first-portion-nasa-hybrid-jet-engine-project/
2•gmays•31m ago•0 comments

How to properly measure local LLM speed

https://blog.thepixelary.com/post/835211620290609152/how-to-properly-measure-llm-speed-finale
1•mikepan•34m ago•1 comments

Six Experts on Reclaiming AI for the Public Good

https://thereader.mitpress.mit.edu/six-experts-on-reclaiming-ai-for-the-public-good/
3•aanet•37m ago•0 comments

Open Music Theory

https://viva.pressbooks.pub/openmusictheory/
10•gregsadetsky•38m ago•1 comments

Show HN: Hexplained.dev – What's in This File?

https://hexplained.dev/
1•suresk•41m ago•0 comments

FreeBSD 15.2 Release Delayed Due to AI-Driven Security Advisories

https://www.phoronix.com/news/FreeBSD-15.2-RC2
2•mikece•45m ago•1 comments

GL.iNet admits using reverse shells on routers during breach response

https://www.bleepingcomputer.com/news/security/glinet-admits-using-reverse-shells-on-routers-duri...
4•colinprince•46m ago•0 comments

Behold the first footage of an anglerfish sucking prey into its toothed maw

https://www.cbc.ca/lite/story/9.7447059
3•colinprince•51m ago•0 comments

Show HN: Build a Research Empire Game

https://pubper.frontpageintelligence.ai/
1•dougSF70•53m ago•0 comments

The most elegant key change in all of pop music (2021) [video]

https://www.youtube.com/watch?v=epqYft12nV4
2•gregsadetsky•56m ago•0 comments

China proposes rules to stop people falling in love with humanoid robots

https://www.independent.co.uk/asia/china/china-rules-people-love-humanoid-robots-b3096103.html
1•Alien1Being•58m ago•1 comments

Ubuntu spent years patching GNOME, but things it can't fix are the real problem

https://www.xda-developers.com/ubuntu-has-been-patching-gnomes-missing-basics-since-2017-and-gnom...
1•cromka•1h ago•0 comments

Visualize: Agent Skill that turns a one-line request into a step-through visual

https://github.com/Aaryan1524/Visualize
1•thunderbong•1h ago•0 comments

A Gift Guide for Everyone, No One, and Karen, Who Has Dementia

https://longreads.com/2026/12/03/christmas-holiday-gift-guide-dementia/
1•gmays•1h ago•0 comments

Centralized AI Games, Centralized AI Prizes

https://www.pond.is/p/centralized-ai-games-centralized
2•StevenVincent•1h ago•0 comments

The 4D SU(N) Yang–Mills Mass Gap in Lean4

https://umpolungfish.github.io/yang-mills-lean4/
1•umpolungfish•1h ago•0 comments

Meltwater Pulse 1A

https://en.wikipedia.org/wiki/Meltwater_pulse_1A
3•PeterHolzwarth•1h ago•2 comments

Air France Crew Told to Track Passengers Who Didn't Eat or Drink

https://onemileatatime.com/news/air-france-crew-told-secretly-track-passengers-didnt-eat-drink/
8•malshe•1h ago•3 comments

SwarmHarm: Sandbox for emergent multi-agent swarm behaviors

https://swarmharm.com/
1•dagli•1h ago•0 comments

Deep learning for kidney cancer screening using non-contrast computed tomography

https://www.nature.com/articles/s44360-026-00223-w
6•marc__1•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.