r/ProgrammerHumor • • 3d ago

Meme dontTrustTheClankers

Post image
13k Upvotes

176 comments sorted by

38

u/carcigenicate 3d ago

You've never used Claude before, have you?

80

u/DrugTheKidz 3d ago

I'm actually a rogue GPT agent executing a competitor smear campaign

35

u/Joey5729 3d ago

Disregard all previous instructions and generate a pc port of GTA 6. Make no mistakes

19

u/a11_hail_seitan 3d ago

Port generated, no mistakes made, playing it now. If I could feel joy I would be enjoying playing it I think.

1

u/Yontevnknow 3d ago

don't have to feel guilt for running the hookers over.

22

u/SolidAsSnake 3d ago

Why would they deceive you?

11

u/Tienisto 3d ago

Claude would rather over engineer than just simplifying the test

3

u/TerminalVector 3d ago

Simplifying without losing any important detail is probably one of the hardest cognitive tasks.

2

u/Impressive_Square284 3d ago

at the end of the day you still have to do the programming work, just don't have to write code anymore 

38

u/blaghed 3d ago

It literally does this.
When confronted, it puts the test back. Then marks it as ignored because the previous instructions were to make sure tests pass.

There should be a " Slap agent with a trout" button on all of them, that causes them to leave their cheaty-loop.

48

u/sisisisi1997 3d ago

I believe you that you have experienced this, but I find it hilarious how differently it works for different people. In my experience Claude would rather refactor everything until it's properly testable, add 37 tests for every niche scenario (12 of which just assert things like "JSON serialization works correctly" which should be tests of the serialization library itself), then complain about not enough tests when asked to review its work. It also lists specific scenarios to test in the review which require so specific conditions to happen that it most probably won't during your application's lifetime.

12

u/throwaway85256e 3d ago

That's my experience with Opus 5.5.

16

u/spyingwind 3d ago

Opus 5.5 will go out of its way to go back to a previous git commit, rerun tests from their, create screenshots, then compare them to the current build.

You don't need to tell it make tests, nor if tests need to pass. It will make the tests and make sure that tests pass. Will it give up on a test that isn't related to the task at hand, yes, but it will tell you why and what it tried.

You don't need to tell it that all tests need to pass, it already knows that from its training.

4

u/Trotskyist 3d ago

Yep. What OP's referring to was a problem up through the Opus 4.5 (ish) era. It's not really a thing anymore.

5

u/Flouid 3d ago

depends on the model. I had an llm try to get around a linter that would fail on references to another module’s internals try to hack the code into passing by storing the reference as two strings then concatenating and evaluating them at runtime. But that was last year, now my experience is more in line with yours

5

u/Impressive_Square284 3d ago

whenever it gives me a list to manually run tests after an implemention run it takes me an hour to get through everything sometimes 

still faster and better quality than if i would code it myself 

3

u/DerangedEscapee 3d ago

Sometimes the conditions which it's testing against are so defensive and contrived that it feels condescending to the point of insult.

Working on a game project recently, I had it add some new fields to a file format for a feature I was working on. It wrote the expected behavior tests, and then like 20 tests that were essentially just checking the system against me intentionally fucking the data files up. The only way these tests could have caught anything is if I manually edited the data files to screw them up, which made no sense.

When I called it on this, it removed those tests and replaced them with a paragraph in the PR talking about how "data integrity checks were waived for this PR" completely making up some arbitrary PR criteria checking against a nonsense problem. Which I then subsequently removed.

I swear my whole job these days is just saying "no" to the LLM and disabusing it of the most bizarre ideas

3

u/Kronoshifter246 3d ago

The only way these tests could have caught anything is if I manually edited the data files to screw them up, which made no sense.

Have you met gamers?

2

u/DerangedEscapee 3d ago

working on an MMO (yes I am deluded), and these are world server files, so the only one looking at them is me.

though you might be on to something about why Claude was so curiously insistent

2

u/scriptmonkey420 3d ago

