unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Shane Mulligan <mullikine@gmail.com>
To: Stefan Kangas <stefan@marxist.se>
Cc: Emacs developers <emacs-devel@gnu.org>
Subject: Re: Help building Pen.el (GPT for emacs)
Date: Fri, 16 Jul 2021 11:52:41 +1200	[thread overview]
Message-ID: <CACT87JpAoBRFK_3_sRJvds2t-5DqR8B0fZq0A4zZKnDOZSGxFQ@mail.gmail.com> (raw)
In-Reply-To: <CADwFkm=cN4W0Mgo_hYgwWgddoe=cXj5+WYJWnAHZmmd+rd7gKw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 4714 bytes --]

Hi Stefan and dick,

* Reponse to Stefan
** Capabilities of "GPT-3+vscode" (Copilot)
Copilot uses a specialised version of GPT-3 called codex which is optimised
to generate code.
Copilot is technologically capable of also querying (classifying) code.
The simulateous usage of both AI generation and classification completely
changes the way you use an editing environment.

*** Why it's an emacs killer
I must coin a term, imaginary programming, for the sake of shortening my
explanation.  Imaginary programming is imaginary in the mathematical and
creative sense. It's a dimension of programming non-existent in emacs.  It's
stochastic and allows you to predict what will happen without needing to
write
correct code.

Clear demonstration here:
http://semiosis.github.io/posts/nlsh-natural-language-shell/

- meta-prompts (see below)
- there is no GPT support for emacs.
  - This is the elephant in the room.
  - Asides from what me, a single person in the world is struggling to put
    together. I'm rate-limited. There needs to be core support for
integrating
    and designing prompts.
    - I'm working on core features rather than building prompts.
- An analogy: Copilot + GPT-3 + vscode are now firmly in the area of
imaginary programming.
    completely missing with emacs. And that's very worrisome.
  - It's the cause of anxiety about what is the future of programming and
is it going to make all coders redundant.
    - It's closed source so people are literally unable to see the way
ahead.
- It's an attack against open-source.

** Risky capabilities of Copilot in the near future
- meta-prompts that encode the provenance of text. This is an existential
risk
  to coding, generally, because right now, today, GitHub (Microsoft) and
OpenAI
  (the not-for-profit turned for-profit) are encoding using Copilot the way
  that people are solving problems in order to further automate that
process,
  and it's closed-source.
- imaginary generation of user interfaces, such as emacs. There are decades
  worth of text from emacs online and on GitHub. That means GPT-3 and codex
are
  quite capable of already imagining at least part of the emacs user
interface
  via prompting. The question is, do you want emacs to be in control of your
  system or a copilot that you can't control?

** Capabilities of "Pen.el"
My vision for Pen.el has always been much broader.
- n-many language models
- n-many prompts (classification and generation)
- sharing prompts, open-source
- file format for encoding the provenance of text
  - https://github.com/semiosis/ink.el
- fully transparent
- Use emacs as an interface to remain in control of conversations, whether
they
  be infinitely many chatbots or solving communication barriers between
people.
  - When I use words such as infinite, I mean it in the truest sense, and
it's
    not hype. I've done my best to be a harbinger.
    - Literally, just select any topic and create a chatbot for it.
    -
https://semiosis.github.io/posts/gpt-3-for-building-mind-maps-with-an-ai-tutor-for-any-topic/

*** To catch up and surpass and save open-source
- We need a centralised repository of 'prompts', like melpa
  - This doesn't exist yet because the technology is closed-source inside
    GitHub copilot and there are not any standard formats.
  - I have made a start with this
    - https://github.com/semiosis/prompts/
- Pen needs to be integrated (working on this currently)
- GPT-j needs to be integrated (working on this currently)

I have many blog articles now of me trying to demonstrate what the
capabilities of Pen are.

https://mullikine.github.io/tags/pen/

* In reponse to dick's message:
"The Copilot brouhaha takes the premature optimization and pointless
speculation endemic to emacs-devel to another level."

I do not believe this is pointless speculation.


On Thu, Jul 15, 2021 at 11:58 PM Stefan Kangas <stefan@marxist.se> wrote:

> Shane Mulligan <mullikine@gmail.com> writes:
>
> > Hey guys. It looks like OpenAI is collaborating with GitHub on their GPT
> stuff, so any assistance in building an editor in emacs would be greatly
> appreciated. I made a start 4 months ago, link below:
> >
> > https://github.com/semiosis/pen.el/
> >
> > https://copilot.github.com/
> >
> > https://news.ycombinator.com/item?id=27676266
> >
> > GPT-3+vscode is an emacs killer, but emacs is a much better platform for
> building this stuff, so please help! Thanks.
>
> Could you briefly elaborate on the capabilities of "GPT-3+vscode" and
> why you think it is an Emacs killer?
>
> What are (briefly) the capabilities of your package so far, and how
> does it compare to what the competition has?  How much work remains if
> we would want to catch up?
>
> Thanks.
>

[-- Attachment #2: Type: text/html, Size: 6287 bytes --]

  parent reply	other threads:[~2021-07-15 23:52 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-30  4:36 Help building Pen.el (GPT for emacs) Shane Mulligan
2021-07-02 13:30 ` Jean Louis
2021-07-02 13:40 ` Jean Louis
2021-07-02 13:57 ` Jean Louis
2021-07-03  6:34   ` Shane Mulligan
2021-07-03 22:21     ` Jean Louis
2021-07-03 23:21       ` Arthur Miller
2021-07-03 23:42         ` Jean Louis
2021-07-12  3:24           ` Shane Mulligan
2021-07-17 23:53             ` Richard Stallman
2021-07-15 11:58 ` Stefan Kangas
2021-07-15 12:40   ` dick
2021-07-15 23:52   ` Shane Mulligan [this message]
2021-07-16  7:30     ` tomas
2021-07-17  0:33       ` Shane Mulligan
2021-07-17  7:54         ` tomas
2021-07-17  7:52       ` Jean Louis
2021-07-17  0:51   ` Richard Stallman
2021-07-17  2:36     ` Shane Mulligan
2021-07-17  9:01       ` Eli Zaretskii
2021-07-17  9:27         ` Shane Mulligan
2021-07-17 21:02           ` Shane Mulligan
2021-07-18  5:38             ` Jean Louis
2021-07-18  5:38             ` Jean Louis
2021-07-18  7:03               ` Eli Zaretskii
2021-07-18  8:00                 ` Shane Mulligan
2021-07-18  6:42             ` Eli Zaretskii
2021-07-17 21:35           ` Juri Linkov
2021-07-17 23:53       ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CACT87JpAoBRFK_3_sRJvds2t-5DqR8B0fZq0A4zZKnDOZSGxFQ@mail.gmail.com \
    --to=mullikine@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=stefan@marxist.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).