Post Reply 
ChatGPT for programming
03-29-2023, 08:28 PM (This post was last modified: 03-29-2023 08:29 PM by pier4r.)
Post: #6
RE: ChatGPT for programming
The problem with LLM is that they need to be trained on something. The best training data is natural language. For code, the more niche it becomes, the harder it gets (be it GPT 3,5 or GPT4).

Let's be honest there isn't the same amount of code in RPN as there is in python on the internet.

Anyway I find that the biggest help would be using it for languages. Like "summarize this report", "provide me an outline for an article", "expand those ideas", "correct this paragraph", "describe this situation", "provide alternatives to this text" and so on. Even better with recommendations on (again) popular topics.

Code of course is ok too, but mostly in common languages, otherwise one stays there fixing things a lot. It is great to get a start.

Further one can ask about facts, like summaries of articles or books (a sort of review, before reading them).

Anyway one still has to be educated in the field. Examples (just asked, as of 2023-03-29).

Quote:could you provide me a summary of Galley Slave from Asimov?

"Galley Slave" is a short story written by Isaac Asimov, first published in 1957. The story is set in a future where space travel is common, and interstellar ships are powered by "gravitic" engines, which allow them to travel faster than light.

The protagonist, Andrew Martin, is a linguist who has been hired to work on a new spaceship that is being prepared for its maiden voyage. As part of his job, Andrew must learn the language of the aliens that the ship will encounter on its journey.

However, when the ship's captain dies unexpectedly, Andrew is forced to take command of the vessel. The crew, made up of prisoners serving as galley slaves, resents Andrew and refuses to obey him. Andrew realizes that the only way to gain their respect is to earn it through his actions.

Despite the challenges he faces, Andrew successfully leads the ship through several dangerous encounters with hostile aliens. Along the way, he earns the respect of the crew and proves his worth as a leader.

The story ends with Andrew being hailed as a hero upon the ship's return to Earth. Andrew is left wondering if he will continue his career as a linguist or embrace his newfound role as a leader.
That's wrong (and I recommend the short story!)

Quote:could you provide me a summary of "praises of idleness" of B. Russell?

"The Praise of Idleness" is an essay written by philosopher Bertrand Russell, first published in 1932. The essay argues that society should work towards reducing the amount of time people spend working, in order to increase leisure time and improve the overall quality of life.

Russell begins the essay by stating that, in modern society, there is a glorification of work and a belief that leisure time is unproductive and wasteful. He argues that this mindset is harmful, as it leads to overwork and stress, which in turn can lead to health problems and decreased productivity.

Russell then argues that reducing the amount of time people spend working would have several benefits. It would allow people to pursue leisure activities, such as art, music, and sports, which would enrich their lives and increase their happiness. It would also lead to a more equal distribution of work, as fewer people would be required to work long hours, and there would be more opportunities for people to pursue meaningful careers.

Furthermore, Russell argues that reducing the amount of work would lead to increased creativity and innovation. When people have more leisure time, they are able to think more deeply and engage in more creative pursuits, which can lead to new ideas and discoveries.

Finally, Russell argues that reducing the amount of work would lead to a more peaceful and harmonious society. When people have more leisure time, they are less likely to be stressed and unhappy, which can lead to a decrease in crime and social unrest.

Overall, "The Praise of Idleness" is a persuasive argument for the value of leisure time and the need to reduce the amount of time people spend working in modern society.
That is mostly correct, and I suggest you to read the original article. https://harpers.org/archive/1932/10/in-p...-idleness/

Quote:Could you provide a summary of "Feeling of power" from Asimov ?

"The Feeling of Power" is a science fiction short story written by Isaac Asimov, first published in 1958. The story is set in a future where humans have become heavily reliant on advanced technology, to the point where they have forgotten basic mathematical skills and rely on computers to do all calculations.

The protagonist, Myron Aub, is a low-level technician working for a government agency that oversees the operation of the world's computers. One day, Myron discovers a mathematical formula that allows him to perform calculations without the use of a computer. He realizes that this knowledge has been lost to society due to their reliance on technology.

Myron is excited by his discovery and begins to experiment with performing more and more complex calculations. However, he soon realizes that his newfound knowledge is dangerous. If the public were to discover that they no longer need computers to perform calculations, it could destabilize society and lead to chaos.

Myron becomes conflicted about what to do with his discovery. He ultimately decides to share it with his superiors, who are initially skeptical but eventually realize the potential of Myron's formula. They decide to keep it a secret and use it to gain power and influence over other nations.

The story ends with Myron realizing the terrible consequences of his discovery. He realizes that the power of his formula could be used for good, but instead, it has been co-opted by those in power for their own gain.

Overall, "The Feeling of Power" is a cautionary tale about the dangers of becoming too reliant on technology and the importance of preserving basic knowledge and skills. It also explores the themes of power, knowledge, and responsibility.
that's wrong again (and again I recommend the short story).

This to say, GPT is jaw dropping for the fact that is able to form sentences that are much better than mine. That is the command of the language is incredible for an algorithm, even if the system doesn't know the meaning of things. Nonetheless when asked about facts, reasoning and so on, it may contain errors that are not easy to spot if one is not good already. Thus one needs to be good or prepared.

How do I know if the summary is wrong, if I didn't read the original thing? How do I know that the code is wrong if I cannot code well? And so on.

Wikis are great, Contribute :)
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
ChatGPT for programming - hpmin48gx - 03-29-2023, 12:27 AM
RE: ChatGPT for programming - carey - 03-29-2023, 02:25 PM
RE: ChatGPT for programming - carey - 03-29-2023, 03:58 PM
RE: ChatGPT for programming - pier4r - 03-29-2023 08:28 PM
RE: ChatGPT for programming - pier4r - 03-29-2023, 08:42 PM
RE: ChatGPT for programming - TallKey - 03-30-2023, 12:37 AM
RE: ChatGPT for programming - lrdheat - 03-30-2023, 01:19 AM
RE: ChatGPT for programming - pier4r - 03-30-2023, 09:09 AM
RE: ChatGPT for programming - pier4r - 03-30-2023, 09:32 AM
RE: ChatGPT for programming - pier4r - 03-31-2023, 09:49 AM
RE: ChatGPT for programming - Paul Dale - 03-31-2023, 03:49 AM
RE: ChatGPT for programming - pier4r - 03-31-2023, 12:34 PM
RE: ChatGPT for programming - pier4r - 03-31-2023, 02:03 PM
RE: ChatGPT for programming - carey - 04-01-2023, 07:23 AM
RE: ChatGPT for programming - pier4r - 04-01-2023, 06:15 PM
RE: ChatGPT for programming - pier4r - 04-01-2023, 08:58 PM
RE: ChatGPT for programming - pier4r - 04-01-2023, 09:42 PM
RE: ChatGPT for programming - mfleming - 04-01-2023, 11:13 AM
RE: ChatGPT for programming - pier4r - 05-16-2023, 07:45 PM



User(s) browsing this thread: 1 Guest(s)