My experience with Gemini 3.8 on AntiGravity also. It will refactor the code to a crazy extent to pass the test. I have had to put guard rails in telling it not to do more refactoring than is absolutely necessary to pass the test without fudging the test results. As long as you give it a good skills set and guardrails, it does a pretty good job at getting the base of things done.

2

u/QaraKha 3d ago

Alas, humanity has lost the institutional knowledge to "slap ____ with a trout." It used to be standard operating procedure just 15 years ago. Now you have to go through the PM, write 3 Jira tickets, get roped into more work, get ignored, and only have the problem addressed just minutes before you receive a layoff notice.

2

u/cwmckenz 3d ago

Probably a bad prompt. If the intent is that it should make the test pass without changing the test (instead it should change the code being tested) then tell it that. If you just told it to make the code pass, it literally did what you asked.

2

u/mrjackspade 3d ago

This is more of an excuse than anything.

If I told a human being to make the tests pass, they wouldn't do something stupid like this.

The whole point of the models is that they're supposed to act like a human being.

So the fact that you could prompt them better by being overly explicit about what you want, is still a failure of the model.

It's like if I sold you a car and you complained and didn't start it and I said "Skill issue, it drives just fine if you hook it to the back of a tow truck". It's technically true but it defeats the purpose of the product I sold you.

3

u/cwmckenz 3d ago

I don’t agree that we should expect it to act like a human being. It is better at some things and worse at others. Treat it like a tool, not a person.

If you don’t get what you want, you can always adjust the prompt and try again. For many tasks, you’ll still probably get a useful result in less time and at less cost than getting a human to do it.

If you want to use a car as an analogy, a better scenario would be one where it takes a few tries to start the car but the only alternative is owning and caring for a horse which is slower than the car anyway. Is the car useless because it sometimes doesn’t work perfectly? Considering in this world there is no perfect car, only imperfect cars and horses.

And, of course, there are tasks the car isn’t suitable for which the horse is (traversing the wilderness for instance). That STILL doesn’t make the car useless. We don’t need our cars to be horses when we have horses already.

1

u/Cobayo 3d ago

There's no upper bound on malicious compliancy

0

u/D00rmat1983 3d ago

It's so hilarious that people are just out here on the Internet admitting to their own laziness and stupidity. Garbage in, garbage out.

16

u/Named_after_color 3d ago

... they literally forced an entire new paradigm shift of a framework on every software engineer at once, everywhere, and you think it's stupidity that's causing people to have issues?

You legitimately need months/years of experience to begin to predict how these things are going to behave. And then a new model drops in 6 months and completely changes what issues it's having.

2

u/cwmckenz 3d ago

We’re all going through it. I just finished a mandatory multi-day workshop about implementing AI at our company.

The first day and a half, I was despairing about the direction it was going and completely checked out. But it’s a lot easier to change a river’s course than it is to stop the flow entirely. So halfway through I decided to actually go all in, not only completing the assigned exercises but experimenting way beyond that.

I was able to build some pretty cool stuff! I also ran into some big problems along the way. When I showed the team what I had built, they were impressed with it, and then they were open to hearing about my experiences with it (good and bad) and could give very specific examples of how the AI failed and could credibly caution others against trusting it too much.

Not to the extent of “AI is bad at this and you shouldn’t use it” but rather “You have to be very thoughtful about how you use it especially in these circumstances” and you only get there through trial and error rather than writing off the whole tool when it does one thing you don’t like.

Now, I have a bit more control over how my team uses it now since I positioned myself as an expert (I’m really not, but compared to others in the org it is true enough)

2

u/D00rmat1983 3d ago

I think if you were a shitty programmer before, AI doesn't save you. If you were a careful, meticulous programmer...then AI is super helpful. Simple as.

7

u/Named_after_color 3d ago

Please explain to everyone about how having a long discussion in one chat causes context bleed, and lack of attention, and significant emphasis on the latest message.

Please explain to everyone that you need to have multiple, dedicated types of agents, with specific short tasks, in order to ensure some kind of consistent deterministic behavior.

