this post was submitted on 26 Mar 2024
824 points (98.4% liked)
Comic Strips
12397 readers
3162 users here now
Comic Strips is a community for those who love comic stories.
The rules are simple:
- The post can be a single image, an image gallery, or a link to a specific comic hosted on another site (the author's website, for instance).
- The comic must be a complete story.
- If it is an external link, it must be to a specific story, not to the root of the site.
- You may post comics from others or your own.
- If you are posting a comic of your own, a maximum of one per week is allowed (I know, your comics are great, but this rule helps avoid spam).
- The comic can be in any language, but if it's not in English, OP must include an English translation in the post's 'body' field (note: you don't need to select a specific language when posting a comic).
- Politeness.
- Adult content is not allowed. This community aims to be fun for people of all ages.
Web of links
- !linuxmemes@lemmy.world: "I use Arch btw"
- !memes@lemmy.world: memes (you don't say!)
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I actually asked chatGPT about a specific issue I had and solved a while back. It was one of these issues where it looked like a simple naive solution would be sufficient, but due to different conditions that fails, you have to go with a more complex solution. So, I asked about this to see what it would answer. And it went with the simpler solution, but with some adjustments. The code also didn't compile. But it looked interesting enough, for me to question my self. Maybe it was just me that failed the simpler solution, so I actually tried to fix the compile errors to see if I could get it working. But the more I tried to fix its code the more obvious it got that it didn't have a clue about what it was doing. However, due to the confidence and ability to make things look plausible, it sent me on a wild goose chase. And this is why I am not using LLM for programming. They are basically overconfident junior devs, that likes mansplaining.
It's not always right but it saves me tonnes of time at work, usually when I want to do something simple in a language or environment I'm not totally familiar with.
It can reliably copy the simple things in it's training data from stackoverflow.
But at that point, why not just go to stackoverflow instead?
I find that sometimes I can’t quite describe the problem well enough for google to find results. The conversational nature of ChatGPT means I usually can get a good enough answer from it
I'm not saying it's going to take anyone's job anytime soon but it's a lot quicker to get something tailor made for your problem than going to stack overflow. Everyone should use the tools that work for them but don't sleep on this stuff, like any tool it's really helpful once you know how to use it.
Agreed. But I think it is utterly useless if you aren't experienced enough to tell if it is bullshitting. Almost every time I have asked for a little adjustment, it just makes something up that looks good on first glance. My favorite is when it invents python libraries that magically handle all the difficult stuff. But man is it useful for my crappy little bash scripts or regex.
Absolutely true. I think regex might be one of my favourite uses to be honest. Both in writing them and explaining wth an existing one is doing.
Gpt4 is pretty awesome for simple stuff. I've just started learning python (Knowing no other language) and made my first project a pyqt GUI for editing the config of a FOSS project. It's reasoning ability is not great, but when you clearly lay out what you want to do, how you want to do it, it because a fantastic natural language to code interpreter. All the fiddly bits I dread typing out I just pop into gpt 3.5, and more complicated stuff gpt4.
I have learned a lot from debugging whenever it gets stuck, and being able to create an actual usable program right from the start is awesome.
Even better is slowly realizing you are understanding what's going on, and the dread of actually studying to learn the language becomes a genuine desire to learn more.
It has encouraged my colleagues to get answers from it that would be easily available with a google search (and by asking me - my fault for acting like they are a pita for not extrapolating from previous explanations). Resulting in:
sudo apt install
on a RHEL systemapt
RPM package on the internetI don't do it enough, but I do enjoy using it (it being perplexity.ai) for getting code examples of stuff I'm always looking up over and over. A YAML sample of a Cloudformation or CDL snippet for a very specifically configured resource. A YAML sample of an Ansible module that does a thing. A Python sample of a specific lambda method. A regex for email addresses.