[–] [S] 1 point 1 year ago

At work, I don't have to work with node projects at all.

Outside of work, some drive-by contributions or where I contribute or would have liked to contribute. For example, on OpenTermsArchive, or the Nushell website (where it doesn't work with their vuepress, unfortunately).

  • source
  • parent
  • context
  • [–] 1 point 1 year ago (1 child)

    I have never heard that take before, but to each their own.

    And if you prefer deno/bun, that's great, I still think they are the future, hopefully they get closer to 100% node compatibility, I'm sure it just needs time (node spec is likely very huge by now).

    Do you work with many different projects? What's the failure rate of deno/bun not working out the box for you (I'm curious)?

  • source
  • parent
  • context
  • [–] 6 points 1 year ago (1 child)

    What do you mean by "instead of watching"? OP links to a text article.

    I still prefer your MDN link though. Concise, and a more readable layout. Dunno why OP felt the need to increase the font size that much into a wide layout.

  • source
  • parent
  • context
  • [–] [S] 3 points 1 year ago (2 children)

    I refuse to install nodejs on my personal PC. Too big, too pervasive, not observable. These tools, Deno and Bun, allow me to work on node/js/ts projects. At least, when they are compatible, which sadly they are not always.

  • source
  • parent
  • context
  • [–] [S] 1 point 1 year ago*

    I think it really helps if you dont like !important:

    @layer base, toggles;
    @layer toggles {
        .wprm-print-hide-recipe-nutrition .wprm-recipe-nutrition-label-section {
            display: none;
        }
    }
    
    

    instead of

    .wprm-print-hide-recipe-nutrition .wprm-recipe-nutrition-label-section {
        display: none !important;
    }
    

    I guess I answered my own question - I think its a neat feature and ill use it.

  • source
  • parent
  • context
  • [–] 3 points 1 year ago* (3 children)

    Bun is supposed to be a drop in replacement for node and it can work like that for many apps currently as far as I know.

    So it only comes with and will come with improvements.

    At scale it could potentially save a lot of money.

    Sounds like it will help with developer experience too so.... I can't tell why you hate it.

    Personally I think deno and bun will find their space (which may overlap over a lot of space that node currently takes) and their existence is a net good.

  • source
  • parent
  • context
  • [–] 2 points 1 year ago

    I have a hard time seeing a solid standard that is respected by all used versions of gecko, blink and webkit and before that this is just for enthusiasts. In the far future this could turn into something usable.

  • source
  • [–] 3 points 1 year ago

    Why is this post titled "The Cascade"? Looks like that's the website title rather than the article title, which is The least amount of CSS for a decent looking site

    Maybe you want to update the post title?

  • source
  • [–] 4 points 1 year ago

    It's been a while, so I'm not sure about the details, but I had some elements on our website that I wanted to show when our extension was installed, and hide if not. I think I used layers, and then had the extension move the layer priority order. Was a clean way to fence off the extension-specific code.

  • source
  • parent
  • context
  • [–] [S] 1 point 1 year ago (1 child)

    I don't fully understand the technical aspects, but I get the gist of what you're saying. Overcomplicating code is something I'm sometimes guilty of. I will try to make the code as "flexible" as possible to allow for changes later down the line if needed. Also, I've never done anything in Lua besides making stuff in Roblox Studio 😅. You really know your stuff hus?

  • source
  • parent
  • context
  • view more: ‹ prev next ›