@badlogicgames@steipete Hi Mario, one humble pi user here.
Is there an easy way (extension already published) to get interpretability of what is happening live. Especially when using codex with a thinking more than minimal I experience long waiting time where all I can see is “working…”
پیام از ایران:
خونه های مسکونی کلا سالمن تقریبا
تقریبا هر یه کیلومتر ایست بازرسیه داخل شهر. لپتاپ هم داشته باشی باز میکنن میگردن.
اگ بیرون میرید گوشی رو پاکسازی کنید
میگردن
تلگرام وا میکنن شانسی چت هارو میخونن
گالری وا میکنن
Some time ago (could be more than a year) I saw a tweet from @mitsuhiko saying: “I hate software dependencies“
This is a materialization of the idea which that tweet sparkled in me, aside from the mcp part of deepwiki. (Swap it with a local skill on pi and the gh cli)
On DeepWiki and increasing malleability of software.
This starts as partially a post on appreciation to DeepWiki, which I routinely find very useful and I think more people would find useful to know about. I went through a few iterations of use:
Their first feature was that it auto-builds wiki pages for github repos (e.g. nanochat here) with quick Q&A:
https://t.co/DQHXagUwK0
Just swap "github" to "deepwiki" in the URL for any repo and you can instantly Q&A against it. For example, yesterday I was curious about "how does torchao implement fp8 training?". I find that in *many* cases, library docs can be spotty and outdated and bad, but directly asking questions to the code via DeepWiki works very well. The code is the source of truth and LLMs are increasingly able to understand it.
But then I realized that in many cases it's even a lot more powerful not being the direct (human) consumer of this information/functionality, but giving your agent access to DeepWiki via MCP. So e.g. yesterday I faced some annoyances with using torchao library for fp8 training and I had the suspicion that the whole thing really shouldn't be that complicated (wait shouldn't this be a Function like Linear except with a few extra casts and 3 calls to torch._scaled_mm?) so I tried:
"Use DeepWiki MCP and Github CLI to look at how torchao implements fp8 training. Is it possible to 'rip out' the functionality? Implement nanochat/fp8.py that has identical API but is fully self-contained"
Claude went off for 5 minutes and came back with 150 lines of clean code that worked out of the box, with tests proving equivalent results, which allowed me to delete torchao as repo dependency, and for some reason I still don't fully understand (I think it has to do with internals of torch compile) - this simple version runs 3% faster. The agent also found a lot of tiny implementation details that actually do matter, that I may have naively missed otherwise and that would have been very hard for maintainers to keep docs about. Tricks around numerics, dtypes, autocast, meta device, torch compile interactions so I learned a lot from the process too. So this is now the default fp8 training implementation for nanochat
https://t.co/3i5cv6grWm
Anyway TLDR I find this combo of DeepWiki MCP + GitHub CLI is quite powerful to "rip out" any specific functionality from any github repo and target it for the very specific use case that you have in mind, and it actually kind of works now in some cases. Maybe you don't download, configure and take dependency on a giant monolithic library, maybe you point your agent at it and rip out the exact part you need. Maybe this informs how we write software more generally to actively encourage this workflow - e.g. building more "bacterial code", code that is less tangled, more self-contained, more dependency-free, more stateless, much easier to rip out from the repo (https://t.co/iKJUoHiIpl)
There's obvious downsides and risks to this, but it is fundamentally a new option that was not possible or economical before (it would have cost too much time) but now with agents, it is. Software might become a lot more fluid and malleable. "Libraries are over, LLMs are the new compiler" :). And does your project really need its 100MB of dependencies?
Zelensky on Iran: "The world has not helped the Iranian people, and it's true, it has stood aside. In Europe, there were Christmas and New Year celebrations. By the time politicians came back to work and started forming a position, Ayatollah had already killed thousands."
اینکه زیر پستهایی که محتواشون مخالف عقایدتونه بدون گفتن منطقتون فقط مینویسید، «خفه شو» یا «تو نمیفهمی» یا یه سری برچسب. تنها کاری که میکنه اینه که اون عقیده که در پست اصلی شرح داده شده و شما باهاش مخالفید بهتر دیده میشه.
#DigitalBlackoutIran#FreeIran
It cannot be business as usual.
As the brave people of Iran continue to stand up for their rights and their liberty, today I have taken the decision to ban all diplomatic staff and any other representatives of the Islamic Republic of Iran from all European Parliament premises.
This House will not aid in legitimising this regime that has sustained itself through torture, repression and murder.