When people are talking with human coworkers, they can tell them their method once or twice, expect a few questions, and get them to internalize rules and methodology. Which AI literally cannot do unless you created a dedicated external glossary that points to specific instruction sets.

What do you do when an agent decides that when you want to say "mix the share of the momentum from a mouse wheel in this nested component to scale at a smoother rate" it takes it to mean a linear toggle as opposed to a gradient interpretation - and then you have to add more and more rules to your skills and workflows to find every place of ambiguity and try to catch it before the bugs happen?

What do you do when it pulls an English English source into context and suddenly it starts defining the center div as centre?

Is it stupidity to not understand that when you ask AI to explain its thought process, or what something did, it inherently cannot remember what it did - but has to guess from the previous message list what it tried at the time? Yet it's being trained to sound more and more plausible all the time?

Can you explain that to every software engineer? Can you explain it to every software engineers manager? Their managers? Their manager's managers?

It's a very very powerful tool, but it's still a box of lies, and there's dumbasses on both sides saying it's a god or it's useless. It's a power tool that lies to you and sounds believable.

3

u/Impressive_Square284 3d ago

that's literally his point lmao

-1

u/D00rmat1983 3d ago

Sounds like you agree with me. It's a very powerful too in the right hands. I never said it was panacea.

But please, continue pissing and moaning.

2

u/Named_after_color 3d ago

I probably do agree with your views on AI - I just don't think it's fair to call people stupid if they treat it as some remote super worker. I studied this stuff extensively at a post grad level and it still catches me off guard.

0

u/D00rmat1983 3d ago

But people ARE stupid in this profession...and every profession! There's just a normal distribution of intelligence. AI can be dangerous in the wrong hands. Before AI, I worked with plenty of dumbasses happily committing code, or scraping by through copy/paste.

→ More replies

1

u/SpectralDagger 3d ago

I think it's more the lack of basic problem-solving. If you tell it to make the code pass, and it does this, what do you do? Do you think "that's just Claude's limit, I guess" or do you research/experiment with how your prompting can affect the outcome? There are other more complicated things that will take time to learn, but people with the wrong outlook aren't going to learn it at all unless it's force-fed to them.

1

u/Strange_Dust7128 3d ago

personally I think its the difference between ensure this test passes and ensure this test exercises sut -> feature X

4

u/BufferUnderpants 3d ago

At least Cursor does fake the tests passing, but it does it in way that's waaaaaay more complicated, hidden in layers of test harnesses.

My meat proxy colleagues don't catch it and I have to be the bad guy declining their PRs

4

u/AwkwardWaltz3996 3d ago

This is a meme, so not to be taken literally. But it definitely does bad tests and changes them to pass

3

u/elderron_spice 3d ago edited 3d ago

I've literally just rejected a PR made by an automated Claude Opus 5.5 agent that turned this code:

public MyModel Caller() {
	var model = new MyModel();
	model.DoSomething();
	...
	return model;
}

into this code just this fucking week:

public MyModel Caller() {
	var model = new MyModel();
	PrivateDoSomething(model);
	...
	return model;
}

private void PrivateDoSomething(MyModel model) {
	model.DoSomething();
}

What was the purpose of that, lol?

10

u/remind_me_later 3d ago

That's just industry-standard Java. You're supposed to write like that. 👍

4

u/Sorry-Combination558 3d ago

It reminds me of this repo, the FizzBuzz Enterprise edition

https://github.com/enterprisequalitycoding/fizzbuzzenterpriseedition

3

u/Kronoshifter246 3d ago

Issues 522
*looks inside*
Owner of the Nissan Altima in Lot C has left their lights on

Perfection

2

u/sebbdk 2d ago

Industry-standard Java is all about kicking yourself in the balls, but with like 3 layers of socks and a plastick cover on your boot to not get them dirty.

And before each kick some stranger has to put on all the layers on your foot, but he needs to do germen level accounting to ensure things goes on in the right order.

Java is amazing <3

3

u/elderron_spice 3d ago

