frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: I built a chat client that uses embeddings to cluster messages by topic

https://llmtrail.com/demo
1•doantam•51m ago
Hi HN, I found myself scrolling backwards a lot in my chats with LLMs to follow up on interesting things I had seen earlier in the conversation. So, I built a basic chat client and I added a sidebar that allowed me to jump directly to different messages. The sidebar started getting hard to navigate with a lot of items, so then I thought it'd be nice if the chat history was clustered by topic.

In the end what I settled on was to have an LLM generate summaries of the query and responses, turn those summaries into vector embeddings, and then score the new message against the existing groups. A group's score is the cosine similarity of the new message and the last three messages in each group. The message is added to the best scoring group if it exceeds the threshold and is still similar enough to the first message in the group.

This was a fun project because I've never built a complete website before, so I learned a lot and it was satisfying to get something up and running. The stack itself is Node / Express / Svelte. I also enjoyed thinking about different ways to make the clustering work and trying to improve it.

If you've ever played around with clustering algorithms, you'll know there's definitely some magic numbers involved, so I'm curious to see if other people find it interesting.

Try out a live demo with sample data: https://llmtrail.com/demo

For more technical details, you can read my writeup here: https://doantamphan.com/llmtrail/

Sildenafil may reduce cancer metastasis, study shows

https://medicalxpress.com/news/2026-07-viagra-cancer-metastasis.html
1•OutOfHere•1m ago•0 comments

Show HN: Atlas – Local Dependency Graph

https://atlas-repo-wu76.vercel.app/
1•Yoavkozo•3m ago•0 comments

The AI Backlash Is Starting to Sting

https://www.wsj.com/tech/ai/the-ai-backlash-is-starting-to-sting-129a708d
2•1vuio0pswjnm7•3m ago•0 comments

Lower token usage through representation engineering

https://github.com/rkique/caveman-steer/tree/main
1•rkique•6m ago•0 comments

US civil rights agency moves to end demographic data collection after 60 years

https://apnews.com/article/eeoc-discrimination-dei-andrea-lucas-2f521d784a9d0376416499066dc9f178
1•petethomas•6m ago•0 comments

Off-the-Record Messaging Protocol

https://en.wikipedia.org/wiki/Off-the-Record_Messaging_protocol
1•gjvc•13m ago•0 comments

Hugging Face uses open-weights Z.ai GLM 5.2 to battle attacker

https://siliconangle.com/2026/07/20/hugging-face-uses-open-weights-z-ai-glm-5-2-defend-attacker-c...
3•vednig•13m ago•1 comments

Five Moments in Snapping History

https://unsung.aresluna.org/five-moments-in-snapping-history/
1•birdculture•14m ago•0 comments

Vaporlink – drop a folder or HTML file, get a shareable link that kills itself

https://www.tryvapor.link
1•TheRealCed•16m ago•1 comments

Lessons from vibe coding 30 apps – 6 still in production with real users

https://old.reddit.com/r/vibecoding/comments/1v2wgj5/i_vibe_coded_30_apps_in_2_years_6_are_still_in/
2•tastyeffectco•17m ago•0 comments

Proposed bill could make New York the first U.S. state with universal healthcare

https://www.weny.com/news/proposed-bill-could-make-new-york-the-first-u-s-state-with-universal-he...
1•thunderbong•17m ago•1 comments

Reducing LLM Costs 50% Using Best-Execution for Intelligence

https://www.thesean.ai/blog/introducing-ship
1•arbayi•20m ago•0 comments

Right-Hand Cybersecurity Is Hiring Product Engineer

https://boards.rooster.jobs/jobs/449274
1•uzair-righthand•20m ago•0 comments

Is it just me? HN:new best

1•oriettaxx•22m ago•0 comments

Show HN: Computable – Buy, sell, and redeem GPU for the exact weeks you want

https://www.getcomputable.com/
3•yuansong98•22m ago•2 comments

Sugar found in raspberries was discovered near the Milky Way's center

https://www.livescience.com/space/astronomy/sweet-sugar-found-in-raspberries-discovered-near-the-...
1•cybermango•23m ago•0 comments

Nate Parrott's dopamine-crushing metrics-driven site

https://nateparrott.com/
1•hmokiguess•26m ago•0 comments

Mad 2.0: Mutually Assured Disruption

https://www.thoughtmerchants.com/opinion/mad-2-0-mutually-assured-disruption
1•deltamidway•27m ago•0 comments

Brookmd – streaming Markdown renderer in Rust (web, RN, Swift and more)

https://github.com/siinghd/brookmd
1•siinghd•29m ago•0 comments

What Role Does Wildfire Smoke Play on Radio Signals?

https://www.radioworld.com/tech-and-gear/nicks-signal-spot/what-role-does-wildfire-smoke-play-on-...
2•RF_Enthusiast•31m ago•0 comments

Open pricing dataset for the Seedance 2.0 API, across 16 vendors

https://useapi.net/docs/articles/seedance-2-api-pricing
1•useapi•31m ago•0 comments

Zenoh Reliability, Scalability and Congestion Control

https://zenoh.io/blog/2021-06-14-zenoh-reliability/
2•Kinrany•31m ago•0 comments

IDEs are done, and they are not coming back

https://cpojer.net/notes/not-coming-back
1•coloneltcb•37m ago•0 comments

Ask HN: Apple Is Broken?

4•dogomatic•37m ago•2 comments

Show HN: Faceblind – In-browser only video face blurring

https://kmcheung12.github.io/faceblind/
1•a_c•38m ago•0 comments

Show HN: Reachpad – Run all your coding agents from anywhere from the browser

https://reachpad.dev/
4•sakuraiben•38m ago•1 comments

Show HN: A platform for objective developer skill assessment (MVP)

https://skillhacker.io/
1•vitalyobolensky•39m ago•1 comments

Viral syncytia help SARS-CoV-2 evade interferon and antibodies

https://www.nature.com/articles/s41467-026-74676-8
2•thenerdhead•39m ago•0 comments

Gemini last models: temperature, top_p, and top_k are deprecated and ignored

https://ai.google.dev/gemini-api/docs/latest-model
1•greatgib•42m ago•1 comments

Seance: Human first, agent friendly. Tiling terminal+ workspaces (Rust+GPUI)

https://github.com/zackham/seance
1•zackham•43m ago•0 comments