i tried Cursor… and it's good? (writing python with AI)

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

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

  • @Yeet_the_code
    @Yeet_the_code หลายเดือนก่อน +7

    Great video!
    I see that you struggled a bit with python, but still managed to get it working in the end. I believe this will make it easier for new people to try out programming and it's nice to see.
    Just want to note some stuff that you happened to stumble across during the video.
    ------------------------------------------------------------------------------------------------------------------------------------------
    - `python -v` is not the command for printing the version, `python -V` is what you're after.
    - Your editor showed that the dependency was missing. This is because it is not aware of your virtual environment (where the dependency is installed in). I believe you can select the virtual environment for your editor so that it's aware of them.. or you can open up a terminal, activate the environment, and then open up the editor from within that shell session. (this is what i usually do) But in Vscode in the bottom right corner, you can usually select python interpreter there. Or open up the command pallet and search for `python interpreter`
    - `deactivate` is a temporary function that is available when the virtual env is active. Only deactivate the virtualenv when you're finished and want to go back to your global python interpreter.
    - When packaging software in python, especially one that you want to give to someone, i recommend asking the AI to package the python project using `pyinstaller` instead of the "setup.py" alternative it gave you.
    Hope to see more Python content! :))

    • @chantastic
      @chantastic  หลายเดือนก่อน +2

      wow! this has to be the most helpful comment i've ever gotten! thank you. your distillation of the concepts perfectly reenforces what i was experiencing but hadn't fully internalized yet. thank you!

    • @JohnnyTwoFingers
      @JohnnyTwoFingers หลายเดือนก่อน +1

      AI in the IDE should offer helpful hints like this

    • @chantastic
      @chantastic  หลายเดือนก่อน +2

      @@JohnnyTwoFingers this would be very nice. possible some python extension (that i didn't know to install) does.

  • @lukemelas
    @lukemelas หลายเดือนก่อน +8

    Luke from Cursor here. Thanks for the video -- great for the community and super helpful for us! We spend all day in Cursor so it's interesting to see someone use it for the first time. We'll improve our onboarding flow based on this :)
    Also excited to watch more videos from you as you spend more time in Cursor -- will be listening for your feedback to make Cursor even better!

    • @chantastic
      @chantastic  หลายเดือนก่อน +2

      Luke! Hey thanks for reaching out. And for the feedback.
      And thanks for making space for folks like me to explore, learn, and share early experiences.
      I think y’all are onto something. In general, I really like this flow.
      I’m planning on doing a a recap of my first week experience and share what I learned. Would it be helpful if I tag y’all in that?

    • @lukemelas
      @lukemelas หลายเดือนก่อน +1

      @@chantastic Awesome, and yes that'd be helpful!

    • @dommafia
      @dommafia 29 วันที่ผ่านมา

      Is this a hidden ad? 😅😅😅
      I still love cursor tho!

    • @chantastic
      @chantastic  28 วันที่ผ่านมา +1

      @@dommafia ha! that would be very deeply hidden 😂

    • @dommafia
      @dommafia 28 วันที่ผ่านมา

      @@chantastic hehe, looking forward to your next cursor vids! It's a game changer, Im learning python so much faster because of it

  • @tollington9414
    @tollington9414 หลายเดือนก่อน +3

    It’s good to someone else go through the pain of trying to use python ;)

    • @chantastic
      @chantastic  หลายเดือนก่อน +2

      ooof. python onboarding is ROOOOOUGH. lol.
      but i feel like i learned a lot already thru this process.
      what are you building with python?

    • @tollington9414
      @tollington9414 หลายเดือนก่อน +1

      I’m trying some hybrid rag stuff using elasticsearch as the vector and document store :)

    • @chantastic
      @chantastic  หลายเดือนก่อน +1

      @@tollington9414 exciting!

    • @tollington9414
      @tollington9414 หลายเดือนก่อน +1

      @@chantastic yes, its actually quite fun working in a new language with cursor. I’m enjoying your journey too:)

  • @TheGandsta1
    @TheGandsta1 หลายเดือนก่อน +1

    Thank you for the vid. So you still need to learn to code then??

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

      ha! yeah definitely just a different way of coding than a replacement.

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

    For what it's worth it's "python -V" or "python --version" to get the version number. The lowercase v flag is for verbose which is completely different

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

      this makes sense. thank you for letting me know! bringing a lot of my JS habits over to this project 😂

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

    Good video and good to know others are frenetic in learning tools as quickly as possible... But sho... 4:32 was frustrating to watch where you cursor needed to go just up a few pixels and to ask about the selected code😂

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

      yeah! it's a fun time to learn what's out there. definitely feels like they're good enough to be valuable at this point. but with obvious rough egdes.
      clearly i can't fault Cursor for Claude's suggestions. But yeah, the UI is… rough at times.

  • @sirishkumar-m5z
    @sirishkumar-m5z หลายเดือนก่อน

    Because of the way the lessons and explanations are laid up, even individuals who are unfamiliar with AI may find them to be easily understood.

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

      thanks!

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

    i have created the same script but it generates transcript without punctuations in you case it was punctuated

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

      oh nice! thanks for sharing.
      this is step one of a broader idea to point to a TH-cam video and generate chapters, summaries, and suggested titles.
      did you end up sticking with python? do you utilize it locally? or did you host it somewhere?

  • @hookflash699
    @hookflash699 หลายเดือนก่อน +1

    Man... I predict a MASSIVE influx of buggy, garbage code over the next few years, churned out by "code mills" full of non-programmers who have had no incentive to learn how to write reliable, clean code.

    • @chantastic
      @chantastic  หลายเดือนก่อน +2

      definitely possible.
      i think "quality inquiry" will become the invaluable skill moving forward. one of the reasons i'm finding AI/LLM coding fun is because i'm naturally curious. and you can't exhaust a robot with questions 😁

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

      @@chantastic @chantastic Problem with quenching this "curiosity thirst" by using LLMs is that they sometimes give wrong answers very confidently. If you are unaware of the topic being discussed, you could be severely mislead. I can't recall the number of times I've asked "Are you sure this is correct?" and ended up with the LLM apologizing for "making such an obvious oversight"

    • @chantastic
      @chantastic  หลายเดือนก่อน +1

      @@tcc1234 oh for certain! i just recorded a second session with Cursor, trying to deploy this thing. And it was all over the place. lol. will post shortly.

    • @chantastic
      @chantastic  หลายเดือนก่อน +2

      here's that video: th-cam.com/video/iZCuUEYObN0/w-d-xo.htmlsi=gVmCnoqmS5To-xXW