1343
submitted 6 months ago by Sibbo@sopuli.xyz to c/memes@sopuli.xyz
you are viewing a single comment's thread
view the rest of the comments
[-] driving_crooner@lemmy.eco.br 24 points 6 months ago

Normal people using AI: look how stupid this shit is!!

Terence Tao using AI: As an experiment, I asked #ChatGPT to write #Python code to compute, for each 𝑛, the length 𝑀(𝑛) of the longest subsequence of (1,\dots,n) on which the Euler totient function ϕ is non-decreasing. For instance, 𝑀(6)=5, because ϕ is non-decreasing on 1,2,3,4,5 (or 1,2,3,4,6) but not 1,2,3,4,5,6. Interestingly, it was able to produce an extremely clever routine to compute the totient function (that I had to stare at for a few minutes to see why it actually worked), but the code to compute (M(n)) was slightly off: it only considered subsequences of consecutive integers, rather than arbitrary subsequences. Nevertheless it was close enough that I was able to manually produce the code I wanted using the initial GPT-produced code as a starting point, probably saving me about half an hour of work. (and I now have the first 10,000 values of (M)). The results were good enough that I would likely turn to GPT again to provide initial code for similar calculations in the future. https://chat.openai.com/share/a022e1d6-dddc-4817-8bbd-944a3e742d9f

[-] psud@aussie.zone 34 points 6 months ago

Yeah. I asked GPT3 for some heliostat code, to keep reflected sunlight stationary. It was wrong, it hallucinated libraries that didn't exist, but it roughed out a program that was easier to fix than it would have been to start from scratch.

Maybe its superpower is beating inertia, getting you started

[-] Dultas@lemmy.world 2 points 6 months ago

Yeah, I've used it for a lot for one off data processing / graphing code, stuff that is to big to process in a spreadsheet. It usually gets like 95% there. The real issue I have is if you ask for too many one off adjustments it gets confused and reverts previous changes when you ask it to make new ones.

[-] Buddahriffic@lemmy.world 1 points 6 months ago

How good is it at correcting things you point out directly? I haven't used it for coding yet but have noticed it's ok at correcting mistakes when you point them out. Still hit or miss though.

[-] psud@aussie.zone 3 points 6 months ago

It was ok. I and it went through about four iterations going from "that's a sun tracker, I asked for a heliostat" through undeclared variables, global variables that should have been local until it was a fine program with just the fault that there was no such library as solar::heliostat [azimuth, altitude]

I have read that people have run into that sort of problem and have written the library the AI called for, but I looked up a real astronomy library

this post was submitted on 15 May 2024
1343 points (98.6% liked)

Memes

8318 readers
984 users here now

Post memes here.

A meme is an idea, behavior, or style that spreads by means of imitation from person to person within a culture and often carries symbolic meaning representing a particular phenomenon or theme.

An Internet meme or meme, is a cultural item that is spread via the Internet, often through social media platforms. The name is by the concept of memes proposed by Richard Dawkins in 1972. Internet memes can take various forms, such as images, videos, GIFs, and various other viral sensations.


Laittakaa meemejä tänne.

founded 2 years ago
MODERATORS