From Newsgroup: alt.os.linux.slackware
On Fri, 06 Dec 2024 12:16:17 +0000, root wrote:
[snip]
I don't have any relevant opinions one way or the other regarding the use of
an LLM in development. From what I can see, they /can/ generate code, /but/ have no "concept" (if that is the right word) of whether the code is correct
or not, whether it satisfies the requested conditions or not, or even if the code is in the correct language and format or not. The technology isn't yet functioning at the level where it can /guarantee/ that the code it generates
is complete, functional, accurate, and fit-for-purpose.
That having been said, I stand by my posting
On Thu, 05 Dec 2024 19:00:02 +0100, Giovanni wrote:
I never used it but but I see that is included in the standard library.
Did you try "man strptime"?
He didn't bother. He's just a code monkey, copying code "written" by a
Large Language Model, and doesn't really know what he's doing.
You took code from an unreliable source and attempted to implement it
without understanding either the code or the implementation requirements.
That makes you either a "script kiddy" (who blindly copies code) or a
"code monkey" (who has a rudimentary understanding, but no demonstrated competency). I gave you the benefit of the doubt, and called you a
"code monkey". Was I wrong? You certainly have not demonstrated
competency, either in writing code, or installing it.
From your brief description of the problem
On 12/5/24 18:30, root wrote:
a c program to convert date format to epoch time and conversely
it looks like the standard date(1) program would have sufficed.
Slackware installs that program as part of it's essential "coreutils"
package.
If date(1) wasn't what you needed, you /could/ have asked your source
to supply proper compile options for the code it supplied you. Apparently
you either didn't ask, or it gave you bad instructions.
Having run into a compile issue around strptime(), you /could/ have read
the manual page on strptime(3) and found that it required that _XOPEN_SOURCE
be #defined (something that your Gemini LLM didn't do, giving you incorrect code). You /could/ have compiled your code correctly by including the _XOPEN_SOURCE definition in your compile command.
--
Lew Pitcher
"In Skills We Trust"
--- Synchronet 3.21d-Linux NewsLink 1.2