regex.sh

regex.sh

Today (few hours ago) OpenAI released their new language model, GPT-4.
What are your expectations for this release?
It has significant better performance, and improved context understanding.
Also, I’ve been wondering if there is Elixir first AI that works like copilot :thinking:
What are your thoughts?

Showing Posts 1 to 10

AndyL

AndyL

I’ve been using a ChatGPT plugin for Neovim and have found it to be useful for generating basic Elixir code - genservers, filters, and reducers - better than starting from a blank screen.

Not sure what GPT4 will bring.

bdarla

bdarla

Do you know whether this plugin uploads your source code remotely in order to make suggestions or is it completely locally?

AndyL

AndyL

I believe the plugin I linked to calls out to the open-ai api using curl.

soup

soup

Maybe you’ll be lucky enough to have that code regurgitated back at you in GPT-4.

dimitarvp

dimitarvp

My expectations are that many thousands of forum topics (not here in particular but likely here as well) and tweets will appear where people passionately claim that this program “deeply understands” stuff. :003:

In all seriousness, I appreciate these tools’ ability to produce boilerplate so you don’t have to go check how to make a new empty GenServer or such. Beyond that, I have no expectations.

Would love to be proven wrong. Some of my past customers have allowed me to keep old versions of their code – provided I don’t distribute them and only use them for educational purposes, of course – and I’d be curious if I can run some of the “AI” tools on them and have them tell me if there’s a bug in this or that logic. If so, then and only then I’d be actually excited.

AstonJ

AstonJ

Not sure what my own expectations are but was interesting reading Musk’s in this story on DT the other day:

His quote in bold:

On Friday morning, Elon Musk responded to a comment on his favorite website about OpenAI, the research laboratory-turned-company that he co-founded along with a number of other tech luminaries in 2015. Following up on a tweet by finance writer Genevieve Roch-Decter, Musk wrote “OpenAI ws created as an open source… non-profit company to serve as a counterweight to Google, but now it has become a closed source, maximum-profit company effectively controlled by Microsoft. Not what I intended at all.

:upside_down_face:

fceruti

fceruti

My expectation (and probably beyond v4) is that inside VSCode, while I’m working on a module, there’s a side tab, that is giving me all sorts of information based on cursor position:

  • [compute] This function is log O(n), n being number of products
  • [compute] This function calls a database 3 times.
  • [compute] This function call these external services: …
  • [docs] Here’s the docs for all the functions you are calling.
  • [docs] Here’s the docs for things you might need.
  • [popular examples] You are using Enum.reduce, here is how it’s used in popular projects.
  • [broad examples] Seems like you are trying to ***, here are some examples of how to do it:

Not necessarily AI-driven, but wishful-driven:

  • [local refs] This function is being called by:
    – directly —
    – indirectly: —
    (and for each one of those, probable type clashes)
  • [local examples] YourProject.make_things_happen is being used like this:

That’s what I would call a true copilot.

10
Post #7
Cochonours

Cochonours

I haven’t been looking into AIs much, but to me the first thing they will be able to automatically do (and better than humans) will be generating comprehensive test suites from a codebase.

kujua

kujua

Author of Erlang and Elixir for Imperative Programmers

I have tested it and I have got back “template” or “boilerplate” code. Not bad at all.
For example, i asked “simple Erlang nif in rust for elixir” and GPT4 gave me an answer that I need Rust, rustler, create a rustler module with mix, (simple) Rust code, an Elixir module and iex code to test. All with links and code, easily to be copied.

So overall not bad and much better than GPT-3.5.

Atm it is not a “danger” for developers: Architecture, special requirements etc. is still with us. But as a first code example within a minute (with ChatGPT plus) it is a good help. And easier than to go through several links in Github and blogs.

regex.sh

regex.sh OP

Hmm, this would be a dream tool for developers :thinking:
But I think GPT-4 can’t do that because of tokenization, on small projects (it’s somewhat possible but anything beyond 40ish files is out of GPT4-32k context capability)

Overall, sounds like an interesting project to work on :star_struck:
And regarding space-time complexity well halting problem :smiley: but I’ve seen GPT-3.5 have a good guess on Elixir code and big O so maybe an estimation giver :thinking:

Where Next? Top

Trending in Discussions Top

AstonJ
As the title says, please share what you’ve been up to with Elixir. Whether that’s been learning it, looking into it, making stuff with i...
2977 92995 915
New
AstonJ
The obligatory hello world thread! Who are you and where are you from? :stuck_out_tongue:
4616 55835 594
New
caslu
I want to open this thread for you all to discuss and help those who really like Ash but are still hesitant to use it in a real project. ...
New
arcanemachine
I was working on an Ecto migration and I needed a timestamp. So, for the nth time, I looked up the different data types for timestamps, a...
New
Herve37
We’re evaluating API mocking tools for OpenAPI-based projects and would love to hear what other teams are using. We’re particularly inte...
New
matt-savvy
Is there a word for the ~> symbol used in Version strings? Do you also just call it a Squiggle Arrow™ ?!
New
GES233
I’m posting this in response to Jose’s recent tweet (Cr. link) : People are sleeping on Elixir for a coding harness: Hot-code swappi...
New

Other Trending Topics Top

garrison
Hobbes is a low-level distributed database for the Elixir programming language. Hobbes provides a simple, safe, and scalable storage lay...
New
mcass19
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve. They are GUI (Emerge) and State management (S...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
wintermeyer
There are three potential reasons for members of this forum to have a look at https://vutuv.de You are tired or annoyed of LinkedIn. Yo...
New
webofbits
Aludel - LLM Evaluation Workbench Aludel is an embeddable Phoenix LiveView dashboard for evaluating and comparing LLM prompts across mult...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews