ALL ROADS LEAD to AI CODING: Cursor, Aider in the browser, Multi file Prompting

Поделиться
HTML-код
  • Опубликовано: 30 июл 2024
  • Engineers are RUNNING OUT OF TIME. Discover how AI Coding Assistants like Aider and Cursor can write code 8x faster than you! 🤯
    Stop wasting time writing boilerplate code! The future of coding is here, and it's called AI coding assistants.
    Maybe you've heard of github copilot, devin, copilot workspace, cursor, or aider. Let's focus on the HIGHEST PRODUCTIVITY AI Coding Tools that you can use AS SOON as you finish this video.
    In this video, we're diving deep into two of the BEST AI coding assistants available today: Aider and Cursor. We'll explore their unique features, strengths, and how they can supercharge your coding productivity by up to 2x-10x (and beyond honestly)
    Here's what you'll discover:
    - Aider in the browser: Experience the power of Aider's new browser-based editor for seamless code generation.
    - Aider's multi-file editing: Experience the power of seamless code generation and refactoring across your entire codebase with Aider's groundbreaking multi-file editing capabilities.
    - Real-world coding examples: See Aider and Cursor in action as we build a complete application from scratch using clear, concise prompts.
    - Unlocking 8x productivity: Learn how AI coding assistants free you from tedious tasks, allowing you to focus on the bigger picture and build better software faster.
    📊 Stay ahead of the curve with insights into the future of AI coding. We'll look at the latest blogs from Cursor and Aider, highlighting upcoming features like next action prediction and automatic bug detection.
    ❌ Don't miss out on the AI coding train. Equip yourself with the best coding AI tools and elevate your engineering game. Hit the like and subscribe buttons to stay updated with more AI coding content.
    Stay ahead of the curve with the latest in AI coding, AI code writers, and artificial intelligence coding.
    Bro, it's time to pop off w/ai.
    💻 AI Copilots vs AI Coding Assistants vs AI Engineers
    • AI Coding Tool Breakdo...
    🔗 Links:
    - aider aider.chat/
    - aider blog aider.chat/blog/
    - cursor cursor.sh/
    - cursor blog cursor.sh/blog/problems-2024
    - bun bun.sh/
    📖 Chapters
    00:00 AI Coding Assistants: Why You Need Them
    00:09 Generating Code with One Prompt
    00:40 Running the AI Generated Code
    02:43 8x Productivity Boost with AI Coding Assistants
    04:19 Multi-File Editing with Aider in the Browser
    06:48 Don't miss the AI coding train - stay ahead as an engineer
    07:32 AI Coding 3 files at once with a CRUD Test
    11:20 The Future of AI Coding
    12:00 Copilot++ next action prediction with Cursor
    15:50 Aider vs. Cursor: Two Approaches to AI Coding
    18:30 Our endgame: full agentic tools
    #aicoding #typescript #agentic
  • НаукаНаука

Комментарии • 112

  • @JonathanYankovich
    @JonathanYankovich Месяц назад +65

    The hard part of coding isn’t writing boilerplate though. We need more demos showing off thoughtful changes to large codebases.

    • @CourageToGroww
      @CourageToGroww Месяц назад +18

      This is such an airhead statement. No one ever said that this was to do anything hard. If you are a programmer and not using LLMs, you are wasting time period. To be able to be in a file and just hit ctrl + k and have your IDE just automatically do things like adding dark mode styling to every element in your file or assisting with making your app more responsive with a sentence is such a value add for 20 dollars a month for the sheer amount of time this saves. I have been literally saving myself 4 to 20 hours a week when building and maintaining client work. Cursor, Aider or Replit are such valuable tools I feel like are so much worth the price you are paying. It's like the first time you type on a Kinesis keyboard after using a standard keyboard your entire life, when you hit buttons other than the space bar with your thumb, so much power so much precision, it feels almost godly in a way. It's a surreal experience and it will only get better from here.

    • @NenJiDaPassiv
      @NenJiDaPassiv Месяц назад +12

      ​@@CourageToGroww cheap insult man, not cool. Anyway, it's not so airhead. I mean imagine where the technology will be. I myself am not a programmer by trade. I've always struggled teaching myself, due to other commitments. But, with all this new technology my endless pipe dreams are a little more realistic. Me personally, I'm having trouble with big picture and architecture things. I have a big concept but can't quite put the pieces together yet. It will be helpful for me when these technologies can really reason over more complicated systems that allow me to simply be the director of features and functionality. Either way, there are a lot of people getting into software development, many of whom have domain specific knowledge that's not tech related. I look forward to seeing what is possible. Have a nice day 🎉

    • @alextasarov1341
      @alextasarov1341 Месяц назад +9

      @@CourageToGroww The more you use AI, the more tech dept you create. It is not omnipotent. It's easy to produce simple code that works, but not code that will last. The bigger your codebase, the more annoying it is to prompt it correctly.
      It can save you time, but the more you use it, the more you begin to rely on it and the harder it is to code without it. You train your brain to think of prompts before code solutions. If all you do is create simple webpages and scripts then its fine, it does 90% of the work with ease. But, larger applications will fall apart as you spend more time prompting, editing, and later addressing the tech dept it created.

    • @poisonza
      @poisonza Месяц назад +1

      yeah it falls short for large codebase and async/multi processing logic. But we will soon see llms writing code that is concise,clean w/o technical debt

    • @CourageToGroww
      @CourageToGroww Месяц назад +1

      @@alextasarov1341 If you rely on it then you are not a programmer.

  • @mercadolibreventas
    @mercadolibreventas 15 дней назад

    Hi Dan, thanks so much for your magic videos! I did the AIDER + Ollama, but I am stuck with Aider + Cursor + + OpenUI + Ollama models. My workflow is to create passion through this combination for other students. WITH THIS project they learn + see + make it work + deploy, and it drives insane passion to create. Most engineers are broke, that made 250k a year, imagine grads or newbies now, that have little money and time is ticking faster than money is becoming. Please help ALL, to help a new pathway for creation.code is not the purpose but ideas inside to come is the gold especially in younger minds. Thanks, the Creator

  • @wandavazquez3201
    @wandavazquez3201 Месяц назад

    amazing work. Thanks for all your great info.

  • @dDesirie
    @dDesirie 11 часов назад

    Cursor can also have codebase-wide context either in chat or editor mode(CMD+L or CMD+K). you just need to either type @codebase or use CMD+Enter when submitting your prompts. I like to use Aider to start projects or implement features that require editing or creating multiple files at once, then use Cursor chat with codebase-wide context to refine or troubleshoot. The paid membership allows the "apply" feature which makes the changes suggested by the LLM of my choice(Claude 3.5 Sonnet for now) automatically. I enjoy working with them very much.

  • @ConorDean
    @ConorDean Месяц назад +2

    Awesome 🚀 content! Thanks so much.

  • @michaelndukwe6151
    @michaelndukwe6151 Месяц назад +1

    I learned many things, thank you

  • @krishnapraveen777
    @krishnapraveen777 Месяц назад +1

    Nice, never gets tired of hearing the click clacks

  • @rasmusfoy
    @rasmusfoy Месяц назад +1

    Just discovered your channel. Awesome value.
    I am one year in to coding and loving it.

  • @orthodox_gentleman
    @orthodox_gentleman 5 дней назад

    I think your channel is my new favorite. You are real and don’t whore yourself out. Well done brother.

  • @___Truth___
    @___Truth___ Месяц назад +2

    Before even starting this video, I've become more self-aware about myself having this growing desperation to learn more about AI Coding since it feels like this area is going to be something integral to tech and possibly all things software-related as the AI models get better. I want to break down what skills I should develop to get better at AI Coding, in some sense it feels like a specialization of Prompt Engineering. I think obviously one skillset to develop is a basic or proficient understanding of the coding language your using, but in order to do bigger things than just have it generate code for me, like to ultimately create interesting Apps, I feel like I'm missing some skillsets or information I should be working on when I'm playing around with these models...

  • @Brogrammer730
    @Brogrammer730 Месяц назад +2

    You earned my like & subscribe. Thank you very much for introducing me to both of these honestly incredible tools.

  • @mauricioacosta7492
    @mauricioacosta7492 Месяц назад +2

    I understand the concept of your warning, how do I get started? I dont understand the prompt you started with or any of the outputs. I want to invest an hour or two daily to master this skill. Thank you for your help!

  • @J3R3MI6
    @J3R3MI6 Месяц назад +2

    This would have to be the best AI channel I’ve found… and I’m subbed to like 30 of them 🙏🏽

  • @DrumAndSpaces
    @DrumAndSpaces Месяц назад +1

    When do we get something good for java its just all python and a bit of javascript

  • @Thanatermesis
    @Thanatermesis 26 дней назад +1

    Which colorscheme is used in the editor

  • @WaveOfDestiny
    @WaveOfDestiny Месяц назад

    I've used Codium a completely free ide integrated copilot to do the things which are called innovative here long ago. I already have my code autocomplete for me while i'm writing and taking the context from my codebase directly, also can write a comment explaining what it needs to do and it will do it. Not as smart as the top models, but can be easily installed with no external API usage

  • @J3R3MI6
    @J3R3MI6 Месяц назад +1

    Devin + GPT5 = App Dev unlocked

  • @drivefinder
    @drivefinder 6 дней назад

    I have tried to run this on my VSC and it won’t run. The aider command. Can you help brother.
    It is showing up the file. But is not linking up with a api key. I tried it with Gemini flash 1.5

  • @MedyGames
    @MedyGames 6 дней назад

    the aider webui would be my goto but its still missing some feature and writes to files directly and forces commits .. which you shouldnt do as its not reliable enough for that .

  • @maskedvillainai
    @maskedvillainai Месяц назад +2

    Cursor is my dna now

  • @mrd6869
    @mrd6869 Месяц назад

    Shytty non coder here🤣
    Im learning, so im thinking this can assist me in getting better.
    Also, in a few years with AGI level foundational models, software development will
    probably be make a big jump.

  • @paul_hale
    @paul_hale Месяц назад +1

    Hi. Subbed and liked. Great content. One question, how do you get the tokens to show bottom right of UI?

    • @indydevdan
      @indydevdan  Месяц назад +1

      Search for the vscode extension named: 'Token Count in Status Bar...'
      Link: marketplace.visualstudio.com/items?itemName=marxism.ai-token-count

    • @paul_hale
      @paul_hale Месяц назад

      @@indydevdan Thank you

  • @benjaminvanderwoerd4419
    @benjaminvanderwoerd4419 Месяц назад +5

    Only having 13.7k subscribers is a crime. This channel is top notch.

  • @YossiDahan-
    @YossiDahan- Месяц назад +1

    What about Codium AI and their new framework CodiumAlpha?

  • @BorisHrzenjak
    @BorisHrzenjak Месяц назад

    aiderb doesn't work for me, I can use the command line though, anyone have this problem?
    I just have this "'aiderb' is not recognized as an internal or external command,
    operable program or batch file." error

  • @JustSuds
    @JustSuds Месяц назад +18

    My productivity isn’t measured in words written. It’s measured in hard problems solved.

    • @diegocaumont5677
      @diegocaumont5677 Месяц назад +4

      I don't understand this mentality, brother is telling you that you will be able to solve more problems in less time.

    • @indydevdan
      @indydevdan  Месяц назад +1

      You’re right but you’re ignoring the productivity gains of increasing your most valuable asset as an engineer: CODE.
      Think of the millions of lines of code you’ve written over your career. Now imagine if you can now do ALL that at 2-10x speeds!? That means you can ship MANY more of your hard problems in less time.
      Make sense?

    • @user-lb5cp5mw4u
      @user-lb5cp5mw4u Месяц назад +1

      @@indydevdan you must be working on some upwork style place pumping out shoddy code that you never have to maintain

    • @MrEnriqueag
      @MrEnriqueag 21 день назад

      Great, now spend more time solving those problems instead of writing them!
      Those tools work even better when you use pseudo code specific processes.
      You can tell it how to do things, how to access/use stuff etc.

    • @JustSuds
      @JustSuds 20 дней назад

      @@indydevdan no, because the time spent physically writing the code is easily less than 5% of the time it takes to solve the problem.

  • @bambanx
    @bambanx 7 дней назад

    Thanks for the video, why use cursor if aider can do all and more ? I didnt tested cursor yet but i used aider and works nice with claude . Thanks you

  • @Quiark
    @Quiark Месяц назад

    "AI is the top tool to crank out as much code as possible"
    Absolutely agreed

  • @dannyprats824
    @dannyprats824 Месяц назад

    Please make a video about GPT Pilot (Pyhtagora)

  • @brandonwinston
    @brandonwinston Месяц назад +3

    How do we get the Aider browser plugin?

  • @pmenapa75
    @pmenapa75 Месяц назад

    Notice to navigators. I have been testing ‘cursor’ and its integration with the i.a. model is impressive. But I have to say that I have tried every possible way to make it generate uml dependency diagrams on a relatively simple code base and it has turned out to be anything but useful. I have tried actively and passively to make it understand what I wanted but the model invents what it wants according to what it thinks you are asking it, but it forgets the context and simply lies, contradicts itself and generates more distrust than anything else. It's a pity because it is very well integrated and promising, but as of today it lacks a lot, and I'm talking about gpt4. I think there is a lot of hype and a lot of desire for notoriety in all this, but time will put everyone in their place.

  • @oluwaseunakinropo6318
    @oluwaseunakinropo6318 Месяц назад

    How do you make your codes so colorful and stylish? Is there a way I can do that on my windows pc

    • @Jumpyfoot
      @Jumpyfoot Месяц назад

      There is a development tool called an IDE, which is like a fancy editor for your code that does the colors and gives you error correction suggestions and some autocomplete capabilities. You'll have to search for an IDE for your preferred programming language.

    • @chillgames823
      @chillgames823 Месяц назад

      He was talking about the actual theme ​@@Jumpyfoot

    • @Jumpyfoot
      @Jumpyfoot Месяц назад

      @@chillgames823 Oh, I see. Well, you have a good day.

  • @_SCRIBE_
    @_SCRIBE_ Месяц назад +1

    It's incorrect comparison of performance just to use the amount of words for promt and generated code. You need some time to prepare this promt, seems it will take many tries.

  • @pdovhomilja
    @pdovhomilja 16 дней назад

    Like & Sub, incredible tutorial. Thank you

  • @cd92606
    @cd92606 Месяц назад

    When you say you're very anti-RAG, do you mean in general, or only as it pertains to code generation?

    • @indydevdan
      @indydevdan  Месяц назад +1

      I mean in general - it's a hot take but I don't think we should spend much time 'chunking' data outside of brute filtering especially when we have large context windows (and they will continue to increase).
      How do you feel about rag?

  • @joeking5211
    @joeking5211 11 дней назад

    Retired hardware eng. started pgm on Z80 uPc with dip switches thru to today now with a few 'modern' IDE's. Very interested in Ai programming for ( hobby use only ). Watched your vid and TOTALLY lost. I guess we download Cursor, ok, will have to read the docs as learned nothing about it here. How the ??? do you even start to use aider. Are your vids for the prize guys that really already know about all these things, or am I missing something so basic, no pun. Many thks for the effort, but a 'Hello World' would have been just great, so totally lost here, is this maybe part x of a series I have hit on and I need the other parts to make sense of this ??. Kind Rgds.

  • @orthodox_gentleman
    @orthodox_gentleman 5 дней назад

    Your voice is EXCELLENT! I really like your no bs attitude. I wish I could chill in person!

  • @DanielBogusz
    @DanielBogusz 26 дней назад

    Please check the audio. I guess it's you keyboard typing in the background. With Airpods Pro it's extremely annoying and I can't finish the video.

  • @Dreamslol
    @Dreamslol Месяц назад +1

    Uhm why you dont use the Cursor Chat or add the files with @ ? That way Cursor has also the context of the files

    • @punkouter24
      @punkouter24 Месяц назад

      ya.. I don't get what aider is doing that you can't do with cursor (I only use cursor)

    • @chillgames823
      @chillgames823 Месяц назад

      Dude fr I noticed no difference except extra steps and more money for no reason

    • @cgintrallying
      @cgintrallying Месяц назад

      Using cursor and really like it a lot! Having a hard time when working with Github-Copilot then.
      Also used aider but since cursor has the "Interpreter mode" in the chat i am only using cursor now. Everything is so well integrated.
      @IndyDevDan have you tried out cursors interpreter mode (ruclips.net/video/r3BSULZNWBI/видео.html).
      Fun fact: From what i saw on first-use-imports seems to be using aider under the hood.

    • @ontheruntonowhere
      @ontheruntonowhere 7 дней назад

      I just started with Aider after being underwhelmed with Cursor. I might be wrong but Cursor only has knowledge of the files you provide to the context explicitly or because they're open. Aider maps the entire project as a complete repository, so it has access to every file you haven't ignored. I'm sure I don't understand that completely and am happy to be corrected. Aider also automatically edits multiple files without intervention and commits all changes to the repo, which helps blunt the fear of an AI changing my codebase with wild abandon.

    • @punkouter24
      @punkouter24 7 дней назад

      @@ontheruntonowhere wrong. Cursor figures out the files to use. Anything that can’t do this I don’t bother

  • @SigmaWolfPack.
    @SigmaWolfPack. Месяц назад

    I want to learn about coding and programming but I'm not sure where to start. There's so much going on.

    • @TimCollins
      @TimCollins Месяц назад

      This has a lot going on for sure, not the best example of where to begin.
      Start simple with learning basic HTML/CSS, then move onto Python. Python is great for beginners and the primary language of all things AI/data currently.
      Get a sense for what you’re interested in building, and learn the languages/frameworks in that area. Could be front-end, iOS, ML, etc.
      Build your ideas and let curiosity guide you. Consistency x reps will help you achieve exit velocity.

  • @teamdoodz
    @teamdoodz 21 день назад

    I goon to your videos

  • @henrischomacker6097
    @henrischomacker6097 Месяц назад

    Do these two tools also work as great if used with the newest open source LLMs that specialize in coding? - Or isn't it worth the time trying?
    I don't see any case in which these tools could be used in a professional company environment if they are only good if used with the huge LLMs of the leading AI companies.
    At least in our company is passing code or any other project related data to other companies strictly forbidden for obvious reasons.

    • @indydevdan
      @indydevdan  Месяц назад +1

      If you're looking for open source support I recommend Aider: aider.chat/docs/llms.html

    • @henrischomacker6097
      @henrischomacker6097 Месяц назад +1

      @@indydevdan Many thanks!

    • @dDesirie
      @dDesirie 11 часов назад

      ​@@henrischomacker6097you could host open source LLMs locally with Ollama, then use Aider and select Ollama as the model provider. The best open source coding LLM is DeepSeek Coder V2(as good as GPT 4O), Mistral Coder Nemo is also very good if your machine can't run DeepSeek Coder V2. Aider's documentation has all the information you need including what LLMs they recommend.

  • @Soniboy84
    @Soniboy84 9 дней назад

    I've not seen 1 example online where someone does changes in context of a gigantic project with 10-15 files open that are all messy and include weird business logic. All AI examples are projects starting from 0 with crappy CRUD examples and snake games.

    • @indydevdan
      @indydevdan  4 дня назад

      Agreed - I've noticed this as well. I'll address and show off AI Coding on a 'real' codebase (minimum 100 files)

  • @ReynaldoTaylor-kd1od
    @ReynaldoTaylor-kd1od Месяц назад

    if anyone finds Cursor too expensive, especially with using the higher token models, reply back to me and I'll blow your mind...

  • @davidstrejc
    @davidstrejc Месяц назад

    What about plandex?

  • @pjarnfelt
    @pjarnfelt Месяц назад

    The typing sounds hurts my brain.

  • @micbab-vg2mu
    @micbab-vg2mu Месяц назад +1

    i use cursor is great:)

  • @superfliping
    @superfliping Месяц назад

    Gpt 3.5 I can write longer codes with one prompt. Rookie

  • @caliwolf7150
    @caliwolf7150 Месяц назад +2

    8x this 10x that
    This is not productivity, its just an indicator to how little brainwaves activity humanity is gonna have by 2040, congratz on making your AI write your boilerplate

  • @yellowboat8773
    @yellowboat8773 Месяц назад

    I'm not a coder, In fact I'm a a builder by trade. By using LLM's I've managed to build a 20,000 + line code app for my business completely from scratch, using AI 100%. Half the time I have no idea the specifics of the code it is typing, but I know what I want it to do, I know the what the functions should do and I work through debugging using AI. It's game changing. I know a lot of devs will bash me, "You need to learn how to code first before you can use AI". No, I need an app to do what I want and this is the tool I am using to build it. Just the same as I use a nail gun to bang together rafters. Game changer

  • @jonasg3672
    @jonasg3672 Месяц назад +1

    Amateur coder in action.

  • @caliwolf7150
    @caliwolf7150 Месяц назад +2

    keep talking non-sense, better fill those 20 mins showtime for youtube algo, you're whole point could have been said in less than 4 mins you dofus

  • @mgst4699003
    @mgst4699003 Месяц назад

    What do you think of Cody? Have you tried using that one?

    • @indydevdan
      @indydevdan  Месяц назад

      It's mid, last time I checked it's missing the selection prompt.
      See selection prompt: ruclips.net/video/2j_fgMPJGM0/видео.htmlsi=g-ch254mCEy_xVmi&t=310

  • @mrd6869
    @mrd6869 Месяц назад

    Shytty non coder here🤣
    Im learning, so im thinking this can assist me in getting better.
    Also, in a few years with AGI level foundational models, software development will
    probably be make a big jump.

  • @HopNguyen-u5h
    @HopNguyen-u5h 19 дней назад

    The hard part of coding isn’t writing boilerplate though. We need more demos showing off thoughtful changes to large codebases.