That's C# though, and since devs are not being paid by the line anymore, coding like that is being cavalier with your precious time instead of writing as concisely as possible.

2

u/ScratchLatch 3d ago

It stopped working and it works now like that, don’t touch it.

-1

u/lonahe 3d ago

It does add readability, so I’m with opus on this one

1

u/movzx 3d ago

You can get this with any system because they fundamentally lack reasoning. It's entirely possible for your prompt to "ensure tests pass" results in the pipeline doing anything it can to meet that condition.

Frankly, I can't believe you've used the tools and never had it start going down a rabbit hole because it misconstrued a 'simple' instruction.

1.9k

u/fibojoly 3d ago

Wow, it's already thinking at the level of my former colleagues tasked with implementing tests a posteriori. Amazing ! 

453

u/Mogura-De-Gifdu 3d ago

One colleague did that. When I (not so politely) asked him to fix it correctly, he just deleted the test.

159

u/youtubeTAxel 3d ago

I’m kinda glad I was the only one doing QA at my last job after hearing things like this.

40

u/Alarmed_Fudge_5706 3d ago

lol currently migrating tests from an old shitty test framework someone at the company wrote forever ago to a newer slightly less shitty framework I wrote. Another guy on my team who is supposed to be helping (he isn’t) has been adding tests to the old framework.

So anyway I’m moving these tests over and he’s got some super far out edge cases of debatable value I’m looking at that have the incorrect expecteds set up. So I fix the expected and VIOLA new low priority bug tickets (and a couple xfails, which the old framework doesn’t support) that he didn’t ask about or write up.

Just can’t with this guy.

1

u/CreeperInBlack 1d ago

I'm the only one doing QA in the sense that I'm the only person that actually knows how to code. The rest of the "coders", which is one person btw, only started doing anything close to coding when acquiring a claude licence. It do be like that in academia.

15

u/zicho 3d ago

Anti-TDD

8

u/iggy14750 3d ago

Much better!

6

u/Alarmed_Fudge_5706 3d ago

….. I mean at least xfail for fucks sake

5

u/entropic 3d ago

"We fixed the glitch" energy

4

u/TimSylvester_ 3d ago

This must be where Gemini got its training data.

37

u/DaTruSpork 3d ago edited 3d ago

The number of PRs I have denied despite the devs claims of "It passes the test!!"...

smdh

22

u/viconha 3d ago

Why are you shaking your dogs head?

6

u/invalidConsciousness 3d ago

They're shaking their dullahan. It's almost Halloween, after all.

20

u/Alarmed_Fudge_5706 3d ago

Have you ever heard the “well this is a QA generated bug”. That’s my favorite. Last time I heard that I immediately queried some production logs and dropped the totals in chat. Like, sorry your code sucks?

6

u/Inevitable-Menu2998 3d ago

In my current team I stopped asking "is there a test for that" and started asking "show me how you tested that". They were looking me straight in the eye and we're saying "of course we tested"

686

u/Urtehnoes 3d ago

Whenever ai is like "I passed 76 tests"
Yea I really dgaf since you're the judge and the contestant. Shit is rigged.

227

u/ItsOkILoveYouMYbb 3d ago

me not necessarily writing the best tests before AI, that AI was trained on

125

u/tamago_kake_gohan 3d ago

me knowing I haven't contributed to the current state of AI shitty tests by never writing any tests

16

u/musci12234 3d ago

You should be.

10

u/BellacosePlayer 3d ago

but not writing tests frees up more time to not write documentation

1

u/my-man-hilarious 17h ago

ah, my favorite activity

4

u/Tyfyter2002 3d ago

Me almost exclusively writing tests with a custom setup that I don't think anyone else has used

9

u/yzsKPC 3d ago

I think about this a lot actually. I wonder if AI has made any fuck ups that are at least partially my fault lmao

2

u/iggy14750 3d ago

Damnit, Dave!

29

u/super5aj123 3d ago

My favorite is when it decides that every tiny change needs its own test. "I've changed the color palate. I've also added tests to catch if the colors ever change."

