I had ChatGPT write Python Code ... what did I Learn?

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ต.ค. 2024

ความคิดเห็น • 73

  • @traezeeofor
    @traezeeofor ปีที่แล้ว +67

    "A carpenter will see a Power Saw as just a tool to speed up the process. Somebody who doesn't know anything about carpentary will see the Power Saw as a replacement for Carpenters". Same thing with ChatGPT. Excellent analysis Uncle Stef!👍

    • @rhyswilliams4893
      @rhyswilliams4893 ปีที่แล้ว +2

      My Dad is a software engineer working with computers since the mid 90s he's said that Chatgpt is the equivalent of getting better piece of equipment.

    • @William_Clinton_Muguai
      @William_Clinton_Muguai ปีที่แล้ว

      Best analogy ever.💕

    • @ironhammer4095
      @ironhammer4095 ปีที่แล้ว +2

      That someone who doesn't know anything about "carpentry" are the money men. They will be saying "how come I have to pay these people to code when I can just get one person to ChatGPT it?" That's going to be the problem.

    • @youknow6968
      @youknow6968 ปีที่แล้ว

      Your analysis is beauty enshrined in simplicity.
      Just realised you were quoting Mr uncle lol

    • @rhyswilliams4893
      @rhyswilliams4893 ปีที่แล้ว

      @@ironhammer4095 that's the main issue. The people who run companies will go towards saving money at all costs.

  • @dannydiscovers
    @dannydiscovers ปีที่แล้ว +5

    Stefan this video does such a good job at explaining how I'm feeling about AI. It's a tool not a substitute

  • @FlavorOfTheMonthChannel
    @FlavorOfTheMonthChannel ปีที่แล้ว +1

    Good points in this video! Aside from just writing code, the system itself is only as good as the data it's been trained on, and the vast majority of projects as a developer are in the "deep web", of un-indexed information that private company's own on their own network. For example, if I asked ChatGPT which data source I need to use to pull supplier invoicing data which is stored in an AWS data warehouse, it has no earthly clue how to do so, since there's no info online or in text about that. Even within my own company, that data isn't clearly documented internally. There's so many examples of this type of company specific or industry knowledge. Good luck to AI with figure out how to solve any of those common issues, that make up so much of our day to day jobs! As a site note though, it is an awesome tool for entry level research (a starting point) into any topic that has been publicly documented online.

  • @EugeneHaroldKrab
    @EugeneHaroldKrab ปีที่แล้ว +15

    Great video Stef! I’ve been personally using chatgpt to write basic website structures and some CSS properties just to save time.

    • @StefanMischook
      @StefanMischook  ปีที่แล้ว +2

      Good stuff!

    • @creativeworks4132
      @creativeworks4132 ปีที่แล้ว

      How do you do this? Is this a paid plan?

    • @EugeneHaroldKrab
      @EugeneHaroldKrab ปีที่แล้ว

      @creativeworks4132 yes I pay 20$ a month for best access to chatgpt

  • @chob_2916
    @chob_2916 ปีที่แล้ว +1

    Dear Stef! You are a huuuge help! I am really thankful for that!

  • @RossMcgowanMaths
    @RossMcgowanMaths ปีที่แล้ว +2

    I see this as the next step up in the abstraction layer. You still have the garbage in garbage out , so you still need to know what it is you want. I write code then I don't write it for maybe a year and I forget the nomenclature of a language. I know what it is I want and I can cut out a large chunk of the coding abstraction layer and replace it with the next layer. I think it's a game changer !!!

  • @glyakk
    @glyakk ปีที่แล้ว +2

    I have had the same experiance with ChatGPT it is good at answering questions, however it requires you to be good at asking the right questions which requires you to be at least knowlegable about the subject matter. For instance I am somewhat new to gardening so I still have alot of questions that I have no idea how to ask and for those it did a good job at giving me general answers, but if I asked about things I knew much more of, I got better answers but I still had to know what to ask to get those answers. I really liked the analogy of the power tool. In the end all these tools are doing is predicting, same as any other developer. The difference is an actual developer or gardner has to impliment the solution to fit their situation. It will free up congnitive load, and speed up mundane tasks not completly replace.

  • @dakoderii4221
    @dakoderii4221 ปีที่แล้ว +5

    It is a "suped up Google search" to me. I'm a noob still and I can correct it(and have to). I find it useful to explain some code to me or can help give clues to solve error messages a little easier.

  • @aemonwarrick4654
    @aemonwarrick4654 ปีที่แล้ว

    I love this man! I got it to help me make a gaming screen shot script in Linux but it took a lot of effort and knowledge in things like scrot, maim, xdotool and other things to tell it how to make the script. It took time for it to get it to write it correctly with lots of editing and testing on my part.

  • @GuichoThe1st
    @GuichoThe1st ปีที่แล้ว +4

    ChatGPT is doing to developers what TH-cam did to handyman. It will tell you how to do some thing but you still need the skills and tools to do it.

  • @HasanTahir-r9q
    @HasanTahir-r9q 4 วันที่ผ่านมา

    I mainly use SQL in my role as a data analyst, which makes up about 99% of my work. However, when I face more complex tasks-for instance, constructing a retention matrix with both percentages and absolute numbers-I rely on GPT to generate the necessary Python code. Although I can understand what the code does by reviewing it line by line, and I double-check its logic thoroughly, this process can take me around 30 minutes to ensure everything is accurate ( A task that would normally take me 7-8 hours). My concern arises from a recent interview experience. While I performed well in the SQL section, I struggled with the Python portion because the interviewers specified not to use GPT assistance, which I usually depend on heavily. At one point, I had a moderate grasp of Python, maybe around a 4 out of 10, but now I feel like I'm at zero. Given this, I'm questioning if it's misleading to consider myself a data analyst, even though I can execute and explain my analyses proficiently using both SQL and Python, albeit with the aid of GPT for the latter. Am I being disingenuous about my skill set? & the irony to this I had my poorly written para re-worded by GPT Lol ..Like a drug addiction I swear.

  • @samhudson1169
    @samhudson1169 ปีที่แล้ว +4

    This is defintely the case - i've been using it to build apps in React with a Firebase database, but I had to know how to ask correctly. I don't think it's correct to make the assumption that this is always going to be the case though.

  • @ToddsDiscGolf
    @ToddsDiscGolf ปีที่แล้ว +2

    I kid you not…half the time I end up typing cuss words at ChatGPT and telling it how I had to solve my own question because its solution was incorrect for reasons a, b, and c.
    Then it writes, “my job here is done.” 🧙‍♂️

  • @oujeboland
    @oujeboland ปีที่แล้ว

    I personaly asked for help from chatgpt. In 60 percent of time it helped me but lots of time happened that i find out better algorithm or soloutions. For now its not too dangerous.but considering this as the first step , it makes me think about coming years...after upgrading to new versions.

  • @aar021
    @aar021 ปีที่แล้ว

    One thing I did is ask: You are a experienced Front End developer. Build me a curriculum to learn JavaScript. Then I asked to elaborate in each suggested topic. Pretty good. Getting it to figure out complex issues that require specific domain knowledge is not a thing yet. You would have to spell out every nuisance. Wholly agree with your assessment.

  • @bravehotsauce
    @bravehotsauce ปีที่แล้ว +1

    Good stuff! Thanks!

  • @OsvaldoGago
    @OsvaldoGago ปีที่แล้ว +1

    ChatGPT and similar tools will allow to write more code with the same number of developers or the same code with less developers.

  • @training7574
    @training7574 ปีที่แล้ว

    Very useful overview, thanks. I'm an old lazy dog who learned a lot of math and logic before computers got into the game. I'm still curious and am now struggling to keep track of all nifty commands that I have to type correctly to make Python do what I want. Maybe ChatGPT will make it easier for me to command the details. The overview is not that problematic for me.

  • @electrictrojan6719
    @electrictrojan6719 ปีที่แล้ว +2

    You can never replace people at all because any kind of technological infrastructure will always be far more delicate and "failable" than the people who made it.

  • @johnh2195
    @johnh2195 ปีที่แล้ว

    Great information as always thanks Stefan

  • @zaid-je5es
    @zaid-je5es ปีที่แล้ว +2

    Hi Stef I'm learning python in this time what do you think about copy some proiect is that good for improvement thanks

    • @StefanMischook
      @StefanMischook  ปีที่แล้ว

      Maybe 1-2 small ones max. Then build your own.

    • @zaid-je5es
      @zaid-je5es ปีที่แล้ว

      @@StefanMischook thank you

  • @skateboarderlucc
    @skateboarderlucc ปีที่แล้ว +1

    "lets replace a portion of our developers with chatgpt!" sounds cool on paper, but would be an absolute nightmare to implement and oversee. You'd have to train it on your companys repositories (massive security risk), have a software developer write very specific queries, make adjustments to its outputs and ensure theyre correct.

  • @AndyinWA
    @AndyinWA ปีที่แล้ว

    ok, now watched your video and ok you focused on prior knowledge in the learning process. I've been playing with chat gpt for python coding and noted a couple of frustrating aspects. Firstly, it truncates the code because it clobbers itself with the line and character limit in any code that it produces. Secondly, it forgets what you are working on and with the wrong keywords it will suddenly switch to outputting generic code samples, rather than a particular task you've been developing. So yes, as you said, it's a tool for understanding problems and even cracking open error codes but it's not a be all and end all solution to writing a compete program. Great video btw.

  • @NikolaiLivori
    @NikolaiLivori ปีที่แล้ว

    I think we are all missing the point here. The problem is not that it will replace coders, but it will make a lot of coders redundant. Not because chatgpt can do code, but it’s because chatgpt can build code faster. This means that a smart software engineer that “knows how to ask questions” will be able to be much more efficient on his own. There is a big difference between coders and software engineers or programmers.
    If your job was a cushy job like at google entering a few lines of code daily, then yes you will be replaced. Not by chatgpt but by that smart colleague of yours that will prove he is not returning 8 hours a day during work, but is returning 20 with the use of generative AI.
    I have been involved in development projects for over 20 years, and I know that generative AI is not about replacing people, but it’s about using it alongside your workforce, so instead of needing 50 coders, we can make it work with 10.

  • @dimitrioskalfakis
    @dimitrioskalfakis ปีที่แล้ว

    valid points at the present state of AI....

  • @matiasconde2591
    @matiasconde2591 ปีที่แล้ว

    Uncle you are the Best, thank you for take me away all the fear,

  • @kevkimamira8894
    @kevkimamira8894 ปีที่แล้ว +1

    I agree with you 💯

  • @sqwert654
    @sqwert654 ปีที่แล้ว

    I'm using it to learn Unity networking. I already have written netcode using objective C and do know what I want to do. It's very useful for me.

  • @guilherme5094
    @guilherme5094 ปีที่แล้ว

    👍Thanks sir.

  • @MrManda007
    @MrManda007 ปีที่แล้ว

    Yes, for now, you are right, but in the future??????

  • @ZeryusXD
    @ZeryusXD ปีที่แล้ว +1

    UncleStef-GPT soon? 😆

  • @hurolinci5986
    @hurolinci5986 ปีที่แล้ว

    ChatGPT is the "new Stackoverlow" on steroids.

  • @AndyinWA
    @AndyinWA ปีที่แล้ว

    predicting that it kept on giving you incomplete code.

  • @squigdwarf
    @squigdwarf ปีที่แล้ว +1

    Lol…I guess this is what assembly programmers where saying when they saw the first compilers…😅

  • @maiaellyse7469
    @maiaellyse7469 ปีที่แล้ว +1

    Imagine seeing a powersaw and thinking carpenters have lost their livelihood 🤣

  • @synen
    @synen ปีที่แล้ว

    Apparently this is even less of a factor in ChatGPT 4.

  • @thinkmediadeeper
    @thinkmediadeeper ปีที่แล้ว

    but smth tells me it`s just the very beginning and developers will be replaced soon like it happened somehow to secretary typewriter machines in 80s were replaced by computers. Anyway that is the tool to make job more efficient

  • @jayant9151
    @jayant9151 ปีที่แล้ว

    unrelated but, what is would be stable jobs in gpt3-4 era.

  • @enemyofthethrone
    @enemyofthethrone ปีที่แล้ว

    I am not a programmer. I know simple basics of a few but I am by no means fluent in any programming language. I had a problem to solve that would be drastically improved with a program.
    I used chat GPT to build the exact program plus several other additional functional tasks built in to help my problem. I am still not a programmer but I am capable of creating code from vague and unspecified terms to do ever increasing complex things.

  • @joliebrandc
    @joliebrandc ปีที่แล้ว

    Alice: Would you tell me, please, which way I ought to go from here?
    Cheshire Cat: That depends a good deal on where you want to get to.
    Alice: I don't much care where.
    Cheshire Cat: Then it doesn't much matter which way you go.

  • @naniv
    @naniv 10 หลายเดือนก่อน

    Actually u dont stef. I didn't know diddly squat about python except the snake.. i asked gpt to write a script for xyz. I think defining your problem clearly is an asset which i am somewhat decent at, the python knowledge comes in when you try to test out gpts script in real time and it fails for whatever reason.. you need to be able to deduce what the issue is. Gpt helped my python knowledge a lot. I told gpt the script you suggested failed here is the error code .then it told me u have missing module that taught me about the pip install method

  • @PerpetualPreponderer
    @PerpetualPreponderer ปีที่แล้ว

    ChatGPT is NOT going to answer if you ask it to do anything in Ruby. It may not be very smart, but it definitely knows that much! ;)

  • @ZahidAli-cx7gh
    @ZahidAli-cx7gh ปีที่แล้ว

    In some cases google gives me more options.

  • @jamessullenriot
    @jamessullenriot ปีที่แล้ว

    You knew what to ask, gave specific instructions but also something to keep in mind - the randomness of what is being returned. I forgot what it is called, but I know when it writes out text there is randomness worked into it. So it will write a response and I would get that response. But if you asked the same thing, it would write something different due to probabilities of the next word. 80% of the time, it would return word "x" and then 20% of the time it would return something else to simulate randomness. I've checked this out with code and it's of course the same thing. This is a horrible explanation on my part here but honestly the best I could do typing this up in passing from my phone 😂

  • @aneesahthequeen
    @aneesahthequeen ปีที่แล้ว

    😍😍❤️❤️💙💙

  • @newdata
    @newdata ปีที่แล้ว

    think copilot is the real chatgpt

  • @zubbyemodi6356
    @zubbyemodi6356 ปีที่แล้ว

    Chat..........GPT

  • @arthurgoodall3043
    @arthurgoodall3043 ปีที่แล้ว

    And you are making the mistake of judging ChatGPT in it's current itteration and not what ChatGPT 5,6,7 and beyond will be. At that time it will be well beyond a "power tool" and could have the capability of actually replacing coders.

  • @davidbasil3161
    @davidbasil3161 ปีที่แล้ว

    I don't see any difference between this and regular google search.

  • @justkaz7104
    @justkaz7104 ปีที่แล้ว

    10

  • @AbdullahAlSayeed
    @AbdullahAlSayeed ปีที่แล้ว

    Do you have a partner or wife? Just carious. Never saw you with anyone else.

  • @Tux0xFF
    @Tux0xFF ปีที่แล้ว

    With this single video, Stefan could demonetize all those BE'sers out there who keep feeding and acting surprised like wow i asked ChatGPT to write a method and it did, we are doomed guys, lets pack and move to Cambodia or the T-1000 will find us, buy my prompt engineering course if you want to live, 20% discount to the first 20 lucky buyers.
    And then like cheerleaders: take my money!! 😂
    If there was an ounce of truth to this ChatGPT hype, it would have been cristal clear by now, for example , news flash:
    80% of Upwork clients are just providing a sentence or two and ChatGPT produces the whole thing without asking for any other details, its like it is reading their minds 😂
    Stefan, good job for making this video, this video should be viral, so many youtubers are misleading people into thinking they are late in the game and its over to become a developer by now.

  • @alexfrideres1198
    @alexfrideres1198 ปีที่แล้ว

    i asked chat GPT to write me a python script to automate the windows on a greenhouse, ill copy and paste the question i asked followed by the response
    "write a python script for an arduino to automate a greenhouse with two fans, one intaking air, and one exhausting air, in conjunction with a series of 3 linear hydraulic actuators to open the windows on the greenhouse based on the temperature and humidity inside the greenhouse, measured by an internal thermometer and humidity sensor, open the windows when the temperature reaches 90 degrees Fahrenheit and close them when the temperature drops below 85 degrees Fahrenheit, open the windows when the humidity reaches 70%, close the windows when the humidity drops below 50%"
    # Import necessary libraries
    import dht # Library for DHT11 temperature and humidity sensor
    import time
    import board
    import digitalio
    # Initialize digital pins for fans and actuators
    fan_in = digitalio.DigitalInOut(board.D2)
    fan_out = digitalio.DigitalInOut(board.D3)
    actuator_1 = digitalio.DigitalInOut(board.D4)
    actuator_2 = digitalio.DigitalInOut(board.D5)
    actuator_3 = digitalio.DigitalInOut(board.D6)
    fan_in.direction = digitalio.Direction.OUTPUT
    fan_out.direction = digitalio.Direction.OUTPUT
    actuator_1.direction = digitalio.Direction.OUTPUT
    actuator_2.direction = digitalio.Direction.OUTPUT
    actuator_3.direction = digitalio.Direction.OUTPUT
    # Initialize temperature and humidity sensor
    dht11 = dht.DHT11(board.D7)
    # Set temperature and humidity thresholds
    temp_high = 90
    temp_low = 85
    humidity_high = 70
    humidity_low = 50
    # Main loop
    while True:
    # Read temperature and humidity values from sensor
    dht11.measure()
    temperature = dht11.temperature * (9/5) + 32 # Convert to Fahrenheit
    humidity = dht11.humidity
    # Check temperature and humidity values
    if temperature >= temp_high:
    fan_in.value = True
    fan_out.value = False
    actuator_1.value = True
    actuator_2.value = True
    actuator_3.value = True
    elif temperature = humidity_high:
    actuator_1.value = True
    actuator_2.value = True
    actuator_3.value = True
    elif humidity