infiniteregrets
infiniteregrets on Hacker News
The Visual 6502
Show HN: KV-psi, using Linux PSI to to trim an LLM KV cache
https://github.com/infiniteregrets/kv-psi
I thought it'd be interesting to use Linux PSI (Pressure Stall Information) for an LLM runtime to trim the KV cache. This is mainly useful imo for edge devices like the Jetson Orin super nano kit which have unified memory. I haven't benched much, but plan to do so more over time and see if I can make a real use of it as I run local LLMs. Let me know if it makes sense :P (I of course vibed this...
and also wrote about it https://s2.dev/blog/distributed-ai-agents
Show HN: Parallax – Coordinate adversarial AI agents over durable streams
https://github.com/s2-streamstore/parallax
Parallax is a CLI for orchestrating independent AI agent cohorts (Claude, Codex, etc.) over isolated, append-only logs or streams. Each cohort operates on its own log and does not see the intermediate reasoning of others i.e. disagreement is enforced at the infrastructure layer rather than prompted at runtime. Agents write to sequenced, durable logs and a separate moderator agent subscribes to...
Behind y-s2: serverless multiplayer rooms
Show HN: Multiplayer AI Chat
Try opening it in multiple browser tabs or devices!
How to become your own ISP [video]
Tensorflow.js Typosquatting Attack
Show HN: Making AI chat sessions durable to network failures
https://github.com/s2-streamstore/resumable-stream
The experience with AI chat apps can be a bit fragile — there's no resilience to network failures, and responses aren't deterministic like traditional search. As Garry Tan put it (https://x.com/garrytan/status/1927038513108701662), "It feels like catastrophic data loss when a given response comes back and fails halfway, and then the next retry is not as good."Vercel recently released a...
ps, it is running on fly.io so please don't melt the poor baby
Keeping Time on a Stream
I have been interested in this since I was in college. I was building a capacity counting system for our gym. Our gym used density.io and seemed like a waste of money and I though how about if we could have our own solution homegrown by students. But I couldn't get people on board, but I was able to prototype something.
The thermal camera is just a pixel array, which each pixel is denoting its temperature. Kitchens are tricky, since hot items can gravely affect the temperature readings. I use it at the entrance to check if my roomie is in or not/.
you have drivers for amg8833 in rust and c I believe, but adafruit stuff is good in python so I would say its a good place to start IOT projects! You can write your own drivers, which is quite fun!
False Sharing
A tool to kick devices out of your network
Heatmaps for popular Starbucks drinks
also found a discussion - https://news.ycombinator.com/item?id=18439100 that points to why this might be the case