frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Prompts are becoming part of the system, but we still write them like strings

2•hoangnnguyen•2h ago
While building LLM-powered systems in production, I kept running into the same discomfort.

Prompts started as throwaway text. Once they entered real systems, they changed:

- they got reused across flows

- they carried conditional logic

- they returned structured data that downstream code depended on

At that point, prompt bugs started to look a lot like production bugs.

In practice, I’ve mostly seen two approaches:

- Branching in code and concatenating prompt strings Explicit and predictable, but hard to maintain and test as prompts grow.

- Describing rules in the prompt and letting the model apply them Less code, but logic becomes implicit and behavior harder to reason about.

This feels similar to how we used to treat SQL, HTML, or config as raw strings before structure caught up with usage.

Not claiming this is the right answer. I’m mostly curious how others here are handling:

- prompt reuse

- prompt logic placement

- testing and change safety

At what point did prompts stop feeling like “just text” in your systems?

Comments

hoangnnguyen•2h ago
I wrote a longer post reflecting on this and an approach I’m experimenting with around composable prompts: https://codeaholicguy.com/2025/12/27/prompts-are-becoming-co...

I also built a small TypeScript lib for experimenting with the concept: https://github.com/codeaholicguy/promptfmt

From Silicon to Darude Sand-storm: breaking famous synthesizer DSPs [video]

https://media.ccc.de/v/39c3-from-silicon-to-darude-sand-storm-breaking-famous-synthesizer-dsps
1•tomduncalf•1m ago•0 comments

Web Viewer for Apple's ML-Sharp with 3D Gaussian Splat Rendering in the Browser

https://kstonekuan.github.io/ml-sharp-web-viewer/
1•kstonekuan•3m ago•1 comments

Show HN: I built a runtime governance layer for LLMs. Can you break it?

1•jnamaya•4m ago•0 comments

How to Dynamically Install Custom (HTML) Elements

https://heydonworks.com/article/dynamically-loading-custom-elements/
1•todsacerdoti•4m ago•0 comments

In the year 2100 humanity will exist on software

https://2100.prose.sh/2100-humanity-exists-on-software
1•manuelz•5m ago•0 comments

Browser extensions with 8M users collect extended AI conversations

https://arstechnica.com/security/2025/12/browser-extensions-with-8-million-users-collect-extended...
1•juokaz•6m ago•0 comments

Apple's terrible UI design is not the fault of just one fall guy

https://www.osnews.com/story/144083/apples-terrible-ui-design-is-not-the-fault-of-just-one-fall-guy/
3•felixding•9m ago•1 comments

Is vibe coding for any one else so much fun?

https://github.com/sspross/video-audio-combiner
1•sspross•11m ago•1 comments

Loro Protocol: a wire protocol designed for real-time CRDT synchronization

https://loro.dev/blog/loro-protocol
1•canadiantim•13m ago•0 comments

Korean Air data breach exposes data of employees

https://www.bleepingcomputer.com/news/security/korean-air-data-breach-exposes-data-of-thousands-o...
2•fleahunter•13m ago•0 comments

UK accounting body to halt remote exams amid AI cheating

https://www.theguardian.com/business/2025/dec/29/uk-accounting-remote-exams-ai-cheating-acca
2•beardyw•14m ago•1 comments

Self-Hosting a Photo Server the Whole Family Can Use

https://bertwagner.com/posts/self-hosting-a-photo-server-the-whole-family-can-use/
2•bertwagner•14m ago•0 comments

Show HN: TechTools – 23 Free Browser-Based Productivity Tools

https://techtools.cz/
1•dawdaw•15m ago•0 comments

Are We Ready to Be Governed by Artificial Intelligence?

https://www.schneier.com/blog/archives/2025/12/are-we-ready-to-be-governed-by-artificial-intellig...
2•ArmageddonIt•15m ago•0 comments

River: Real-Time Group Chat on Freenet

https://freenet.org/news/river-realtime-chat-milestone/
1•justin-reeves•15m ago•0 comments

Build a content feature store for recsys using an AI DataFrame library (fenic)

https://github.com/typedef-ai/fenic-examples/tree/main/ai_feature_engineering
3•drew_candia•16m ago•1 comments

Anyone else tired of reading 5–10 review articles just to buy one product?

1•Mr-Mosh•18m ago•0 comments

Barebone Scripts to Check SSL Certificate Expiration

https://heyoncall.com/blog/barebone-scripts-to-check-ssl-certificate-expiration
1•thunderbong•18m ago•0 comments

Criteria and recipes for good technical definitions

https://bertrandmeyer.com/2025/12/29/criteria-and-recipes-for-good-technical-definitions/
1•vinipolicena•18m ago•0 comments

Anyone else having trouble topping up on SMS-activate recently?

1•Waffle2180•22m ago•0 comments

Wombats make square poop to communicate and deliver information

https://news.uga.edu/why-do-wombats-have-square-poop/
1•giuliomagnifico•22m ago•0 comments

Ambient Noise Mixer

https://mechaelephant.com/noixer/
2•memalign•24m ago•0 comments

Use the Monaco SQL Query Editor – Microsoft Support

https://support.microsoft.com/en-us/office/use-the-monaco-sql-query-editor-094bad0c-47ff-4ebd-8c0...
2•janandonly•28m ago•0 comments

Blocking large requests in Go using HTTP library

https://martincapodici.com/2025/12/27/blocking-large-requests-in-go-using-http-library/
2•mcapodici•32m ago•0 comments

Show HN: Pingey Proxy – Pay What You Want Software on Gizzapp

https://gizzapp.com/buypingey/
1•johnboygiz•33m ago•0 comments

Show HN: True Persistent F*****G Memory for Robotics (Bypassing Linux Kernel)

https://ryjoxdemo.com/demo
2•JosephjackJR•33m ago•0 comments

Backchaining from Big Goals Is Aversive

https://bengoldhaber.substack.com/p/backchaining-from-big-goals-is-aversive
1•lindowe•37m ago•0 comments

Votes for children Why we should lower the voting age to six

https://www.theguardian.com/politics/2021/nov/16/reconstruction-after-covid-votes-for-children-ag...
5•fanf2•39m ago•2 comments

Quickly restoring 1M+ files from backup

https://blog.axiorema.com/engineering/quickly-restoring-1m-files-from-backup/
7•akotti•40m ago•3 comments

Uninstall ChatGPT Atlas

https://chromewebstore.google.com/detail/ai-panel/nolhdkiiacakepaddniepcgcopnbjhei
1•onewithuniverse•43m ago•0 comments