frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: How are you handling persistent memory across local Ollama sessions

3•null-phnix•17h ago
I build a lot of small AI tools locally, mostly on top of Ollama, and the thing I keep running into is that every session starts from zero. Whatever context I built up the night before, whatever the model learned about how I like things structured, whatever half-finished reasoning we were working through together, it is just gone when I open a new terminal.

For a while I was just manually pasting in context at the start of every session which is exactly as painful as it sounds. Eventually I built a small proxy that sits between my client and Ollama and tries to solve this. It embeds recent interactions, stores them locally, and injects the relevant chunks when a new session starts. It works well enough that I actually use it every day now, but I built it the way someone with no formal CS background builds things, which means I patched it into shape and I am not totally confident the architecture is right.

The part that still bothers me is scoping. I work on a few different projects at the same time and I do not want context from one bleeding into another. Right now I am managing that by hand, basically just keeping separate directories and being careful, but that feels like a workaround not a solution.

Genuinely curious what other people have landed on. Are you using a vector DB for retrieval, or plain files, or something MCP based, or have you just accepted that local sessions are stateless and built your workflow around that? And if you have solved the scoping problem cleanly I really want to know how.

Show HN: Compose Launcher – A macOS app to run multiple Docker Compose files

https://github.com/yingbo/compose-launcher
1•yingbo•2m ago•0 comments

Time Travel: Temporal Mutability in the Absence of Hardware [pdf]

https://wbnns.com/time-travel.pdf
1•wbnns•4m ago•0 comments

1190: Time (prize-winning Xkcd comic animation)

https://deplicator.github.io/xkcd-time-at-your-pace/
1•felineflock•4m ago•0 comments

Monocod

1•twoelf•7m ago•0 comments

MinusPod: Automatically Remove Ads from Podcasts

https://github.com/ttlequals0/MinusPod
2•Ttlequals0•10m ago•2 comments

The Rise of the Techno-Pastoral

https://noreturn.blog/p/the-rise-of-the-techno-pastoral
1•SuperShibe•10m ago•0 comments

I built a browser-based version of the MARS MIPS simulator

https://webmars.nfiles.top/
2•nenepbl•15m ago•1 comments

Raymarching meets Dyalog APL (2024)

https://bl0v3.com/Blog/raymarching-in-dyalog-apl/
1•Duanemclemore•16m ago•0 comments

Tiled – Flexible Level Editor

http://www.mapeditor.org/
1•netule•18m ago•0 comments

Open source Claude Code swarms WTF

https://github.com/m0at/hermes-lite
1•sfffs•22m ago•1 comments

Work Life Balance in Japan's Tech Industry

https://japan-dev.com/blog/work-life-balance-in-the-japanese-tech-industry
1•etdev•23m ago•0 comments

Rust Bibliography

https://rustc-dev-guide.rust-lang.org/appendix/bibliography.html#rust-bibliography
1•vinhnx•24m ago•0 comments

Checking Write Bandwidth on GPUs

https://clamtech.org/?dest=gpuwrite
1•matt_d•24m ago•0 comments

Rectified Flow Auto Coder

https://world-snapshot.github.io/RAC/
1•E-Reverance•25m ago•1 comments

Servo is almost ready for Cordova, but there are two missing pieces

https://blog.merzlabs.com/posts/cordova-servo/
1•Fudgel•28m ago•0 comments

Model Collapse

https://aksioma.org/model-collapse
1•jruohonen•31m ago•0 comments

Show HN: Pmc – tiny single binary for packing code into LLM context

https://github.com/Water-Run/pack-my-code
3•linxxxx•32m ago•1 comments

I Asked My AI About Israel-Iran. It Tried to Intercept a Satellite

https://github.com/fredabila/orcbot
2•abilafredkb•32m ago•4 comments

Show HN: A high-performance, privacy-focused normal map generator in the browser

https://normalmap-generator.online/
1•maxnew•32m ago•1 comments

Show HN: Raglet(open-source)–portable RAG for small text corpora (no infra)

https://github.com/mkarots/raglet
1•cepstrum9•36m ago•1 comments

Seedance 2.0 Pro – Next-Gen AI Video Generator by ByteDance

https://www.seedance2pro.com
2•AgarwalKamrul•36m ago•2 comments

Paris: Causally Consistent Transactions with Partial Replication

https://arxiv.org/abs/1902.09327
1•Kinrany•37m ago•1 comments

Show HN: Transcribe audio from apps, files and your device's microphone

https://play.google.com/store/apps/details?id=com.dstudio.d_transcriber&hl=en
1•dstudios•37m ago•0 comments

Laws of UX

https://lawsofux.com/
1•celadevra_•37m ago•0 comments

Challenges in Decompilation and Reverse Engineering of CUDA-Based Kernels [pdf]

https://nicolo.dev/files/pdf/reverse26-cuda-kernels.pdf
1•matt_d•38m ago•0 comments

Tesla opens its first Megacharger station to Semi customers in California

https://electrek.co/2026/03/08/tesla-opens-first-megacharger-ontario-california-semi-customers/
2•mattas•38m ago•0 comments

Alabama set to execute man who didn't kill anyone

https://www.nbcnews.com/news/us-news/alabama-set-execute-man-not-kill-anyone-rcna262113
5•Jimmc414•39m ago•1 comments

Uber turned off $25M a year on Facebook Ads

https://read.earlystagegrowth.com/p/brand-marketing-at-uber-taught-me
2•joshlachkovic•39m ago•0 comments

WTI Crude over $100 a barrel after Iran US War Tensions refuse to calm

https://www.bbc.com/news/articles/c79542n0grwo
2•cermicelli•41m ago•0 comments

Coding agents wrote a chess engine in pure TeX

https://blog.mathieuacher.com/TeXCCChessEngine/
2•azhenley•44m ago•0 comments