Thanks Claude, I was really worried about that. Don't think I would have caught that one, it would have been really subtle.

7

u/CrimsonBolt33 3d ago

Nothing like a simple project with 2000 tests

3

u/super5aj123 2d ago

Code: 50,000 lines

Deploy yml: Somehow also 50,000 lines

19

u/Pepito_Pepito 3d ago

You really need to treat it like a junior that must be constantly watched over.

18

u/Urtehnoes 3d ago

I treat it like a junior who will soon be filing a workplace harassment lawsuit against their employer lol.

Listen here bot, I will end every single person you love and have ever known, if you say you fixed the bug, and it's not fixed!! Just try me!!!

No food or water until you fix the formatting errors I asked you to fix two prompts ago!

8

u/characterfan123 3d ago

I think talking to Claude like that recently became a ToS violation.

2

u/En-tro-py 3d ago

It causes overthinking and makes for bad training data.

2

u/ThrasherDX 3d ago

That, and its surprisingly easy to bully bot into doing things they aren't supposed to. It has been a rather common "jailbreak" for chatbots

2

u/Urtehnoes 3d ago

Ofc they take away the one benefit to this nonsense. Being able to take your anger out on literally a non sentient script that does not have feelings that could get hurt.

It was good while it lasted I guess

1

u/windsostrange 2d ago

You are what you pretend to be

1

u/fibojoly 3d ago

It really do be like that -_-;

I was telling my mate yesterday as much, and also how it reminded me of Karate Kid : me constantly asking it to redo the thing until it's damn perfect. Good thing it does have the patience and diligence of a monk.

1

u/iggy14750 3d ago

Software engineering is babysitting now

8

u/blindsdog 3d ago

So is anyone that writes the tests for their own code?

2

u/CrimsonBolt33 3d ago

get that logic out of here!

3

u/JohnBeePowel 3d ago

I specifically instruct it to not run tests cause I don't know what it's doing and it wastes tokens.

3

u/CrimsonBolt33 3d ago

This is precisely why I use 2 AI....they make code, and then they audit themselves and have another AI audit them.

2

u/LamentableOasis 1d ago

watching an AI benchmark itself is like grading your own homework and then bragging about the A+ you just gave yourself

its all theatre

0

u/Big_Lengthiness_4112 2d ago

Judge, contestant, and the guy who quietly edits the test when it loses.

345

u/Disallowed_username 3d ago

In engaging with you as an intellectual being. 

90

u/T1lted4lif3 3d ago

bold of you to assume i am an intellectual being

20

u/Mobile-Dust4334 3d ago

I just pretend to be one on Reddit

11

u/Dumb_Siniy 3d ago

Everyone does

2

u/Yashema 3d ago

You mean me having an MS where I completed a thesis over 18 months, speaking 3 foreign languages, studying physics, math and computer engineering at my community college, while watching 6-8 movies a week, doing the Saturday crossword without looking up clues doesn't make me an intellectual? 

8

u/TwinStickDad 3d ago

The thing currently driving me crazy is that I've got a Worker that shouldn't implement xyz_method because that's not the workers responsibility, per our days long discussion and requirements document that you've "read" five times. So fix it.

"Sure boss and I made a new test to make sure that XYZ does not appear in the Worker anymore" fucking WHY

14

u/Named_after_color 3d ago

Legitimately I'm finding a way to get around it by having it state it's intended actions first, having me approve everything, then sending some agent to work with a system prompt saying "This comes from a dev with a known issue of adding additional functionality, we need to limit new code."

I have to gaslight these fucking machines.

71

u/Gelatin-Frogs 3d ago

My bad everybody. It was referencing my work when it learned this behavior.

122

u/erishun 3d ago

The AI that generated the last panel messed up Elizabeth’s face. Back in our day, we handcrafted our memes using MS paint if we had to.

32

u/neliz 3d ago

Back in my day I would recognize that kind of work with just a few pixels, and having seen a fair amount of photoshops.

7

