Neovim Can Write Your Code

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

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

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

    Join my newsletter!
    newsletter.omerxx.com

  • @devonduty
    @devonduty ปีที่แล้ว +14

    Thank you so much for featuring my plugin ❤

    • @devopstoolbox
      @devopstoolbox  ปีที่แล้ว +3

      Thank YOU for creating it 🙏🏽

  • @typecraft_dev
    @typecraft_dev ปีที่แล้ว +31

    what AWESOME editing. These videos are looking amazing!

  • @MIO9_sh
    @MIO9_sh ปีที่แล้ว +3

    The resources consumed by ollama is not trackable with procs (or any ps tools like htop btop etc) because the model is on the GPU whenever you use it. You will need to use the specific tool for your GPU in order to know how much resource it's eating, nvidia-smi for nvidia cards, and radeontop for AMD cards

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

      Yes!! Thank you! I was baffled for a while and was definitely waiting for this comment !

  • @themoderncoder
    @themoderncoder ปีที่แล้ว +9

    The way you present screencapture and the command line (like at 2:10) is really creative. Visualizing programming on video in an engaging way is so difficult, and I feel like you’re onto something with your style. Definitely inspiring as someone trying to do something similar with my channel, so I respect the extra editing effort that went into this. Awesome. Subscribed!

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

      Thanks buddy! Checkout your channel looks amazing!
      Yep, trying to spice things up with the terminal and how it's presented. Got a lot of inspiration from Takuya at @devaslife check it out if you haven't yet :)

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

      @@devopstoolbox Oh cool, I’ll have to check them out too. Thanks for the rec

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

      I really suffer with channels with poor video quality.
      Good content and good video quality must walk together in order to deliver knowledge in a pleasure way.
      Thank you both for that.

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

      I find it distracting tbh

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

      @@allsunday1485 Got it a few times in the past and trying to play with things creatively while not making things worse for those who are easily distracted.
      Thanks for the feedback! I’ll take this into account in future videos

  • @jizhang2407
    @jizhang2407 ปีที่แล้ว +3

    Aside from another awesome video produced by you, what an amazing view from your desk...!

  • @YvanFlorian
    @YvanFlorian ปีที่แล้ว +3

    Just what I needed, stay fully in the terminal… thanks for sharing

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

      Strange that there's no resource consumption issue on your side, somehow on my end it's chewing 7GB+ of Memory... wondering what im missing

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

    Thanks for the channel.
    I'm on my first steps on Odin Project.
    This will be useful soon.

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

      do just the foundations then skip the rest and do the full curriculum at fullstackopen

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

    This is gold! Can’t wait to try it out! 🎉❤

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

    Would it be possible to to expand on how to use this with local files as a callback for keeping the model learning?

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

      IIUC this would require the model to keep running in the background, i.e. the container lives throughout. This means you'd either have to snapshot it when restarting /periodically / use some other system to make sure the context is chaced.
      That said, you may want to check with gen.nvim's authos / ollama docs to make sure.

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

    So what do you prefer now? Codeium, Copilot, or local llama?

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

      Codeium for everyday code completion, GPT when I’m writing text (blogs newsletters etc)

  • @garciajero
    @garciajero ปีที่แล้ว +8

    i think ollama has been written by ex-docker employees also!

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

      Honestly the number of amazing projects built by ex docker people is astounding.

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

      @@devopstoolbox on emacs there's something called ellama very similar to gen , same idea , altho this is amazing and i can see a bit of a future , it doesn't stick you know i don't see myself using it i don't know why , feels like faster to go and google some example or something like that

  • @mrgdevops
    @mrgdevops ปีที่แล้ว +3

    how is the moonlander?

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

      The moon lander is amazing! I must say the HHKB was a superior typing experience but nothing beats a good split kb with thumb clusters 🤩

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

    Niceeee you got a moonlander!! Best piece of gear EVER

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

      Yes! Replaced all the switches and still need to pad the inside so the typing won’t be as “metallic” but it’s amazing

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

      @@devopstoolbox I got the kalith deep sea blues and they are **chefs_kiss

  • @SumitPatel-nn7lx
    @SumitPatel-nn7lx ปีที่แล้ว +1

    Hey, as you are DevOps Engineer you can make an video on "Good practices for DevOps Engineers" or any tips and tricks which can make things easier for them. *Like this one.

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

      This is such a broad range to cover that I try to focus on these in my blog + newsletter + podcast, you can check them all! That said, I will try to incorporate more specific videos.
      omerxx.com
      topeaks.buzzsprout.com

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

    Is it possible to share your nvim config setup, I really like how your setup? Thanks :)

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

      Of course! Always open at dotfiles.omerxx.com
      Might not have the Ollama config yet as I haven't finalized it but if this is what you're looking for I'll expedite things and push. LMK!

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

      @@devopstoolbox Amazing, thank you very much. I am learning NVIM and entirely new so will have a play around with your config :) Appreciate it. Subbed as this is very useful content!

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

    Can you share your moonlander keyboard layout?

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

      Planning to! It’s very much a mess rn so I’ll fix it up and share. You may have seen that I’m still playing with removing keys altogether and checking how it works

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

    Great video all round, however, I had a slight issue with getting mistral to work... For some reason when I try to use the :Gen command, after entering a prompt (if applicable) I am presented with a blank box that does nothing. I have no idea what this means?

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

      Hmmm try to debug: if you run the model through the CLI, can you get an answer from mistral? If you can’t, see if the mode is running or there’s a local issue.
      As for gen - check the config and see what mode it’s running

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

      ​@@devopstoolbox I can run the model fine in the CLI, no problems there, I'll check the config for the mode now.

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

      @@devopstoolbox Update: Even with specifying mistral:instruct in the gen config, it still fails to work correctly. Very strange.

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

      @@billbennings8990 do other models work okay? If you switch to codellama for example does it work?

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

      I'm installing it now, good idea.

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

    Ollama literally uses docker. They are docker images, that's why it feels like docker 😊

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

    great video and channel! subscribed!
    love the keyboard!
    given you are a coder and neovim user, any chance you can do a video on your layout?
    thinking of buying one but worried about rebuilding muscle memory ...

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

      Yep! Working on it but I want the layout to be dialed in perfectly before I do and that takes time. Muscle memory rebuilding is an integral part of the process but I must say it’s not that long. I reached same typing speed after ~3 weeks. The layout keeps changing as I learn / find new stuff. So I’m guessing only if another 3 weeks go by without me changing anything I’ll know it’s ready for review 😅

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

      @@devopstoolbox looking forward to it! although i ll probably buy one before that :P

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

      @@NicholasAngelidis1 classic move Id make 😅

  • @4_millimeter_defeater358
    @4_millimeter_defeater358 ปีที่แล้ว

    hey, super cool video. could you tell me what nvim plugin you used to achieve that sleek terminal interface from neovim?

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

      Thanks! Here it is
      github.com/numToStr/FTerm.nvim

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

    which wrist rests are you usign with your moonlander?

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

      It comes with wrist rests that do a pretty good job. Used to have a wooden one for the HHKB that felt softer but no complaints

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

      @@devopstoolbox thanks Omar and thanks for the awesome videos!

  • @007arek
    @007arek ปีที่แล้ว

    There is a new project for nvim and ollama ogpt.nvim (fork of the chatgpt.nvim) with more advanced configuration and predefined roles than gen.nvim.
    Unfortunately, I have found a few bugs in it.

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

    This is awesome. Thanks to the ollama devs and devops toolbox for shading light into it. Just one question, have you tried the starcoder model? it suppousedly outperformed other open code models last time I read about it but havent confirmed it

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

      I did not! But now that you mention it I'll give it a go

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

    Great, great editing. Please share the color theme you're using in Neovim. Thanks!

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

      Of course! Cattpuccin!

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

      ​@@devopstoolbox ... And your split keyboard exact model ❤❤❤

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

      @@elatedbento ZSH Moonlander!

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

    This is so cool, thank you!

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

    Awesome content, thank you!

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

    Loved this ! Also why is your keyboard missing some keys xd ?

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

      Thanks! Haha still playing around with getting used to the moon lander. It feels to me it has too many keys in a way that sometime is hard for me to understand "where I'm at" just by touching it. I'm used to knowing where the boundaries are when I reach out to the shift key for example or g on the other end. When shift is just another small key and there's more underneath it it's hard for me to find my way around without looking and I couldn't get used to it so I deicded to try and run with out it. Besides it doesn't make 100% sense to me to reach all the way down there so I removed it altogether :)

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

      @@devopstoolbox Ahh I see it now, also that view look soo good to relax your eyes after long hours of sitting, I really loved it !

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

    Oh, so the moonlander was at the end. Happy for your wrists. Now get into the rabbit hole of one shot layers, sticky modifiers and combos for maximum procrastination😄

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

    man the keyboard view is sick.........

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

      give me keyboard link ....

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

      ZSH Moonlander!

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

      The moon lander is amazing! I must say the HHKB was a superior typing experience but nothing beats a good split kb with thumb clusters 🤩

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

      @@devopstoolbox I gues su meant ZSA 😂 .......zsh is overtaking

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

      @@devopstoolbox yeah seems pretty awesome..... Gonna check it out soon....

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

    Bro said he wants to bump a minor 😮😅

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

      Haha finally! The one who noticed!

  • @pushyoch.8252
    @pushyoch.8252 7 หลายเดือนก่อน

    AI tools suck without a front-end simply because terminal cannot format markdown.
    Sure this might come off as a skill issue, but I want to easily distinguish between explanation and code examples.

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

      Firstly, there are great options, such as github.com/charmbracelet/glow
      But regardless, you can design the prompt to provide the output structure relevant. Especially if coding and you need either autocompletion / example with comments instead of MD etc

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

    noice

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

    He should be able to rest his fingers and wrists by speaking words to the computer instead of typing on keyboards so much. He will save a lot of time, too.

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

    first

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

    11 minute video for a 30 seconds of content, yikes. and then doesn't even explain anything? dafugg. very proud of his keyboard, i guess. weird video

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

    noice