Menu

cool additional info

J McNamara
2024-10-24
2025-01-22
  • J McNamara

    J McNamara - 2024-10-24

    Hi guys -

    I have a trick for that code that chat gpt helped me on. I was mining for info, and the gtk works, but i only have about 5 lines of cobol code that wont run. I dont know my norton blocked svchost.exe on something file creation, so that is not helping my comfort level.

    I am trying to communicate from cobol to gtk in that direction. Send data over the other way is possible to (the other direction), but this one is from cobol to gtk.

    Here are my compile and build lines for the chat gpt that I got help with.

    cobc -c wrap.c $(pkg-config --cflags gtk+-2.0)
    cobc -c screen1.cob -o screen1.o
    cobc -x screen1.o wrap.o $(pkg-config --libs gtk+-2.0 glib-2.0 gdk-pixbuf-2.0 atk | sed 's/-pthread//g') -lcob -locesql -o phantom -Wall -v
    

    notice the cool gift from chatgpt to filter out -pthread because otherwise it was an error message.

    Sorry the formatting was off I must have pasted it in directly from chatgpt in the original question.

    I know Simon said don't use chatgpt but there are only 5 lines involved here or so in the procedure division (sentences).

    Its like why in the world wont that dialog appear. I am worried it is norton AV blocking me. Problem is it is very bossy once you install it it wants nothing else running, and I hear it is a bear o get it off your machine. I like norton av, but it may not like cygwin posix for windows.

    thanks for any help guys. even though I used chat gpt i put some thought and work into this one.

    thank you.
    J. McNamara

     

    Last edit: Simon Sobisch 2024-10-25
    • Simon Sobisch

      Simon Sobisch - 2024-10-25

      rule of thumb: if you use cygwin or msys where a lot of processes are spawned: at the cygwin/msys folder to the exclusion list of your AV suite, and especially on older Windows or slow disks: also add an exclusion of this folder to the windows indexing
      (this is especially true for the folder where you build anything with configure/make as well)

       
  • Mickey White

    Mickey White - 2024-10-24

    J.M. Glad you are making progress, I am sure a lot of us are following along , but I for one do not know enough C or cygwin or windows, or use screens io much.
    I did want to give my opinion on the AI.
    I have tried 4 different AI for coding and even joined X to get Grok (paid).. the other 3 were free.
    Here is my opinion on Best to Worse on writing code, specifically Cobol.
    Claude
    Copilot
    Grok
    chatGPT

    Just my opinion. But None worked Out of the Box and required some fixes. But Claude did the best job. And of course it IS how you ask and give specs to what the results will be.

    Keep on coding !
    Mickey

     
    • J McNamara

      J McNamara - 2024-10-24

      oh cool.

      thanks mickey!

      jim

       

      Last edit: Simon Sobisch 2025-02-04
    • Mickey White

      Mickey White - 2025-01-22

      There is a new completely free China AI that seems to do well:
      https://chat.deepseek.com/

       

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.