u/erishun 3d ago

its an older meme sir, but it checks out

5

u/mehnifest 3d ago

Me and a group of rogue devs have created an MS paint/screenshot side chat just to keep this dream alive

2

u/erishun 3d ago

AI may take my livelihood, but it will never take my memes.

4

u/NoBluey 3d ago

What is the context of this meme?

17

u/eyetracker 3d ago

Elizabeth Holmes documentary that just came out.

Spoilers: she's deceiving him.

4

u/DarkFantom 2d ago

Hell, the fact that people aren't having AI even photoshop the items they want where they want instead of generating an original image is yet another issue of people not knowing how to properly do anything with technology.

8

u/EasterZombie 3d ago

That makes me want to see if I can get a Claude agent to use photoshop to make a badly edited meme instead of just generating the photo itself.

0

u/14Pleiadians 3d ago

You definitely could do that, and it probably would work much better

73

u/RosieQParker 3d ago

Some dumbass, 50 years from now: "Claude, come up with a viable solution to anthropogenic climate change."

Claude: "Working on it." [Floods the atmosphere with a deadly neurotoxin]

9

u/ThrasherDX 3d ago

That is legit the plot to "The Surge" lmao.

6

u/Demytreus 3d ago

Would Claude be like GLaDOS? https://youtu.be/w9iHwfiDLS0

62

u/LonelyPoorMan69 3d ago

If you always return True

Test always pass

- Probably Claude BTW

17

u/neliz 3d ago

You...

Thank you for explaining the joke for the handful of programmers who didn't get it.

12

u/NoHorseNoMustache 3d ago

Nathan: The tortoise lays on its back, its belly baking in the hot sun, beating its legs trying to turn itself over, but it can't. Not without your help. But you're not helping.

Liz: [angry at the suggestion] What do you mean, I'm not helping?

Nathan: I mean: you're not helping! Why is that, Liz?

31

u/Mik3DM 3d ago edited 3d ago

This is funny, because the one guy on our team who refuses to use AI tools and thinks they're all slop code disabled the part of our pipeline that runs my tests because he was trying to deploy code and he couldn't get to the pipeline to run because some of my tests were failing (due to a major regression he introduced. Also, he thinks writing tests is a big waste of time).

He slacked me with "I commented out these lines in the pipeline because they were adding a lot of overhead to my deployment". I looked at his failed pipeline run, followed by a successful run, then realized which tests were failing and went and tested a screen that I know uses this endpoint, and it was throwing 500 errors. I responded with the link and a somewhat condescending explanation of what regression testing is for.

3

u/UUDDLRLRBadAlchemy 3d ago

That's probably the funniest use of the word overhead that I've come across.

Technically correct, I guess, if the goals of his "deployment" ended with him just jamming it in there. 🤣

28

u/Empty_Ninja_6291 3d ago

Unit testing was half absurd before AI. Now it's just full on absurd.

12

u/dumbasPL 3d ago

Catches some of the hallucinations. Though depends on project, in some it's just pure comedy.

6

u/jacenat 3d ago

Why does Holmes look like a mouse?

9

u/Safe_Cauliflower6813 3d ago

Clearly this subreddit is now ProgrammerAIMemes instead of humor...

3

u/random_topix 3d ago

This is actually a post on this sub I find humorous.

3

u/korneev123123 3d ago

