ChatGPT And Omnis Studio
Bastiaan Olij
bastiaan at muxworks.com.au
Tue Feb 14 22:58:12 UTC 2023
Hey Thad,
ChatGPT sure is a really interesting technology and when used right I
think will be an incredibly valuable tool to have in your back pocket.
It seems to be able to learn computer languages and thus translate code
from one language to another, which I think it attempted to do in your
example, and with a vast library of code snippets readily available for
it to base its answers on, it can be darn powerful.
At the same time I think that ChatGPT will start to suffer from the same
issues any developer who scours the interwebs for code snippets suffers.
It won't come up with new algorithms to a problem you're trying to
solve, and if there are loads of bad examples for it to learn on, it
will come up with a bad solution.
For instance, Vik and I asked it to come up with a specific
decompression algorithm, and while it came up with some really nice
boiler plate code, it totally missed the beat when identifying the
actual algorithm we needed and left the key element we were after with a
comment "please insert relevant code here".
So I treat its outcomes with the same skepticism I treat any code
snippet I find on the internet. If I don't fully understand the code
snippet, and feel comfortable maintaining it, I keep on searching.
That all said, damn is it 1000x better then manually scouring stack
overflow..
Cheers,
Bas
On 15/02/2023 8:57 am, Thad Bogert wrote:
> At lunch today, I thought I’d play around with ChatGPT. The following conversation happened.
>
>
> ##########
> ME:
> Tell me about Omnis Studio.
>
> CHATGPT:
> Omnis Studio is a rapid application development (RAD) tool used for creating cross-platform desktop, web, and mobile applications. It allows developers to create applications using a visual development environment, as well as a programming language called Omnis Basic, which is similar to Basic and Pascal. Omnis Studio also provides built-in database connectivity, an object-oriented programming model, and a customizable user interface. It supports Windows, macOS, Linux, and a variety of mobile platforms, and is widely used in business and enterprise applications.
>
> ME:
> What sources did you use for this information?
>
> CHATGPT:
> As an AI language model, I have been trained on a vast amount of text data from the internet, including articles, documentation, and other sources related to technology and software development. For my answer about Omnis Studio, I drew on my understanding of this subject matter, which is based on my analysis of many such sources, including Omnis Studio's official website, online user forums, software review sites, and other technical resources.
>
> ME:
> Do you know how to program in Omnis?
>
> CHATGPT:
> Yes, as an AI language model, I am capable of understanding and writing code in Omnis Basic, the programming language used in Omnis Studio. However, my primary function is to provide information and answer questions to the best of my abilities. If you have a specific programming question or need help with an Omnis project, it would be best to consult with an experienced Omnis developer or refer to the Omnis Studio documentation and resources.
>
> ME:
> Using Omnis Basic, write a program that splits a full name into three variables.
>
> CHATGPT:
> Certainly! Here is an example Omnis Basic program that splits a full name into three variables:
>
> -----
> Calculate lvFullName as 'John Doe Smith'
> Calculate lvNames.$split(lvFullName,' ') Returns lvSplitNames
>
> Calculate lvFirstName as lvSplitNames{1}
> Calculate lvMiddleName as lvSplitNames{2}
> Calculate lvLastName as lvSplitNames{3}
>
> ;Display the results
> Do $clib.$message('First Name: ' || lvFirstName || '\r' || 'Middle Name: ' || lvMiddleName || '\r' || 'Last Name: ' || lvLastName) Returns lSuccess
> -----
> ##########
>
>
> Obviously there are multiple syntax errors as well as issues with notation and function calls, but it’s surprising to see what it came up with. I was impressed with the use of the split() function.
>
> It seems to have borrowed some code from other languages. And in the chat, the syntax highlighting indicated that it was using a PHP formatter.
>
> But I have to wonder what it would be capable of writing with a bit of training.
>
>
>
> "We will add your biological and technological distinctiveness to our own.”
> — The Borg
> _____________________________________________________________
> Manage your list subscriptions at https://lists.omnis-dev.com
> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
--
Kindest Regards,
Bastiaan Olij
Unit 58 / 35-39 Fontenoy Road
Macquarie Park NSW 2113
Australia
bastiaan at muxworks.com.au
+61-432144833
More information about the omnisdev-en
mailing list