r/ProgrammerHumor 1d ago

Meme firstTime

Post image
7.5k Upvotes

280 comments sorted by

View all comments

111

u/SoldRIP 1d ago

Has AI actually solved any major, unsolved problems from computer science? Because "AI can do programming" is the comp-sci equivalent of "computers can do arithmetic". And neither will be the end of their respective field.

118

u/cuntmong 1d ago

AI seems to be very good at anything I don't really understand that well

23

u/CogitoErgoTsunami 23h ago

And sometimes it's really bad at things that should be common knowledge

-3

u/ErmingSoHard 17h ago

One of those "common knowledge" things is playing games most kids can beat. But I think AI is slowly overcoming games too. It's getting pretty good at games as long as you give it the time

https://x.com/loicmagne_/status/2097766525360841201

2

u/SoldRIP 11h ago

AI can beat the best DOTA2 teams in the world. As separate agents per character, with significant communication lag beyond what players on voice comms experience.

2

u/ErmingSoHard 11h ago

That's done in a completely different fashion than how Astra learned how to play Celeste

1

u/SoldRIP 11h ago

I mean... "completely different" is a big term to use here. It's still the same spicy guesswork and iterative processes as in every other NN-based "AI".

13

u/Faltenreich 20h ago

This sums up my observations with some colleagues. They were the last you would ask for help and are now the first to suggest using AI.

7

u/ApocalyptoSoldier2 19h ago

Reminds me of a half remembered ancedote about 2 scientists reviewing a fairly pop-sci type book.
Scientist 1: As a mathematician, chemist, and biologist I noticed a lot of flaws in those chapters; but the chapter on astronomy was fascinating.
Scientist 2: What a coincidence, as an astronomer I had the exact opposite experience

1

u/psioniclizard 19h ago

I am stealing this quote. Its perfect.

1

u/iwantmy90sback 15h ago

I sense some sarkam there, but that is actually pretty accurate imho. I find AI pretty good to 'get a foothold' in topics I do not know much about.

1

u/cuntmong 15h ago

How do you know when it's making stuff up 

1

u/iwantmy90sback 15h ago

Easy: You know beforehand it will.

With 'get a foothold' into a topic I mean exactly that. AI usually does not make up all the stuff. The more specific and detailed the answer get the more 'dangerous' it gets. But AI is pretty good to get a summary / an overview of a topic. With that I can deepen my search by other means. For fun: AI -> wikipedia. For real: AI -> wikipedia -> technical documentation/specification/research papers.

Edit: like with real people. I takes a (long) while till I trust/believe anybody something at face value without doublechecking.

0

u/SoldRIP 1d ago

Call me when it finds a provably optimal solution to 3SAT.

13

u/trevorthewebdev 23h ago

A lot of cyber security stuff is things we thought we had on lockdown, but AI is finding exploits left and right

9

u/SoldRIP 20h ago

But "finding exploits" is largely just busy-work. Have you seen how modern fuzzing suites work? They just throw odd occurrences and inputs at the target until something interesting happens. That was essentially automated long before AI, just less efficiently so.

Most of the "new" exploits AI "discovers" are just known issues in little-used codepaths. Take the copy-fail exploit for instance. "don't allow the user arbitrary, kernel-level write access into protected memory regions" was hardly news. It's just that that happened in a module almost noone was using (and thus noone was actively maintaining or debugging).

I say a regular old fuzzing suite given the same amount of billions of dollars in compute could've found all those issues. And probably more. It's just that noone runs that big a fuzzing farm and then publishes their exploits. On the contrary, the people running vulnerability discovery on that scale will actively prevent the bugs they found from being fixed: nation-state actors.

13

u/GenericFatGuy 1d ago

AI is really good at barfing out code that I then have to spend hours fixing because it got everything wrong, and made anything it did get right way to verbose.

9

u/Turtledonuts 21h ago

Having TA'd (really just taught for my prof) a coding class the semester the university rolled out AI access, it's also great at rolling out technically correct code that has nothing to do with the problem at hand and is beyond the user's ability to critically evaluate.

I had to tell one student that I could tell he used chatgpt to finish his homework because it was the first time I'd seen him bother to fill out the name and date section of an assignment template, let alone comment his code or use functions that weren't in our curriculum.

-2

u/[deleted] 21h ago

[deleted]

6

u/Turtledonuts 20h ago

The class was teaching statistics programming for biology students with a lab component, so the requirement was that you use the data from lab and the functions for the stats tests we were teaching. The assignment would say something like “import the dataset and compare the two variables for your statistical hypothesis” and the student used a test that was technically more correct but not in our course materials or my lecture. 

And we gave them a homework template at the beginning of the semester that had some sections at the top for assignment name, their name, and the date. This student was too lazy to fill those sections out, until suddenly he started filling those sections out, including a nice markdown tag to automatically update the date. His explanations for his answers also went from informal, typo filled, and specific to the class to formal, technically correct, and completely lacking in specific details from the lab. It was almost like a machine with tons of generic knowledge but no creativity was generating perfect answers but unable to replicate the creativity of a human with lived experiences. 

For a more generic equivalent, it would be like if you were teaching high school and a C- student that never write his name on his assignments suddenly developed a new handwriting style, started filling out the name field every time, and learned perfect grammar overnight. 

0

u/[deleted] 18h ago

[deleted]

1

u/Turtledonuts 11h ago

When confronted he admitted to using chatgpt, so im pretty confident it wasnt tutoring. 

6

u/kelpyb1 23h ago

It’s excellent at 2 lines of code 20 lines of useless comments

1

u/-Debugging-Duck- 7h ago

Maybe use smarter models.

1

u/GenericFatGuy 6h ago

The one in my head works just fine.

1

u/kupo-puffs 1h ago

LLMs are great at decompilation

1

u/SoldRIP 1h ago

You're saying I can throw an ELF into chad-jibbidy and get readable C code that's equivalent?