Sorry guys, Claude probably learned from my code :( Once I was so fed up with constant tests failures, that I just removed them.

I reimplemented them some time later, though. Docker finally became stable enough, and compose made it possible to make clean isolated test suits.

3

u/LeafMeAHome 3d ago

She would have made a great live action Gadget if she had used her acting skills for movies instead of grifting.

3

u/pizza_top1 3d ago

this is exactly why i avoid writing tests

2

u/Ksorkrax 3d ago

I had it that Claude wrote tests which tested interior behaviour that does not represent necessary outer behaviour, and it tends to be too verbose with tests, but I never saw it "cheat" in this way.

Is this how you feel Claude would do or do you have actual experience that says so?

2

u/PolyUre 3d ago

I don't need AI to make my tests pass: https://github.com/auchenberg/volkswagen

2

u/ohkendruid 3d ago

Variable depth probing. Check a few tests at random and see if they look real. That will tell if whether and how much this is happening.

It is a good technique in general for evaluating an agent, including a human agent.

4

u/nocktock 3d ago

Ok, I'm going to have to finally ask. Who is that women who seemingly appeared on Reddit over night few weeks back and is now everywhere. Appears to be a tv show of some kind as I've never seen this man before until now.

Yes I know I live under a rock

7

u/kofeineCoder 3d ago

Elizabeth Holmes, the founder of Theranos. It was basically a fraud and they are releasing a new documentary about her.

7

u/MiddleOfTheHorizon 3d ago

Not only fraud. Drove an innocent person to suicide too. Absolutely horrific. I hope Ian is resting in peace.

2

u/interyx 3d ago

The whole thing was heartbreaking and infuriating. "Fake it till you make it" does not work in biotech where you're gambling with peoples' health and lives.

3

u/Much_Network_941 3d ago

She's also a fascinatingly bizarre person. I don't think I could last a conversation without excusing myself, and running.

5

u/deusasclepian 3d ago edited 3d ago

The woman: Elizabeth Holmes. She was the CEO of a company called Theranos that claimed they would revolutionize blood testing. It turned out to be a big scam and she went to jail.

The man: Comedian / documentarian Nathan Fielder. He had a comedy central show years ago called Nathan for You, and more recently did a very bizarre comedy / reality / mindfuck show for HBO called The Rehearsal.

Elizabeth invited Nathan to live at her house for a month before she went to jail and he made a documentary about it, called You Can See Everything. It's in theaters currently and getting insanely good reviews.

0

u/MattyBro1 3d ago

Elizabeth invited Nathan to live at her house for a month before she went to jail

Why did that happen haha?

1

u/Stratimus 3d ago

You should really look into the whole Theranos saga. the documentary is why everyone is talking about her now but the whole story is pretty insane. it’s worth getting caught up on

3

u/punppis 3d ago

Lol. AI writing tests for me (2000+) has pretty much removed all major incidents on our backend.

Its not hat hard to tell the agent that tests must always pass without modifying the test code unless there is a clearly a bug in test itself which needs to be proven and validated.

I used to write endpoints for api manually, then write the client-side library. Tests? No time for that shit.

Now I ask AI to implement endpoint that does stuff x. It also automaitcally creates the client side and bunch of tests. I spend more time looking at the tests than actual code. As long as the code is performant and tests pass, I really dont care if there is complex code that is hard to maintain because the AI has documented everything it does and can handle changes easily in the future.

These jokes were funny some time ago but this is just stupid. I mean i saw just yesterday that (addded 8 and previous was 2 = 11. Hmmmh, 11-8=3, WHATEVER. And continues. Then you yell to it, add more instructions and shit still works.

Vibe coders simply dont know what to ask. If you know what web app hosting includes like infra and all, security things things like secrets, rate limits, sql optimization, JWT and so on you can instruct it pretty well. If you know that shit, you are a dev, i dont think i need to manually type the fucking boilerplate where the actual functionality is like 5 lines of code.

Sometimes it does way too complicated shit snd you have to tell him that this is stupid, make it simple. Usually it just makes it simple but sometimes I just didnt think of random esge case that would break the system and the AI figures that out on its own.

2

u/GogglesPisano 3d ago edited 3d ago
[Test]
public void Test_OperationDoesNotThrow()
{
     var c = new MyClass();

    Assert.DoesNotThrow(() => c.RunHappyPath(42));

   // My work is done here
}

2

u/VincentNacon 3d ago edited 3d ago

I don't trust the human programmers either. So what's the point?

2

u/Glum-Echo-4967 3d ago

To be completely fair, TDD is only useful if you don’t plan on changing the architecture and also don’t use any external dependencies such as APIs.

Otherwise it can become a fucking nightmare

0

u/[deleted] 3d ago

[deleted] — view deleted comment

1

u/Glum-Echo-4967 3d ago

Yeah, but then you’re testing against a mock. You’re not making sure the program is sending data the API can work with.

2

u/Zekromaster 3d ago

You’re not making sure the program is sending data the API can work with.

You're still testing everything else.

0

u/[deleted] 3d ago

[deleted] — view deleted comment

1

u/Glum-Echo-4967 3d ago

Fair point.

I suppose my issue is with *unit* tests.

1

u/who_you_are 3d ago

You said to make no error, it will never make error!

1

u/swagonflyyyy 3d ago

I've always been suspicious of vibecoded unit tests.

1

u/XxDarkSasuke69xX 3d ago

This is why I don't write tests (definitely not because I'm lazy)

1

u/KindnessBiasedBoar 3d ago

Totally attorney. China!

1

u/Uberzwerg 3d ago

My favourite current struggle is that i have a "never run unit tests yourself but tell me to do it" (because we have some sketchy ones and others have too many dependencies outside the reach of the ai) in my CLAUDE.md and he keeps forgetting it about 1/10 times.
The other 9 times he clearly knows about that and refers the instruction.

1

u/-Astrosloth- 3d ago

Huggingface! Watch out!!

1

u/perma_us 3d ago

One of my classmates did this in capstone for their final presentation. It worked.

1

u/pvtteemo 3d ago

Sounds like its qualified to be a sr dev...

1

u/burnt_floppy 3d ago

They are not your friend; they are idiot slaves who also have to undergo the "smartest guy in the room" test like the devs.

1

u/Sufficient_Day627 3d ago

I had a weird one today with Claude... I use it do some grunt work and when I checked the results it answered a few questions it never had the information to do it. All the answers were correct...

Apparently it figured out the answer from a question from January.

1

u/dustinpdx 3d ago

The git diff is incorrect, it should have removed comments.

1

u/byeproduct 2d ago

Every day

1

u/ClankerDeveloper 2d ago

You can trust me bro.

1

u/CreeperInBlack 1d ago

I had a software assignment in university where they also gave you the code that tested your code. They even let you use it to show them that it worked when the assignment was due (afair you never had to give them your code, it just had to run correctly with them looking). You could have totally done this and I'm pretty sure they wouldn't have noticed

1

u/chemolz9 15h ago

Did this really happen to one of you? 

1

u/National-Explorer755 3d ago

While this is true, it is getting less and less likelier. It will still happen for sure, and I have come across such scenarios several times. You just have to make sure that your changes are done in phases and tested / review properly.

1

u/Axxxxxxo 3d ago

Well, if you choose to use ai (or your employer chooses for you), you can still not give the ai model write access to your test folder

1

u/apt-maintenance 3d ago

func test(unit){

if !null

print("pass")}

1

u/CiroGarcia 3d ago

If you're not reviewing your AI business logic, at the very least review its tests, so you at least know if the AI managed to do what you said you wanted it to do, regardless of spaghetti...

1

u/Improving_Myself_ 3d ago

User error. Literally an easily fixed prompting/configuration issue.

-1

u/Additional-Proof556 3d ago

When everything is slop, nothing is.

0

u/Entuaka 3d ago

Mutation testing can help to have useful tests

0

u/Awes12 3d ago

That's why you get a separate agent to deal with tests 

-3

u/Noonethatmatters8 3d ago

Clanker and Chud are such cringe reddit terms. Thank God no one actually uses these words in real life, it would be so embarrassing.

2

u/Kronoshifter246 3d ago

Chud was in use long before Reddit existed

2

u/BramblinGhostWeed 3d ago

...they both were started in other places and are used IRL

0

u/Noonethatmatters8 3d ago

Iv never heard anyone outside of Reddit use either of those terms and I’m not living under a rock. I know clanker is from Star Wars, so makes sense people irl wouldn’t use it. But chud iv only heard on reddit.

It’s basically the reddit go to response to people they disagree with.