diff --git a/docs/docs/languages/assembly.md b/docs/docs/languages/assembly.md new file mode 100644 index 000000000..51a1e0922 --- /dev/null +++ b/docs/docs/languages/assembly.md @@ -0,0 +1,48 @@ +# Assembly + +Assembly is the #20 most popular language according to the [2023 Stack Overflow Developer Survey](https://survey.stackoverflow.co/2023/#section-most-popular-technologies-programming-scripting-and-markup-languages). + +## Benchmarks + +❌ Assembly is not one of the 19 languages in the [MultiPL-E benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=couple%20notable%20mentions-,4.%20MultiPL%2DE,-Creator%3A%20Northeastern) + +❌ Assembly is not one of the 16 languages in the [BabelCode / TP3 benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=amazon%2Dscience/mxeval-,12.%20BabelCode%20/%20TP3,-Creator%3A%20Google) + +❌ Assembly is not one of the 13 languages in the [MBXP / Multilingual HumanEval benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=11.%20MBXP%20/%20Multilingual%20HumanEval) + +❌ Assembly is not one of the 5 languages in the [HumanEval-X benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=Some%20multilingual%C2%A0benchmarks-,10.%20HumanEval%2DX,-Creator%3A%20Tsinghua) + +## Datasets + +✅ Assembly makes up 2.36 GB of [The Stack dataset](https://arxiv.org/abs/2211.15533) + +✅ Assembly makes up 0.78 GB of the [CodeParrot dataset](https://huggingface.co/datasets/codeparrot/github-code) + +❌ Assembly is not included in the [AlphaCode dataset](https://arxiv.org/abs/2203.07814) + +❌ Assembly is not included in the [CodeGen dataset](https://arxiv.org/abs/2203.13474) + +❌ Assembly is not included in the [PolyCoder dataset](https://arxiv.org/abs/2202.13169) + +## Stack Overflow & GitHub presence + +Assembly has 43,572 [tagged questions on Stack Overflow](https://stackoverflow.com/tags) + +Assembly projects have had 14,301 [PRs on GitHub since 2014](https://madnight.github.io/githut/#/pull_requests/2023/3) + +Assembly projects have had 10,605 [issues on GitHub since 2014](https://madnight.github.io/githut/#/issues/2023/3) + +Assembly projects have had 119,341 [pushes on GitHub since 2014](https://madnight.github.io/githut/#/pushes/2023/3) + +Assembly projects have had 50,063 [stars on GitHub since 2014](https://madnight.github.io/githut/#/stars/2023/3) + +## Anecdotes from developers + +[u/the_Demongod](https://www.reddit.com/r/asm/comments/14q5qi8/comment/jqlmfvn/?utm_source=share&utm_medium=web2x&context=3) +> Assembly isn't one language, it's a general term for any human-readable representation of a processor's ISA. There are many assembly languages, and there are even different representations of the same ISA. I'm not sure what your book you're using but there are operand order differences between AT&T and Intel x86 (although your example looks like AT&T). You shouldn't be using ChatGPT for any subject you aren't already familiar with though, or you won't be able to recognize when it's hallucinating, or even when it's simply lacking context. Just use a normal, reputable resource like the book you're following. I recommend checking out this wikibook for free online: https://en.wikibooks.org/wiki/X86_Assembly + +[u/brucehoult](https://www.reddit.com/r/asm/comments/14q5qi8/comment/jqp8rig/) +> ChatGPT makes a good attempt, but it doesn't actually understand code — ESPECIALLY assembly language, where each instruction exists in a lot of context — and will usually have some kind of bugs in anything it writes. + +[u/dvof](https://www.reddit.com/r/asm/comments/105vl0v/comment/j3hn8xp/?utm_source=share&utm_medium=web2x&context=3) +> Idk why all the chatGPT comments are all downvoted, guys it is inevitable that it is going to be a standard part of our lives now. The sooner students start using it the sooner people will realize its limitations. It is a great learning tool and I use it when learning a new subject. \ No newline at end of file diff --git a/docs/docs/languages/clojure.md b/docs/docs/languages/clojure.md new file mode 100644 index 000000000..571e15fb1 --- /dev/null +++ b/docs/docs/languages/clojure.md @@ -0,0 +1,48 @@ +# Clojure + +Clojure is the #36 most popular language according to the [2023 Stack Overflow Developer Survey](https://survey.stackoverflow.co/2023/#section-most-popular-technologies-programming-scripting-and-markup-languages). + +## Benchmarks + +❌ Clojure is not one of the 19 languages in the [MultiPL-E benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=couple%20notable%20mentions-,4.%20MultiPL%2DE,-Creator%3A%20Northeastern) + +❌ Clojure is not one of the 16 languages in the [BabelCode / TP3 benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=amazon%2Dscience/mxeval-,12.%20BabelCode%20/%20TP3,-Creator%3A%20Google) + +❌ Clojure is not one of the 13 languages in the [MBXP / Multilingual HumanEval benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=11.%20MBXP%20/%20Multilingual%20HumanEval) + +❌ Clojure is not one of the 5 languages in the [HumanEval-X benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=Some%20multilingual%C2%A0benchmarks-,10.%20HumanEval%2DX,-Creator%3A%20Tsinghua) + +## Datasets + +✅ Clojure is included in [The Stack dataset](https://arxiv.org/abs/2211.15533) + +❌ Clojure is not included in the [CodeParrot dataset](https://huggingface.co/datasets/codeparrot/github-code) + +❌ Clojure is not included in the [AlphaCode dataset](https://arxiv.org/abs/2203.07814) + +❌ Clojure is not included in the [CodeGen dataset](https://arxiv.org/abs/2203.13474) + +❌ Clojure is not included in the [PolyCoder dataset](https://arxiv.org/abs/2202.13169) + +## Stack Overflow & GitHub presence + +Clojure has 17,630 [tagged questions on Stack Overflow](https://stackoverflow.com/tags) + +Clojure projects have had 112,757 [PRs on GitHub since 2014](https://madnight.github.io/githut/#/pull_requests/2023/3) + +Clojure projects have had 84,128 [issues on GitHub since 2014](https://madnight.github.io/githut/#/issues/2023/3) + +Clojure projects have had 518,359 [pushes on GitHub since 2014](https://madnight.github.io/githut/#/pushes/2023/3) + +Clojure projects have had 272,970 [stars on GitHub since 2014](https://madnight.github.io/githut/#/stars/2023/3) + +## Anecdotes from developers + +[u/noprompt](https://www.reddit.com/r/Clojure/comments/148nhuj/comment/jo2z2n8) +> I've been using Copilot since December 2022. It sucks for Clojure but can be great for other languages like Python, JavaScript, SQL, etc. if you know how to prompt it. As other have mentioned, Copilot excels at reducing boilerplate and picking up on patterns. For example, lets say there is a table of data in a markdown document and you want to convert it to a vector of maps. You can copy/paste the markdown table into your buffer as a comment and just start writing the data structure you want it to be, Copilot will figure it out and complete it. Its also useful for generating random utility functions. Recently in JavaScript, I typed `function lerp` (linear interpolation) and it pretty quickly filled it in. I had an array of hex color values that I wanted to be RGB and I wanted to double the number of values by interpolating between them. All I had to do was type that in a comment and wait a second before it gave me a working rough draft of the function. Copilot can actually do a lot of these things for Clojure but when I was trying to use it I found myself consistently having to fix issues with delimiters, typically round braces. Eventually, I just gave up on it. Maybe I'll give it another shot when Copilot-X releases. ChatGPT is much more useful for Clojure than Copilot. It does hallucinate and get some things wrong but overall its awesome for generating documentation, explaining code, translating diffs into PR notes, and exploring ideas. I've found it very useful for random Java questions and then translating the answers into mostly working Clojure code. These things are handy tools and have quirks but they're going to get better. It's a great time to be a cosmopolitan (polyglot) programmer. + +[waffletower](https://news.ycombinator.com/item?id=35803856) +> No Clojure. No Julia. No Haskell. No Racket. No Scheme. No Common Lisp. No OCaml. And, as much as I despise Microsoft, No C#. No F#. No Swift. No Objective-C. No Perl. No Datalog. A glaringly lacking choice of languages. + +[@EricTheTurner](https://x.com/EricTheTurner/status/1600344406166380544?s=20) +> FizzBuzz was once a common programming exercise used for screening software developers (maybe it still is?) I told chatGPT to "Write an efficient fizz buzz function in Clojure". \ No newline at end of file diff --git a/docs/docs/languages/dart.md b/docs/docs/languages/dart.md new file mode 100644 index 000000000..58e3542bc --- /dev/null +++ b/docs/docs/languages/dart.md @@ -0,0 +1,48 @@ +# Dart + +Dart is the #19 most popular language according to the [2023 Stack Overflow Developer Survey](https://survey.stackoverflow.co/2023/#section-most-popular-technologies-programming-scripting-and-markup-languages). + +## Benchmarks + +❌ Dart is not one of the 19 languages in the [MultiPL-E benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=couple%20notable%20mentions-,4.%20MultiPL%2DE,-Creator%3A%20Northeastern) + +✅ Dart is one of the 16 languages in the [BabelCode / TP3 benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=amazon%2Dscience/mxeval-,12.%20BabelCode%20/%20TP3,-Creator%3A%20Google) + +❌ Dart is not one of the 13 languages in the [MBXP / Multilingual HumanEval benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=11.%20MBXP%20/%20Multilingual%20HumanEval) + +❌ Dart is not one of the 5 languages in the [HumanEval-X benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=Some%20multilingual%C2%A0benchmarks-,10.%20HumanEval%2DX,-Creator%3A%20Tsinghua) + +## Datasets + +✅ Dart is included in [The Stack dataset](https://arxiv.org/abs/2211.15533) + +❌ Dart is not included in the [CodeParrot dataset](https://huggingface.co/datasets/codeparrot/github-code) + +❌ Dart is not included in the [AlphaCode dataset](https://arxiv.org/abs/2203.07814) + +❌ Dart is not included in the [CodeGen dataset](https://arxiv.org/abs/2203.13474) + +❌ Dart is not included in the [PolyCoder dataset](https://arxiv.org/abs/2202.13169) + +## Stack Overflow & GitHub presence + +Dart has 91,732 [tagged questions on Stack Overflow](https://stackoverflow.com/tags) + +Dart projects have had 171,518 [PRs on GitHub since 2014](https://madnight.github.io/githut/#/pull_requests/2023/3) + +Dart projects have had 241,706 [issues on GitHub since 2014](https://madnight.github.io/githut/#/issues/2023/3) + +Dart projects have had 230,340 [pushes on GitHub since 2014](https://madnight.github.io/githut/#/pushes/2023/3) + +Dart projects have had 264,888 [stars on GitHub since 2014](https://madnight.github.io/githut/#/stars/2023/3) + +## Anecdotes from developers + +[u/eibaan](https://www.reddit.com/r/dartlang/comments/142fbkc/comment/jnoc1ph/?utm_source=share&utm_medium=web2x&context=3) +> The amazing thing about LLMs like ChatGPT is that they develop a kind of "language sense" and "know" how to stick together the right tokens to achieve a certain goal. They don't "understand" Dart - or any other programming language. They just emit tokens that I probably want to see :) Also, we cannot fully comprehend the amount of data that has been processed. Billions and billions of lines of code in dozens if not hundreds of languages. + +[u/Rusty-Swashplate](https://www.reddit.com/r/dartlang/comments/10yiu7d/comment/j7yflw0/?utm_source=share&utm_medium=web2x&context=3) +> Please note that ChatGPT is not sure about anything. It communicates that it knows what it says is true, but it's known to make up facts. Luckily the answer to your question is in the Dart docs. Alternatively StackOverflow has a sensible answer: https://stackoverflow.com/questions/57936263/dart-set-from-vs-set-of + +[u/john2046](https://www.reddit.com/r/dartlang/comments/1390c2j/comment/jj0spnc/?utm_source=share&utm_medium=web2x&context=3) +> antastic recommendations. I actually did have ChatGPT help me override toString for a ton of these classes nested within classes in this giant object I'm trying to print so I can mock. Didn't think to tweak the toString method like that. Not sure I understand your quoted getter though with the slashes. I'll play around with it Monday though. \ No newline at end of file diff --git a/docs/docs/languages/delphi.md b/docs/docs/languages/delphi.md new file mode 100644 index 000000000..0af403a90 --- /dev/null +++ b/docs/docs/languages/delphi.md @@ -0,0 +1,48 @@ +# Delphi + +Delphi is the #27 most popular language according to the [2023 Stack Overflow Developer Survey](https://survey.stackoverflow.co/2023/#section-most-popular-technologies-programming-scripting-and-markup-languages). + +## Benchmarks + +❌ Delphi is not one of the 19 languages in the [MultiPL-E benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=couple%20notable%20mentions-,4.%20MultiPL%2DE,-Creator%3A%20Northeastern) + +❌ Delphi is not one of the 16 languages in the [BabelCode / TP3 benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=amazon%2Dscience/mxeval-,12.%20BabelCode%20/%20TP3,-Creator%3A%20Google) + +❌ Delphi is not one of the 13 languages in the [MBXP / Multilingual HumanEval benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=11.%20MBXP%20/%20Multilingual%20HumanEval) + +❌ Delphi is not one of the 5 languages in the [HumanEval-X benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=Some%20multilingual%C2%A0benchmarks-,10.%20HumanEval%2DX,-Creator%3A%20Tsinghua) + +## Datasets + +❌ Delphi is not included in [The Stack dataset](https://arxiv.org/abs/2211.15533) + +❌ Delphi is not included in the [CodeParrot dataset](https://huggingface.co/datasets/codeparrot/github-code) + +❌ Delphi is not included in the [AlphaCode dataset](https://arxiv.org/abs/2203.07814) + +❌ Delphi is not included in the [CodeGen dataset](https://arxiv.org/abs/2203.13474) + +❌ Delphi is not included in the [PolyCoder dataset](https://arxiv.org/abs/2202.13169) + +## Stack Overflow & GitHub presence + +Delphi has 51,475 [tagged questions on Stack Overflow](https://stackoverflow.com/tags) + +Delphi projects have had 310 [PRs on GitHub since 2014](https://madnight.github.io/githut/#/pull_requests/2023/3) + +Delphi projects have had 0 [issues on GitHub since 2014](https://madnight.github.io/githut/#/issues/2023/3) + +Delphi projects have had 552 [pushes on GitHub since 2014](https://madnight.github.io/githut/#/pushes/2023/3) + +Delphi projects have had 0 [stars on GitHub since 2014](https://madnight.github.io/githut/#/stars/2023/3) + +## Anecdotes from developers + +[u/EasywayScissors](https://www.reddit.com/r/delphi/comments/wnhk9x/psa_github_copilot_works_with_delphi/?utm_source=share&utm_medium=web2x&context=3) +> PSA: GitHub Copilot works with Delphi + +[Marco Geuze](https://gdksoftware.com/knowledgebase/delphi-and-chatgpt) +> As you can see, it is possible to use an AI for simple pieces of code to create basic Delphi code quickly. We can now go one step further and implement this in Delphi itself. + +[u/sysrpl](https://www.reddit.com/r/delphi/comments/1006ybh/programming_pascal_using_an_ai_chatbot/?utm_source=share&utm_medium=web2x&context=3) +> I asked a series of Pascal programming questions to an AI chatbot system while testing its abilities, and the following page is a record of its responses. \ No newline at end of file diff --git a/docs/docs/languages/elixir.md b/docs/docs/languages/elixir.md new file mode 100644 index 000000000..3932d93f8 --- /dev/null +++ b/docs/docs/languages/elixir.md @@ -0,0 +1,48 @@ +# Elixir + +Elixir is the #30 most popular language according to the [2023 Stack Overflow Developer Survey](https://survey.stackoverflow.co/2023/#section-most-popular-technologies-programming-scripting-and-markup-languages). + +## Benchmarks + +❌ Elixir is not one of the 19 languages in the [MultiPL-E benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=couple%20notable%20mentions-,4.%20MultiPL%2DE,-Creator%3A%20Northeastern) + +❌ Elixir is not one of the 16 languages in the [BabelCode / TP3 benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=amazon%2Dscience/mxeval-,12.%20BabelCode%20/%20TP3,-Creator%3A%20Google) + +❌ Elixir is not one of the 13 languages in the [MBXP / Multilingual HumanEval benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=11.%20MBXP%20/%20Multilingual%20HumanEval) + +❌ Elixir is not one of the 5 languages in the [HumanEval-X benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=Some%20multilingual%C2%A0benchmarks-,10.%20HumanEval%2DX,-Creator%3A%20Tsinghua) + +## Datasets + +✅ Elixir is included in [The Stack dataset](https://arxiv.org/abs/2211.15533) + +❌ Elixir is not included in the [CodeParrot dataset](https://huggingface.co/datasets/codeparrot/github-code) + +❌ Elixir is not included in the [AlphaCode dataset](https://arxiv.org/abs/2203.07814) + +❌ Elixir is not included in the [CodeGen dataset](https://arxiv.org/abs/2203.13474) + +❌ Elixir is not included in the [PolyCoder dataset](https://arxiv.org/abs/2202.13169) + +## Stack Overflow & GitHub presence + +Elixir has 9,510 [tagged questions on Stack Overflow](https://stackoverflow.com/tags) + +Elixir projects have had 113,018 [PRs on GitHub since 2014](https://madnight.github.io/githut/#/pull_requests/2023/3) + +Elixir projects have had 65,166 [issues on GitHub since 2014](https://madnight.github.io/githut/#/issues/2023/3) + +Elixir projects have had 255,430 [pushes on GitHub since 2014](https://madnight.github.io/githut/#/pushes/2023/3) + +Elixir projects have had 210,145 [stars on GitHub since 2014](https://madnight.github.io/githut/#/stars/2023/3) + +## Anecdotes from developers + +[u/a3th3rus](https://www.reddit.com/r/elixir/comments/16vrhr6/comment/k2xel5z/?utm_source=share&utm_medium=web2x&context=3) +> One day, I needed to implement a priority queue with amortized O(log n) decrease-key operation in Elixir, but I didn't know how, so I consulted Monica (which interfaces GPT-3, I think), and it gave me the code of a whole Elixir module that is absolutely wrong. It was a binary heap implemented using a single list as if it's a mutable array. Furthermore, it won't even compile! I tried to correct the "mistake" GPT made, so I told it more about Elixir, about immutability, about lists in Elixir. I even tried to "inspire" GPT to write other kinds of heaps, like binomial heap and pairing heap, but GPT is so stubborn (though very polite) that it keeps giving me almost the same code over and over again. At last I gave up on GPT and turned to StackOverflow, and just a few words enlightened me (FYI, it's two heaps, one for insertion, one for deletion, and when the top nodes in both heaps have the same key, cancel them out). My conclusion is: AI is useless in some domains when it doesn't have enough learning material in those domains. + +[u/erlangsolutions](https://www.reddit.com/r/elixir/comments/13xeh8w/how_chatgpt_improved_my_elixir_code_some_hacks/) +> Using ChatGPT when programming with Elixir can bring several advantages. One of the most significant advantages is that it can provide quick and accurate responses to various programming queries, including syntax and documentation. This can help programmers save time and improve their productivity. Additionally, ChatGPT can offer personalised and adaptive learning experiences based on individual programmers’ skill levels and preferences. This can help programmers learn Elixir more efficiently and effectively. + +[D4no0](https://elixirforum.com/t/get-ai-code-generation-tools-to-create-correct-elixir-code-or-else/53931/2) +> The question is: how much boilerplate code do you really write? Elixir compared to other languages has little to none boilerplate, and for moments such as phoenix things, there are configurable generators. I wouldn’t want an AI incapable of problem solving to generate complex code for me, because as tempting as it seems, the productivity decreases a lot if we talk about refactoring generated code compared to creating your own new code. \ No newline at end of file diff --git a/docs/docs/languages/erlang.md b/docs/docs/languages/erlang.md new file mode 100644 index 000000000..8af9757c9 --- /dev/null +++ b/docs/docs/languages/erlang.md @@ -0,0 +1,48 @@ +# Erlang + +Erlang is the #38 most popular language according to the [2023 Stack Overflow Developer Survey](https://survey.stackoverflow.co/2023/#section-most-popular-technologies-programming-scripting-and-markup-languages). + +## Benchmarks + +❌ Erlang is not one of the 19 languages in the [MultiPL-E benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=couple%20notable%20mentions-,4.%20MultiPL%2DE,-Creator%3A%20Northeastern) + +❌ Erlang is not one of the 16 languages in the [BabelCode / TP3 benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=amazon%2Dscience/mxeval-,12.%20BabelCode%20/%20TP3,-Creator%3A%20Google) + +❌ Erlang is not one of the 13 languages in the [MBXP / Multilingual HumanEval benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=11.%20MBXP%20/%20Multilingual%20HumanEval) + +❌ Erlang is not one of the 5 languages in the [HumanEval-X benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=Some%20multilingual%C2%A0benchmarks-,10.%20HumanEval%2DX,-Creator%3A%20Tsinghua) + +## Datasets + +✅ Erlang is included in [The Stack dataset](https://arxiv.org/abs/2211.15533) + +❌ Erlang is not included in the [CodeParrot dataset](https://huggingface.co/datasets/codeparrot/github-code) + +❌ Erlang is not included in the [AlphaCode dataset](https://arxiv.org/abs/2203.07814) + +❌ Erlang is not included in the [CodeGen dataset](https://arxiv.org/abs/2203.13474) + +❌ Erlang is not included in the [PolyCoder dataset](https://arxiv.org/abs/2202.13169) + +## Stack Overflow & GitHub presence + +Erlang has 9,621 [tagged questions on Stack Overflow](https://stackoverflow.com/tags) + +Erlang projects have had 70,890 [PRs on GitHub since 2014](https://madnight.github.io/githut/#/pull_requests/2023/3) + +Erlang projects have had 49,786 [issues on GitHub since 2014](https://madnight.github.io/githut/#/issues/2023/3) + +Erlang projects have had 249,209 [pushes on GitHub since 2014](https://madnight.github.io/githut/#/pushes/2023/3) + +Erlang projects have had 127,120 [stars on GitHub since 2014](https://madnight.github.io/githut/#/stars/2023/3) + +## Anecdotes from developers + +[u/Ranugad](https://www.reddit.com/r/erlang/comments/11kl57z/comment/jbbw94t) +> It seems like ChatGPT doesn't know that much Erlang. + +[Rich_Morin](https://elixirforum.com/t/asking-chatgpt-to-translate-erlang-to-elixir/53548) +> I recently asked ChatGPT to translate some Erlang code into Elixir. Here’s an edited transcript, for your amusement and edification… + +[u/boy-griv](https://www.reddit.com/r/AskProgramming/comments/10tave8/comment/j78bvj5) +> I don’t think anything automated is going to work well. ChatGPT might be interesting but you’ll almost certainly have to fix it up quite a bit. https://learnxinyminutes.com/docs/erlang/ gives a quick rundown on erlang syntax/semantics and https://learnyousomeerlang.com/ is a good book on it \ No newline at end of file diff --git a/docs/docs/languages/gdscript.md b/docs/docs/languages/gdscript.md new file mode 100644 index 000000000..66cbaffff --- /dev/null +++ b/docs/docs/languages/gdscript.md @@ -0,0 +1,48 @@ +# GDScript + +GDScript is the #33 most popular language according to the [2023 Stack Overflow Developer Survey](https://survey.stackoverflow.co/2023/#section-most-popular-technologies-programming-scripting-and-markup-languages). + +## Benchmarks + +❌ GDScript is not one of the 19 languages in the [MultiPL-E benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=couple%20notable%20mentions-,4.%20MultiPL%2DE,-Creator%3A%20Northeastern) + +❌ GDScript is not one of the 16 languages in the [BabelCode / TP3 benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=amazon%2Dscience/mxeval-,12.%20BabelCode%20/%20TP3,-Creator%3A%20Google) + +❌ GDScript is not one of the 13 languages in the [MBXP / Multilingual HumanEval benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=11.%20MBXP%20/%20Multilingual%20HumanEval) + +❌ GDScript is not one of the 5 languages in the [HumanEval-X benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=Some%20multilingual%C2%A0benchmarks-,10.%20HumanEval%2DX,-Creator%3A%20Tsinghua) + +## Datasets + +✅ GDScript is included in [The Stack dataset](https://arxiv.org/abs/2211.15533) + +❌ GDScript is not included in the [CodeParrot dataset](https://huggingface.co/datasets/codeparrot/github-code) + +❌ GDScript is not included in the [AlphaCode dataset](https://arxiv.org/abs/2203.07814) + +❌ GDScript is not included in the [CodeGen dataset](https://arxiv.org/abs/2203.13474) + +❌ GDScript is not included in the [PolyCoder dataset](https://arxiv.org/abs/2202.13169) + +## Stack Overflow & GitHub presence + +GDScript has 906 [tagged questions on Stack Overflow](https://stackoverflow.com/tags) + +GDScript projects have had 561 [PRs on GitHub since 2014](https://madnight.github.io/githut/#/pull_requests/2023/3) + +GDScript projects have had 1,615 [issues on GitHub since 2014](https://madnight.github.io/githut/#/issues/2023/3) + +GDScript projects have had 3,692 [pushes on GitHub since 2014](https://madnight.github.io/githut/#/pushes/2023/3) + +GDScript projects have had 9,953 [stars on GitHub since 2014](https://madnight.github.io/githut/#/stars/2023/3) + +## Anecdotes from developers + +[u/Merosian](https://www.reddit.com/r/godot/comments/17nv29g/comment/k7w2nrx/?utm_source=share&utm_medium=web2x&context=3) +> Irrational AI hatred aside, none afaik, godot 4 is too new. When trying to figure out some kinks in my code it kept giving me garbage mixed with outdated godot 3 code. Don't bother, it's faster to just do it yourself for now. It's kind of annoying because in my experience for beginner devs, AI can be a huge help in explaining why your code no worky and how to improve it. It allowed me to go much further in my C++ projects that I thought and saved a ton of time spent on research or debugging. + +[u/[deleted]](https://www.reddit.com/r/godot/comments/zf6tve/comment/izaiw13/?utm_source=share&utm_medium=web2x&context=3) +> I was playing with this yesterday and had some difficulty getting it to produce GDScript instead of Python. It insisted the Python code it generated was GDScript haha. Otherwise it made exactly what I wanted, just in the wrong language. + +[u/kmouratidis](https://www.reddit.com/r/godot/comments/16j7u9k/comment/k0odex1/?utm_source=share&utm_medium=web2x&context=3) +> You can: Fine-tune ChatGPT. If you're willing to pay, I might help setting it up at some point in the near future. Use a different model like Llama-2 (open-source) which has more recent data (which you can also fine-tune), or from companies like Anthropic/Claude etc. Look (and contribute?) to godot-dodo and Godot Copilot. Export the Godot docs to a PDF and use some plugin, I guess? Never tried it. Copy-paste the GDScript reference page, which will likely improve it's zero-shot predictions. \ No newline at end of file diff --git a/docs/docs/languages/generate.py b/docs/docs/languages/generate.py new file mode 100644 index 000000000..c67b8f608 --- /dev/null +++ b/docs/docs/languages/generate.py @@ -0,0 +1,112 @@ +import csv + +data = {} +with open('languages.csv', 'r') as file: + reader = csv.DictReader(file) + for row in reader: + data = row + break + +language = data['language'] +stack_overflow_ranking = data['so_2023_language_rank'] + +introduction = f'''# {language} + +Recently, many folks have been claiming that their LLM is the best at coding. Their claims are typically based off self-reported evaluations on the [HumanEval benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=most%20common%20benchmarks-,1.%20HumanEval,-Creator%3A%20OpenAI). But when you look into that benchmark, you realize that *it only consists of 164 Python programming problems.* + +This led me down a rabbit hole of trying to figure out how helpful LLMs actually are with different programming, scripting, and markup languages. I am estimating this for each language by reviewing LLM code benchmark results, public LLM dataset compositions, available GitHub and Stack Overflow data, and anecdotes from developers on Reddit. Below you will find what I have figured out about {language} so far. + +**Do you have any feedback or perhaps some anecdotes about using LLMs with {language} to share?** + +--- + +''' + +stack_overflow = f'''{language} is the #{stack_overflow_ranking} most popular language according to the [2023 Stack Overflow Developer Survey](https://survey.stackoverflow.co/2023/#section-most-popular-technologies-programming-scripting-and-markup-languages).\n\n''' + +benchmarks = "## Benchmarks\n\n" + +if data["multiple"] == "N/A": + multiple = f'''❌ {language} is not one of the 19 languages in the [MultiPL-E benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=couple%20notable%20mentions-,4.%20MultiPL%2DE,-Creator%3A%20Northeastern)\n\n''' +else: + multiple = f'''✅ {language} is one of the 19 languages in the [MultiPL-E benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=couple%20notable%20mentions-,4.%20MultiPL%2DE,-Creator%3A%20Northeastern)\n\n''' + +if data["babel"] == "N/A": + babel = f'''❌ {language} is not one of the 16 languages in the [BabelCode / TP3 benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=amazon%2Dscience/mxeval-,12.%20BabelCode%20/%20TP3,-Creator%3A%20Google)\n\n''' +else: + babel = f'''✅ {language} is one of the 16 languages in the [BabelCode / TP3 benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=amazon%2Dscience/mxeval-,12.%20BabelCode%20/%20TP3,-Creator%3A%20Google)\n\n''' + +if data["mbxp"] == "N/A": + mbxp = f'''❌ {language} is not one of the 13 languages in the [MBXP / Multilingual HumanEval benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=11.%20MBXP%20/%20Multilingual%20HumanEval)\n\n''' +else: + mbxp = f'''✅ {language} is one of the 13 languages in the [MBXP / Multilingual HumanEval benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=11.%20MBXP%20/%20Multilingual%20HumanEval)\n\n''' + +if data["humaneval_x"] == "N/A": + humaneval_x = f'''❌ {language} is not one of the 5 languages in the [HumanEval-X benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=Some%20multilingual%C2%A0benchmarks-,10.%20HumanEval%2DX,-Creator%3A%20Tsinghua)\n\n''' +else: + humaneval_x = f'''✅ {language} is one of the 5 languages in the [HumanEval-X benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=Some%20multilingual%C2%A0benchmarks-,10.%20HumanEval%2DX,-Creator%3A%20Tsinghua)\n\n''' + +datasets = "## Datasets\n\n" + +if data["stack_gb"] == "0": + stack = f'''❌ {language} is not included in [The Stack dataset](https://arxiv.org/abs/2211.15533)\n\n''' +else: + stack = f'''✅ {language} makes up {data["stack_gb"]} GB of [The Stack dataset](https://arxiv.org/abs/2211.15533)\n\n''' + +if data["codeparrot_gb"] == "0": + codeparrot = f'''❌ {language} is not included in the [CodeParrot dataset](https://huggingface.co/datasets/codeparrot/github-code)\n\n''' +else: + codeparrot = f'''✅ {language} makes up {data["codeparrot_gb"]} GB of the [CodeParrot dataset](https://huggingface.co/datasets/codeparrot/github-code)\n\n''' + +if data["alphacode_gb"] == "0": + alphacode = f'''❌ {language} is not included in the [AlphaCode dataset](https://arxiv.org/abs/2203.07814)\n\n''' +else: + alphacode = f'''✅ {language} makes up {data["alphacode_gb"]} GB of the [AlphaCode dataset](https://arxiv.org/abs/2203.07814)\n\n''' + +if data["codegen_gb"] == "0": + codegen = f'''❌ {language} is not included in the [CodeGen dataset](https://arxiv.org/abs/2203.13474)\n\n''' +else: + codegen = f'''✅ {language} makes up {data["codegen_gb"]} GB of the [CodeGen dataset](https://arxiv.org/abs/2203.13474)\n\n''' + +if data["polycoder_gb"] == "0": + polycoder = f'''❌ {language} is not included in the [PolyCoder dataset](https://arxiv.org/abs/2202.13169)\n\n''' +else: + polycoder = f'''✅ {language} makes up {data["polycoder_gb"]} GB of the [PolyCoder dataset](https://arxiv.org/abs/2202.13169)\n\n''' + +presence = f'''## Stack Overflow & GitHub presence + +{language} has {data["so_tags"]} [tags on Stack Overflow](https://stackoverflow.com/tags) + +{language} projects have had {data["github_prs"]} [PRs on GitHub since 2014](https://madnight.github.io/githut/#/pull_requests/2023/3) + +{language} projects have had {data["github_issues"]} [issues on GitHub since 2014](https://madnight.github.io/githut/#/issues/2023/3) + +{language} projects have recieved {data["github_pushes"]} [pushes on GitHub since 2014](https://madnight.github.io/githut/#/pushes/2023/3) + +{language} projects have recieved {data["github_stars"]} [stars on GitHub since 2014](https://madnight.github.io/githut/#/stars/2023/3) +''' + +anecdotes = f'''## Anecdotes from developers + +[{data["anecdote_1_author"]}]({data["anecdote_1_url"]}) +> {data["anecdote_1_content"]} + +[{data["anecdote_2_author"]}]({data["anecdote_2_url"]}) +> {data["anecdote_2_content"]} + +[{data["anecdote_3_author"]}]({data["anecdote_3_url"]}) +> {data["anecdote_3_content"]} + +--- + +''' + +conclusion = f'''Original source: https://github.com/continuedev/continue/tree/main/docs/docs/languages/{language.lower()}.md + +Data for all languages I've looked into so far: https://github.com/continuedev/continue/tree/main/docs/docs/languages/languages.csv +''' + +content = introduction + stack_overflow + benchmarks + multiple + babel + mbxp + humaneval_x + datasets + stack + codeparrot + alphacode + codegen + polycoder + presence + anecdotes + conclusion + +with open(f'{language.lower()}.md', 'w') as f: + f.write(content) \ No newline at end of file diff --git a/docs/docs/languages/groovy.md b/docs/docs/languages/groovy.md new file mode 100644 index 000000000..3f1635242 --- /dev/null +++ b/docs/docs/languages/groovy.md @@ -0,0 +1,48 @@ +# Groovy + +Groovy is the #26 most popular language according to the [2023 Stack Overflow Developer Survey](https://survey.stackoverflow.co/2023/#section-most-popular-technologies-programming-scripting-and-markup-languages). + +## Benchmarks + +❌ Groovy is not one of the 19 languages in the [MultiPL-E benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=couple%20notable%20mentions-,4.%20MultiPL%2DE,-Creator%3A%20Northeastern) + +❌ Groovy is not one of the 16 languages in the [BabelCode / TP3 benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=amazon%2Dscience/mxeval-,12.%20BabelCode%20/%20TP3,-Creator%3A%20Google) + +❌ Groovy is not one of the 13 languages in the [MBXP / Multilingual HumanEval benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=11.%20MBXP%20/%20Multilingual%20HumanEval) + +❌ Groovy is not one of the 5 languages in the [HumanEval-X benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=Some%20multilingual%C2%A0benchmarks-,10.%20HumanEval%2DX,-Creator%3A%20Tsinghua) + +## Datasets + +✅ Groovy is included in [The Stack dataset](https://arxiv.org/abs/2211.15533) + +❌ Groovy is not included in the [CodeParrot dataset](https://huggingface.co/datasets/codeparrot/github-code) + +❌ Groovy is not included in the [AlphaCode dataset](https://arxiv.org/abs/2203.07814) + +❌ Groovy is not included in the [CodeGen dataset](https://arxiv.org/abs/2203.13474) + +❌ Groovy is not included in the [PolyCoder dataset](https://arxiv.org/abs/2202.13169) + +## Stack Overflow & GitHub presence + +Groovy has 30,014 [tagged questions on Stack Overflow](https://stackoverflow.com/tags) + +Groovy projects have had 132,381 [PRs on GitHub since 2014](https://madnight.github.io/githut/#/pull_requests/2023/3) + +Groovy projects have had 108,265 [issues on GitHub since 2014](https://madnight.github.io/githut/#/issues/2023/3) + +Groovy projects have had 431,291 [pushes on GitHub since 2014](https://madnight.github.io/githut/#/pushes/2023/3) + +Groovy projects have had 140,122 [stars on GitHub since 2014](https://madnight.github.io/githut/#/stars/2023/3) + +## Anecdotes from developers + +[Figaf](https://figaf.com/chatgpt-groovy-code-help-for-sap-cloud-integration/) +> And that it was possible to use the code created by the tool to generate some code that could be used to start your programming. This could save quite a bit of time for developers to use this as a starting point, and you don’t need to have a large experience to start coding in UDFs in Groovy. It is also interesting that it has much knowledge about what is going on in an SAP universe, I would have thought it was more difficult to get data about it. + +[u/West_Performance_129](https://www.reddit.com/r/groovy/comments/16kuh6s/comment/k1i0lqn/) +> Groovy is a great language with a ton of utility, and can scale like crazy! Write code as dynamic as you want, and choose to refactor into a more type-safe manner later. It's totally worth learning and having it in your toolkit. I program in it every day for many projects. All Java (99.9%) is also valid Groovy, so it's almost impossible not to understand and work with any Java code base you may come across once you get familiar with Groovy. ChatGPT and Github Co-pilot also write excellent Groovy code, which can aid you in learning, and just programming with it in general. It's still actively maintained, too! It's not going away an time soon. + +[Jamon Holmgren](https://shift.infinite.red/getting-the-most-from-github-copilot-8f7b32014748) +> When I was building react-native-colo-loco, I had to write a Gradle script, which is written in Groovy. I know a little Groovy, but not much. So I focused on writing precise, accurate comments, and let Copilot suggest lines of code. I could then lean on my development experience to pick up on patterns and syntax, and go from there. \ No newline at end of file diff --git a/docs/docs/languages/haskell.md b/docs/docs/languages/haskell.md new file mode 100644 index 000000000..5f98d0d64 --- /dev/null +++ b/docs/docs/languages/haskell.md @@ -0,0 +1,48 @@ +# Haskell + +Haskell is the #32 most popular language according to the [2023 Stack Overflow Developer Survey](https://survey.stackoverflow.co/2023/#section-most-popular-technologies-programming-scripting-and-markup-languages). + +## Benchmarks + +❌ Haskell is not one of the 19 languages in the [MultiPL-E benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=couple%20notable%20mentions-,4.%20MultiPL%2DE,-Creator%3A%20Northeastern) + +✅ Haskell is one of the 16 languages in the [BabelCode / TP3 benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=amazon%2Dscience/mxeval-,12.%20BabelCode%20/%20TP3,-Creator%3A%20Google) + +❌ Haskell is not one of the 13 languages in the [MBXP / Multilingual HumanEval benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=11.%20MBXP%20/%20Multilingual%20HumanEval) + +❌ Haskell is not one of the 5 languages in the [HumanEval-X benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=Some%20multilingual%C2%A0benchmarks-,10.%20HumanEval%2DX,-Creator%3A%20Tsinghua) + +## Datasets + +✅ Haskell makes up 6.95 GB of [The Stack dataset](https://arxiv.org/abs/2211.15533) + +✅ Haskell makes up 1.85 GB of the [CodeParrot dataset](https://huggingface.co/datasets/codeparrot/github-code) + +❌ Haskell is not included in the [AlphaCode dataset](https://arxiv.org/abs/2203.07814) + +❌ Haskell is not included in the [CodeGen dataset](https://arxiv.org/abs/2203.13474) + +❌ Haskell is not included in the [PolyCoder dataset](https://arxiv.org/abs/2202.13169) + +## Stack Overflow & GitHub presence + +Haskell has 50,979 [tagged questions on Stack Overflow](https://stackoverflow.com/tags) + +Haskell projects have had 106,539 [PRs on GitHub since 2014](https://madnight.github.io/githut/#/pull_requests/2023/3) + +Haskell projects have had 146,857 [issues on GitHub since 2014](https://madnight.github.io/githut/#/issues/2023/3) + +Haskell projects have had 646,012 [pushes on GitHub since 2014](https://madnight.github.io/githut/#/pushes/2023/3) + +Haskell projects have had 306,235 [stars on GitHub since 2014](https://madnight.github.io/githut/#/stars/2023/3) + +## Anecdotes from developers + +[u/lgastako](https://www.reddit.com/r/haskell/comments/zede58/comment/iz68s9c/?utm_source=share&utm_medium=web2x&context=3) +> I've been generating a ton of Haskell code with it and it's been fantastic. I have a driver for content addressable storage in my side project, it's pretty simple, but it still took me a few hours each to implement local filesystem and MinIO drivers with tests and ChatGPT did the bulk of the work for Redis and LevelDB implementations in minutes. I've also found it much easier to work with on Haskell code than on python or JS. Obviously some of this is the usual reasons why I would find Haskell code easier to deal with than dynamic languages but I think that the effect is amplified with ChatGPT because the "if it compiles it works" affect gives me much more confidence that what it generated isn't missing anything important than with the other languages, so I can move much faster. + +[u/qqwy](https://www.reddit.com/r/haskell/comments/16o5u8e/comment/k1jc68v/?utm_source=share&utm_medium=web2x&context=3) +> Personally, I've been using Copilot mostly in Ruby (work...) and Haskell, and it is much better at predicting Haskell code. I think it's because Haskell has so much context (type signatures, purity, only imported modules are in scope) which greatly restrict what you can do in a particular function and thus Copilot's suggestions seem to be much more often in line with what I wanted to write. + +[Chris Smith](https://cdsmithus.medium.com/pair-programming-with-chatgpt-haskell-1c4490b71da6) +> Here, I present the (lightly edited) story of using ChatGPT conversationally to solve a non-trivial problem in Haskell. It definitely gets some things wrong, and it’s still unclear whether co-developing this with ChatGPT made anything easier than it would have been otherwise. But in any case, it was definitely a different and less lonely experience than just programming on my own. \ No newline at end of file diff --git a/docs/docs/languages/julia.md b/docs/docs/languages/julia.md new file mode 100644 index 000000000..b7c38a32a --- /dev/null +++ b/docs/docs/languages/julia.md @@ -0,0 +1,48 @@ +# Julia + +Julia is the #37 most popular language according to the [2023 Stack Overflow Developer Survey](https://survey.stackoverflow.co/2023/#section-most-popular-technologies-programming-scripting-and-markup-languages). + +## Benchmarks + +✅ Julia is one of the 19 languages in the [MultiPL-E benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=couple%20notable%20mentions-,4.%20MultiPL%2DE,-Creator%3A%20Northeastern) + +✅ Julia is one of the 16 languages in the [BabelCode / TP3 benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=amazon%2Dscience/mxeval-,12.%20BabelCode%20/%20TP3,-Creator%3A%20Google) + +❌ Julia is not one of the 13 languages in the [MBXP / Multilingual HumanEval benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=11.%20MBXP%20/%20Multilingual%20HumanEval) + +❌ Julia is not one of the 5 languages in the [HumanEval-X benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=Some%20multilingual%C2%A0benchmarks-,10.%20HumanEval%2DX,-Creator%3A%20Tsinghua) + +## Datasets + +✅ Julia makes up 3.09 GB of [The Stack dataset](https://arxiv.org/abs/2211.15533) + +✅ Julia makes up 0.29 GB of the [CodeParrot dataset](https://huggingface.co/datasets/codeparrot/github-code) + +❌ Julia is not included in the [AlphaCode dataset](https://arxiv.org/abs/2203.07814) + +❌ Julia is not included in the [CodeGen dataset](https://arxiv.org/abs/2203.13474) + +❌ Julia is not included in the [PolyCoder dataset](https://arxiv.org/abs/2202.13169) + +## Stack Overflow & GitHub presence + +Julia has 12,402 [tagged questions on Stack Overflow](https://stackoverflow.com/tags) + +Julia projects have had 39,305 [PRs on GitHub since 2014](https://madnight.github.io/githut/#/pull_requests/2023/3) + +Julia projects have had 51,276 [issues on GitHub since 2014](https://madnight.github.io/githut/#/issues/2023/3) + +Julia projects have had 166,898 [pushes on GitHub since 2014](https://madnight.github.io/githut/#/pushes/2023/3) + +Julia projects have had 52,326 [stars on GitHub since 2014](https://madnight.github.io/githut/#/stars/2023/3) + +## Anecdotes from developers + +[u/LoganKilpatrick1](https://www.reddit.com/r/Julia/comments/zzvkso/comment/j2i6knx/) +> I usually start my own articles with ChatGPT but the truth is that right now, if you want to say something interesting in the Julia space, you mostly need to write it yourself since the volume of content about Julia out there isn’t enough for the outputs of ChatGPT to be very useful since our ecosystem is so small. + +[u/Kichae](https://www.reddit.com/r/Julia/comments/112wlle/comment/j8mpgx5/) +> It wasn't trained on sufficient Julia code. As with any machine learning model, ChatGPT is only able to regurgitate what's been fed into it. Also, this behaviour happens with basically every other topic, too. LLMs work by trying to predict what the next word in a sentence would be based on the previous string of words. If a sentence is incomplete, it's going to add a next word. That word is going to be whichever has the highest confidence score, regardless of low that score may actually be. This results in it just making shit up, but often shit that sounds plausible. We've seen CGPT invent academic articles, books, and even entire people because it makes sense to in the sentence it's generating.` + +[u/Paravalis](https://www.reddit.com/r/Julia/comments/112wlle/comment/j8qzc0j/) +> I suspect the current language model behind ChatGPT was fed with a lot of code examples from Stack Exchange, but the Julia community mainly uses Discourse instead, which probably wasn't in the training set: https://discourse.julialang.org/ \ No newline at end of file diff --git a/docs/docs/languages/kotlin.md b/docs/docs/languages/kotlin.md new file mode 100644 index 000000000..df362fe98 --- /dev/null +++ b/docs/docs/languages/kotlin.md @@ -0,0 +1,48 @@ +# Kotlin + +Kotlin is the #16 most popular language according to the [2023 Stack Overflow Developer Survey](https://survey.stackoverflow.co/2023/#section-most-popular-technologies-programming-scripting-and-markup-languages). + +## Benchmarks + +❌ Kotlin is not one of the 19 languages in the [MultiPL-E benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=couple%20notable%20mentions-,4.%20MultiPL%2DE,-Creator%3A%20Northeastern) + +❌ Kotlin is not one of the 16 languages in the [BabelCode / TP3 benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=amazon%2Dscience/mxeval-,12.%20BabelCode%20/%20TP3,-Creator%3A%20Google) + +✅ Kotlin is one of the 13 languages in the [MBXP / Multilingual HumanEval benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=11.%20MBXP%20/%20Multilingual%20HumanEval) + +❌ Kotlin is not one of the 5 languages in the [HumanEval-X benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=Some%20multilingual%C2%A0benchmarks-,10.%20HumanEval%2DX,-Creator%3A%20Tsinghua) + +## Datasets + +✅ Kotlin is included in [The Stack dataset](https://arxiv.org/abs/2211.15533) + +❌ Kotlin is not included in the [CodeParrot dataset](https://huggingface.co/datasets/codeparrot/github-code) + +❌ Kotlin is not included in the [AlphaCode dataset](https://arxiv.org/abs/2203.07814) + +❌ Kotlin is not included in the [CodeGen dataset](https://arxiv.org/abs/2203.13474) + +❌ Kotlin is not included in the [PolyCoder dataset](https://arxiv.org/abs/2202.13169) + +## Stack Overflow & GitHub presence + +Kotlin has 92,664 [tagged questions on Stack Overflow](https://stackoverflow.com/tags) + +Kotlin projects have had 346,824 [PRs on GitHub since 2014](https://madnight.github.io/githut/#/pull_requests/2023/3) + +Kotlin projects have had 174,810 [issues on GitHub since 2014](https://madnight.github.io/githut/#/issues/2023/3) + +Kotlin projects have had 816,744 [pushes on GitHub since 2014](https://madnight.github.io/githut/#/pushes/2023/3) + +Kotlin projects have had 545,403 [stars on GitHub since 2014](https://madnight.github.io/githut/#/stars/2023/3) + +## Anecdotes from developers + +[u/Feztopia](https://www.reddit.com/r/Kotlin/comments/zo6jpo/comment/j0lv16b/?utm_source=share&utm_medium=web2x&context=3) +> chatgpt doesn't know that Kotlin can use java libraries, which makes sense since it knows nothing. Chatgpt doesn't know that you target older Android versions with new languages. The reason why there are more java programs for old reasons is just historical and doesn't benefit java in any way. But chatgpt will never understand this since it can't understand anything. Here chatgpt is correct. It's amazing how it can produce a correct answer without having any idea what it's doing. + +[u/duongdominhchau](https://www.reddit.com/r/Kotlin/comments/10tzne0/comment/j79pkls/?utm_source=share&utm_medium=web2x&context=3) +> If you want solid foundation, don't. ChatGPT is known for inventing things and confidently state it as if that's true, if you don't have knowledge to judge its output, you can't fully trust the answer. + +[u/LoveSpiritual](https://www.reddit.com/r/Kotlin/comments/14bpuym/comment/jokay83/?utm_source=share&utm_medium=web2x&context=3) +> Not mentioned yet, but I really believe ChatGPT and Copilot (and whatever is coming down the pike) really reduces the “learning a new language” hump for EVERY language, and definitely for Kotlin. Asking it to do idiomatic Kotlin usually produces quite good results, and asking it how to do a Java thing best in Kotlin definitely does well also. So every new Java developer will be adept at Kotlin even faster than before. \ No newline at end of file diff --git a/docs/docs/languages/languages.csv b/docs/docs/languages/languages.csv new file mode 100644 index 000000000..0563d2983 --- /dev/null +++ b/docs/docs/languages/languages.csv @@ -0,0 +1,24 @@ +language,multiple,babel,mbxp,humaneval_x,so_2023_language_percent,so_2023_language_rank,so_tags,github_prs,github_pushes,github_issues,github_stars,stack_gb,codeparrot_gb,alphacode_gb,codegen_gb,polycoder_gb,subreddit_members,subreddit_url,anecdote_1_content,anecdote_1_author,anecdote_1_url,anecdote_2_content,anecdote_2_author,anecdote_2_url,anecdote_3_content,anecdote_3_author,anecdote_3_url +Erlang,N/A,N/A,N/A,N/A,0.99%,38,"9,621","70,890","249,209","49,786","127,120",Unspecified,0,0,0,0,9.5k,https://www.reddit.com/r/erlang,It seems like ChatGPT doesn't know that much Erlang.,u/Ranugad,https://www.reddit.com/r/erlang/comments/11kl57z/comment/jbbw94t,"I recently asked ChatGPT to translate some Erlang code into Elixir. Here’s an edited transcript, for your amusement and edification…",Rich_Morin,https://elixirforum.com/t/asking-chatgpt-to-translate-erlang-to-elixir/53548,I don’t think anything automated is going to work well. ChatGPT might be interesting but you’ll almost certainly have to fix it up quite a bit. https://learnxinyminutes.com/docs/erlang/ gives a quick rundown on erlang syntax/semantics and https://learnyousomeerlang.com/ is a good book on it,u/boy-griv,https://www.reddit.com/r/AskProgramming/comments/10tave8/comment/j78bvj5 +Julia,✅,✅,N/A,N/A,1.15%,37,"12,402","39,305","166,898","51,276","52,326",3.09,0.29,0,0,0,23.9k,https://reddit.com/r/julia,"I usually start my own articles with ChatGPT but the truth is that right now, if you want to say something interesting in the Julia space, you mostly need to write it yourself since the volume of content about Julia out there isn’t enough for the outputs of ChatGPT to be very useful since our ecosystem is so small.",u/LoganKilpatrick1,https://www.reddit.com/r/Julia/comments/zzvkso/comment/j2i6knx/,"It wasn't trained on sufficient Julia code. As with any machine learning model, ChatGPT is only able to regurgitate what's been fed into it. Also, this behaviour happens with basically every other topic, too. LLMs work by trying to predict what the next word in a sentence would be based on the previous string of words. If a sentence is incomplete, it's going to add a next word. That word is going to be whichever has the highest confidence score, regardless of low that score may actually be. This results in it just making shit up, but often shit that sounds plausible. We've seen CGPT invent academic articles, books, and even entire people because it makes sense to in the sentence it's generating.`",u/Kichae,https://www.reddit.com/r/Julia/comments/112wlle/comment/j8mpgx5/,"I suspect the current language model behind ChatGPT was fed with a lot of code examples from Stack Exchange, but the Julia community mainly uses Discourse instead, which probably wasn't in the training set: https://discourse.julialang.org/",u/Paravalis,https://www.reddit.com/r/Julia/comments/112wlle/comment/j8qzc0j/ +Clojure,N/A,N/A,N/A,N/A,1.26%,36,"17,630","112,757","518,359","84,128","272,970",Unspecified,0,0,0,0,31.5k,https://www.reddit.com/r/Clojure,"I've been using Copilot since December 2022. It sucks for Clojure but can be great for other languages like Python, JavaScript, SQL, etc. if you know how to prompt it. As other have mentioned, Copilot excels at reducing boilerplate and picking up on patterns. For example, lets say there is a table of data in a markdown document and you want to convert it to a vector of maps. You can copy/paste the markdown table into your buffer as a comment and just start writing the data structure you want it to be, Copilot will figure it out and complete it. Its also useful for generating random utility functions. Recently in JavaScript, I typed `function lerp` (linear interpolation) and it pretty quickly filled it in. I had an array of hex color values that I wanted to be RGB and I wanted to double the number of values by interpolating between them. All I had to do was type that in a comment and wait a second before it gave me a working rough draft of the function. Copilot can actually do a lot of these things for Clojure but when I was trying to use it I found myself consistently having to fix issues with delimiters, typically round braces. Eventually, I just gave up on it. Maybe I'll give it another shot when Copilot-X releases. ChatGPT is much more useful for Clojure than Copilot. It does hallucinate and get some things wrong but overall its awesome for generating documentation, explaining code, translating diffs into PR notes, and exploring ideas. I've found it very useful for random Java questions and then translating the answers into mostly working Clojure code. These things are handy tools and have quirks but they're going to get better. It's a great time to be a cosmopolitan (polyglot) programmer.",u/noprompt,https://www.reddit.com/r/Clojure/comments/148nhuj/comment/jo2z2n8,"No Clojure. No Julia. No Haskell. No Racket. No Scheme. No Common Lisp. No OCaml. And, as much as I despise Microsoft, No C#. No F#. No Swift. No Objective-C. No Perl. No Datalog. A glaringly lacking choice of languages.",waffletower,https://news.ycombinator.com/item?id=35803856,"FizzBuzz was once a common programming exercise used for screening software developers (maybe it still is?) I told chatGPT to ""Write an efficient fizz buzz function in Clojure"".",@EricTheTurner,https://x.com/EricTheTurner/status/1600344406166380544?s=20 +Solidity,N/A,N/A,N/A,N/A,1.33%,35,"6,669",0,0,0,350,0,0,0,0,0,17.0k,https://reddit.com/r/solidity,"ChatGPT is awful at smart contract, the data is years out of date, and it tend to override and make functions that are unnecessary. Even worse it overrides safe good functions for unsafe inefficient functions. Speaking of inefficiency it will seriously de-optimize optimized code, even when asked to gas optimize it.",u/Adrewmc,https://www.reddit.com/r/solidity/comments/142amjb/comment/jn48x8v/,"Despite the mixed results, ChatGPT, aka GPT-3.5, is a step forward in the direction of writing code with an AI assistant. I actually enjoyed doing these little experiments. However, compared to other experiments I did with JavaScript and other languages, a clear takeaway from my efforts is that when it comes to the Web3 space, GPT doesn’t yet have enough accuracy. In fairness, there is far less available Solidity and Web3-related JavaScript code in the wild than there is general-purpose JavaScript code. Plus, the web3 industry is constantly changing, which makes the problems of ChatGPT relying on an old dataset much worse. . On the positive side, generating an ABI from Solidity is something it did well, which shows it can learn from the available snippets the general rules to create something new.",Lorenzo Sicilia,https://outlierventures.io/article/can-chatgpt-really-be-trusted-to-write-a-smart-contract-or-to-refactor-your-existing-solidity-code/,Can someone please make an open coder model trained on Solidity,u/thatdudeiknew,https://www.reddit.com/r/LocalLLaMA/comments/14qednx/comment/jqmq2t5/?utm_source=share&utm_medium=web2x&context=3 +Lisp,N/A,N/A,N/A,N/A,1.53%,34,"6,945","8,431","73,903","12,870","47,157",Unspecified,0,0,0,0,37.7k,https://www.reddit.com/r/lisp,"Chat gpt is known to lie and be confident in its incorrectness. Also, try telling it to convert a program from lisp to python that uses advanced features like the condition system.",u/KaranasToll,https://www.reddit.com/r/lisp/comments/138aovs/comment/jixfrkr/,"How do you think the advent of ChatGPT and Copilot would affect the adoption and popularity of Common Lisp, Clojure and Schemes? On one hand, Large Language Models did not have access to these ""niche"" languages for training as much as the more popular alternatives like Python and Typescript so the quality of their output would be worse in comparison. On the other hand, the ""interactive"" aspect of LISP in that you code stuff, test in REPL and code again would not be so unique since the developer can just use the chat system to refine his solution. The other upside that LISPs had over the likes of Rust and C++ is the lack of syntax clutter and cleanness of s-expressions. In this front too, they would hurt from the likes of ChatGPT since the syntactic complexity is handled by the LLM not the developer.",u/friedrichRiemann,https://www.reddit.com/r/lisp/comments/11lwwv1/possible_effects_of_aiassisted_tools_on_lisps/?utm_source=share&utm_medium=web2x&context=3,"I'm an engineer working in the construction field, and I'm currently trying to create a Lisp routine for a project I'm working on. I've been trying to use GPT to generate the code, but I'm having some trouble getting it to work properly. I was wondering if anyone knows of a pre-trained GPT that has been specifically trained on Lisp code. I've been searching online, but I haven't had any luck so far. If anyone knows of a pre-trained GPT with Lisp, or has any tips for training my own GPT on Lisp code, I would really appreciate the help.",/u/Fine_Impression_3171,https://www.reddit.com/r/ChatGPT/comments/12o4k1n/looking_for_pretrained_gpt_with_lisp_autocad/ +GDScript,N/A,N/A,N/A,N/A,1.71%,33,906,561,"3,692","1,615","9,953",Unspecified,0,0,0,0,147k,https://www.reddit.com/r/godot/,"Irrational AI hatred aside, none afaik, godot 4 is too new. When trying to figure out some kinks in my code it kept giving me garbage mixed with outdated godot 3 code. Don't bother, it's faster to just do it yourself for now. It's kind of annoying because in my experience for beginner devs, AI can be a huge help in explaining why your code no worky and how to improve it. It allowed me to go much further in my C++ projects that I thought and saved a ton of time spent on research or debugging.",u/Merosian,https://www.reddit.com/r/godot/comments/17nv29g/comment/k7w2nrx/?utm_source=share&utm_medium=web2x&context=3,"I was playing with this yesterday and had some difficulty getting it to produce GDScript instead of Python. It insisted the Python code it generated was GDScript haha. Otherwise it made exactly what I wanted, just in the wrong language.",u/[deleted],https://www.reddit.com/r/godot/comments/zf6tve/comment/izaiw13/?utm_source=share&utm_medium=web2x&context=3,"You can: Fine-tune ChatGPT. If you're willing to pay, I might help setting it up at some point in the near future. Use a different model like Llama-2 (open-source) which has more recent data (which you can also fine-tune), or from companies like Anthropic/Claude etc. Look (and contribute?) to godot-dodo and Godot Copilot. Export the Godot docs to a PDF and use some plugin, I guess? Never tried it. Copy-paste the GDScript reference page, which will likely improve it's zero-shot predictions.",u/kmouratidis,https://www.reddit.com/r/godot/comments/16j7u9k/comment/k0odex1/?utm_source=share&utm_medium=web2x&context=3 +Haskell,N/A,✅,N/A,N/A,2.09%,32,"50,979","106,539","646,012","146,857","306,235",6.95,1.85,0,0,0,76.1k,https://www.reddit.com/r/haskell/,"I've been generating a ton of Haskell code with it and it's been fantastic. I have a driver for content addressable storage in my side project, it's pretty simple, but it still took me a few hours each to implement local filesystem and MinIO drivers with tests and ChatGPT did the bulk of the work for Redis and LevelDB implementations in minutes. I've also found it much easier to work with on Haskell code than on python or JS. Obviously some of this is the usual reasons why I would find Haskell code easier to deal with than dynamic languages but I think that the effect is amplified with ChatGPT because the ""if it compiles it works"" affect gives me much more confidence that what it generated isn't missing anything important than with the other languages, so I can move much faster.",u/lgastako,https://www.reddit.com/r/haskell/comments/zede58/comment/iz68s9c/?utm_source=share&utm_medium=web2x&context=3,"Personally, I've been using Copilot mostly in Ruby (work...) and Haskell, and it is much better at predicting Haskell code. I think it's because Haskell has so much context (type signatures, purity, only imported modules are in scope) which greatly restrict what you can do in a particular function and thus Copilot's suggestions seem to be much more often in line with what I wanted to write.",u/qqwy,https://www.reddit.com/r/haskell/comments/16o5u8e/comment/k1jc68v/?utm_source=share&utm_medium=web2x&context=3,"Here, I present the (lightly edited) story of using ChatGPT conversationally to solve a non-trivial problem in Haskell. It definitely gets some things wrong, and it’s still unclear whether co-developing this with ChatGPT made anything easier than it would have been otherwise. But in any case, it was definitely a different and less lonely experience than just programming on my own.",Chris Smith,https://cdsmithus.medium.com/pair-programming-with-chatgpt-haskell-1c4490b71da6 +Objective-C,N/A,N/A,N/A,N/A,2.31%,31,"292,409","263,146","1,172,307","397,275","3,003,177",Unspecified,0,0,0,0,7.0k,https://www.reddit.com/r/ObjectiveC/,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A +Elixir,N/A,N/A,N/A,N/A,2.32%,30,"9,510","113,018","255,430","65,166","210,145",Unspecified,0,0,0,0,27.1k,https://www.reddit.com/r/elixir/,"One day, I needed to implement a priority queue with amortized O(log n) decrease-key operation in Elixir, but I didn't know how, so I consulted Monica (which interfaces GPT-3, I think), and it gave me the code of a whole Elixir module that is absolutely wrong. It was a binary heap implemented using a single list as if it's a mutable array. Furthermore, it won't even compile! I tried to correct the ""mistake"" GPT made, so I told it more about Elixir, about immutability, about lists in Elixir. I even tried to ""inspire"" GPT to write other kinds of heaps, like binomial heap and pairing heap, but GPT is so stubborn (though very polite) that it keeps giving me almost the same code over and over again. At last I gave up on GPT and turned to StackOverflow, and just a few words enlightened me (FYI, it's two heaps, one for insertion, one for deletion, and when the top nodes in both heaps have the same key, cancel them out). My conclusion is: AI is useless in some domains when it doesn't have enough learning material in those domains.",u/a3th3rus,https://www.reddit.com/r/elixir/comments/16vrhr6/comment/k2xel5z/?utm_source=share&utm_medium=web2x&context=3,"Using ChatGPT when programming with Elixir can bring several advantages. One of the most significant advantages is that it can provide quick and accurate responses to various programming queries, including syntax and documentation. This can help programmers save time and improve their productivity. Additionally, ChatGPT can offer personalised and adaptive learning experiences based on individual programmers’ skill levels and preferences. This can help programmers learn Elixir more efficiently and effectively.",u/erlangsolutions,https://www.reddit.com/r/elixir/comments/13xeh8w/how_chatgpt_improved_my_elixir_code_some_hacks/,"The question is: how much boilerplate code do you really write? Elixir compared to other languages has little to none boilerplate, and for moments such as phoenix things, there are configurable generators. I wouldn’t want an AI incapable of problem solving to generate complex code for me, because as tempting as it seems, the productivity decreases a lot if we talk about refactoring generated code compared to creating your own new code.",D4no0,https://elixirforum.com/t/get-ai-code-generation-tools-to-create-correct-elixir-code-or-else/53931/2 +Perl,✅,N/A,✅,N/A,2.46%,29,"67,938","125,129","634,214","117,426","188,697",5.5,4.7,0,0,0,16.4k,https://www.reddit.com/r/perl/,"There are a few problems with this, and I noticed the exact same thing with the GitHub Copilot. It's barfing out examples it was trained on with no idea about what they do, whether they work, and if they are current. Transaction objects no longer have a success method. This was deprecated for a long time ago and finally removed in version 9. The error method returns a single value. Minor problem, but still cruft that shouldn't be there. Call json on the response to get the data structure rather than doing this yourself. Even then, using JSON directly, while fine, skips over the Mojo::JSON::decode_json. It's a bit of a pain in the butt, but work hard to use the same parser everywhere in an application since they tend to have slight differences (say, like how they represent null, true, or false). Somewhere along the line, ChatGPT saw this code or something very similar. It then returns it to you with no intelligence about what it is doing or what it should do. It's very likely that the source ChatGPT saw is not only old, but also unsophisticated. You're likely just cargo-culting off StackOverflow with extra steps. But, this also isn't the way you probably want to write code. You don't want to return the token really, You want to add that to the user-agent so it provides it in every request without additional code from you. I have plenty of examples in Mojo Web Clients. That's another problem with the source material for these sorts of things: it's training itself off public data, but often our examples are mere demonstrations of ideas rather than advice on reliable software engineering (since we aren't going to write a book for every question someone asks).",u/briandfoy,https://www.reddit.com/r/perl/comments/10j0k00/comment/j5ki948,"""Somewhere along the line, ChatGPT saw this code or something very similar. It then returns it to you with no intelligence about what it is doing or what it should do."" IMO, this is quite irrelevant, because you must understand that whatever output - be it code, poems or whatever - from an AI-assisted service is not perfect. The main point is: it helps. And that's its main selling point today, because that's how StackOverflow also works: sometimes it's perfect, but most of the times it just helps, maybe because you have addressed the wrong audience, didn't word your question/problem correctly or otherwise. With ChatGPT you get an instant reply, and you can ask it to refine its reply. Instantly. Rinse and repeat. So if it use StackOverflow data (which I assume it does) it's already better in the sense that it's instant and filters out noise, especially personal attacks, or otherwise replies that intimidates the person asking the questions. ""It then returns it to you with no intelligence about what it is doing or what it should do."" Let's be honest, we have all been there and/or we have had colleagues who fits that description. :)",u/nobono,https://www.reddit.com/r/perl/comments/10j0k00/comment/j5l9s1c/,"You mentioned being new to perl and programming. Personally, I think ChatGPT is a great resource for these types of question. I asked it your question and copied the function from csv2fasta.pl",u/its_a_gibibyte,https://www.reddit.com/r/perl/comments/14capfv/comment/jol2a4b +Scala,✅,N/A,✅,N/A,2.77%,28,"111,969","605,988","1,508,526","271,184","540,327",14.87,3.87,4.1,0,1.8,51.3k,https://www.reddit.com/r/scala/,"Today I decided to test it by asking how one would use Scala 3 macros to get the types of the inputs and outputs of a method. It had some decent suggestions to do that for someone that is new to macros, but a lot of its answer was false, suggesting people use something called QuotesContext, not recognizing properly what extension methods are available for the Symbol type, and worst of all, trying to splice Type values into an Expr. If they can manage to get chatgpt to actually tell the truth consistently (like saying ""I don't know how to do that"" rather than just lying) I think it will be a nice resource for discovering how to do stuff you don't currently know how to do. Sadly, it's still got a nasty habit of making stuff up.",u/markehammons,https://www.reddit.com/r/scala/comments/124ocqh/scala_and_chatgpt/,"Well...this is a very hold thread but I'm using the latest copilot for scala available today of this post. I mostly use the ZIO framework. I was skeptical at first but I'm finding the suggestions get smart quickly and it is generating a lot of code fragments pretty well. I'm not claiming I can live without it, but as of today, I'm thinking it works pretty well for my scenarios. I could easily see not wanting to code without in the near future. I think using a framework like ZIO makes it easier to generate code fragments because the ZIO framework has a fairly predictable surface area, but that's just a guess.",u/agilesteel,https://www.reddit.com/r/scala/comments/ovoc8n/github_copilot_for_scala_does_it_work/,I wanted to start a new Scala project based on Clean Architecture aka dependency inversion. So I asked for a basic example to demo the principles. There was a lot of pretty code but ultimately it had no idea what this was about. The code was bs.,u/k1v1uq,https://www.reddit.com/r/ChatGPTCoding/comments/zpunkt/comment/j25ftsr/?utm_source=share&utm_medium=web2x&context=3 +Delphi,N/A,N/A,N/A,N/A,3.23%,27,"51,475",310,552,0,0,0,0,0,0,0,3.8k,reddit.com/r/delphi,PSA: GitHub Copilot works with Delphi,u/EasywayScissors,https://www.reddit.com/r/delphi/comments/wnhk9x/psa_github_copilot_works_with_delphi/?utm_source=share&utm_medium=web2x&context=3,"As you can see, it is possible to use an AI for simple pieces of code to create basic Delphi code quickly. We can now go one step further and implement this in Delphi itself.",Marco Geuze,https://gdksoftware.com/knowledgebase/delphi-and-chatgpt,"I asked a series of Pascal programming questions to an AI chatbot system while testing its abilities, and the following page is a record of its responses.",u/sysrpl,https://www.reddit.com/r/delphi/comments/1006ybh/programming_pascal_using_an_ai_chatbot/?utm_source=share&utm_medium=web2x&context=3 +Groovy,N/A,N/A,N/A,N/A,3.40%,26,"30,014","132,381","431,291","108,265","140,122",Unspecified,0,0,0,0,3.0k,https://www.reddit.com/r/groovy/,"And that it was possible to use the code created by the tool to generate some code that could be used to start your programming. This could save quite a bit of time for developers to use this as a starting point, and you don’t need to have a large experience to start coding in UDFs in Groovy. It is also interesting that it has much knowledge about what is going on in an SAP universe, I would have thought it was more difficult to get data about it.",Figaf,https://figaf.com/chatgpt-groovy-code-help-for-sap-cloud-integration/,"Groovy is a great language with a ton of utility, and can scale like crazy! Write code as dynamic as you want, and choose to refactor into a more type-safe manner later. It's totally worth learning and having it in your toolkit. I program in it every day for many projects. All Java (99.9%) is also valid Groovy, so it's almost impossible not to understand and work with any Java code base you may come across once you get familiar with Groovy. ChatGPT and Github Co-pilot also write excellent Groovy code, which can aid you in learning, and just programming with it in general. It's still actively maintained, too! It's not going away an time soon.",u/West_Performance_129,https://www.reddit.com/r/groovy/comments/16kuh6s/comment/k1i0lqn/,"When I was building react-native-colo-loco, I had to write a Gradle script, which is written in Groovy. I know a little Groovy, but not much. So I focused on writing precise, accurate comments, and let Copilot suggest lines of code. I could then lean on my development experience to pick up on patterns and syntax, and go from there.",Jamon Holmgren,https://shift.infinite.red/getting-the-most-from-github-copilot-8f7b32014748 +VBA,N/A,N/A,N/A,N/A,3.55%,25,"212,313","22,482","77,915","17,439","19,273",2.73,1.91,0,0,0,52.3k,https://www.reddit.com/r/vba/,"It depends on how you use ChatGPT though. I started a VBA project using methods I had used in the past. When that didn’t work, I tried the Google approach, and still couldn’t do what I wanted. Then, I remembered that ChatGPT does code, and decided to give it a shot. Honestly, what it gave me was riddled with errors, but I went through error by error and forced the AI to come up with corrections. I would copy-past the code into the prompt and ask it to identify potential errors and explain how they could be fixed. I got a really intimate understanding of the code, the reasons for the errors, and the strategies for correcting them. Even then, the code was flawed and ultimately failed. But I was able to use some of what I picked up throughout the process to build my own foundation for the code that would eventually work and used the AI to help fill in the blanks. I got a lot out of the experience. It’s very important to ask very specific questions and to make sure that you understand the recommendations that it makes so you don’t get lost in later steps. I used Google to supplement some of the information the AI gave me to improve my understanding. I spent a lot of time with this thing, and I think we both came out of it just a little better at what we do.",u/imartnm,https://www.reddit.com/r/vba/comments/108zy8k/comment/j3zcukr/?utm_source=share&utm_medium=web2x&context=3,"I've tried using it for VBA/Power Query code, but it's spotty at the best of times. It sometimes will reference functions that don't exist, or will ignore the carefully worded instructions you give it. At its current state it's most useful as a glorified google /stackoverflow search. It can also be helpful while debugging or just to throw some suggestions your way. Writing out the basic structure of my module and asking for recommendations/alternatives to certain implementations is fun and has taught me some new tricks. So it's cool, but not really reliable. Don't let it write your code for you or you might risk spending more time fixing it than you would have just writing it. I'd say it's VBA capabilities are better than its grasp on PowerQuery (M) .",u/Confuciusz,https://www.reddit.com/r/vba/comments/108zy8k/comment/j3wn54u/?utm_source=share&utm_medium=web2x&context=3,"Lol I just made a comment on another similar post where OP said GPT was incredible for Excel 😂 But yeah, GPT is still awful for VBA or long formulas. I tried giving clear instructions for simple tasks that it couldn’t get right. It’s cool, but long way to go",u/E_Man91,https://www.reddit.com/r/vba/comments/123zuo6/comment/je3ixwy/?utm_source=share&utm_medium=web2x&context=3 +MATLAB,N/A,N/A,N/A,N/A,3.81%,24,"94,777","23,655","266,359","33,289","84,982",Unspecified,0,0,0,0,53.2k,reddit.com/r/matlab,"Yep, pretty much all the MATLAB code ChatGPT write for me worked. There was one instance whereby there was a multiplication that went away as it used * instead of .* To multiply two vectors. When I pointed that out, it corrected the code. In this case it was an order of operations issue and it correctly got it sorted by adjusting the parentheses. Pretty impressive so far.",u/worblyhead,https://www.reddit.com/r/matlab/comments/12fwjx5/comment/jficv03/?utm_source=share&utm_medium=web2x&context=3,"Yes, you can use Co-Pilot with Matlab code. However, it won't work with the usual MATLAB IDE, so you have to use one of the supported IDEs (e.g. VS Code or JetBrains).",u/Latter_Trouble_3227,https://www.reddit.com/r/matlab/comments/y07uop/comment/jbgoj6h/?utm_source=share&utm_medium=web2x&context=3,"Why would you think such a simple plot with callback on click would not work? Now I wonder if it made the callback zoom-safe. I was using update callbacks after only 8 months of college experience with Matlab. And yet, I can’t make chatGPT to give me the correct answer to a function inverse involving rational polynomials (at least the steps it got right, allowed me to remember how to do function inverses)",u/LevelHelicopter9420,https://www.reddit.com/r/matlab/comments/12fwjx5/comment/jfll3tu/?utm_source=share&utm_medium=web2x&context=3 +VB.NET,N/A,N/A,N/A,N/A,4.07%,23,"335,092","15,653","35,848","2,915",0,Unspecified,0,0,0,0,145k,https://www.reddit.com/r/dotnet/,"What I've seen from gpt and copilot is that it's a good junior and sparring partner, but it's no substitute for a senior. It lacks reasoning and analytical capabilities to be a true senior. For example, it can tell you the difference between mediator and nservicebus (dotnet environment), but it cannot explain which one you should use for the project you are working on.",u/KenBonny,https://www.reddit.com/r/dotnet/comments/16j8il5/comment/k0qjb6u/?utm_source=share&utm_medium=web2x&context=3,"I've been using it for a LOT of utility classes, regex expressions, and things like that. It's nowhere near replacing my job yet but it's saved me countless hours on some rather trivial but tedious tasks. Most recent today was a function that converts a string to camel case, worked perfectly right out of the gate. Yea I probably could have found the same function on google in 10 min, but I would have had to comb through ads, and useless posts on stack overflow, before I found one I knew would be performant. It's not laziness, the rest of my job is busy enough, I could have spent an hour or two figuring out the logic from scratch but simply put, this is a far more efficient use of my time.",u/Ch33kyMnk3y,https://www.reddit.com/r/dotnet/comments/10s8eld/comment/j704bu4/?utm_source=share&utm_medium=web2x&context=3,"Yeah, I just use the free version but I'll ask it to do something, it kinda does it, I ask, ""Is this part necessary?"" It then responds with oh you're right and redoes it but in a way that still has questions, like I wanted it to explain why it did something the way it did and it takes that as I'm saying it's not really needed. Then I ask it to explain the new changes and it reverts things to the way it did them before thinking I spotted an error in how it redid the code. 🤦‍♂️ I still think it's a nice option to springboard learning or get quick explanations of things with examples, but the more I've used it the less I'm convinced it'll be stealing my job anytime soon. What I actually fear more are engineers and/or middle managers who don't know any better trusting everything it suggests who then think this makes engineers less needed or useful.",u/ModernTenshi04,https://www.reddit.com/r/dotnet/comments/15od4zx/comment/jvr5vur/?utm_source=share&utm_medium=web2x&context=3 +R,✅,✅,N/A,N/A,4.23%,22,"499,872","51,800","506,309","88,649","91,654",Unspecified,0,0,0,0,36.8k,https://www.reddit.com/r/Rlanguage/,It's even helpful for example datasets. If you want to test or play around it will create a dataframe example. Also if you know one programming language it can help translate. It will even rewrite the code to look better. E.g. write this code in python pandas but make it more readable like r dplyr. Anything regex is nice as I don't have to hope a specific example is on stack overflow. Chat cpt from my experience will often favor going things with for loops instead of taking advantage of dplyr or pandas functions. With everything chat gpt tho check the code as it will confidently give you an answer and even print out a fake output. Often pointing out its error gets chatgpt to fix the code.,u/2truthsandalie,https://www.reddit.com/r/Rlanguage/comments/17q56xq/comment/k8b2phr/?utm_source=share&utm_medium=web2x&context=3,"I have found it hit and miss. I was able to knock up simple Shiny apps in a minute (https://youtu.be/8oJ1HtkpDt0) but have had it write non-sense code for some other things I was trying (especially webscraping). GPT Studio is pretty good (demo here https://youtu.be/QQfDTLExoNU) but has someone else mentioned, take a look at Github Copilot",u/DrLyndonWalker,https://www.reddit.com/r/Rlanguage/comments/17q56xq/comment/k8bi6nq/?utm_source=share&utm_medium=web2x&context=3,"I do it constantly, not only for debugging which it is spectacular at, but for especially tedious things like using ggplot. If you can think it, GPT-4 and the other specialized models can code it. The real key is to put thought into the question you want to answer with the code and then to very deliberately tell the GPT what to do. For example, “I have a data frame with x, y, z variables. Please write R code to perform a, b, c statistical analysis. Place the results into a variable called results.” And so on.",u/jrdubbleu,https://www.reddit.com/r/Rlanguage/comments/17q56xq/comment/k89wmhi/?utm_source=share&utm_medium=web2x&context=3 +Swift,✅,N/A,✅,N/A,4.65%,21,"331,145","425,921","1,334,455","325,962","2,731,776",Unspecified,0,0,0,0,107k,https://www.reddit.com/r/swift/,"Just a general tip: even though it's a bit out of date, chatgpt will answer these questions much faster and sometimes more accurately than Reddit can. I've pretty much replaced Google with chatgpt and my productivity is up and stress is down. For questions about the newest SwiftUI stuff try Google Bard. The LLMs aren't perfect. There's still a place for Reddit and stack overflow, but I'd check with an LLM first.",u/[deleted],https://www.reddit.com/r/swift/comments/174vuyo/comment/k4eayl9/?utm_source=share&utm_medium=web2x&context=3,"I've tried copilot with SwiftUI and it's good for auto generating some things like specific styles, but not so good for other parts. Sometimes it helps with unit tests,but others it gets stuck in a loop.",u/Zagerer,https://www.reddit.com/r/swift/comments/13929qe/comment/jj0pti9/,"Here is my journey coming from C++: Read through ""A Swift Tour"" and follow along in a Swift Playground. Many times, I feel, ""Huh, this part is so much better than C++."", or ""This is pretty much the same,"" I don't force myself to learn everything though, for example, I skipped protocol entirely. This process took me a few hours. As I dug into SwiftUI, I ran into syntax I didn't understand. Instead of looking up the official document, I just Google or ChatGPT it. When I start doing things in a C++ way that I always hate, I often pause and search if Swift does it better. Oftentimes times, Swift does do it better! Still, I carry some baggage from C++ and later notice if I had done it differently, I would have saved myself a lot of trouble (for example, really thinking about whether things can be null or not). Don't be afraid of re-writing; it is part of the process. Today, I am still learning; however, I started to catch myself speaking in C++ ""accent"" using Swift, and oftentimes, I can Google/ChatGPT my way out of it.",u/AppleHitMyHead,https://www.reddit.com/r/swift/comments/1724gke/comment/k481769/?utm_source=share&utm_medium=web2x&context=3 +Assembly,N/A,N/A,N/A,N/A,5.43%,20,"43,572","14,301","119,341","10,605","50,063",2.36,0.78,0,0,0,16.2k,https://www.reddit.com/r/asm,"Assembly isn't one language, it's a general term for any human-readable representation of a processor's ISA. There are many assembly languages, and there are even different representations of the same ISA. I'm not sure what your book you're using but there are operand order differences between AT&T and Intel x86 (although your example looks like AT&T). You shouldn't be using ChatGPT for any subject you aren't already familiar with though, or you won't be able to recognize when it's hallucinating, or even when it's simply lacking context. Just use a normal, reputable resource like the book you're following. I recommend checking out this wikibook for free online: https://en.wikibooks.org/wiki/X86_Assembly",u/the_Demongod,https://www.reddit.com/r/asm/comments/14q5qi8/comment/jqlmfvn/?utm_source=share&utm_medium=web2x&context=3,"ChatGPT makes a good attempt, but it doesn't actually understand code — ESPECIALLY assembly language, where each instruction exists in a lot of context — and will usually have some kind of bugs in anything it writes.",u/brucehoult,https://www.reddit.com/r/asm/comments/14q5qi8/comment/jqp8rig/,"Idk why all the chatGPT comments are all downvoted, guys it is inevitable that it is going to be a standard part of our lives now. The sooner students start using it the sooner people will realize its limitations. It is a great learning tool and I use it when learning a new subject.",u/dvof,https://www.reddit.com/r/asm/comments/105vl0v/comment/j3hn8xp/?utm_source=share&utm_medium=web2x&context=3 +Dart,N/A,✅,N/A,N/A,6.02%,19,"91,732","171,518","230,340","241,706","264,888",Unspecified,0,0,0,0,39.8k,reddit.com/r/dartlang,"The amazing thing about LLMs like ChatGPT is that they develop a kind of ""language sense"" and ""know"" how to stick together the right tokens to achieve a certain goal. They don't ""understand"" Dart - or any other programming language. They just emit tokens that I probably want to see :) Also, we cannot fully comprehend the amount of data that has been processed. Billions and billions of lines of code in dozens if not hundreds of languages.",u/eibaan,https://www.reddit.com/r/dartlang/comments/142fbkc/comment/jnoc1ph/?utm_source=share&utm_medium=web2x&context=3,"Please note that ChatGPT is not sure about anything. It communicates that it knows what it says is true, but it's known to make up facts. Luckily the answer to your question is in the Dart docs. Alternatively StackOverflow has a sensible answer: https://stackoverflow.com/questions/57936263/dart-set-from-vs-set-of",u/Rusty-Swashplate,https://www.reddit.com/r/dartlang/comments/10yiu7d/comment/j7yflw0/?utm_source=share&utm_medium=web2x&context=3,antastic recommendations. I actually did have ChatGPT help me override toString for a ton of these classes nested within classes in this giant object I'm trying to print so I can mock. Didn't think to tweak the toString method like that. Not sure I understand your quoted getter though with the slashes. I'll play around with it Monday though.,u/john2046,https://www.reddit.com/r/dartlang/comments/1390c2j/comment/jj0spnc/?utm_source=share&utm_medium=web2x&context=3 +Lua,✅,✅,N/A,N/A,6.09%,18,"22,413","139,939","717,566","166,471","366,575",6.58,2.81,2.9,0,0,19.0k,https://www.reddit.com/r/lua/,"First of all, don't use ChatGPT if you want to learn Lua. Refer to the well-written resources such as the ""Programming in Lua"" book instead.",u/appgurueu,https://www.reddit.com/r/lua/comments/11dkwdl/comment/jacqn3z/?utm_source=share&utm_medium=web2x&context=3,Ask chatGPT to convert java / concepts into language to Lua... works surprisingly well,u/gluecat,https://www.reddit.com/r/lua/comments/12wj39f/comment/jhhg8qi/?utm_source=share&utm_medium=web2x&context=3,"Do you not find Copilot frustrating? I cannot stand it, it's the worst thing for me. Whenever I've actually needed help with something, it's either: Gave me absolute garbage code. Missed the point entirely. Maybe I'm just bad at giving it instructions, who knows 😅",u/VitexHD,https://www.reddit.com/r/lua/comments/13tfqs2/comment/jlytud8/ +Ruby,8,N/A,✅,N/A,6.23%,17,"228,663","2,482,982","5,645,881","1,204,510","2,905,832",23.82,10.95,11.6,0,4.1,81.5k,https://www.reddit.com/r/ruby/,"Note that the failure mode for ChatGPT is that it will gaslight and lie to you. If you don't give it enough context, or the method names are ambiguous, there's a potential for it to make up explanations that sound plausible, but are dangerously incorrect. I'd advise talking to your team about the things that confuse you germane to your codebase, and only using ChatGPT for general Ruby content.",u/throwaway-aso2fb,https://www.reddit.com/r/ruby/comments/16y3bxq/comment/k36os5n/?utm_source=share&utm_medium=web2x&context=3,"Not using copilot for the controversy around it stealing source code. Manager gave me a license however to use tabnine at the moment. In...basic scaffolding code it helps me speed up a bit by generating the blocks for example to write specs quickly, providing about 75% of the structure needed to get the spec fleshed out, e.g faster let declarations and do blocks. But for writing actual code I'm fighting it more than its helping me, since it simply doesn't understand what I am trying to write. Documentation is....hit&miss depending on whether it gets the meaning behind the variable names.",u/OlivarTheLagomorph,https://www.reddit.com/r/ruby/comments/zq847a/comment/j0yy2y8/?utm_source=share&utm_medium=web2x&context=3,"I use Github copilot (which uses openai's codex) and occasionally throw some questions to ChatGPT. Currently I use it for Ruby and Kotlin. I committed to Copilot after trying it for five minutes. Total game changer. Time spent doing grunt work, writing repetitive tests etc, has dropped by 90% and I'm left with a lot more time to implement elegant solutions rather than throwing in quick fixes to meet tight deadlines. Sometimes it almost seems like it can read my mind. You still need to have the experience and expertise to ensure it hasn't missed the point - it doesn't always have the full context of the problems you're working on - but I would wholeheartedly recommend it to any developer as a way to increase productivity.",u/onionionion,https://www.reddit.com/r/ruby/comments/11usmxs/comment/jcqdd8q/?utm_source=share&utm_medium=web2x&context=3 +Kotlin,N/A,N/A,✅,N/A,9.06%,16,"92,664","346,824","816,744","174,810","545,403",Unspecified,0,0,0,0,,reddit.com/r/kotlin,"chatgpt doesn't know that Kotlin can use java libraries, which makes sense since it knows nothing. Chatgpt doesn't know that you target older Android versions with new languages. The reason why there are more java programs for old reasons is just historical and doesn't benefit java in any way. But chatgpt will never understand this since it can't understand anything. Here chatgpt is correct. It's amazing how it can produce a correct answer without having any idea what it's doing.",u/Feztopia,https://www.reddit.com/r/Kotlin/comments/zo6jpo/comment/j0lv16b/?utm_source=share&utm_medium=web2x&context=3,"If you want solid foundation, don't. ChatGPT is known for inventing things and confidently state it as if that's true, if you don't have knowledge to judge its output, you can't fully trust the answer.",u/duongdominhchau,https://www.reddit.com/r/Kotlin/comments/10tzne0/comment/j79pkls/?utm_source=share&utm_medium=web2x&context=3,"Not mentioned yet, but I really believe ChatGPT and Copilot (and whatever is coming down the pike) really reduces the “learning a new language” hump for EVERY language, and definitely for Kotlin. Asking it to do idiomatic Kotlin usually produces quite good results, and asking it how to do a Java thing best in Kotlin definitely does well also. So every new Java developer will be adept at Kotlin even faster than before.",u/LoveSpiritual,https://www.reddit.com/r/Kotlin/comments/14bpuym/comment/jokay83/?utm_source=share&utm_medium=web2x&context=3 \ No newline at end of file diff --git a/docs/docs/languages/lisp.md b/docs/docs/languages/lisp.md new file mode 100644 index 000000000..7e1ab9a74 --- /dev/null +++ b/docs/docs/languages/lisp.md @@ -0,0 +1,48 @@ +# Lisp + +Lisp is the #34 most popular language according to the [2023 Stack Overflow Developer Survey](https://survey.stackoverflow.co/2023/#section-most-popular-technologies-programming-scripting-and-markup-languages). + +## Benchmarks + +❌ Lisp is not one of the 19 languages in the [MultiPL-E benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=couple%20notable%20mentions-,4.%20MultiPL%2DE,-Creator%3A%20Northeastern) + +❌ Lisp is not one of the 16 languages in the [BabelCode / TP3 benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=amazon%2Dscience/mxeval-,12.%20BabelCode%20/%20TP3,-Creator%3A%20Google) + +❌ Lisp is not one of the 13 languages in the [MBXP / Multilingual HumanEval benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=11.%20MBXP%20/%20Multilingual%20HumanEval) + +❌ Lisp is not one of the 5 languages in the [HumanEval-X benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=Some%20multilingual%C2%A0benchmarks-,10.%20HumanEval%2DX,-Creator%3A%20Tsinghua) + +## Datasets + +✅ Lisp is included in [The Stack dataset](https://arxiv.org/abs/2211.15533) + +❌ Lisp is not included in the [CodeParrot dataset](https://huggingface.co/datasets/codeparrot/github-code) + +❌ Lisp is not included in the [AlphaCode dataset](https://arxiv.org/abs/2203.07814) + +❌ Lisp is not included in the [CodeGen dataset](https://arxiv.org/abs/2203.13474) + +❌ Lisp is not included in the [PolyCoder dataset](https://arxiv.org/abs/2202.13169) + +## Stack Overflow & GitHub presence + +Lisp has 6,945 [tagged questions on Stack Overflow](https://stackoverflow.com/tags) + +Lisp projects have had 8,431 [PRs on GitHub since 2014](https://madnight.github.io/githut/#/pull_requests/2023/3) + +Lisp projects have had 12,870 [issues on GitHub since 2014](https://madnight.github.io/githut/#/issues/2023/3) + +Lisp projects have had 73,903 [pushes on GitHub since 2014](https://madnight.github.io/githut/#/pushes/2023/3) + +Lisp projects have had 47,157 [stars on GitHub since 2014](https://madnight.github.io/githut/#/stars/2023/3) + +## Anecdotes from developers + +[u/KaranasToll](https://www.reddit.com/r/lisp/comments/138aovs/comment/jixfrkr/) +> Chat gpt is known to lie and be confident in its incorrectness. Also, try telling it to convert a program from lisp to python that uses advanced features like the condition system. + +[u/friedrichRiemann](https://www.reddit.com/r/lisp/comments/11lwwv1/possible_effects_of_aiassisted_tools_on_lisps/?utm_source=share&utm_medium=web2x&context=3) +> How do you think the advent of ChatGPT and Copilot would affect the adoption and popularity of Common Lisp, Clojure and Schemes? On one hand, Large Language Models did not have access to these "niche" languages for training as much as the more popular alternatives like Python and Typescript so the quality of their output would be worse in comparison. On the other hand, the "interactive" aspect of LISP in that you code stuff, test in REPL and code again would not be so unique since the developer can just use the chat system to refine his solution. The other upside that LISPs had over the likes of Rust and C++ is the lack of syntax clutter and cleanness of s-expressions. In this front too, they would hurt from the likes of ChatGPT since the syntactic complexity is handled by the LLM not the developer. + +[/u/Fine_Impression_3171](https://www.reddit.com/r/ChatGPT/comments/12o4k1n/looking_for_pretrained_gpt_with_lisp_autocad/) +> I'm an engineer working in the construction field, and I'm currently trying to create a Lisp routine for a project I'm working on. I've been trying to use GPT to generate the code, but I'm having some trouble getting it to work properly. I was wondering if anyone knows of a pre-trained GPT that has been specifically trained on Lisp code. I've been searching online, but I haven't had any luck so far. If anyone knows of a pre-trained GPT with Lisp, or has any tips for training my own GPT on Lisp code, I would really appreciate the help. \ No newline at end of file diff --git a/docs/docs/languages/lua.md b/docs/docs/languages/lua.md new file mode 100644 index 000000000..d6c42f6ae --- /dev/null +++ b/docs/docs/languages/lua.md @@ -0,0 +1,48 @@ +# Lua + +Lua is the #18 most popular language according to the [2023 Stack Overflow Developer Survey](https://survey.stackoverflow.co/2023/#section-most-popular-technologies-programming-scripting-and-markup-languages). + +## Benchmarks + +✅ Lua is one of the 19 languages in the [MultiPL-E benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=couple%20notable%20mentions-,4.%20MultiPL%2DE,-Creator%3A%20Northeastern) + +✅ Lua is one of the 16 languages in the [BabelCode / TP3 benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=amazon%2Dscience/mxeval-,12.%20BabelCode%20/%20TP3,-Creator%3A%20Google) + +❌ Lua is not one of the 13 languages in the [MBXP / Multilingual HumanEval benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=11.%20MBXP%20/%20Multilingual%20HumanEval) + +❌ Lua is not one of the 5 languages in the [HumanEval-X benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=Some%20multilingual%C2%A0benchmarks-,10.%20HumanEval%2DX,-Creator%3A%20Tsinghua) + +## Datasets + +✅ Lua makes up 6.58 GB of [The Stack dataset](https://arxiv.org/abs/2211.15533) + +✅ Lua makes up 2.81 GB of the [CodeParrot dataset](https://huggingface.co/datasets/codeparrot/github-code) + +✅ Lua makes up 2.9 GB of the [AlphaCode dataset](https://arxiv.org/abs/2203.07814) + +❌ Lua is not included in the [CodeGen dataset](https://arxiv.org/abs/2203.13474) + +❌ Lua is not included in the [PolyCoder dataset](https://arxiv.org/abs/2202.13169) + +## Stack Overflow & GitHub presence + +Lua has 22,413 [tagged questions on Stack Overflow](https://stackoverflow.com/tags) + +Lua projects have had 139,939 [PRs on GitHub since 2014](https://madnight.github.io/githut/#/pull_requests/2023/3) + +Lua projects have had 166,471 [issues on GitHub since 2014](https://madnight.github.io/githut/#/issues/2023/3) + +Lua projects have had 717,566 [pushes on GitHub since 2014](https://madnight.github.io/githut/#/pushes/2023/3) + +Lua projects have had 366,575 [stars on GitHub since 2014](https://madnight.github.io/githut/#/stars/2023/3) + +## Anecdotes from developers + +[u/appgurueu](https://www.reddit.com/r/lua/comments/11dkwdl/comment/jacqn3z/?utm_source=share&utm_medium=web2x&context=3) +> First of all, don't use ChatGPT if you want to learn Lua. Refer to the well-written resources such as the "Programming in Lua" book instead. + +[u/gluecat](https://www.reddit.com/r/lua/comments/12wj39f/comment/jhhg8qi/?utm_source=share&utm_medium=web2x&context=3) +> Ask chatGPT to convert java / concepts into language to Lua... works surprisingly well + +[u/VitexHD](https://www.reddit.com/r/lua/comments/13tfqs2/comment/jlytud8/) +> Do you not find Copilot frustrating? I cannot stand it, it's the worst thing for me. Whenever I've actually needed help with something, it's either: Gave me absolute garbage code. Missed the point entirely. Maybe I'm just bad at giving it instructions, who knows 😅 \ No newline at end of file diff --git a/docs/docs/languages/matlab.md b/docs/docs/languages/matlab.md new file mode 100644 index 000000000..aa00f6c3d --- /dev/null +++ b/docs/docs/languages/matlab.md @@ -0,0 +1,48 @@ +# MATLAB + +MATLAB is the #24 most popular language according to the [2023 Stack Overflow Developer Survey](https://survey.stackoverflow.co/2023/#section-most-popular-technologies-programming-scripting-and-markup-languages). + +## Benchmarks + +❌ MATLAB is not one of the 19 languages in the [MultiPL-E benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=couple%20notable%20mentions-,4.%20MultiPL%2DE,-Creator%3A%20Northeastern) + +❌ MATLAB is not one of the 16 languages in the [BabelCode / TP3 benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=amazon%2Dscience/mxeval-,12.%20BabelCode%20/%20TP3,-Creator%3A%20Google) + +❌ MATLAB is not one of the 13 languages in the [MBXP / Multilingual HumanEval benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=11.%20MBXP%20/%20Multilingual%20HumanEval) + +❌ MATLAB is not one of the 5 languages in the [HumanEval-X benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=Some%20multilingual%C2%A0benchmarks-,10.%20HumanEval%2DX,-Creator%3A%20Tsinghua) + +## Datasets + +✅ MATLAB is included in [The Stack dataset](https://arxiv.org/abs/2211.15533) + +❌ MATLAB is not included in the [CodeParrot dataset](https://huggingface.co/datasets/codeparrot/github-code) + +❌ MATLAB is not included in the [AlphaCode dataset](https://arxiv.org/abs/2203.07814) + +❌ MATLAB is not included in the [CodeGen dataset](https://arxiv.org/abs/2203.13474) + +❌ MATLAB is not included in the [PolyCoder dataset](https://arxiv.org/abs/2202.13169) + +## Stack Overflow & GitHub presence + +MATLAB has 94,777 [tagged questions on Stack Overflow](https://stackoverflow.com/tags) + +MATLAB projects have had 23,655 [PRs on GitHub since 2014](https://madnight.github.io/githut/#/pull_requests/2023/3) + +MATLAB projects have had 33,289 [issues on GitHub since 2014](https://madnight.github.io/githut/#/issues/2023/3) + +MATLAB projects have had 266,359 [pushes on GitHub since 2014](https://madnight.github.io/githut/#/pushes/2023/3) + +MATLAB projects have had 84,982 [stars on GitHub since 2014](https://madnight.github.io/githut/#/stars/2023/3) + +## Anecdotes from developers + +[u/worblyhead](https://www.reddit.com/r/matlab/comments/12fwjx5/comment/jficv03/?utm_source=share&utm_medium=web2x&context=3) +> Yep, pretty much all the MATLAB code ChatGPT write for me worked. There was one instance whereby there was a multiplication that went away as it used * instead of .* To multiply two vectors. When I pointed that out, it corrected the code. In this case it was an order of operations issue and it correctly got it sorted by adjusting the parentheses. Pretty impressive so far. + +[u/Latter_Trouble_3227](https://www.reddit.com/r/matlab/comments/y07uop/comment/jbgoj6h/?utm_source=share&utm_medium=web2x&context=3) +> Yes, you can use Co-Pilot with Matlab code. However, it won't work with the usual MATLAB IDE, so you have to use one of the supported IDEs (e.g. VS Code or JetBrains). + +[u/LevelHelicopter9420](https://www.reddit.com/r/matlab/comments/12fwjx5/comment/jfll3tu/?utm_source=share&utm_medium=web2x&context=3) +> Why would you think such a simple plot with callback on click would not work? Now I wonder if it made the callback zoom-safe. I was using update callbacks after only 8 months of college experience with Matlab. And yet, I can’t make chatGPT to give me the correct answer to a function inverse involving rational polynomials (at least the steps it got right, allowed me to remember how to do function inverses) \ No newline at end of file diff --git a/docs/docs/languages/objective-c.md b/docs/docs/languages/objective-c.md new file mode 100644 index 000000000..c60fc6e00 --- /dev/null +++ b/docs/docs/languages/objective-c.md @@ -0,0 +1,37 @@ +# Objective-C + +Objective-C is the #31 most popular language according to the [2023 Stack Overflow Developer Survey](https://survey.stackoverflow.co/2023/#section-most-popular-technologies-programming-scripting-and-markup-languages). + +## Benchmarks + +❌ Objective-C is not one of the 19 languages in the [MultiPL-E benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=couple%20notable%20mentions-,4.%20MultiPL%2DE,-Creator%3A%20Northeastern) + +❌ Objective-C is not one of the 16 languages in the [BabelCode / TP3 benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=amazon%2Dscience/mxeval-,12.%20BabelCode%20/%20TP3,-Creator%3A%20Google) + +❌ Objective-C is not one of the 13 languages in the [MBXP / Multilingual HumanEval benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=11.%20MBXP%20/%20Multilingual%20HumanEval) + +❌ Objective-C is not one of the 5 languages in the [HumanEval-X benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=Some%20multilingual%C2%A0benchmarks-,10.%20HumanEval%2DX,-Creator%3A%20Tsinghua) + +## Datasets + +✅ Objective-C is included in [The Stack dataset](https://arxiv.org/abs/2211.15533) + +❌ Objective-C is not included in the [CodeParrot dataset](https://huggingface.co/datasets/codeparrot/github-code) + +❌ Objective-C is not included in the [AlphaCode dataset](https://arxiv.org/abs/2203.07814) + +❌ Objective-C is not included in the [CodeGen dataset](https://arxiv.org/abs/2203.13474) + +❌ Objective-C is not included in the [PolyCoder dataset](https://arxiv.org/abs/2202.13169) + +## Stack Overflow & GitHub presence + +Objective-C has 292,409 [tagged questions on Stack Overflow](https://stackoverflow.com/tags) + +Objective-C projects have had 263,146 [PRs on GitHub since 2014](https://madnight.github.io/githut/#/pull_requests/2023/3) + +Objective-C projects have had 397,275 [issues on GitHub since 2014](https://madnight.github.io/githut/#/issues/2023/3) + +Objective-C projects have had 1,172,307 [pushes on GitHub since 2014](https://madnight.github.io/githut/#/pushes/2023/3) + +Objective-C projects have had 3,003,177 [stars on GitHub since 2014](https://madnight.github.io/githut/#/stars/2023/3) \ No newline at end of file diff --git a/docs/docs/languages/perl.md b/docs/docs/languages/perl.md new file mode 100644 index 000000000..2d29225a7 --- /dev/null +++ b/docs/docs/languages/perl.md @@ -0,0 +1,48 @@ +# Perl + +Perl is the #29 most popular language according to the [2023 Stack Overflow Developer Survey](https://survey.stackoverflow.co/2023/#section-most-popular-technologies-programming-scripting-and-markup-languages). + +## Benchmarks + +✅ Perl is one of the 19 languages in the [MultiPL-E benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=couple%20notable%20mentions-,4.%20MultiPL%2DE,-Creator%3A%20Northeastern) + +❌ Perl is not one of the 16 languages in the [BabelCode / TP3 benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=amazon%2Dscience/mxeval-,12.%20BabelCode%20/%20TP3,-Creator%3A%20Google) + +✅ Perl is one of the 13 languages in the [MBXP / Multilingual HumanEval benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=11.%20MBXP%20/%20Multilingual%20HumanEval) + +❌ Perl is not one of the 5 languages in the [HumanEval-X benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=Some%20multilingual%C2%A0benchmarks-,10.%20HumanEval%2DX,-Creator%3A%20Tsinghua) + +## Datasets + +✅ Perl makes up 5.5 GB of [The Stack dataset](https://arxiv.org/abs/2211.15533) + +✅ Perl makes up 4.7 GB of the [CodeParrot dataset](https://huggingface.co/datasets/codeparrot/github-code) + +❌ Perl is not included in the [AlphaCode dataset](https://arxiv.org/abs/2203.07814) + +❌ Perl is not included in the [CodeGen dataset](https://arxiv.org/abs/2203.13474) + +❌ Perl is not included in the [PolyCoder dataset](https://arxiv.org/abs/2202.13169) + +## Stack Overflow & GitHub presence + +Perl has 67,938 [tagged questions on Stack Overflow](https://stackoverflow.com/tags) + +Perl projects have had 125,129 [PRs on GitHub since 2014](https://madnight.github.io/githut/#/pull_requests/2023/3) + +Perl projects have had 117,426 [issues on GitHub since 2014](https://madnight.github.io/githut/#/issues/2023/3) + +Perl projects have had 634,214 [pushes on GitHub since 2014](https://madnight.github.io/githut/#/pushes/2023/3) + +Perl projects have had 188,697 [stars on GitHub since 2014](https://madnight.github.io/githut/#/stars/2023/3) + +## Anecdotes from developers + +[u/briandfoy](https://www.reddit.com/r/perl/comments/10j0k00/comment/j5ki948) +> There are a few problems with this, and I noticed the exact same thing with the GitHub Copilot. It's barfing out examples it was trained on with no idea about what they do, whether they work, and if they are current. Transaction objects no longer have a success method. This was deprecated for a long time ago and finally removed in version 9. The error method returns a single value. Minor problem, but still cruft that shouldn't be there. Call json on the response to get the data structure rather than doing this yourself. Even then, using JSON directly, while fine, skips over the Mojo::JSON::decode_json. It's a bit of a pain in the butt, but work hard to use the same parser everywhere in an application since they tend to have slight differences (say, like how they represent null, true, or false). Somewhere along the line, ChatGPT saw this code or something very similar. It then returns it to you with no intelligence about what it is doing or what it should do. It's very likely that the source ChatGPT saw is not only old, but also unsophisticated. You're likely just cargo-culting off StackOverflow with extra steps. But, this also isn't the way you probably want to write code. You don't want to return the token really, You want to add that to the user-agent so it provides it in every request without additional code from you. I have plenty of examples in Mojo Web Clients. That's another problem with the source material for these sorts of things: it's training itself off public data, but often our examples are mere demonstrations of ideas rather than advice on reliable software engineering (since we aren't going to write a book for every question someone asks). + +[u/nobono](https://www.reddit.com/r/perl/comments/10j0k00/comment/j5l9s1c/) +> "Somewhere along the line, ChatGPT saw this code or something very similar. It then returns it to you with no intelligence about what it is doing or what it should do." IMO, this is quite irrelevant, because you must understand that whatever output - be it code, poems or whatever - from an AI-assisted service is not perfect. The main point is: it helps. And that's its main selling point today, because that's how StackOverflow also works: sometimes it's perfect, but most of the times it just helps, maybe because you have addressed the wrong audience, didn't word your question/problem correctly or otherwise. With ChatGPT you get an instant reply, and you can ask it to refine its reply. Instantly. Rinse and repeat. So if it use StackOverflow data (which I assume it does) it's already better in the sense that it's instant and filters out noise, especially personal attacks, or otherwise replies that intimidates the person asking the questions. "It then returns it to you with no intelligence about what it is doing or what it should do." Let's be honest, we have all been there and/or we have had colleagues who fits that description. :) + +[u/its_a_gibibyte](https://www.reddit.com/r/perl/comments/14capfv/comment/jol2a4b) +> You mentioned being new to perl and programming. Personally, I think ChatGPT is a great resource for these types of question. I asked it your question and copied the function from csv2fasta.pl \ No newline at end of file diff --git a/docs/docs/languages/r.md b/docs/docs/languages/r.md new file mode 100644 index 000000000..1470f5a9f --- /dev/null +++ b/docs/docs/languages/r.md @@ -0,0 +1,48 @@ +# R + +R is the #22 most popular language according to the [2023 Stack Overflow Developer Survey](https://survey.stackoverflow.co/2023/#section-most-popular-technologies-programming-scripting-and-markup-languages). + +## Benchmarks + +✅ R is one of the 19 languages in the [MultiPL-E benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=couple%20notable%20mentions-,4.%20MultiPL%2DE,-Creator%3A%20Northeastern) + +✅ R is one of the 16 languages in the [BabelCode / TP3 benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=amazon%2Dscience/mxeval-,12.%20BabelCode%20/%20TP3,-Creator%3A%20Google) + +❌ R is not one of the 13 languages in the [MBXP / Multilingual HumanEval benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=11.%20MBXP%20/%20Multilingual%20HumanEval) + +❌ R is not one of the 5 languages in the [HumanEval-X benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=Some%20multilingual%C2%A0benchmarks-,10.%20HumanEval%2DX,-Creator%3A%20Tsinghua) + +## Datasets + +✅ R is included in [The Stack dataset](https://arxiv.org/abs/2211.15533) + +❌ R is not included in the [CodeParrot dataset](https://huggingface.co/datasets/codeparrot/github-code) + +❌ R is not included in the [AlphaCode dataset](https://arxiv.org/abs/2203.07814) + +❌ R is not included in the [CodeGen dataset](https://arxiv.org/abs/2203.13474) + +❌ R is not included in the [PolyCoder dataset](https://arxiv.org/abs/2202.13169) + +## Stack Overflow & GitHub presence + +R has 499,872 [tagged questions on Stack Overflow](https://stackoverflow.com/tags) + +R projects have had 51,800 [PRs on GitHub since 2014](https://madnight.github.io/githut/#/pull_requests/2023/3) + +R projects have had 88,649 [issues on GitHub since 2014](https://madnight.github.io/githut/#/issues/2023/3) + +R projects have had 506,309 [pushes on GitHub since 2014](https://madnight.github.io/githut/#/pushes/2023/3) + +R projects have had 91,654 [stars on GitHub since 2014](https://madnight.github.io/githut/#/stars/2023/3) + +## Anecdotes from developers + +[u/2truthsandalie](https://www.reddit.com/r/Rlanguage/comments/17q56xq/comment/k8b2phr/?utm_source=share&utm_medium=web2x&context=3) +> It's even helpful for example datasets. If you want to test or play around it will create a dataframe example. Also if you know one programming language it can help translate. It will even rewrite the code to look better. E.g. write this code in python pandas but make it more readable like r dplyr. Anything regex is nice as I don't have to hope a specific example is on stack overflow. Chat cpt from my experience will often favor going things with for loops instead of taking advantage of dplyr or pandas functions. With everything chat gpt tho check the code as it will confidently give you an answer and even print out a fake output. Often pointing out its error gets chatgpt to fix the code. + +[u/DrLyndonWalker](https://www.reddit.com/r/Rlanguage/comments/17q56xq/comment/k8bi6nq/?utm_source=share&utm_medium=web2x&context=3) +> I have found it hit and miss. I was able to knock up simple Shiny apps in a minute (https://youtu.be/8oJ1HtkpDt0) but have had it write non-sense code for some other things I was trying (especially webscraping). GPT Studio is pretty good (demo here https://youtu.be/QQfDTLExoNU) but has someone else mentioned, take a look at Github Copilot + +[u/jrdubbleu](https://www.reddit.com/r/Rlanguage/comments/17q56xq/comment/k89wmhi/?utm_source=share&utm_medium=web2x&context=3) +> I do it constantly, not only for debugging which it is spectacular at, but for especially tedious things like using ggplot. If you can think it, GPT-4 and the other specialized models can code it. The real key is to put thought into the question you want to answer with the code and then to very deliberately tell the GPT what to do. For example, “I have a data frame with x, y, z variables. Please write R code to perform a, b, c statistical analysis. Place the results into a variable called results.” And so on. \ No newline at end of file diff --git a/docs/docs/languages/ruby.md b/docs/docs/languages/ruby.md new file mode 100644 index 000000000..8f265271c --- /dev/null +++ b/docs/docs/languages/ruby.md @@ -0,0 +1,48 @@ +# Ruby + +Ruby is the #17 most popular language according to the [2023 Stack Overflow Developer Survey](https://survey.stackoverflow.co/2023/#section-most-popular-technologies-programming-scripting-and-markup-languages). + +## Benchmarks + +✅ Ruby is one of the 19 languages in the [MultiPL-E benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=couple%20notable%20mentions-,4.%20MultiPL%2DE,-Creator%3A%20Northeastern) + +❌ Ruby is not one of the 16 languages in the [BabelCode / TP3 benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=amazon%2Dscience/mxeval-,12.%20BabelCode%20/%20TP3,-Creator%3A%20Google) + +✅ Ruby is one of the 13 languages in the [MBXP / Multilingual HumanEval benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=11.%20MBXP%20/%20Multilingual%20HumanEval) + +❌ Ruby is not one of the 5 languages in the [HumanEval-X benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=Some%20multilingual%C2%A0benchmarks-,10.%20HumanEval%2DX,-Creator%3A%20Tsinghua) + +## Datasets + +✅ Ruby makes up 23.82 GB of [The Stack dataset](https://arxiv.org/abs/2211.15533) + +✅ Ruby makes up 10.95 GB of the [CodeParrot dataset](https://huggingface.co/datasets/codeparrot/github-code) + +✅ Ruby makes up 11.6 GB of the [AlphaCode dataset](https://arxiv.org/abs/2203.07814) + +❌ Ruby is not included in the [CodeGen dataset](https://arxiv.org/abs/2203.13474) + +✅ Ruby makes up 4.1 GB of the [PolyCoder dataset](https://arxiv.org/abs/2202.13169) + +## Stack Overflow & GitHub presence + +Ruby has 228,663 [tagged questions on Stack Overflow](https://stackoverflow.com/tags) + +Ruby projects have had 2,482,982 [PRs on GitHub since 2014](https://madnight.github.io/githut/#/pull_requests/2023/3) + +Ruby projects have had 1,204,510 [issues on GitHub since 2014](https://madnight.github.io/githut/#/issues/2023/3) + +Ruby projects have had 5,645,881 [pushes on GitHub since 2014](https://madnight.github.io/githut/#/pushes/2023/3) + +Ruby projects have had 2,905,832 [stars on GitHub since 2014](https://madnight.github.io/githut/#/stars/2023/3) + +## Anecdotes from developers + +[u/throwaway-aso2fb](https://www.reddit.com/r/ruby/comments/16y3bxq/comment/k36os5n/?utm_source=share&utm_medium=web2x&context=3) +> Note that the failure mode for ChatGPT is that it will gaslight and lie to you. If you don't give it enough context, or the method names are ambiguous, there's a potential for it to make up explanations that sound plausible, but are dangerously incorrect. I'd advise talking to your team about the things that confuse you germane to your codebase, and only using ChatGPT for general Ruby content. + +[u/OlivarTheLagomorph](https://www.reddit.com/r/ruby/comments/zq847a/comment/j0yy2y8/?utm_source=share&utm_medium=web2x&context=3) +> Not using copilot for the controversy around it stealing source code. Manager gave me a license however to use tabnine at the moment. In...basic scaffolding code it helps me speed up a bit by generating the blocks for example to write specs quickly, providing about 75% of the structure needed to get the spec fleshed out, e.g faster let declarations and do blocks. But for writing actual code I'm fighting it more than its helping me, since it simply doesn't understand what I am trying to write. Documentation is....hit&miss depending on whether it gets the meaning behind the variable names. + +[u/onionionion](https://www.reddit.com/r/ruby/comments/11usmxs/comment/jcqdd8q/?utm_source=share&utm_medium=web2x&context=3) +> I use Github copilot (which uses openai's codex) and occasionally throw some questions to ChatGPT. Currently I use it for Ruby and Kotlin. I committed to Copilot after trying it for five minutes. Total game changer. Time spent doing grunt work, writing repetitive tests etc, has dropped by 90% and I'm left with a lot more time to implement elegant solutions rather than throwing in quick fixes to meet tight deadlines. Sometimes it almost seems like it can read my mind. You still need to have the experience and expertise to ensure it hasn't missed the point - it doesn't always have the full context of the problems you're working on - but I would wholeheartedly recommend it to any developer as a way to increase productivity. \ No newline at end of file diff --git a/docs/docs/languages/scala.md b/docs/docs/languages/scala.md new file mode 100644 index 000000000..cc335c8dc --- /dev/null +++ b/docs/docs/languages/scala.md @@ -0,0 +1,48 @@ +# Scala + +Scala is the #28 most popular language according to the [2023 Stack Overflow Developer Survey](https://survey.stackoverflow.co/2023/#section-most-popular-technologies-programming-scripting-and-markup-languages). + +## Benchmarks + +✅ Scala is one of the 19 languages in the [MultiPL-E benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=couple%20notable%20mentions-,4.%20MultiPL%2DE,-Creator%3A%20Northeastern) + +❌ Scala is not one of the 16 languages in the [BabelCode / TP3 benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=amazon%2Dscience/mxeval-,12.%20BabelCode%20/%20TP3,-Creator%3A%20Google) + +✅ Scala is one of the 13 languages in the [MBXP / Multilingual HumanEval benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=11.%20MBXP%20/%20Multilingual%20HumanEval) + +❌ Scala is not one of the 5 languages in the [HumanEval-X benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=Some%20multilingual%C2%A0benchmarks-,10.%20HumanEval%2DX,-Creator%3A%20Tsinghua) + +## Datasets + +✅ Scala makes up 14.87 GB of [The Stack dataset](https://arxiv.org/abs/2211.15533) + +✅ Scala makes up 3.87 GB of the [CodeParrot dataset](https://huggingface.co/datasets/codeparrot/github-code) + +✅ Scala makes up 4.1 GB of the [AlphaCode dataset](https://arxiv.org/abs/2203.07814) + +❌ Scala is not included in the [CodeGen dataset](https://arxiv.org/abs/2203.13474) + +✅ Scala makes up 1.8 GB of the [PolyCoder dataset](https://arxiv.org/abs/2202.13169) + +## Stack Overflow & GitHub presence + +Scala has 111,969 [tagged questions on Stack Overflow](https://stackoverflow.com/tags) + +Scala projects have had 605,988 [PRs on GitHub since 2014](https://madnight.github.io/githut/#/pull_requests/2023/3) + +Scala projects have had 271,184 [issues on GitHub since 2014](https://madnight.github.io/githut/#/issues/2023/3) + +Scala projects have had 1,508,526 [pushes on GitHub since 2014](https://madnight.github.io/githut/#/pushes/2023/3) + +Scala projects have had 540,327 [stars on GitHub since 2014](https://madnight.github.io/githut/#/stars/2023/3) + +## Anecdotes from developers + +[u/markehammons](https://www.reddit.com/r/scala/comments/124ocqh/scala_and_chatgpt/) +> Today I decided to test it by asking how one would use Scala 3 macros to get the types of the inputs and outputs of a method. It had some decent suggestions to do that for someone that is new to macros, but a lot of its answer was false, suggesting people use something called QuotesContext, not recognizing properly what extension methods are available for the Symbol type, and worst of all, trying to splice Type values into an Expr. If they can manage to get chatgpt to actually tell the truth consistently (like saying "I don't know how to do that" rather than just lying) I think it will be a nice resource for discovering how to do stuff you don't currently know how to do. Sadly, it's still got a nasty habit of making stuff up. + +[u/agilesteel](https://www.reddit.com/r/scala/comments/ovoc8n/github_copilot_for_scala_does_it_work/) +> Well...this is a very hold thread but I'm using the latest copilot for scala available today of this post. I mostly use the ZIO framework. I was skeptical at first but I'm finding the suggestions get smart quickly and it is generating a lot of code fragments pretty well. I'm not claiming I can live without it, but as of today, I'm thinking it works pretty well for my scenarios. I could easily see not wanting to code without in the near future. I think using a framework like ZIO makes it easier to generate code fragments because the ZIO framework has a fairly predictable surface area, but that's just a guess. + +[u/k1v1uq](https://www.reddit.com/r/ChatGPTCoding/comments/zpunkt/comment/j25ftsr/?utm_source=share&utm_medium=web2x&context=3) +> I wanted to start a new Scala project based on Clean Architecture aka dependency inversion. So I asked for a basic example to demo the principles. There was a lot of pretty code but ultimately it had no idea what this was about. The code was bs. \ No newline at end of file diff --git a/docs/docs/languages/solidity.md b/docs/docs/languages/solidity.md new file mode 100644 index 000000000..e793b739b --- /dev/null +++ b/docs/docs/languages/solidity.md @@ -0,0 +1,48 @@ +# Solidity + +Solidity is the #35 most popular language according to the [2023 Stack Overflow Developer Survey](https://survey.stackoverflow.co/2023/#section-most-popular-technologies-programming-scripting-and-markup-languages). + +## Benchmarks + +❌ Solidity is not one of the 19 languages in the [MultiPL-E benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=couple%20notable%20mentions-,4.%20MultiPL%2DE,-Creator%3A%20Northeastern) + +❌ Solidity is not one of the 16 languages in the [BabelCode / TP3 benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=amazon%2Dscience/mxeval-,12.%20BabelCode%20/%20TP3,-Creator%3A%20Google) + +❌ Solidity is not one of the 13 languages in the [MBXP / Multilingual HumanEval benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=11.%20MBXP%20/%20Multilingual%20HumanEval) + +❌ Solidity is not one of the 5 languages in the [HumanEval-X benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=Some%20multilingual%C2%A0benchmarks-,10.%20HumanEval%2DX,-Creator%3A%20Tsinghua) + +## Datasets + +❌ Solidity is not included in [The Stack dataset](https://arxiv.org/abs/2211.15533) + +❌ Solidity is not included in the [CodeParrot dataset](https://huggingface.co/datasets/codeparrot/github-code) + +❌ Solidity is not included in the [AlphaCode dataset](https://arxiv.org/abs/2203.07814) + +❌ Solidity is not included in the [CodeGen dataset](https://arxiv.org/abs/2203.13474) + +❌ Solidity is not included in the [PolyCoder dataset](https://arxiv.org/abs/2202.13169) + +## Stack Overflow & GitHub presence + +Solidity has 6,669 [tagged questions on Stack Overflow](https://stackoverflow.com/tags) + +Solidity projects have had 0 [PRs on GitHub since 2014](https://madnight.github.io/githut/#/pull_requests/2023/3) + +Solidity projects have had 0 [issues on GitHub since 2014](https://madnight.github.io/githut/#/issues/2023/3) + +Solidity projects have had 0 [pushes on GitHub since 2014](https://madnight.github.io/githut/#/pushes/2023/3) + +Solidity projects have had 350 [stars on GitHub since 2014](https://madnight.github.io/githut/#/stars/2023/3) + +## Anecdotes from developers + +[u/Adrewmc](https://www.reddit.com/r/solidity/comments/142amjb/comment/jn48x8v/) +> ChatGPT is awful at smart contract, the data is years out of date, and it tend to override and make functions that are unnecessary. Even worse it overrides safe good functions for unsafe inefficient functions. Speaking of inefficiency it will seriously de-optimize optimized code, even when asked to gas optimize it. + +[Lorenzo Sicilia](https://outlierventures.io/article/can-chatgpt-really-be-trusted-to-write-a-smart-contract-or-to-refactor-your-existing-solidity-code/) +> Despite the mixed results, ChatGPT, aka GPT-3.5, is a step forward in the direction of writing code with an AI assistant. I actually enjoyed doing these little experiments. However, compared to other experiments I did with JavaScript and other languages, a clear takeaway from my efforts is that when it comes to the Web3 space, GPT doesn’t yet have enough accuracy. In fairness, there is far less available Solidity and Web3-related JavaScript code in the wild than there is general-purpose JavaScript code. Plus, the web3 industry is constantly changing, which makes the problems of ChatGPT relying on an old dataset much worse. . On the positive side, generating an ABI from Solidity is something it did well, which shows it can learn from the available snippets the general rules to create something new. + +[u/thatdudeiknew](https://www.reddit.com/r/LocalLLaMA/comments/14qednx/comment/jqmq2t5/?utm_source=share&utm_medium=web2x&context=3) +> Can someone please make an open coder model trained on Solidity \ No newline at end of file diff --git a/docs/docs/languages/swift.md b/docs/docs/languages/swift.md new file mode 100644 index 000000000..c35c03d46 --- /dev/null +++ b/docs/docs/languages/swift.md @@ -0,0 +1,48 @@ +# Swift + +Swift is the #21 most popular language according to the [2023 Stack Overflow Developer Survey](https://survey.stackoverflow.co/2023/#section-most-popular-technologies-programming-scripting-and-markup-languages). + +## Benchmarks + +✅ Swift is one of the 19 languages in the [MultiPL-E benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=couple%20notable%20mentions-,4.%20MultiPL%2DE,-Creator%3A%20Northeastern) + +❌ Swift is not one of the 16 languages in the [BabelCode / TP3 benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=amazon%2Dscience/mxeval-,12.%20BabelCode%20/%20TP3,-Creator%3A%20Google) + +✅ Swift is one of the 13 languages in the [MBXP / Multilingual HumanEval benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=11.%20MBXP%20/%20Multilingual%20HumanEval) + +❌ Swift is not one of the 5 languages in the [HumanEval-X benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=Some%20multilingual%C2%A0benchmarks-,10.%20HumanEval%2DX,-Creator%3A%20Tsinghua) + +## Datasets + +✅ Swift is included in [The Stack dataset](https://arxiv.org/abs/2211.15533) + +❌ Swift is not included in the [CodeParrot dataset](https://huggingface.co/datasets/codeparrot/github-code) + +❌ Swift is not included in the [AlphaCode dataset](https://arxiv.org/abs/2203.07814) + +❌ Swift is not included in the [CodeGen dataset](https://arxiv.org/abs/2203.13474) + +❌ Swift is not included in the [PolyCoder dataset](https://arxiv.org/abs/2202.13169) + +## Stack Overflow & GitHub presence + +Swift has 331,145 [tagged questions on Stack Overflow](https://stackoverflow.com/tags) + +Swift projects have had 425,921 [PRs on GitHub since 2014](https://madnight.github.io/githut/#/pull_requests/2023/3) + +Swift projects have had 325,962 [issues on GitHub since 2014](https://madnight.github.io/githut/#/issues/2023/3) + +Swift projects have had 1,334,455 [pushes on GitHub since 2014](https://madnight.github.io/githut/#/pushes/2023/3) + +Swift projects have had 2,731,776 [stars on GitHub since 2014](https://madnight.github.io/githut/#/stars/2023/3) + +## Anecdotes from developers + +[u/[deleted]](https://www.reddit.com/r/swift/comments/174vuyo/comment/k4eayl9/?utm_source=share&utm_medium=web2x&context=3) +> Just a general tip: even though it's a bit out of date, chatgpt will answer these questions much faster and sometimes more accurately than Reddit can. I've pretty much replaced Google with chatgpt and my productivity is up and stress is down. For questions about the newest SwiftUI stuff try Google Bard. The LLMs aren't perfect. There's still a place for Reddit and stack overflow, but I'd check with an LLM first. + +[u/Zagerer](https://www.reddit.com/r/swift/comments/13929qe/comment/jj0pti9/) +> I've tried copilot with SwiftUI and it's good for auto generating some things like specific styles, but not so good for other parts. Sometimes it helps with unit tests,but others it gets stuck in a loop. + +[u/AppleHitMyHead](https://www.reddit.com/r/swift/comments/1724gke/comment/k481769/?utm_source=share&utm_medium=web2x&context=3) +> Here is my journey coming from C++: Read through "A Swift Tour" and follow along in a Swift Playground. Many times, I feel, "Huh, this part is so much better than C++.", or "This is pretty much the same," I don't force myself to learn everything though, for example, I skipped protocol entirely. This process took me a few hours. As I dug into SwiftUI, I ran into syntax I didn't understand. Instead of looking up the official document, I just Google or ChatGPT it. When I start doing things in a C++ way that I always hate, I often pause and search if Swift does it better. Oftentimes times, Swift does do it better! Still, I carry some baggage from C++ and later notice if I had done it differently, I would have saved myself a lot of trouble (for example, really thinking about whether things can be null or not). Don't be afraid of re-writing; it is part of the process. Today, I am still learning; however, I started to catch myself speaking in C++ "accent" using Swift, and oftentimes, I can Google/ChatGPT my way out of it. \ No newline at end of file diff --git a/docs/docs/languages/vb.net.md b/docs/docs/languages/vb.net.md new file mode 100644 index 000000000..0b5c0ceaa --- /dev/null +++ b/docs/docs/languages/vb.net.md @@ -0,0 +1,48 @@ +# VB.NET + +VB.NET is the #23 most popular language according to the [2023 Stack Overflow Developer Survey](https://survey.stackoverflow.co/2023/#section-most-popular-technologies-programming-scripting-and-markup-languages). + +## Benchmarks + +❌ VB.NET is not one of the 19 languages in the [MultiPL-E benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=couple%20notable%20mentions-,4.%20MultiPL%2DE,-Creator%3A%20Northeastern) + +❌ VB.NET is not one of the 16 languages in the [BabelCode / TP3 benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=amazon%2Dscience/mxeval-,12.%20BabelCode%20/%20TP3,-Creator%3A%20Google) + +❌ VB.NET is not one of the 13 languages in the [MBXP / Multilingual HumanEval benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=11.%20MBXP%20/%20Multilingual%20HumanEval) + +❌ VB.NET is not one of the 5 languages in the [HumanEval-X benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=Some%20multilingual%C2%A0benchmarks-,10.%20HumanEval%2DX,-Creator%3A%20Tsinghua) + +## Datasets + +✅ VB.NET is included in [The Stack dataset](https://arxiv.org/abs/2211.15533) + +❌ VB.NET is not included in the [CodeParrot dataset](https://huggingface.co/datasets/codeparrot/github-code) + +❌ VB.NET is not included in the [AlphaCode dataset](https://arxiv.org/abs/2203.07814) + +❌ VB.NET is not included in the [CodeGen dataset](https://arxiv.org/abs/2203.13474) + +❌ VB.NET is not included in the [PolyCoder dataset](https://arxiv.org/abs/2202.13169) + +## Stack Overflow & GitHub presence + +VB.NET has 335,092 [tagged questions on Stack Overflow](https://stackoverflow.com/tags) + +VB.NET projects have had 15,653 [PRs on GitHub since 2014](https://madnight.github.io/githut/#/pull_requests/2023/3) + +VB.NET projects have had 2,915 [issues on GitHub since 2014](https://madnight.github.io/githut/#/issues/2023/3) + +VB.NET projects have had 35,848 [pushes on GitHub since 2014](https://madnight.github.io/githut/#/pushes/2023/3) + +VB.NET projects have had 0 [stars on GitHub since 2014](https://madnight.github.io/githut/#/stars/2023/3) + +## Anecdotes from developers + +[u/KenBonny](https://www.reddit.com/r/dotnet/comments/16j8il5/comment/k0qjb6u/?utm_source=share&utm_medium=web2x&context=3) +> What I've seen from gpt and copilot is that it's a good junior and sparring partner, but it's no substitute for a senior. It lacks reasoning and analytical capabilities to be a true senior. For example, it can tell you the difference between mediator and nservicebus (dotnet environment), but it cannot explain which one you should use for the project you are working on. + +[u/Ch33kyMnk3y](https://www.reddit.com/r/dotnet/comments/10s8eld/comment/j704bu4/?utm_source=share&utm_medium=web2x&context=3) +> I've been using it for a LOT of utility classes, regex expressions, and things like that. It's nowhere near replacing my job yet but it's saved me countless hours on some rather trivial but tedious tasks. Most recent today was a function that converts a string to camel case, worked perfectly right out of the gate. Yea I probably could have found the same function on google in 10 min, but I would have had to comb through ads, and useless posts on stack overflow, before I found one I knew would be performant. It's not laziness, the rest of my job is busy enough, I could have spent an hour or two figuring out the logic from scratch but simply put, this is a far more efficient use of my time. + +[u/ModernTenshi04](https://www.reddit.com/r/dotnet/comments/15od4zx/comment/jvr5vur/?utm_source=share&utm_medium=web2x&context=3) +> Yeah, I just use the free version but I'll ask it to do something, it kinda does it, I ask, "Is this part necessary?" It then responds with oh you're right and redoes it but in a way that still has questions, like I wanted it to explain why it did something the way it did and it takes that as I'm saying it's not really needed. Then I ask it to explain the new changes and it reverts things to the way it did them before thinking I spotted an error in how it redid the code. 🤦‍♂️ I still think it's a nice option to springboard learning or get quick explanations of things with examples, but the more I've used it the less I'm convinced it'll be stealing my job anytime soon. What I actually fear more are engineers and/or middle managers who don't know any better trusting everything it suggests who then think this makes engineers less needed or useful. \ No newline at end of file diff --git a/docs/docs/languages/vba.md b/docs/docs/languages/vba.md new file mode 100644 index 000000000..583939350 --- /dev/null +++ b/docs/docs/languages/vba.md @@ -0,0 +1,48 @@ +# VBA + +VBA is the #25 most popular language according to the [2023 Stack Overflow Developer Survey](https://survey.stackoverflow.co/2023/#section-most-popular-technologies-programming-scripting-and-markup-languages). + +## Benchmarks + +❌ VBA is not one of the 19 languages in the [MultiPL-E benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=couple%20notable%20mentions-,4.%20MultiPL%2DE,-Creator%3A%20Northeastern) + +❌ VBA is not one of the 16 languages in the [BabelCode / TP3 benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=amazon%2Dscience/mxeval-,12.%20BabelCode%20/%20TP3,-Creator%3A%20Google) + +❌ VBA is not one of the 13 languages in the [MBXP / Multilingual HumanEval benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=11.%20MBXP%20/%20Multilingual%20HumanEval) + +❌ VBA is not one of the 5 languages in the [HumanEval-X benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=Some%20multilingual%C2%A0benchmarks-,10.%20HumanEval%2DX,-Creator%3A%20Tsinghua) + +## Datasets + +✅ VBA makes up 2.73 GB of [The Stack dataset](https://arxiv.org/abs/2211.15533) + +✅ VBA makes up 1.91 GB of the [CodeParrot dataset](https://huggingface.co/datasets/codeparrot/github-code) + +❌ VBA is not included in the [AlphaCode dataset](https://arxiv.org/abs/2203.07814) + +❌ VBA is not included in the [CodeGen dataset](https://arxiv.org/abs/2203.13474) + +❌ VBA is not included in the [PolyCoder dataset](https://arxiv.org/abs/2202.13169) + +## Stack Overflow & GitHub presence + +VBA has 212,313 [tagged questions on Stack Overflow](https://stackoverflow.com/tags) + +VBA projects have had 22,482 [PRs on GitHub since 2014](https://madnight.github.io/githut/#/pull_requests/2023/3) + +VBA projects have had 17,439 [issues on GitHub since 2014](https://madnight.github.io/githut/#/issues/2023/3) + +VBA projects have had 77,915 [pushes on GitHub since 2014](https://madnight.github.io/githut/#/pushes/2023/3) + +VBA projects have had 19,273 [stars on GitHub since 2014](https://madnight.github.io/githut/#/stars/2023/3) + +## Anecdotes from developers + +[u/imartnm](https://www.reddit.com/r/vba/comments/108zy8k/comment/j3zcukr/?utm_source=share&utm_medium=web2x&context=3) +> It depends on how you use ChatGPT though. I started a VBA project using methods I had used in the past. When that didn’t work, I tried the Google approach, and still couldn’t do what I wanted. Then, I remembered that ChatGPT does code, and decided to give it a shot. Honestly, what it gave me was riddled with errors, but I went through error by error and forced the AI to come up with corrections. I would copy-past the code into the prompt and ask it to identify potential errors and explain how they could be fixed. I got a really intimate understanding of the code, the reasons for the errors, and the strategies for correcting them. Even then, the code was flawed and ultimately failed. But I was able to use some of what I picked up throughout the process to build my own foundation for the code that would eventually work and used the AI to help fill in the blanks. I got a lot out of the experience. It’s very important to ask very specific questions and to make sure that you understand the recommendations that it makes so you don’t get lost in later steps. I used Google to supplement some of the information the AI gave me to improve my understanding. I spent a lot of time with this thing, and I think we both came out of it just a little better at what we do. + +[u/Confuciusz](https://www.reddit.com/r/vba/comments/108zy8k/comment/j3wn54u/?utm_source=share&utm_medium=web2x&context=3) +> I've tried using it for VBA/Power Query code, but it's spotty at the best of times. It sometimes will reference functions that don't exist, or will ignore the carefully worded instructions you give it. At its current state it's most useful as a glorified google /stackoverflow search. It can also be helpful while debugging or just to throw some suggestions your way. Writing out the basic structure of my module and asking for recommendations/alternatives to certain implementations is fun and has taught me some new tricks. So it's cool, but not really reliable. Don't let it write your code for you or you might risk spending more time fixing it than you would have just writing it. I'd say it's VBA capabilities are better than its grasp on PowerQuery (M) . + +[u/E_Man91](https://www.reddit.com/r/vba/comments/123zuo6/comment/je3ixwy/?utm_source=share&utm_medium=web2x&context=3) +> Lol I just made a comment on another similar post where OP said GPT was incredible for Excel 😂 But yeah, GPT is still awful for VBA or long formulas. I tried giving clear instructions for simple tasks that it couldn’t get right. It’s cool, but long way to go \ No newline at end of file