• 0 Posts
  • 8 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.devDo you use VS Code?
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    1
    ·
    2 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.






  • 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