frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

I ran a few local LLM models on my MacBook Air M3, these are the results

https://prasadkhake.com/blog/16gb-mac-llm
1•robertlangdon•50s ago•0 comments

My Grass Allergy

1•omgJustTest•1m ago•0 comments

Cops Are Spying on People Who Criticize AI Data Centers Online

https://theintercept.com/2026/06/01/ai-data-center-protest-police-surveillance/
1•cdrnsf•1m ago•0 comments

Social media ban 'won't keep children safe', commissioner warns

https://www.bbc.com/news/articles/c1721n4klp2o
2•speckx•2m ago•0 comments

Skipper: The closed-loop coding agent

https://skipperai.dev/
1•venturin•2m ago•0 comments

Nvidia's Hostile Takeover

https://www.youtube.com/watch?v=XJMbeG3tXjc
1•stevefan1999•2m ago•0 comments

Ask HN: Why my post get [flagged]?

1•gagan2020•3m ago•0 comments

Cracking the Whoop 5.0 over Bluetooth

https://judes.club/writing/cracking-the-whoop-5-bluetooth-protocol/
1•alechash•3m ago•0 comments

Anthropic confidentially submits draft S-1 for IPO

https://twitter.com/zerohedge/status/2061478129831485653
3•nycdatasci•5m ago•1 comments

Checking Assembly with Z3

https://bernsteinbear.com/blog/asm-z3/
1•speckx•5m ago•0 comments

Show HN: Canvascript – Canvas prints of source code

https://canvascript.com/
2•EOdOW•6m ago•0 comments

Ask HN: Anyone else observing a Widespread Outage of Archive.* Sites?

1•anonymouscaller•6m ago•0 comments

2026 FIFA World Cup Squads

https://en.wikipedia.org/wiki/2026_FIFA_World_Cup_squads
1•altilunium•7m ago•0 comments

OpenAI hit with lawsuit by Florida AG over AI risks

https://www.politico.com/news/2026/06/01/openai-hit-with-florida-lawsuit-00944215
4•cyunker•9m ago•0 comments

Gavriel Cohen found his own code inside OpenClaw, so he walked away

https://thenewstack.io/nanoclaw-openclaw-agent-security/
1•Brajeshwar•9m ago•0 comments

Anthropic confidentially submits draft S-1 to the SEC

https://www.anthropic.com/news/confidential-draft-s1-sec
40•surprisetalk•10m ago•13 comments

Are You Enjoying Our Linguine? (2025)

https://www.thedial.world/articles/news/american-tourists-rome
1•NaOH•10m ago•0 comments

Reading Literature on a Small Screen

https://timur.mobi/prosereader-web/
1•pfalafel•11m ago•0 comments

Never guess your CPU or RAM requirements

https://docs.burla.dev/blog/dynamic-hardware
3•jmp1062•12m ago•0 comments

"You Can't Miss It"

https://k2xl.substack.com/p/you-cant-miss-it
1•k2xl•12m ago•0 comments

Scholarship in the Age of AI

https://bastian.rieck.me/blog/2026/scholarship/
1•Pseudomanifold•13m ago•0 comments

Agent Visibility Beyond the Endpoint

https://twitter.com/jqdsouza/status/2061436961349660749
1•jqdsouza•13m ago•0 comments

Qualcomm's new '$300 and up' ARM laptop platform

https://www.tomshardware.com/laptops/we-went-hands-on-with-qualcomms-new-usd300-and-up-arm-laptop...
1•tosh•14m ago•0 comments

Homing pigeons navigate via superparamagnetic macrophages when sky is overcast

https://www.science.org/doi/10.1126/science.ady2486
2•croes•15m ago•0 comments

Safer Than YOLO: Auto Mode for Exec Approvals

https://openclaw.ai/blog/safer-than-yolo-auto-mode-for-exec-approvals
1•v-mdev•15m ago•0 comments

Podcast Video on Sovereign Cloud: Who Owns Your Infrastructure?

https://www.youtube.com/watch?v=ajX56E4G5qk
1•chhum•15m ago•0 comments

A native macOS app for AI agents that run on local machine

https://docs.osaurus.ai/
1•geordee•18m ago•0 comments

Can You Stop a Hypersonic Missile?

https://protortyp.github.io/posts/can-you-stop-a-hypersonic/
2•protortyp•19m ago•0 comments

Claude Code OS: open-source operations copilot that self-updates

https://github.com/bernardohcrocha/claude-code-os
2•bernardohcr•19m ago•0 comments

Closing Composer's Download Fallback Paths in Private Packagist

https://blog.packagist.com/closing-composers-download-fallback-paths-in-private-packagist/
1•orkj•21m 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.