Readit News logoReadit News
Labo333 commented on Building an AI agent inside a 7-year-old Rails monolith   catalinionescu.dev/ai-age... · Posted by u/cionescu1
Labo333 · 2 months ago
I built a similar system for php and I can tell you what is the smart thing here: accessing data using tools.

Of course tool calling and MCP are not new. But the smart thing is that by defining the tools in the context of an authenticated request, one can easily enforce the security policy of the monolith.

In my case (we will maybe write a blog post one day), it's even neater as the agent is coded in Python so the php app talks with Python through local HTTP (we are thinking about building a central micro service) and the tool calls are encoded as JSON RPC, and yet it works.

Labo333 commented on Show HN: Twitch Plays Claude – Crowd-controlled live coding experiment   twitch.tv/artix187... · Posted by u/Artix187
Labo333 · 3 months ago
Wow that's cool!

I think the hardest for this kind of projects is to keep it active. Environments with a "global state" like this (everyone shares the same website) are ultimately limited to surges (seasonal events like Magnus vs The World or a single game of Twitch plays Pokemon) or to a recurring flow of new people.

Maybe having multiple "realms", so that there are not too many people in a single realm in case of virality, and the ability for people to spawn their own realms would be nice (think skribbl or Among Us) but then it would kind of be a Lovable and cost a lot to host the LLM. But since the html code is open source, local LLMs (like Gemini Nano embedded in Chrome) could theoretically do the editing. In that case, the web page should definitely be marked as even unsafer! I wonder how one could avoid the red flag of Chrome for pages that are deliberately made to host collaborative crap.

Labo333 commented on Using Deno as my game engine   explodi.tubatuba.net/2025... · Posted by u/phaser
Labo333 · 5 months ago
I don't get why one wouldn't just use webworkers to run the simulation instead, thus making the game fully executable in a web browser.

If deno has some perks during development, there must be a way to replace websocket with some other transport that works with webworkers for "production" builds.

Labo333 commented on Wikipedia survives while the rest of the internet breaks   theverge.com/cs/features/... · Posted by u/leotravis10
Labo333 · 6 months ago
archive.is breaks the styling and doesn't execute the js

But archive.org has the subscription popup...

https://web.archive.org/web/20250905062805/https://www.theve...

Labo333 commented on How many paths of length K are there between A and B? (2021)   horace.io/walks... · Posted by u/jxmorris12
Chinjut · 7 months ago
Odd to use Berlelamp-Massey to recover a linear recurrence, when Cayley-Hamilton already directly gives you a linear recurrence whose characteristic polynomial is that of the matrix.
Labo333 · 7 months ago
CH gives you recurrence on the matrix. You want recurrence on an individual element (indexed by [start][end]).

u/Labo333

KarmaCake day808December 13, 2015
About
louisabraham.github.io

Head of LLM and Gen AI @ https://www.tiime.fr/

View Original