• 0 Posts
  • 120 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.


  • Tumblr is a blogging experience that’s similar to Twitter, but more focused on the user itself than on the central feed.

    • You have your blogs and you post there. Yes, you can have many blogs.
    • There’s global feeds with posts from all users, potentially including yours.
    • Posts can have non-intrusive hashtags, meaning they are not #partOfThePost, but in a separate, smaller, dedicated section of the post.
    • You can’t post stuff to someone else’s blog, but you can comment on their posts. Comments are tiny next to the post.
    • You can quote posts, but that makes a duplicate in a blockquote rather than linking to the original post like Twitter