frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Ask HN: Persisting LLM token streams through a page refresh?

1•spruce_tips•8h ago
Like many of you, I'm streaming responses token by token from LLMs using server sent events (SSEs).

What's the best way to maintain the SSE connection through a page refresh?

I haven't seen a lot of documentation or examples covering this. In most LLM enabled apps I've used, if tokens are currently streaming and the page refreshes/changes, the stream gets interrupted.

One idea I had was writing the streamed tokens into some sort of queue or kafka topic, then connecting my UI to the queue and streaming tokens from there instead. But that seems like a lot of work.

How are most folks doing this?

Florida AG Probes Robinhood Crypto

https://www.aol.com/florida-ag-probes-robinhood-crypto-223006094.html
1•Bluestein•1m ago•0 comments

The US's New Shipbuilding Strategy Is Unlikely to Work

https://www.bloomberg.com/news/articles/2025-07-11/trump-s-fees-on-china-s-cargo-ships-aren-t-enough-to-revive-us-shipyards
1•Bluestein•4m ago•0 comments

Show HN: gRPC to MCP Gateway – Let AI models call your existing gRPC services

https://github.com/aalobaidi/ggRMCP
1•ahmedobaidi•4m ago•0 comments

European leaders announce new equity fund for Ukraine and urge investment

https://www.latimes.com/world-nation/story/2025-07-10/european-leaders-announce-new-equity-fund-for-ukraine-and-urge-investment-even-as-war-accelerates
1•Bluestein•6m ago•0 comments

Chrome's hidden X-Browser-Validation header reverse engineered

https://github.com/dsekz/chrome-x-browser-validation-header
2•dsekz•6m ago•2 comments

A Bicycle for the Mind

https://jamesgurney.substack.com/p/a-bicycle-for-the-mind
1•Balgair•10m ago•0 comments

Why Textile Brands Need Supply Chain Traceability

https://everycred.com/blog/textile-supply-chain-traceability/
1•ethanleetech•12m ago•1 comments

Stress is wrecking your health: how can science help?

https://www.nature.com/articles/d41586-025-02066-z
1•bookofjoe•12m ago•1 comments

Show HN: Intermittent Fasting Calculator – Plan Meals and Fasting Times

https://intermittentfastingcalculator.org/
1•MatthewTKD•13m ago•0 comments

Study: Apple's newest AI model flags health conditions with up to 92% accuracy

https://9to5mac.com/2025/07/10/study-apple-ai-model-flags-health-conditions-with-up-to-92-accuracy/
1•mgh2•20m ago•0 comments

Jack Dorsey says his 'secure' new Bitchat app has not been tested for security

https://techcrunch.com/2025/07/09/jack-dorsey-says-his-secure-new-bitchat-app-has-not-been-tested-for-security/
1•jrflowers•22m ago•0 comments

Give Me Some Advice

2•bigbaldhead•28m ago•6 comments

My Journey to Build a Working Tesla Coil

https://sandman2127.github.io/design/Tesla_Coil/
1•1970-01-01•30m ago•0 comments

Track Work, Progress and Performance Instantly – Zero Manual Updates

2•heyitsapu•40m ago•0 comments

Show HN: Looking for Beta Testers: Run AI-Generated Code in AgentSphere Sandbox

1•AgentSphere•42m ago•0 comments

Concurrent Programming with Harmony

https://harmony.cs.cornell.edu/book/
1•todsacerdoti•44m ago•0 comments

Show HN: Intuitive Layout Image Generation Prompt Generator

https://rymajp.com/ipgen
1•acdev•45m ago•0 comments

Nerve pain drug gabapentin linked to increased dementia, cognitive impairment

https://medicalxpress.com/news/2025-07-nerve-pain-drug-gabapentin-linked.html
2•clumsysmurf•52m ago•0 comments

Netflix Tudum Architecture: From CQRS with Kafka to CQRS with Raw Hollow

https://netflixtechblog.com/netflix-tudum-architecture-from-cqrs-with-kafka-to-cqrs-with-raw-hollow-86d141b72e52
2•soheilpro•53m ago•0 comments

Budget limits at DHS delayed FEMA's Texas deployment

https://www.washingtonpost.com/climate-environment/2025/07/10/fema-texas-flooding-dhs-search-rescue/
3•KnuthIsGod•1h ago•0 comments

The first intelligent screenshot tool of the AI era

https://github.com/zhushen12580/smart-screenshot
2•zane12580•1h ago•0 comments

Hard Usernames for Games Generator

https://hardusernames.com/en/hard-usernames-for-games
1•labubulive•1h ago•0 comments

The Egos at id (Software)

https://www.marclaidlaw.com/the-egos-at-id/
1•neko_ranger•1h ago•0 comments

'Autofocus' specs promise sharp vision, near or far

https://www.bbc.com/news/articles/cj6r06d7xdjo
7•tagawa•1h ago•0 comments

Tool strips away anti-AI protections from digital art

https://www.technologyreview.com/2025/07/10/1119937/tool-strips-away-anti-ai-protections-from-digital-art/
1•gnabgib•1h ago•0 comments

A Poor Man's User Study with a Vision Model and E[P]

https://twitter.com/johnjhorton/status/1943473769219002766
1•john_horton•1h ago•0 comments

Extreme Low-Bit Clustering for Large Language Models via Knowledge Distillation

https://arxiv.org/abs/2506.12038
1•PaulHoule•1h ago•0 comments

Grok 4 seems to consult Elon Musk to answer controversial questions

https://techcrunch.com/2025/07/10/grok-4-seems-to-consult-elon-musk-to-answer-controversial-questions/
16•mkeeter•1h ago•2 comments

America's largest power grid is struggling to meet demand from AI

https://www.reuters.com/sustainability/boards-policy-regulation/americas-largest-power-grid-is-struggling-meet-demand-ai-2025-07-09/
1•qwikhost•1h ago•0 comments

Show HN: Open-Source Alternative to Mercury

https://github.com/different-ai/zero-finance
1•ben_talent•1h ago•0 comments