Extensions in GNOME 45 - New import system is not backwards compatible
  • bennyp bennyp 1y ago 93%

    It will be annoying for a minute but this change is good: it will help developers ship extensions faster and with fewer bugs by using standard JavaScript modules and IDE support. As mentioned in the blog: modules were standardized in 2015! At what point does it become acceptable to drop non-standard features?

    38
  • Understanding JavaScript Function Invocation and "this"
  • bennyp bennyp 1y ago 100%

    this is very handy when you want to carry over some shared context. Justin Fagnani described this as an implicit first argument, which is a model that helped me understand how to use it better.

    2
  • Is there a way to get rid of the debugger keyword in Firefox?
  • bennyp bennyp 1y ago 100%

    How about a browser extention which replaces the debugger keyword in all downloaded js source with void 0 or something?

    1
  • Why would/wouldn’t you switch to a modern IDE like Visual Studio/VS Code if given the decision right now?
  • bennyp bennyp 1y ago 100%

    agreeing with krogoth - i use vscode via github's web editor and other such buffoonery, and since many of my teammates also use microsoft's loss-leader false-flag not-quite open-source community trojan editor, I have to stay reasonably current.

    so i'm conversant, and use it, but i wouldn't "switch" in the sense of "adopt as my daily driver", for reasons which should be obvious from the last sentence ;)

    4
  • Twitter going to plan...
  • bennyp bennyp 1y ago 100%

    lol if you think this is a "twitter" problem you're out to lunch

    1
  • The Red Hat Drama Is Highlighting Open Source Software's Growing Pains
  • bennyp bennyp 1y ago 100%

    Growing pains? Red hat is 30 years old. The open source initiative was founded in 1998.

    3
  • neovim surround plugins require too many keystrokes
  • bennyp bennyp 1y ago 100%

    " already means something though (leader to pick a register)

    Try the which-key plugin, and/or make up silly stories for your bindings e.g. "you surround a word "

    3
  • Should I switch my Neovim config from VimScript to Lua?
  • bennyp bennyp 1y ago 100%

    It depends on what your expectations are and how you see your relationship to your editor (sorry for the cringe anthropomorphism)

    If you want to tinker and think of tweaking your editor as a hobby, then sure dive in

    If your config already works and you don't need the hassle, then don't

    In between? Want to use a specific lua plugin but don't want to commit? You can do that too

    3
  • Ocasio-Cortez warns of ‘dangerous authoritarian expansion of power’ in Supreme Court
  • bennyp bennyp 1y ago 100%

    I wonder what her opinion is on the Israeli judicial reform.

    Actually on second thought I don't really care to know

    6
  • svgo.nvim: Optimize SVGs in Neovim
  • bennyp bennyp 1y ago 100%

    Quote from svgo:

    SVG Optimizer is a Node.js-based tool for optimizing SVG vector graphics files.

    Why?

    SVG files, especially those exported from various editors, usually contain a lot of redundant and useless information. This can include editor metadata, comments, hidden elements, default or non-optimal values and other stuff that can be safely removed or converted without affecting the SVG rendering result.

    1
  • github.com

    A quick-and-dirty plugin to optimize your svg files in nvim using `svgo`

    12
    6