Recent

Author Topic: ChatGPT and ObjectPascal in Lazarus IDE  (Read 6397 times)

gidesa

  • Full Member
  • ***
  • Posts: 212
Re: ChatGPT and ObjectPascal in Lazarus IDE
« Reply #45 on: July 11, 2025, 02:15:25 pm »
That is not true. The models and engines I mentioned do FreePascal in detail.
Often wrong... but helpful for pointers. Deepseek even gives you extreme details about its reasoning.. (that is why I like it and can correct it) and tries to use the compiler logic itself.

But that models/services are not specialized on Pascal only. Imagine how many times the results (that already satisfy you)  could be improved  by a LLM trained only on Pascal, not distracted/hallucinated from the history of Napoleon or the syntax of Javascript.

Thaddy

  • Hero Member
  • *****
  • Posts: 18729
  • To Europe: simply sell USA bonds: dollar collapses
Re: ChatGPT and ObjectPascal in Lazarus IDE
« Reply #46 on: July 11, 2025, 02:29:40 pm »
The way Deepseek works is that it chooses a submodel when it knows it.
It tries to reason from the compiler point of view.
If Europe sells their USA bonds the USD will collapse. Europe can affort that given average state debts. The USA can't affort that. Just an advice...

Fred vS

  • Hero Member
  • *****
  • Posts: 3776
    • StrumPract is the musicians best friend
Re: ChatGPT and ObjectPascal in Lazarus IDE
« Reply #47 on: July 11, 2025, 09:46:05 pm »
I admit, I sometimes use AI to help me in unfamiliar territory, like a new library. But all the AIs I've tested—ChatGPT, Gork, and Gemini—all have serious deficiencies in Pascal. And I thought the AI ​​learned from its mistakes and, once corrected, wouldn't make them again. Unfortunately, all of them, once the session was closed and a new session started, forgot the corrections and made the same mistakes again.
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs


paule32

  • Hero Member
  • *****
  • Posts: 645
  • One in all. But, not all in one.
Re: ChatGPT and ObjectPascal in Lazarus IDE
« Reply #49 on: July 12, 2025, 03:01:02 pm »
I open ChatGPT in WebBrowser and found a EditLine where you can ask any Question...
so, the AI is wise enough to babbel you a an Solution ...
but it is not from the wisedome, how to make love ...
MS-IIS - Internet Information Server, Apache, PHP/HTML/CSS, MinGW-32/64 MSys2 GNU C/C++ 13 (-stdc++20), FPC 3.2.2
A Friend in need, is a Friend indeed.

Joanna

  • Hero Member
  • *****
  • Posts: 1415
Re: ChatGPT and ObjectPascal in Lazarus IDE
« Reply #50 on: July 12, 2025, 03:16:10 pm »
If someone was to ask other people to write programs for for free , he would be considered lazy...

440bx

  • Hero Member
  • *****
  • Posts: 6069
Re: ChatGPT and ObjectPascal in Lazarus IDE
« Reply #51 on: July 12, 2025, 03:28:42 pm »
If someone was to ask other people to write programs for for free , he would be considered lazy...
that's often what essentially happens in these forums.

People come here asking for help, that help often translates into code and the contributors rarely presume the individual asking is lazy.

IMO, you're jumping to premature, ill-founded, conclusions.
FPC v3.2.2 and Lazarus v4.0rc3 on Windows 7 SP1 64bit.

paule32

  • Hero Member
  • *****
  • Posts: 645
  • One in all. But, not all in one.
Re: ChatGPT and ObjectPascal in Lazarus IDE
« Reply #52 on: July 12, 2025, 03:54:34 pm »
I can understand Joanna...
She will take efforts for the Community so, that she holds the IRC Channels #FPC and #PASCAL alive.
But she is stressed with.
Because many noobs came into the Channels, ask (or they do so) a Question, to missleading Pascal and prise the C/C++ as all well done thing.
I stay in this Channels, too.
But I can not let support because I work on my Projects.
I have a respect on those peoples there that let support without fees.

But this is the mental mind of comerce - getting all, but for free...
If they have what they want, you never see it again.

So, you can not train (like Joanna was able/willing for) Peoples programming - because you don't see it in the Face from Eye to Eye.
You can not phone them to remember on a shedulle Task Session.

I tried this years ago...
But I fail...

