One with ChatGPT about dbms questions and one with claude about socket programming.
Looking back are some questions a little stupid ? Yes. But affcourse they are! I am coming with zero knowledge trying to learn how the socket programming is happening here ? Which functions are begin pulled from which header files, etc.
In the end I just followed along with a random youtube video. When you say, you can get LLM to do anything, I agree. Now that I know how socket programming is happening, for next question in assignment about writing code for crc with socket programming, I asked it to generate code for socket programming, made the necessary changes, asked it generate seperate function for crc, integrated it manually and voila, assignment done.
But this is the execution phase, when I have the domain knowledge. During learning when the user asks stupid questions and the LLM's answer keep getting stupider, then using them is not practical.
Also Im surprised you even got a usable answer from your first question asking for a socket program if all you asked was the bold part. I'm a human (pretty sure at least) and had no idea how to answer the first bold question.
I had already established from previous chat that upon asking for server.c file, llm's answer was working correctly. Rest of the sentence is just me asking it to use and not use certain header files which it uses by default when you ask it to generate server.c file.Thats because from docs of <sys/socket.h>, I thought it had all relevant bindings for the socket programming to work correctly.
I would say, the sentence logically makes sense.
So you did not convince me that LLMs are not working (on the contrary), but I did learn something today! thanks for that.
LLMs hallucinate.
That's true and by how they are made it cannot be false.
Anything they generate cannot bw trusted and have to be verified.
They are good at generating fluff but i wouldn't rely on them for anything.
Ask at that temperature glass melts and you will get 5 different answers, noone true.
GPT4o
https://chatgpt.com/share/673578e7-e34c-8006-94e5-7e456aca6f...
GPT4o
https://chatgpt.com/share/67357941-0418-8006-a368-7fe8975fbd...
GPT4o-mini
https://chatgpt.com/share/673579b1-00e4-8006-95f1-6bc95b638d...
Glass is not a pure element so that temperature is the "production temperature" but as an amorphous material it ""melts"" in the way a plastic material ""melts"" and can be worked at temperature as low as 5-700c.
I feel like without a specification the answer is wrong by omission.
What "melts" means when you are not working with a pure element is pretty messy.
This came out in a discussion for a project with a friend too obsessed with GPT (we needed that second temperature and i was "this can't be right....it's too high")
If the premise is that you first need to learn an alien psychology, that's quite the barrier for a student.