From 7fb5bd5f4e3e338e7c21fcb7ee5a2b547349aecc Mon Sep 17 00:00:00 2001 From: Ty Dunn Date: Tue, 7 Nov 2023 10:37:18 -0800 Subject: [PATCH] add perl --- docs/docs/languages/languages.csv | 5 ++-- docs/docs/languages/perl.md | 48 +++++++++++++++++++++++++++++++ docs/sidebars.js | 9 ------ 3 files changed, 51 insertions(+), 11 deletions(-) create mode 100644 docs/docs/languages/perl.md diff --git a/docs/docs/languages/languages.csv b/docs/docs/languages/languages.csv index 2270bb770..23bcafadd 100644 --- a/docs/docs/languages/languages.csv +++ b/docs/docs/languages/languages.csv @@ -1,11 +1,12 @@ 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,11,13,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/ +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,14,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 +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 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 \ 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/sidebars.js b/docs/sidebars.js index 6673b43c8..f5a8fdc88 100644 --- a/docs/sidebars.js +++ b/docs/sidebars.js @@ -59,15 +59,6 @@ const sidebars = { }, ], }, - { - type: "category", - label: "🧑‍💻 Programming languages", - collapsible: true, - collapsed: true, - items: [ - "languages/julia", - ], - }, ], };