SECRET SAUCE of AI Coding? AI Devlog with Aider, Cursor, Bun and Notion

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

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

  • @Yassine-tm2tj
    @Yassine-tm2tj 4 หลายเดือนก่อน +40

    How about using .cursorrules as a read-only file in Aider. This way, we will be able to use both Cursor and Aider using the same coding conventions.

  • @tomislavglavas2180
    @tomislavglavas2180 4 หลายเดือนก่อน +9

    This is the most informative and useful AI coding video I've seen so far. Thank you for this.

  • @geofftsjy
    @geofftsjy 4 หลายเดือนก่อน +11

    I use a conventions file. But I have a conventions file for many different types of tasks. Then I compose them for the specific thing I'm doing. I'm thinking of making a conventions repo to house them.
    Then I use the /ask mode to rubber duck out a design, then I have it help me write an implementation plan with coding examples. I do this part when I have many of the same tasks to do. At the bottom of this file, I have it provide implementation steps where I have it specify exactly what to do and when to stop and not go into the next step.
    Let's say there are 7 total steps where steps 3-4 are somewhat complex that need to be done 0-n number of times per task.
    Then I use scripted aider to loop over all the source files or whatever and for each file I do a aider run telling it to read the implementation plan, add any specific conventions plans that are applicable to that step if applies, then my run command is to do step #1 in the plan doc. Then I do the same for step 2. Then steps 3-4 need to happen for each subsection lets say. For for every subsection in the file, I say do steps 3 and then step 4. Then back out of the nested loop I tell it to do the steps 5-7 one at a time.
    I can basically use a single prompt and subprompt it easily to get the best out of the ease of a single prompt but also the accuracy of a multi-prompt.
    I need to write a conventions file for writing conventions files and these implementations plans and these scripted aider tasks. But I have aider write them all right now anyway, it would just go faster.

    • @indydevdan
      @indydevdan  4 หลายเดือนก่อน +4

      Yeah this is a gold mine waiting to be unlocked for many AI powered Engineers. You've essentially built your own ai coding agent on top of Aider that very likely outperforms on your codebases. More content to come on this topic.
      It's going to break the eng world honestly once ppl realize there are basically no limits on the type of ai coding pipelines you can build on top of tools like Aider.

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

      @@indydevdan I seriously owe so much to your videos! Thanks!

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

      @@indydevdan your next tutorial you should show the kind-cmd to do on save actions like formatting with black and isort. I left a different comment on this video with instructions. It’s a HUGE boost.

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

    this was great but very fast to absorb as a newbie, would be good to see more of each step and stages of what was happening, but thank you for showing :)

  • @mrd6869
    @mrd6869 4 หลายเดือนก่อน +10

    This stuff has been an amplifier for me.
    By trade i'm not a developer or engineer, i'm a sales guy lmao.
    I've started by making an agent to tutor me on coding
    and using Kali Linux tools.
    Two years ago, my mind wasn't even on this subject,
    all changed overnight.

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

      Cool. Sounds very interesting. Would love to hear more about it.

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

      Keep it up man! 🙌🏾
      I transitioned from sales into data over the last 3 years. Was hard but for sure best decision ever. It's an unfair advantage to both sell and build.

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

      I am also in sales & have even gotten paid to dev an application before cursor existed. Now when I'm not in an appt, I'm building software with AI.

  • @fabioaloisio
    @fabioaloisio 4 หลายเดือนก่อน +4

    Awesome job Dan! Keep up the high quality of Your vids! Tks

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

    I went and did a bunch of this and I'm already seeing an improvement

  • @drlordbasil
    @drlordbasil 4 หลายเดือนก่อน +6

    Cursor has been soooo fking fun to play with. Been making chrome extension, even got it to make an AI based tamagachi pet.

    • @AaronBlox-h2t
      @AaronBlox-h2t 2 หลายเดือนก่อน

      What's a tamagachi pet?

  • @cutmasta-kun
    @cutmasta-kun 4 หลายเดือนก่อน +4

    3:00 I declare the types where they are needed and make the most sense in the context. A additional file for the types is an unneccessary, additional file.

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

    Your content is awesome. Besides the AI stuff, I found little gems like those senv, mkenv, okey commands very useful. Probably the best invested time I can remember watching TH-cam videos. I'd be very interested on a AI driven development course from you.

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

    I'm pretty new to coding and I'm def a little lost in this video but I'll have to come back as I learn more!

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

    Thanks, nice video. Coding's not my full time job, but I still do it from time to time for small stuff. I've always avoided test case writing beyond simple printing of debug info as it seemed like more work, but you're selling me on the utility even in my "if it works at all, it's good enough" use cases. If I can lean on AI more heavily and reliably by way of testing since that grounds the AI, then it'd definitely be worth the time to do things (more) right.

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

    Thank you dude, that's exactly what I was looking for. Love your videos. Don't have time myself, but with your help, I'll probably be able to switch after all. Currently using only Cursor with its compose. Although i don't like that he is sometimes making mistakes and i spend more time checking those. Guess need to use your idea with tests.

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

    Always inspiring to watch you doing stuff the AI-way. Love the way you make cursor and aider go hand in hand on that.
    I am wondering if you tried using Cursors Composer instead of aider. And if so what is your take on these compared.

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

      Definitely have see previous video on channel. Cursor's composer is a big deal because it represents 'mainstream' adoption of ai coding in the tech ecosystem.
      My take is: Aider >= Cursor
      BUT
      (Aider + Cursor) > Aider

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

    Which theme are you using for VSCode/Cursor? It looks so fancy 🙂

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

    Really thanks!. Keep doing this!. Pioneering software development.

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

    look forward to some more videos from ya. id love to see more of the notion wrapper too...also what are using to get the transparent background on everything

  • @techfren
    @techfren 4 หลายเดือนก่อน +5

    this is excellent

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

    This was really great Dan. Will your AI coding class be suitable for beginners or if not where would you point a highly motivated beginning learner to get the basics? Thanks again

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

      If you can code you will be able to learn to code with AI through this course ESPECIALLY if you are a highly motivated beginner.

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

    Man, you are amazing!

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

    I'm a beginner coder, where can I learn all the little tricks and keyboard shortcuts you use to do things so quickly in cursor?

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

    Great video! Do you keep the context in your aider for the whole coding session or do you restart aider? Does it increase the API costs much to keep the context?
    Also, if you edit first using aider, then using Cursor, and then again with aider, does aider consider the latest updates from cursor?

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

      Was wondering the same

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

      From the video it seems he doesn't reset the context.
      Using the claude --cache-prompts option should lower the API costs. if on, aider includes the following in cache: system message, read only files and repository map.
      The repo map might be changed (and cache reset) if files are added or deleted, based on --map-refresh option.
      If I use the logs --llm-history-file, it seems that aider keeps the context for the further prompts reasonably small, it probably doesn't include the full session history.
      If in doubt, one can run /clear to clear the chat history.
      And for the 2nd question, aider always sends an up to date version of the file with each prompt.

    • @indydevdan
      @indydevdan  4 หลายเดือนก่อน +4

      Great Q. I focus on one 'feature' from a UX (not DX) perspective at a time. Generally that is the largest a single coding session will become: the length of the coding session required to ship that feature.
      If I find the LLM/Aider becoming confused about any of the context, I '/clear' it and start fresh.
      To be clear though, I prioritize 'time to feature completion' and not cost of context window. The API costs do increase for the larger features but I recommend ignoring them and eating the cost to get the practice in pushing these tools to the limits of their efficiencies.
      LLM prices are going to zero so it's best to plan/code/practice/build for that future.

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

      @@indydevdan thanks for the response!

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

    Great video man. Thanks. Have you tried cline (Claude dev) ?

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

    So with Cursor Composer, would there be a benefit in using Aider as well?

  • @BA-ve7xp
    @BA-ve7xp 3 หลายเดือนก่อน

    Is it possible to do this without Cursor? I think I saw a video of vscode plugins for aideer, continue, and cluadedev. I'm new to all of this so I appreciate any pointers.

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

    @indydevdan another awesome video mate. can you suggest (or show?!) how I can use this setup for google apps (or google ads) scripts??
    I'm building more & more complicated files now, but don't have any tests (all single page scripts, some ~5000 LOC)
    all a bit manual currently (copying code from cursor to sheets/ads to run on live data)
    I get I can have mock data & test against that... but this video has opened my eyes.. I ralise I can automate this way more. any pointers?

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

    I use only cursor, while making a ts game in cocos creator. What's the added benefit of aider, still not sure after watching this demo 😮 the multi file editing or what? (I move from file to file in cursor and just select all text and run the ctl-k edits)

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

      Aider has several additional benefits such as running tests post code generation, auto lint fixes, conventional commits, larger context support (cursor is limited to 10K or so tokens), etc. Aider is definitely trickier to use though because it's just CLI.. and I'm still trying to rapidly stall my developing Composer addiciton. :)

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

    di ZED next, please. i love Zed so much it works on Linux without fail... such a blessing for Linux user zed is

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

    Aider appears to "know" the notion API without any extra configuration. How come?

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

    What is your thought on Replit AI agent ?

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

    Have you used codeium as it has more of a tdd focus ?

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

    I wonder if I can get Pythagora to write such a wrapper library on its own, with even less prompting.

  • @KukiNews-yy7jt
    @KukiNews-yy7jt 4 หลายเดือนก่อน

    Do you run into token limits with Claude while using Aider/Cursor?

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

    what are you cooking? :)

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

    What do you think of Replit Agent?

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

      slow and crushing, it's not a working product as for now. I have canceled my subscription.

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

      @@yurijmikhassiak7342 yeah it fails on anythign remotely complex - and it attempts to do everything too so yeah

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

      I agree with @yurijmikhassiak7342. Needs more time, but these 'ai software engineers' like the Replit agent, devin, and microsofts version (will likely merge with devin) are the next generation of ai tools. We will cover them as they emerge. Stay locked in.

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

    waiting for the OpenAi o1 update from you

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

    That's useful will put it in a .cursorrules file

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

    Great job! Why don't you make a membership thing on youtube. I'd do $10/mo for this stuff.

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

      Thank you! I'm playing with this idea right now. It will likely ship after the ai coding course and will be a high ticket, highly opinionated, information dense membership for those who want to gain a bleeding edge take on LLMs, ai coding, and agentic engineering as a whole. It's a great place to share things I honestly can't justify sharing anywhere at zero cost. We'll see how things develop.

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

    Whats up Daniel?

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

    lesgooooo

  • @holdenmcgroin8917
    @holdenmcgroin8917 18 วันที่ผ่านมา

    Deepseek v3 rules!

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

    Anybody else use these for writing IaC code? It's.. interesting

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

    I like to store my typescript files however my AI likes to store them.

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

    I think you're not using Aider/Cursor to the best of their abilities. I've been experimenting a lot and I find you should really be trying more and more to tell these tools _what_ you want your _application_ to do, not what you want the code to be thus moving further up the abstraction chain. Quite often here you're giving it commands such as "update x.ts: add some method and a test for it". Why not write a more verbose prompt telling it what you're actually trying to accomplish on a higher level and let it work out how to do it? Personally I've found it to produce better solutions than I thought of myself especially with more complex problems and even if it doesn't get it right, I can always iterate with it and we will converge on a better solution.
    Just a thought but in general love the content. I'm fully invested in these tools now after watching your videos so much appreciated!

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

      No, you are right I can be pushing Aider and Cursor further here. There are different AI Coding prompt 'abstraction levels' and focusing on 'what' over the 'how' is a higher level. It can do more, but also is more error prone in larger production codebases (for now). In this video you're seeing concise, lower-level, more descriptive AI code prompts.
      🙏 Glad to here you are getting value out of these tools + videos.

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

    I do not understand. Can you make it more beginner friendly

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

    Too small, I watch on phone at night 😢

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

    ACTION PACKED FIRST

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

    👀