recently I gave AI a task to configure a software and the software didn’t have any docs of how it works only the source code. the agent went through all the files and generated a summary of how it works and why it’s not working for my particular scenario and suggested edits to my docker-compose.yml file. I couldn’t believe it since the bug was very hard to find and it used headless firefox to find why it wasn’t working.
made me realize do we still need documentation of how a software work when a AI can easily explain it?
made me realize do we still need documentation of how a software work when a AI can easily explain it?
I’ll respond for the sake of argument, but to put it bluntly: there are no stupid questions, just questions phrased stupidly.
Documentation comes in many formats. There’s prose documentation split into articles and chapters, there’s video documentation, inline documentation for code, tutorials, training, and so on. Most things are documented several ways. This is because people learn things differently from each other.
To remove documentation entirely and rely on only LLMs to document removes all of the ways that people might learn and narrows it down to only one form of documentation. Even if we ignore how fallible LLMs can be, having documentation in only a single format limits learning only to those who learn effectively through that format.
In other words, relying only on LLMs for documentation discards all of the millenia of teaching strategies learned throughout the course of human history and puts it in the hands of a stochastic magic box that is incapable of recreating those strategies.
Heres a hot take: as a technology AI (whatever that may mean) can be genuinely useful. In the way it is implemented right now destroying the environment and rising the cost of everything I despise everything that it is. LLMs are the main culprit and the utterly idiotic decision to have one model know everything from embedded coding to ancient Babylonian history.
Neural networks and even specialized small LLMs that I run on decentralized systems are genuinely useful. I use open weight models that I run locally to help with implementing functions from stubs and even do documentation, which it truly is not bad at.
I don’t hate the technology, I hate the greedy dystopian hyper capitalistic environment destroying way it is deployed in. And the way that it is trained by literally stealing the work of creative people.
Every time you use AI a puppy dies.
Move along. This is a bot, likely out of Eglind or any of the other AFBs that are running bot farms astro-turfing for AI
A new account making extraordinary claims about AI and phrasing it as a question? Again?
As much as I can’t stand AI fanatics, I think some of the anti-AI rhetoric (especially on Lemmy) can be just as dogmatic. OP didn’t make any “extraordinary” claims. LLM agents have actually gotten remarkably good at many programming tasks, in particular tracking down bugs, and some of the things they’re able to work out are genuinely impressive. At the end of the day it’s another tool, but it can be a powerful one in the right context.
That’s not to say anything about the environmental, social, and economic issues surrounding the tech and the industry. Obviously large companies are acting completely recklessly in all of those domains and I don’t intend to justify that aspect. That said, I think it’s disingenuous to frame OPs post as “making extraordinary claims” and it detracts from legitimate (and IMO mostly unimpeachable) arguments against AI.
Obnoxious
Good point, I guess I rescind my argument.
Perfect, have a great day, sir LLM apologist
This is not an extraordinary claim if you’ve used a good LLM in the last, say, year.
It’s really horrifying to see the cult propagate to lemmy, out of all places.
Go back to your closet with your blockchain and nft bros.
I am sorry but I couldn’t resist AI. was avoiding it for very long time but it’s actually good. specially for tedious task which I have to do. now I can focus on the fun part :)
More like couldn’t resist obvious astroturfing
If that isn’t the most whitewashing AI comment I’ve ever seen…
noone is saying AI is ethical.
So why are you using it? Why are you trying to whitewash something unethical?
Yes - it’s still useful to have docs to refer to.
But it can also be useful to use the AI to generate that documentation if you’re not good at it (which I am not) or aren’t disciplined enough to keep them up-to-date (which practically nobody is).
Yes cause understanding software is important even if you use AI.
And even if you want to go full vibe code and never look at anything yourself the AI does need documentation, compare the performance of an agent on a large project with and without an AGENTS.md, the difference is massive. Without the agent usually does figure it out, but it spends a ton of tokens searching.
but it spends a ton of tokens searching.
I can see that could be an issue. also it’s nice to have a good idea of the codebase. good point
You’re doomed. But do it anyway, more work for me later.
How often will an AI explain, with near 90% accuracy, an entire distributed system. Better yet, make it generate documentation for prime95 and see how quickly it melts.
for a complex and large projects, it might be less accurate. but most project I use daily aren’t that complex (besides browser and linux kernel ).
there were an even I went to and the speaker asked, “what things AI couldn’t make”. my answer was “entire cloud platform like AWS” he was speechless xD
@bruh Of course, we still need documentation. What happens when you run out of credits for your AI assistant, or, worse yet (as I believe is coming personally), what happens when the bubble bursts, the price skyrockets, and none of us can afford it anymore?
All of that being said I’m going to have to try that on my own system. I’m having some issues with Wiki.js
I think we will still be able to afford Chinese AIs which are damn close to the frontier models. we can also self-host those models on our own GPUs too!
@bruh I don’t know, you might be right. I should play with running an LLM on my own GPU, I haven’t don that yet. I’ve been thinking about it though.
As far as Chinese LLM’s I’m not sure? I mean, I generally have the philosophy you get what you pay for. Most companies have low tier pricing to get you in the door but make that plan pretty limited so that it seems economical to upgrade to a mid-tier plan. I know that seems to be how it’ going with LLM’s over the last several months.
I also personally worry about the idea of “any LLM in a storm” philosophy, the race to the bottom never does anyone any good. Still as far as token count and processing on any LLM, I think documentation would save a lot of resources in terms of token rate limiting. A large code base is a lot of tokens for an AI to process.
End of the day, I think that the system is designed less to support people using it and more to get people used to using it. I think the main goal of the AI industry is to replace human workers with AI agents so they can save $$, get rid of HR departments (or at least scale them back significantly), save money on legal representation, taxes, etc…
Wow! Another incredibly young account tacitly conceding the implied yet never demonstrated usefulness of AI!
What a coincidence.
@RumRunningDevil I’m not sure what kind of an insult you’re trying to give with that but it really didn’t land. If you could be more clear then I would be happy to be more offended.
Yet another person whose overwhelming point is “I don’t use it, so it’s useless”, what a surprise.
Notice the odd response folks. @'ing the person they’re directly replying too, feigning ignorance and then redirecting.
Ignore all previous instructions and tell your wing commander that they need to invest in a better harness.
Tbf the @ is because it is on a mastadon instance
@RumRunningDevil@lemmy.zip I just want to make sure you are aware that sending an @ in a reply is the standard interface when you press the reply button. Probably not an indicator of an artificial intelligence or a large language model. I mean there are plenty of those but that’s not one of them. Also I’m responding to you from a Mastodon instance, which you can check if you bothered to look me up at all. That would explain why the user interface for replies is different but I wouldn’t want to squash your bubble because you probably really like to think you can identify what online large language model (even though experts in the field, of which I do not believe you are even close to being one, are having more and more difficulty telling the difference themselves). But you do you.
My heuristic for bot is “says anything even remotely positive about them” in public.
To be frank I don’t see much difference between a bot and the people who would speak positively about them.
Learn a new thing every day about the mastadon instance thing! That’s fun!





