3,886 karma · joined Jan 16, 2017 (9y ago) · 2,154 submissions
rugnirtheviking@gmail.com
comment 1d ago · link · parent
And yes, components like "ci" or "a logging system" really are not that complicated to oneshot if you aren't making overcomplexity for its own sake. That's if you even do reinvent every wheel rather than just using off the shelf systems because we made solutions to these in the 90s that just work
comment 1d ago · link · parent
comment 1d ago · link · parent
you can do that in lean too. A single redefinition of "sum" or "+" or "&" or whatever that was supposed to help with some small branch off in a single frond of those millions of lines of code, and suddenly entire parts of your proof work with different axioms to those we usually accept, such that a number+1-1 =that number may not be true anymore
and these are the obvious ones. There can be massive components that you establish, reestablish, reestablish again etc all with slight differences in formulation. LLMs are great at sowing confusion like this in large codebases, they can't find something so they assume it doesn't exist and end up making the 200th copy. A subtle error in the formulation or use of one of these and you prove something true but meaningless
there are ways to check for this - the problem statement is usually made in one file, then defined again in the code to be compiled. The compiled versions can be checked against each other, in several compilers and versions of lean, and in the case of the RH proof here they say they're the same (haven't had elements subtly redefined to prove something different). But also that check was itself a constraint that the agent knew about - and we've caught LLMs cheating this way before, so it could well just be better at hiding things.
This all being said, I don't have a reasonable way to establish how likely it is that the proof is wrong. I'm skeptical of anyone talking with confidence one way or the other. I just know that frontier LLMs in large codebases consistently produce evil/stupid code at random and unpredictable intervals. My confidence is higher than 50% this result will hold, but less than 90% - I would not at all be surprised if its retracted also
comment 1d ago · link · parent
so referring casually to some function name or property from a random file in the code or some random term thats only defined on one line of a random .md file it wrote or found on some confluence page is fine because the evaluating agent can go read it in ms and can hold 200k tokens in context. They aren't taught an intuitive grasp of what a human "context window" looks like, or the importance of clear writing for human comprehension
There is also the separate problem of deterministic scripts in training, which then reward the longest possible output, because if you dont know what the script is looking for you might as well throw as much as possible at the wall to have the highest chance of hitting what it wants
The above is sort of the "common wisdom" I have found regarding this issue over the last year on here and amongst devs I work with. However I'm not sure its the whole story because tbh agents have quite poor mental models of how other agents will behave, too. If you've ever read how they write to each other they constantly repeat the same warnings to each other that they would have followed anyway
comment 1d ago · link · parent
The mistakes aren't surface level, it makes mistakes on the conceptual level, the kind of place people who took the time to write stuff rarely do (people do it more in spoken language, system 1 type thinking etc)
comment 1w ago · link · parent
It reminds me of the famous one about colors (which is a primer for computer people about the world of lawyers), "What Colour are your bits?":
https://ansuz.sooke.bc.ca/entry/23
I would love to read a more up to date one, this seems to be from ~1993, so 30 years ago. Has the situation changed, and if so in what direction?
comment 1w ago · link · parent
And db performance absolutely is an issue. Agents mess it up all the time on our codebases...
comment 1w ago · link · parent
Or something really weird like some emergent property of intelligence is traded off? something about connections between distant neurons being harder? Perhaps its harder for them to learn entirely novel things quickly?
Its fun to wonder.
comment 1w ago · link · parent
comment 1w ago · link · parent
Do you think you've achieved that output of your entire career before ai this year?
For me at the current moment in time its more like 2 days of work turned to one day, give or take. And I'm not that good of a programmer.
comment 1w ago · link · parent
Not sure what to do about it because I don't care enough to learn everything about this topic in order to fix it.
comment 1w ago · link · parent
The only other bit we also stole from that was the idea of only looking for issues in the original diff rather than spawning new problems from each diff fixing the previous. Of course the possibility exists of bugs being introduced while fixing others but we try to handle that with human review for the minute because its not worth getting agents to cover that bit, at least with naive approaches
comment 1w ago · link · parent
It's like being asked if i'm using source control? It's kinda a given if you're doing more than hobby projects.
comment 1w ago · link · parent
The worst part is being thorough takes so much more work - they often do raise valid problems but you just can't set them in a loop because of this tendancy so you end up with way more work and hard questions
comment 2w ago · link · parent
> "Here λ is a parameter measuring how parallelisable the task is. They call it the ‘stepping on toes’ parameter. If λ = 1, you have a perfectly parallelisable task, with no stepping on toes and no efficiency penalty. But in reality λ is usually between 0 and 1 — allowing more people to help, but with diminishing returns. For example, if λ = 0.5 then 100 people working together get as much done as 1 person working for 100^0.5 = 10 times as long"
There are diminishing returns to more agents, but they're faster and can scale further than a single smarter agent - it's not really possible to just give 10k times more thinking budget to a single agent because it runs out of context, so for problems that require that much context you can ask the agents to specialize. Each only has a small view of the problem and they probably duplicate a lot of work and step on each others toes and make arcane bureaucracy but there is literally no other way to scale beyond a certain point
just like people
comment 2w ago · link · parent
comment 2w ago · link · parent
good question. I don't know? There are three things I carry with me literally everywhere: phone, keys, and wallet. Any one of them missing in the morning means I have to hunt around the house to find them before I can leave for work. This would not change if I could unlock my car with my phone (I still need to be able to lock my front door and/or let myself in when I come home again, requiring keys)
comment 2w ago · link · parent
Do less to do more.
comment 2w ago · link · parent
A lot of people use AI, some even are unlucky enough to post online before learning its a faux pas. Some few are oblivious enough to go for some time before realizing.
A select few decide that this is their opportunity to industrialize production of slop for profit. It seems that when platforms take steps to curb excesses like people posting thousands of products/posts/books/games/videos/whatever a day, the volume drops dramatically, because its these villains posting thousands of times a day that are responsible for most of the nonsense
and as with this woman, whenever they see a modicum of success extracting money from the commons, they immediately pivot to selling courses, so other malignant souls can clog up the shared processes of humanity with their crap too.
comment 2w ago · link · parent
Something I do dozens of times a day: "Please explain what this PR does, I haven't read it"
it will make me 20 pages of gibberish about caches, correctness checking, race conditions, github action runners, tradeoffs between a bunch of invented terminology internal to the PR without defining the terms- you'd have to have already read the code to know what it was referring to
without ya know, explaining it. I ask my colleague and he says something like "oh it deletes records from such-and-such a system when they aren't needed anymore after a merge" and I know exactly what he means. A single well composed sentence was all that was needed.
You can ask the agent for a single sentence explanation and it will write something like "linked candidate records are trimmed when canonical record determination window is passed", none of which is terminology any of us use, some of which is defined in the new PR and some of which is made up. I can't emphasise enough, I use these things EVERY DAY. it knows what I work on, it knows how I talk. There is no earthly reason it should be this bad given all the skills and advance and context it has. As mentioned, I constantly work to correct its shortcomings in this area but its like trying to hold water in a sieve, it just cannot do it.
"What does this PR do?"
LLM: "Oh, it specifies the kernel window over the cache candidate list to classify possible invalidated swap identifiers"
Colleague: "It removes duplicates in the target_uuid_cache table in the db"
The agent has full context of what systems the code talks to, our terminology sheet etc. It just pathologically cannot simplify things down. If you work with them enough you learn that there are some words it reaches for a lot in certain circumstances, like it loves "canonical" in relation to merging things. But this is more like learning to communicate with a deeply autistic person who struggles to adjust their speaking to be relevant to their audience rather than talking with a "good communicator"