So, I had a Job where 8 Persons sit before 8 Computers, and I in the background by speaking/talking whats next.
This was a lovely Time.
But the Peoples don't Trust the other - they disthinking each together.
So, all Plans fly away.

I don't understand why it is a so highly Hype to order Things in Online Shops.
Online Shops can help to make a buy decision - but I would not lay my Hand into the Fire when I order and buy at an Online Shop.
Especcally Amazon and Co.

This Online Companies ruine the tiny Shop where you can Phone an Talk on Problems - so where you can ask the Shop Owner or qualified Personal.

This is what I missing...

And not a Computer Server Application that let overswap the Hard Disk stores in the haven - with no end.
I like to read a Book with original cotton Paper in printed Form.
So, you can mark the Sides with a Note Pad Paper on the border of the Book.
This is, what I missing, too ...

But what is with many many Trees that must be died to make a Book...
A Book with Informations that obsoluted when you buy it ...
The Information Technologies go forward, and daylie Books and Informations comes onto Market Place.
Some are good, some are not so good.

But I willing say: what is, when no Tree is alive because the Human species has cut all woods ...

Yes, Questions, that nobody would love ... only; more money, more power, more friends, more girls, ...
MS-IIS - Internet Information Server, Apache, PHP/HTML/CSS, MinGW-32/64 MSys2 GNU C/C++ 13 (-stdc++20), FPC 3.2.2
A Friend in need, is a Friend indeed.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 12087
  • Debugger - SynEdit - and more
    • wiki
Re: ChatGPT and ObjectPascal in Lazarus IDE
« Reply #53 on: July 12, 2025, 04:22:09 pm »
Reminder: IRC topics are banned from the forum. Please do not continue on the IRC topic.
« Last Edit: July 12, 2025, 05:02:12 pm by Martin_fr »

Joanna

  • Hero Member
  • *****
  • Posts: 1415
Re: ChatGPT and ObjectPascal in Lazarus IDE
« Reply #54 on: July 12, 2025, 08:02:23 pm »
If someone was to ask other people to write programs for for free , he would be considered lazy...
that's often what essentially happens in these forums.

People come here asking for help, that help often translates into code and the contributors rarely presume the individual asking is lazy.

IMO, you're jumping to premature, ill-founded, conclusions.
That is no the same at all. Nobody is forced to write an entire program for anyone here, in fact threads are sometimes ignored until I post on them. Chat gpt Seems like something that people make demands of.

Thanks for the kind words paule. That’s more gratitude than I will ever get here where my hundreds of hours of volunteer work is unappreciated.
« Last Edit: July 12, 2025, 08:10:10 pm by Joanna »

Joanna

  • Hero Member
  • *****
  • Posts: 1415
Re: ChatGPT and ObjectPascal in Lazarus IDE
« Reply #55 on: July 13, 2025, 02:58:44 pm »
Also I’d like to add that one of the places paule mentioned has an Ai Chatbot named Kruk. If anyone cares to try it out it seems fairly smart.

TBMan

  • Sr. Member
  • ****
  • Posts: 346
Re: ChatGPT and ObjectPascal in Lazarus IDE
« Reply #56 on: July 13, 2025, 03:20:02 pm »
.......

That is no the same at all. Nobody is forced to write an entire program for anyone here, in fact threads are sometimes ignored until I post on them. Chat gpt Seems like something that people make demands of.

.......

So wait, you haven't tried ChatGPt, and aren't fond of the use of that AI by coders, but then you recommend another AI called Kruk.

Hmmm.
 :o

Why don't we all get back to coding and leave this debate for other important folks to discuss, like the flat earthers . :D
« Last Edit: July 13, 2025, 03:23:05 pm by TBMan »
Barry

Newest game (clone),
Missile Commander:
https://www.youtube.com/watch?v=tgKz0cxog-k

Joanna

  • Hero Member
  • *****
  • Posts: 1415
Re: ChatGPT and ObjectPascal in Lazarus IDE
« Reply #57 on: July 13, 2025, 04:17:12 pm »
I talked with kruk once but it certainly didn’t fulfill my need for human companionship. For people who prefer interacting with Machines though, it’s ok.

Tbman I agree with your sentiment. As the saying goes, “use it or lose it” programming skills will decrease the more ai is used for sure.
« Last Edit: July 13, 2025, 04:57:35 pm by Joanna »

 

TinyPortal © 2005-2018