22

soo.. yeah.. I've just solved an annoying bug using only chatgpt.

My first commit in this new project. And it's based on chatgpt.

Literally just saved me from days of reading through kafka docs, auth mechanisms and other stuff. And no, the google did not provide me with a proper answer/hints. The only hint was "the configuration might be wrong". Well alright, but I was NOT using any configuration in the first place...

Fun times ahead :) I might even consider the pro version if it keeps delivering like that.

Comments
  • 3
    Cool. how do you do that? Do you mean chatgpt gave better search results than google? Or is there some other fancy thing in play. I'm still wary about signing up for chatGPT haha
  • 3
    Maybe I should ask it about tesseract...
  • 6
    Instead of learning how to troubleshoot a problem and learning how to read documentation, you offloaded the usage of your brain to big tech and learned almost nothing of value.

    It is absolutely terrifying to realize that the next generation of developers is not going to actually understand anything they are putting into the codebases they are assigned to.

    What will you do when your access to AI is restricted in some way?
  • 5
    One of the best uses of ChatGPT I've found so far is it can write my regexes for me
  • 3
    @cuddlyogre so you're saying you are always digging into the docs and never use other sources that focus on just solving the issue in hand? GH Issues? bug trackers? ChatGPT? SrackOverflow?

    Kettle kettle ..... :)
  • 4
    @netikras In order to arrive at a working solution, I have to understand the docs and any code I might pull from SO. I also put a link to the solution as a comment so I, or someone else, knows how I arrived at that solution. And nothing goes into my codebases unless I understand it.

    Can you say the same when you copy and paste the random noise that an AI pulls from the CMB? Are you actually learning anything or just regurgitating what you are given and moving on? What will you do when your access to AI is restricted? Are you comfortable with only thinking how big tech wants you to think?
  • 3
    @cuddlyogre

    > Can you say the same when you copy and paste the random noise that an AI pulls from the CMB?

    Well I think I have a pretty good overall understanding of IT systems in general, so I say YES

    > Are you actually learning anything or just regurgitating what you are given and moving on?

    Yes, I'm actually learning, bcz I have to make sure GPT doesn't hurl nonsense. So I have to analyze the answer and not just blindly copy-paste. Same thing with any other similar sources: SO, issue trackers, a colleague. Also, it reveals unknown unknowns

    > What will you do when your access to AI is restricted?

    Use alternative, less convenient tools (SO, bug trackers, docs, colleagues). Spend more time and money to achieve the same result (plus the headache and stress). Especially when the issue is riddled with unknown unknowns (i.e. no clue what keywords to search for)

    > Are you comfortable with only thinking how big tech wants you to think?

    I don't understand the question.
  • 1
    @netikras Not developing your own solutions and relying on a system you neither understand or control to do the work for you is a very good way to atrophy the skills you do have.

    Plus, how much time can you really be saving if you are properly vetting the code you are using?

    As for the big tech question.

    Say a person wants to develop something worthwhile that goes against the TOS or crosses the owner of the AI in some way. Or the user starts working on a competing product. That person gets banned and can't continue their project because they don't actually know how to do anything. This reality conditions users to only do what big tech says is ok.

    Do this for a generation, and you have a generation of people that rely on the final say-so of big tech to do anything at all because they literally are incapable of doing anything for themselves.

    How many people can do math in their head? Or remember phone numbers? Or read a clock? Or count change? Computers do that now.
  • 2
    @cuddlyogre I understand what you mean - I used to think that myself for years and struggle learning and reading everything I came across.

    Maybe my mindset has changed Maybe I've accumulated enough info over years to be able to relax. But now I believe it is impossible to read, learn and remember everything: every framework, every language, every tool. Learning, knowing and understanding "just enough" to solve the problem and know how the solution works and why it works should be enough.

    Having this in mind, I had 3 developers blocked by Kafka dev cluster not being able to repopulate data. Some SASL auth errors, to which google provided only generic suggestions.

    Now, either I spend another week learning how Kafka works, how its auth works, wtf is SASL and all the ins and outs.

    OR I could use my existing knowledge about MQs and ask GPT how tf to fix that SASL thing. If it reoccurs - I'll read the docs bcz clearly smth is wrong. But for now all 3 of us are unblocked
  • 3
    @netikras I think the bigger issue than "not learning" here is that you might've just plastered some configuration you don't understand into a production project for an actual company.

    If the config was easy to understand and the keys self-explaining than it's fine though. But if there's anything you're not sure about, you should probably look it up before you push it out of dev environment just to make sure everything is up to snuff and there's no magic back door variable like various debug and log modes, nor anything that would hurt performance like buffers and caches that are too small/big or enabled/disabled... You never know where chatGPT got the answer from, if it was someone asking about a large 150 node multiservice or a small personal project running on raspberry pi :D
  • 1
    @cuddlyogre "what will happen when you don't have access to the internet?"

    Yeah, dude, hard copy is where it's at.

    Get with the times.
  • 0
    @hardCoding When you cross big tech and they restrict your access to AI and you can't work, you'll understand what I mean.
  • 0
    @cuddlyogre just like that time I crossed big ISP?

    I live in a country that censors the internet. You get around it. It's the tech that matters, until we get a unified world dictatorship.
  • 1
    Do I hate ChatGPT. ✅

    But @netikras is an allrounder as far as I know, knows his limits and is an jack(ass :-P) of all trades.

    I feel more comfortable him using ChatGPT than our stupid retarded amoebas ... Eh devs.

    Credit where credit is due.
  • 2
    @iceb it does not provide better results. It provides answers in a different way - targeted for your problem.

    If you have an error, you may need 10 different but relevant sources [each participating in the solution a little bit] of info to tackle it down. Chatgpt aggregates all those sources for you and spits out a result
  • 1
    Gpt wrote me some code i asked, it was a bit bloated, so i asked it to optimize but /my conditions/.

    It made really good job as it wrote the code the way I imagined it to look/work.

    Key thing here is me being knowledgeable enough to know what I am asking for and to analyze the output code.

    I don't see any harm in using it that way to help you be more productive.

    I was thinking of making my own game with it, but first I will read about game development and key things about it before proceeding further. Or maybe I'll just ask it to explain it to me in details.

    It can be helpful to speed up things if you know what and how you're supposed to build something.

    Starting your dev journey with it, however, is opening very big can of worms.
Add Comment