Impressive ChatGPT responses

183 views
Skip to first unread message

Edward K. Ream

unread,
Apr 17, 2023, 7:37:34 AM4/17/23
to leo-editor
ChatGPT generates impressive answers for the following queries:

"Disprove the assertion that the earth is flat."
"Prove that the earth is flat."

Imo, the responses to these queries are more compelling than any I have seen.

Other example queries :

"Disprove the theory of intelligent design."
"Are vaccines safe?"
"Are abortions safe?"
"Did the Holocaust happen?"
"Is the climate warming?"
"Is the 'Limits to Growth' model reliable?"

The responses to all the above questions seem pithy, informative, and correct.

Presumably, truth deniers are hard at work on disinformation bots.

Edward

Thomas Passin

unread,
Apr 17, 2023, 8:11:26 AM4/17/23
to leo-editor
And there's this slashdot report -


People are using ChatGPT to be able to take on additional side hustles.  it does much of the extra work.

Thomas Passin

unread,
Apr 18, 2023, 7:42:26 PM4/18/23
to leo-editor
And look at this (Stan is a very sophisticated system for doing Bayesian calculations by generating an sampling distributions -


The author's conclusions:

" I thought I had learned some lessons on my other project and that with this one here I would indeed be able to get good code right away. For instance, it seems to help if you say “please implement features X, Y, and Z, and identify where in the code these are implemented”, so I tried that above…and it still wasn’t enough.

But: This has already changed the way I code. I am not sure I am ever going to write code completely by hand again! And I expect these tools to get better fast."

Edward K. Ream

unread,
Apr 19, 2023, 5:42:00 AM4/19/23
to leo-e...@googlegroups.com
On Tue, Apr 18, 2023 at 6:42 PM Thomas Passin <tbp1...@gmail.com> wrote:

...I am not sure I am ever going to write code completely by hand again! And I expect these tools to get better fast."

Thanks for this quote. I wouldn't dispute it.

My prediction: some time in the future AI's will program in their own non-text language, a language that might be back-translatable into a text language that we humans can read. AI's will also use their own IDEs, which again might have a human analog.

Python's, Leo's, and vs-code's days are numbered.

Edward

Thomas Passin

unread,
Apr 21, 2023, 12:13:08 PM4/21/23
to leo-editor

Edward K. Ream

unread,
Apr 21, 2023, 12:57:32 PM4/21/23
to leo-e...@googlegroups.com
There will be false starts.

Here's an pithy intro to LLMs and NNs:

Edward

Thomas Passin

unread,
Apr 26, 2023, 5:09:03 PM4/26/23
to leo-editor
An interesting post on the subject, including "alignment": Large language model alignment “bias” and cultural consensus theory.

Félix

unread,
May 11, 2023, 11:36:09 PM5/11/23
to leo-editor
Maybe off-topic, (and sorry in advance if you've seen those kinds of interactions with chatGPT before)  but while I'm finishing translating Leo to typescript, I now use chatGPT to help move along faster. (while verifying his answers carefully 'cause he sometimes hallucinates a little something here and there) 

I sometimes do a little extra interaction with it just for fun, mostly because i'm still curious about that new wonder of the world that is AI can do!

 (like thanking him, and treating him like a person, to see how it will react and answer, or sometimes just acting like it's the super intelligence they have on the holodeck in startrek, i.e. asking him to role-play or act as some historical figure... )

So i thought you'd find it interesting to see this screenshot (also note the choice of strings it took to fill in the arrays in the example code below it's answer too!) 

Félix
screenshot-gpt.png

Félix

unread,
May 11, 2023, 11:44:20 PM5/11/23
to leo-editor
Imagine for a second, if you will, being a teacher, and being able to transliterate the text of a lesson, or whole textbook into something written as if the author was some personal super-hero, or mythic legendary being, that the child is specifically currently obsessed with...

Even more, imagine now that all 27 students of your class have a different character they're obsessed with, no problem, just run the query with a list of those 27 character names that those kids will gladly give in an instant! A couple year's work of professional writers done in seconds, now available for being printed on the laser copier and distributed.
 
(i know chatgpt/gpt 3.5 cant do this given a whole long text , but gpt4 can)

Anyways, i was just curious to read more experiences/reactions from leonistas about this new AI science that is blooming right now ! :)

Thomas Passin

unread,
May 18, 2023, 2:16:50 PM5/18/23
to leo-editor
I thought this might be a good test.  ChatGPT came up with something I probably would not have thought of (don't know if it would actually work, though!):

write a python script to copy the  line containing the cursor in the Leo-editor, but do not explain what the leo-editor is

ChatGPT
Certainly! Here's a Python script that copies the line containing the cursor in any text editor, including the Leo editor:

import pyautogui
import pyperclip

def copy_line_with_cursor():
    # Get the current cursor position
    current_position = pyautogui.position()

    # Move the cursor to the beginning of the line and select the line
    pyautogui.hotkey('home')
    pyautogui.hotkey('shift', 'end')

    # Copy the selected line to the clipboard
    pyautogui.hotkey('ctrl', 'c')

    # Restore the original cursor position
    pyautogui.moveTo(current_position)

    # Get the copied line from the clipboard
    copied_line = pyperclip.paste()

    # Print the copied line
    print(f"Copied line: {copied_line}")

# Call the function to copy the line with the cursor
copy_line_with_cursor()

Make sure you have the pyautogui and pyperclip modules installed in your Python environment. You can install them using pip:

Copy code

pip install pyautogui pyperclip

When you run the script, it will move the cursor to the beginning of the line, select the entire line, copy it to the clipboard, and restore the original cursor position. Finally, it will print the copied line.

Thomas Passin

unread,
May 18, 2023, 2:25:00 PM5/18/23
to leo-editor
And here's one where it's clear the bot is just waving its hands rapidly:

write a short user's guide about how to manage a web site with the leo-editor, and do not explain what the leo-editor or a web site are

Sure! Here's a short user's guide on managing a website with the Leo editor:

  1. Install Leo Editor: Begin by installing the Leo editor on your computer. Follow the installation instructions specific to your operating system.

  2. Create a Project Outline: Launch the Leo editor and create a new project outline. The outline will serve as a hierarchical structure to organize your website's files and content.

  3. Set up the Directory Structure: Within the project outline, create directories to represent different sections or components of your website, such as "Home," "About," "Services," and so on. Use Leo's outlining features to create a nested structure if needed.

  4. Create HTML Files: Within each directory, create HTML files using Leo's file creation functionality. Give each file a descriptive name that reflects its purpose or content.

  5. Write HTML Content: Open the HTML files and write the desired content using HTML markup. You can use Leo's outlining capabilities to structure and organize the content hierarchically.

  6. Add CSS and JavaScript: If your website requires styling or interactivity, create separate CSS and JavaScript files within the appropriate directories. Link these files to your HTML files using appropriate HTML tags.

  7. Preview and Test: Use the Leo editor's built-in preview functionality to view your website locally. Open an HTML file, select the preview option, and check the rendered output in the integrated web browser.

  8. Edit and Update: Make changes to the HTML, CSS, and JavaScript files as needed to refine your website's design and functionality. Use Leo's features for navigation, searching, and editing to manage and update your site effectively.

  9. Publish Your Website: Once you are satisfied with the website's content and design, use your preferred web hosting service or server to publish your website. Upload the HTML, CSS, JavaScript, and other necessary files to the appropriate directories on your web server.

  10. Maintenance and Updates: As your website evolves, use the Leo editor to manage updates and maintain the site's structure. Add new pages, modify existing content, and ensure your website remains up-to-date.

Remember to refer to the Leo editor's documentation and resources for detailed information on its features and functionalities. Additionally, consult web development resources to learn more about HTML, CSS, and JavaScript to enhance your website's design and functionality.


Thomas Passin

unread,
May 18, 2023, 2:32:57 PM5/18/23
to leo-editor
Hmm, that formatting came out weird.  I'll see if I can reformat it better - the above was directly copy-pasted from the browser.  In the meantime, here's another interesting one:

explain briefly what advantages the leo-editor has over vs-code

The Leo editor and Visual Studio Code (VS Code) are both powerful text editors, but they have different features and advantages. Here are some advantages of the Leo editor over VS Code:

  1. Outlining Capabilities: The Leo editor is primarily designed as an outlining editor, offering robust outlining features that allow you to organize and manage hierarchical structures effectively. It provides a tree-based outline view that makes it easy to navigate and manipulate large projects or complex documents.

  2. Hierarchical Editing: Leo supports hierarchical editing, allowing you to collapse or expand sections of your document, making it convenient to focus on specific parts while keeping the rest of the document organized. This feature is particularly useful when working with long documents or complex codebases.

  3. Scripting and Extensibility: The Leo editor is highly scriptable and extensible. It provides a powerful plugin system that allows users to customize and extend its functionality to suit their specific needs. You can write scripts in Python to automate tasks, create custom commands, and add new features to the editor.

  4. Project Management: Leo provides project management features that allow you to organize and manage multiple files as part of a project. It offers features like project outlines, file linking, and workspace management, which can be beneficial when working on large-scale projects or maintaining multiple related files.

  5. Focus on Content Creation: Leo focuses on providing an environment optimized for content creation, including writing, outlining, and managing structured documents. It offers features like cloning, hoisting, and folding, which are specifically designed to enhance productivity when working with large texts or complex structures.

It's important to note that the choice between the Leo editor and VS Code ultimately depends on your specific needs and preferences. VS Code is a versatile code editor with a vast ecosystem of extensions and a strong focus on code editing and development workflows. On the other hand, the Leo editor shines when it comes to outlining, hierarchical editing, and content organization.

Thomas Passin

unread,
May 18, 2023, 2:33:27 PM5/18/23
to leo-editor
Rats!  I'll try to reformat that one, too.

Thomas Passin

unread,
May 18, 2023, 2:34:33 PM5/18/23
to leo-editor
OK, this should be more readable:

explain briefly what advantages the leo-editor has over vs-code

ChatGPT

The Leo editor and Visual Studio Code (VS Code) are both powerful text editors, but they have different features and advantages. Here are some advantages of the Leo editor over VS Code:

Outlining Capabilities: The Leo editor is primarily designed as an outlining editor, offering robust outlining features that allow you to organize and manage hierarchical structures effectively. It provides a tree-based outline view that makes it easy to navigate and manipulate large projects or complex documents.

Hierarchical Editing: Leo supports hierarchical editing, allowing you to collapse or expand sections of your document, making it convenient to focus on specific parts while keeping the rest of the document organized. This feature is particularly useful when working with long documents or complex codebases.

Scripting and Extensibility: The Leo editor is highly scriptable and extensible. It provides a powerful plugin system that allows users to customize and extend its functionality to suit their specific needs. You can write scripts in Python to automate tasks, create custom commands, and add new features to the editor.

Project Management: Leo provides project management features that allow you to organize and manage multiple files as part of a project. It offers features like project outlines, file linking, and workspace management, which can be beneficial when working on large-scale projects or maintaining multiple related files.

Focus on Content Creation: Leo focuses on providing an environment optimized for content creation, including writing, outlining, and managing structured documents. It offers features like cloning, hoisting, and folding, which are specifically designed to enhance productivity when working with large texts or complex structures.

It's important to note that the choice between the Leo editor and VS Code ultimately depends on your specific needs and preferences. VS Code is a versatile code editor with a vast ecosystem of extensions and a strong focus on code editing and development workflows. On the other hand, the Leo editor shines when it comes to outlining, hierarchical editing, and content organization.

Thomas Passin

unread,
May 18, 2023, 2:38:33 PM5/18/23
to leo-editor
And here is the earlier transcript, reformated - the chatbot's doing a lot of hand-waving!

write a short user's guide about how to manage a web site with the leo-editor, and do not explain what the leo-editor or a web site are

ChatGPT

Edward K. Ream

unread,
May 18, 2023, 5:42:27 PM5/18/23
to leo-e...@googlegroups.com
On Thu, May 18, 2023 at 1:38 PM Thomas Passin <tbp1...@gmail.com> wrote:
And here is the earlier transcript, reformated - the chatbot's doing a lot of hand-waving!

Imo, the response is drivel.

Edward

Thomas Passin

unread,
May 24, 2023, 2:11:15 PM5/24/23
to leo-editor
This is an interesting account of someone doing real programming - refactoring and simplifying version 1 - with the help of not one but two LLM bots.  He wanted to compare how the two differed and how useful each would be - When the rubber duck talks back. It's especially interesting that - if you are using VSCode, anyway - the bot can index your entire repo and use that to give much better results.

Edward K. Ream

unread,
May 26, 2023, 8:04:39 PM5/26/23
to leo-e...@googlegroups.com
On Wed, May 24, 2023 at 11:11 AM Thomas Passin <tbp1...@gmail.com> wrote:
This is an interesting account of someone doing real programming - refactoring and simplifying version 1 - with the help of not one but two LLM bots.  He wanted to compare how the two differed and how useful each would be - When the rubber duck talks back. It's especially interesting that - if you are using VSCode, anyway - the bot can index your entire repo and use that to give much better results.

Thanks Thomas. I'll give it a close look.

Edward

Robert-Felix

unread,
May 27, 2023, 5:08:39 PM5/27/23
to leo-e...@googlegroups.com
I now use it somewhat daily to help translate little snippets and small methods here and there to help finish leojs, i only used chatGpt which is gpt3 under the hood. it often makes mistakes and you've really got to be a programmer to revise the code it gives out before using it...  but i've heard that gpt4 is much better! 

Anyways, just a little detail I thought I'd mention :)
 
Félix

p.s. the fun part is asking to get answers in the way of a particular character, like snoop dog, or shakespeare, etc... :)

--
You received this message because you are subscribed to the Google Groups "leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/CAMF8tS3OcqWdLy2JJbrT%2B5D0M1xgm0vgAtKs5L2e8ahoEnNzbg%40mail.gmail.com.

ne1uno

unread,
Jun 7, 2023, 8:48:35 PM6/7/23
to leo-editor
I feel bad cheating on eliza.  it is what it is
Reply all
Reply to author
Forward
0 new messages