Anthropic's Claude Code's full source code leaked.
-
Anthropic's Claude Code's full source code leaked. Claude is seen by many to be the best coding LLM on the market with Anthropic proudly stating that Claude Code itself is mostly written by the LLM.
Now this sounds good as long as nobody can see the code which is quite the trash fire. Detecting "code sentiment" via regular expressions, variable and functions names containing prompt parts trying to influence the bot, a completely intransparent mess of a control flow that makes actual maintenance and debugging functionally impossible and the prompts ... of the prompts. All the begging and pleading to the chatbot not to do this or not to do that or please to do this.
It is fascinating but it is as far away from actual engineering as drunkenly pissing your name in the snow. Dunno what you call the people prompting software at Anthropic but "engineer" is not it.
Now it is fun to look at the currently hyped product striped bare and showing its pathetic quality but that is the future of software if we let those companies continue to undermine every good practice software engineering has tried establishing.
The software we have to use will be bad, insecure, unmaintainable, expensive with nobody having the skills or resources to build something better. As I wrote a few months ago: LLM based software production is equivalent to saying that fast fashion should be the only way to produce clothing. A tragic degeneration of the quality of the artefacts we rely on build for maximum profit on the backs of people in countries from the global majority.
@tante I am currently significantly refactoring a medium sized C++ code base from the 00s. I have mostly only used LLMs to suggest sed substitutions to me. I will probably rely more on traditional AST-based refactoring e.g. clang-tidy initially, though I have an item to turnup Opencode.ai. I do not trust Cursor, Codex, GitHub Copilot or Claude Code.
-
@parikhparth23 @tante (linguistics doing parts of speech tagging enter the chat and all rub their hands together saying "YESSSSSSSS")
-
@tante I often wonder how much of (especially proprietary) software already suffered from these issues before the whole LLM situation came about.
@Namnatulco @tante software engineers are in general excellent at criticism - the fast iterative work flow makes this skill more useful than in say surgery. But asking them about code their group wrote will get the answer that it is terrible. But IME the problems are more often with conditions than code itself. A lot of times management won't pay for the right way, and a lot of times management won't years of tech debt is hard to maintain, but quality is higher than the people say.
-
This Reddit thread is a good example. A dev posts some visible problems with the leaked code — some problems more serious than others, but just about everything in there counts as dubious “code smell”, sketchy team/organization culture, or both, at a minimum.
The general response? Blowing it off. Stating that the person posting this doesn’t know what real software development is like. Reinforced by an AI-generated summary at the top of the thread, emphasizing the sentiment just described, and generally belittling the concerns raised here.
(TL;DR summary of my own experience with enterprise software development, going back almost 30 years: the quality of what’s in the Claude Code leak is, at the absolute best, definitely on the “very dysfunctional” side of “typical”. I’ve seen lots of dubious code, outdated code, tech debt time bombs as code, and just plain crap code; I have *not* routinely seen codebases for major applications that look quite like this.)
re: AI top of thread summary
can't get much more dystopian than having AI's defend themselves using some unknown energy amount.
bad code actually costs energy.
whole bunch of thesis papers on it.
-
@tante Ever since the Industrial Revolution, capitalism has been thriving on producing bad quality for cheap, and then selling that cheap disposable shit to everyone so they have to throw it out and replace it when it breaks. Before the Industrial Revolution, people didn't have many pieces of clothing, but their clothes lasted for decades. Then mechanical looms produced so much cloth for so cheap that weavers lost their livelihoods, even though their artisanal cloth was far superior. All of a sudden, many people could afford to buy a lot of new clothes, but then they had to keep buying them because the fabric didn't last as long as it used to.
Making things cheap, shoddy, disposable, has always been the general direction of industrial mass production. If it's cheap enough, who cares if it breaks after a while, just buy a new one.
First it was textiles. Then it was all kinds of consumer goods. After WW2, everything became increasingly disposable. Nowadays even entire washing machines are often made out of plastic so that they break after a decade. Automated factories don't care if their products are of worse quality than the things that came before, they just dump their cheap shit onto the marketplace until the competition crumbles.
@LordCaramac @tante good analysis
-
@cap_ybarra @lechimp @tante yeah
unfortunately I'm gonna have to agree with this here. If anyone hasn't heard enough to sway them against AI by now, they're probably not going to read the source code for Claude. I'm not going to either, because I've already made up my mind on the software (I hate it, tbc). So have the people using it, so why would they put more effort into knowing how bad the code is than I will? -
@tante Ever since the Industrial Revolution, capitalism has been thriving on producing bad quality for cheap, and then selling that cheap disposable shit to everyone so they have to throw it out and replace it when it breaks. Before the Industrial Revolution, people didn't have many pieces of clothing, but their clothes lasted for decades. Then mechanical looms produced so much cloth for so cheap that weavers lost their livelihoods, even though their artisanal cloth was far superior. All of a sudden, many people could afford to buy a lot of new clothes, but then they had to keep buying them because the fabric didn't last as long as it used to.
Making things cheap, shoddy, disposable, has always been the general direction of industrial mass production. If it's cheap enough, who cares if it breaks after a while, just buy a new one.
First it was textiles. Then it was all kinds of consumer goods. After WW2, everything became increasingly disposable. Nowadays even entire washing machines are often made out of plastic so that they break after a decade. Automated factories don't care if their products are of worse quality than the things that came before, they just dump their cheap shit onto the marketplace until the competition crumbles.
@LordCaramac @tante this llm project is primarily about getting you used to paying the same price for worse service. they're selling you two chips in a king size bag and telling you it's inevitable
-
R relay@relay.mycrowd.ca shared this topic
-
Anthropic's Claude Code's full source code leaked. Claude is seen by many to be the best coding LLM on the market with Anthropic proudly stating that Claude Code itself is mostly written by the LLM.
Now this sounds good as long as nobody can see the code which is quite the trash fire. Detecting "code sentiment" via regular expressions, variable and functions names containing prompt parts trying to influence the bot, a completely intransparent mess of a control flow that makes actual maintenance and debugging functionally impossible and the prompts ... of the prompts. All the begging and pleading to the chatbot not to do this or not to do that or please to do this.
It is fascinating but it is as far away from actual engineering as drunkenly pissing your name in the snow. Dunno what you call the people prompting software at Anthropic but "engineer" is not it.
Now it is fun to look at the currently hyped product striped bare and showing its pathetic quality but that is the future of software if we let those companies continue to undermine every good practice software engineering has tried establishing.
The software we have to use will be bad, insecure, unmaintainable, expensive with nobody having the skills or resources to build something better. As I wrote a few months ago: LLM based software production is equivalent to saying that fast fashion should be the only way to produce clothing. A tragic degeneration of the quality of the artefacts we rely on build for maximum profit on the backs of people in countries from the global majority.
@tante did anyone find the place where claude code is supposedly "similar to a full game engine", as was claimed by some of their folks a while ago?
-
"Dunno what you call the people prompting software at Anthropic but "engineer" is not it."
'Software mendicants', perhaps?
@skjeggtroll @tante Technopriests.
-
@tante Was it the full code base? I heard that some things were leaked which would prove useful for reverse engineering but that the code itself wasn't leaked.
A javascript source map file for the claude code client was accidentally published and people were able to convert that back into source directory.
We don't know what's going on on their servers though.
-
Anthropic's Claude Code's full source code leaked. Claude is seen by many to be the best coding LLM on the market with Anthropic proudly stating that Claude Code itself is mostly written by the LLM.
Now this sounds good as long as nobody can see the code which is quite the trash fire. Detecting "code sentiment" via regular expressions, variable and functions names containing prompt parts trying to influence the bot, a completely intransparent mess of a control flow that makes actual maintenance and debugging functionally impossible and the prompts ... of the prompts. All the begging and pleading to the chatbot not to do this or not to do that or please to do this.
It is fascinating but it is as far away from actual engineering as drunkenly pissing your name in the snow. Dunno what you call the people prompting software at Anthropic but "engineer" is not it.
Now it is fun to look at the currently hyped product striped bare and showing its pathetic quality but that is the future of software if we let those companies continue to undermine every good practice software engineering has tried establishing.
The software we have to use will be bad, insecure, unmaintainable, expensive with nobody having the skills or resources to build something better. As I wrote a few months ago: LLM based software production is equivalent to saying that fast fashion should be the only way to produce clothing. A tragic degeneration of the quality of the artefacts we rely on build for maximum profit on the backs of people in countries from the global majority.
@tante "Ned Ludd wept"
-
Anthropic's Claude Code's full source code leaked. Claude is seen by many to be the best coding LLM on the market with Anthropic proudly stating that Claude Code itself is mostly written by the LLM.
Now this sounds good as long as nobody can see the code which is quite the trash fire. Detecting "code sentiment" via regular expressions, variable and functions names containing prompt parts trying to influence the bot, a completely intransparent mess of a control flow that makes actual maintenance and debugging functionally impossible and the prompts ... of the prompts. All the begging and pleading to the chatbot not to do this or not to do that or please to do this.
It is fascinating but it is as far away from actual engineering as drunkenly pissing your name in the snow. Dunno what you call the people prompting software at Anthropic but "engineer" is not it.
Now it is fun to look at the currently hyped product striped bare and showing its pathetic quality but that is the future of software if we let those companies continue to undermine every good practice software engineering has tried establishing.
The software we have to use will be bad, insecure, unmaintainable, expensive with nobody having the skills or resources to build something better. As I wrote a few months ago: LLM based software production is equivalent to saying that fast fashion should be the only way to produce clothing. A tragic degeneration of the quality of the artefacts we rely on build for maximum profit on the backs of people in countries from the global majority.
<- @xChaos búst, no dobrá, myslíme si, že je špatně. Proč si to vlastně myslíme? Otázka.
-
Anthropic's Claude Code's full source code leaked. Claude is seen by many to be the best coding LLM on the market with Anthropic proudly stating that Claude Code itself is mostly written by the LLM.
Now this sounds good as long as nobody can see the code which is quite the trash fire. Detecting "code sentiment" via regular expressions, variable and functions names containing prompt parts trying to influence the bot, a completely intransparent mess of a control flow that makes actual maintenance and debugging functionally impossible and the prompts ... of the prompts. All the begging and pleading to the chatbot not to do this or not to do that or please to do this.
It is fascinating but it is as far away from actual engineering as drunkenly pissing your name in the snow. Dunno what you call the people prompting software at Anthropic but "engineer" is not it.
Now it is fun to look at the currently hyped product striped bare and showing its pathetic quality but that is the future of software if we let those companies continue to undermine every good practice software engineering has tried establishing.
The software we have to use will be bad, insecure, unmaintainable, expensive with nobody having the skills or resources to build something better. As I wrote a few months ago: LLM based software production is equivalent to saying that fast fashion should be the only way to produce clothing. A tragic degeneration of the quality of the artefacts we rely on build for maximum profit on the backs of people in countries from the global majority.
@tante ... the scaffolding around a natural language engine isn't going to look like oldstyle heuristic code. That's what all those highly paid "prompt engineers" have been doing.
Although it clearly eases the pain for people to come together and ritually denounce AI and all that sail in it, the fact is coding AIs work very well and aren't going anywhere even when the "add clippy to everything" bubble bursts.
Just bear in mind it's widely used, but quietly on masto due to all the pitchforks.
-
@tante like this
const negativePattern =
/\b(wtf|wth|ffs|omfg|shit(ty|tiest)?|dumbass|horrible|awful|piss(ed|ing)? off|piece of (shit|crap|junk)|what the (fuck|hell)|fucking? (broken|useless|terrible|awful|horrible)|fuck you|screw (this|you)|so frustrating|this sucks|damn it)\b/
@parikhparth23 @tante sounds like me googling some new feature from windows update
-
@tante like this
const negativePattern =
/\b(wtf|wth|ffs|omfg|shit(ty|tiest)?|dumbass|horrible|awful|piss(ed|ing)? off|piece of (shit|crap|junk)|what the (fuck|hell)|fucking? (broken|useless|terrible|awful|horrible)|fuck you|screw (this|you)|so frustrating|this sucks|damn it)\b/
@parikhparth23 @tante Things like this would work fantastically in languages and dialects with a richer swearing tradition
-
Anthropic's Claude Code's full source code leaked. Claude is seen by many to be the best coding LLM on the market with Anthropic proudly stating that Claude Code itself is mostly written by the LLM.
Now this sounds good as long as nobody can see the code which is quite the trash fire. Detecting "code sentiment" via regular expressions, variable and functions names containing prompt parts trying to influence the bot, a completely intransparent mess of a control flow that makes actual maintenance and debugging functionally impossible and the prompts ... of the prompts. All the begging and pleading to the chatbot not to do this or not to do that or please to do this.
It is fascinating but it is as far away from actual engineering as drunkenly pissing your name in the snow. Dunno what you call the people prompting software at Anthropic but "engineer" is not it.
Now it is fun to look at the currently hyped product striped bare and showing its pathetic quality but that is the future of software if we let those companies continue to undermine every good practice software engineering has tried establishing.
The software we have to use will be bad, insecure, unmaintainable, expensive with nobody having the skills or resources to build something better. As I wrote a few months ago: LLM based software production is equivalent to saying that fast fashion should be the only way to produce clothing. A tragic degeneration of the quality of the artefacts we rely on build for maximum profit on the backs of people in countries from the global majority.
@tante Well written. I don't know anything 'bout coding, but I can contribute with my music associations. Here at "Begging & Pleading": https://www.youtube.com/watch?v=mH0EBPiJdzE
-
@tante Was it the full code base? I heard that some things were leaked which would prove useful for reverse engineering but that the code itself wasn't leaked.
@angiebaby it was the code
-
Anthropic's Claude Code's full source code leaked. Claude is seen by many to be the best coding LLM on the market with Anthropic proudly stating that Claude Code itself is mostly written by the LLM.
Now this sounds good as long as nobody can see the code which is quite the trash fire. Detecting "code sentiment" via regular expressions, variable and functions names containing prompt parts trying to influence the bot, a completely intransparent mess of a control flow that makes actual maintenance and debugging functionally impossible and the prompts ... of the prompts. All the begging and pleading to the chatbot not to do this or not to do that or please to do this.
It is fascinating but it is as far away from actual engineering as drunkenly pissing your name in the snow. Dunno what you call the people prompting software at Anthropic but "engineer" is not it.
Now it is fun to look at the currently hyped product striped bare and showing its pathetic quality but that is the future of software if we let those companies continue to undermine every good practice software engineering has tried establishing.
The software we have to use will be bad, insecure, unmaintainable, expensive with nobody having the skills or resources to build something better. As I wrote a few months ago: LLM based software production is equivalent to saying that fast fashion should be the only way to produce clothing. A tragic degeneration of the quality of the artefacts we rely on build for maximum profit on the backs of people in countries from the global majority.
@tante i wonder why so many people are wondering about that lie. lying is the default in that “technology”.
-
@tante i wonder why so many people are wondering about that lie. lying is the default in that “technology”.
> drunkenly pissing your name in the snow.
side note: isn’t it great which skills our (male only?) generation has developed?
younger generations probably know none of this. get wasted. snow. writing your name with a variable amount of ink.
-
@tante did anyone find the place where claude code is supposedly "similar to a full game engine", as was claimed by some of their folks a while ago?
-
R relay@relay.infosec.exchange shared this topic
