• 0 Posts
  • 7 Comments
Joined 1 year ago
cake
Cake day: July 28th, 2023

help-circle

  • That UI is called VSCode

    At the top of your .yaml file, you can set a JSON Schema. Example:

    # yaml-language-server: $schema=https://json.schemastore.org/prometheus.json
    
    scrape_configs:
      - job_name: caddy
        static_configs:
          - targets:
              - caddy:2019
    

    This way, you don’t have to memorize every possible setting and what it does and risk making a typo in the config. VSCode will just tell you.


  • Nato Boram@lemm.eetoProgramming@programming.dev*Permanently Deleted*
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    1
    ·
    4 months ago

    What’s even the point then?

    The point is that you can enable each separate extension you want running on your code editor or uninstall them if you’re unsatisfied. This makes it as light as you want it to be - or as heavy as you need it to.

    I was doing fine with just vim and tmux

    VSCode is like vim without vim controls and in a browser. Seen that way, it makes more sense. With Vim, you have to hunt for obscure Github repositories and follow arcane installation instructions for hidden extensions that you may or may not need and you have to learn a whole-ass keyboard-shortcut-based programming language just to use any of it.

    With VSCode, you click on Extensions, search what you want and it’ll probably be there unless it’s a toxic ecosystem like PHP/C# or some niche ecosystem that no one heard about.





  • Nato Boram@lemm.eetoLinux@lemmy.mlLaptop Recommendation for Light Gaming
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    1
    ·
    6 months ago

    The issue with gaming on laptops is that you’ll need to spend at least 1200$ at the bare minimum to play anything and 1600$ to have a good experience. And even then, the laptop is pretty much disposable and will be severely outdated in 5 years.

    The best option for a laptop would be the Framework Laptop, but these can go for 3000$. The big advantage is that they’re worth every penny as they are upgradable. You can literally swap every part, including the motherboard. The aftermarket value for these laptops is going to be amazing.