- Posts: 1003
- Thank you received: 0
Chat GPT and code translation
- my1987toyota
- Topic Author
- Offline
- Platinum Member
-
has anyone used it to do code translation say from JAVA to C++? Or are their programs anyone has used that does that
already? If so how usable were the results?
And how does one appease our new Skynet overlord's. LOL just kidding
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
- Posts: 22010
- Thank you received: 3
They have become a f@king black hole, sucking everything and killing it. Nokia and over 200 other companies.
I have never played with it, i got tired of creating accounts for every damn thing, so whenever i see "register" i run the other way.
Please Log in to join the conversation.
But I had a conversation with it recently asking it to write an interrupt diven hardware stepping routine an ARM CPU. Then I asked if it would change if it it was using the PREEMPT_RT kernel and it came up with this
I'm not saying its right but its a good framework to work with for our purposes. I am envisaging this could be incorporated into a component that sets all the prarameters and linuxcnc would give it the desired veolcity in real time....
Please Log in to join the conversation.
It will not be free for ever i guess.
Please Log in to join the conversation.
- my1987toyota
- Topic Author
- Offline
- Platinum Member
-
- Posts: 1003
- Thank you received: 0
sooner or later their will be an opensourse version that will work every bit as well if someone takes the time
to learn it and work with it.
Please Log in to join the conversation.
text-divinci2 im pretty sure is just a net scraper and feeds results from github, so the more times you reload, you can get better results. This one is good for easy shit like homework, fakenews, and offensive fanfiction. I think this is the one the new media picked up on last month. I think it became free or open beta or something around then.
codex-divinci2 is still in beta but you need to register and apply with them to get access. This is the one that does actual code generation .It can do live coding, coding explanation, conversion, and all the other complicated coding shit because its using another or different part of the ai, but its not exactly free, but they cost noticeably more than text-divinci2 which is pennies.
give me a good prompt for something in codex and ill run it through if its not too expensive (expensive is a relative term). The prompts have a strong effect on the outcome but also a strong effect on the price, so the bigger the prompt is more money , same with the results. luckily if the prompt syntax is wrong it wont go through. says it works best with python.
platform.openai.com/docs/guides/code/introduction
Please Log in to join the conversation.
I use it quite a bit to help me with various problems. But it never a one shot process. It is a conversation.
Today I used it to produce a product description from bullet points from the supplier for my website. It excels where I suck when writing the metadata description and keywords that are for Google's eyes only. I ask for a full product description and summary description and basically just cut and pasted te results. Here is what it came up with: www.vmn.com.au/efs-xcape-bar-to-suit-mit...o-sport-qf-2019.html
A couple of products that It has written for me that have been indexed by Google rank in the top 5 for relevant keywords after just a week or so. I also used it today to do examples of schema markup that I passed on to my developer to get done for the Google Gods... This was a subject I knew a bit about and it was very quick and efficient to get detail of a pretty complex topic in a couple of minutes.
One of the first days I was using it, I asked it to produce a 500 word paper outlining the difference between Bos Indicus and Bos Taurus cattle breeds and to summarise the suitability of each in the differing climate and soil types found in Queensland Australia just for fun. It did a pretty good job but the content was somewhat thin. It would have got a pass, but not a distinction! I was quite amazed really.
Please Log in to join the conversation.
actually its easier if i ask divinvi3
explain the difference between chatgpt and codex in terms of coding
ChatGPT is an automated conversation engine powered by natural language processing (NLP) and machine learning (ML) algorithms. It enables developers to create conversational AI applications and services without the need for coding. It takes the complexity out of building conversational applications, allowing developers to focus on the user experience and content.
Codex is a code-based tool for building conversational applications. It enables developers to create chatbots and other conversational applications using coding. Developers can use Codex to create custom dialogues, build conversations with natural language processing, and integrate AI-powered components into their applications. Codex provides a library of components to help developers quickly build powerful conversational applications.
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
- Posts: 22010
- Thank you received: 3
Poster was from Pakistan with a single post.
Please Log in to join the conversation.
- my1987toyota
- Topic Author
- Offline
- Platinum Member
-
- Posts: 1003
- Thank you received: 0
Please Log in to join the conversation.
