‹ BackHN Continuity

Thread

Jev-Leftpad

234 points · 87 comments · fka

  1. fumblebee · · focus · HN ↗
    Can someone ELI5?
    1. sklivvz1971 · · focus · HN ↗
      Uses JEV to do something that's one line of code. Also, "leftpad" was a useless package from years ago that many important packages used instead of writing the code themselves. Its outage at some point broke a lot of packages.
      1. grokkedit · · focus · HN ↗
        why useless? it did one thing that js didn't natively do
        1. jagged-chisel · · focus · HN ↗
          It did one thing that you could write in one line of code. But it wasted space as a packaged dependency instead.
          1. Sohcahtoa82 · · focus · HN ↗
            It also ended up inadvertently highlighting a massive problem with the JavaScript ecosystem.

            And yet we learned nothing from it and all the same problems keep popping up, only this time in the form of supply chain attacks.

      2. [deleted] · · focus · HN ↗

        [deleted]

    2. intothemild · · focus · HN ↗
      Jev is a new type of model that just makes decisions based on given options. It's small and really really fast.

      Leftpad is a npm package that chooses if it should or shouldn't pad the left side of a string. It was famous for bringing down everyone's npm installs a few years ago.

      This combination is a double joke. Put something stupid in something stupid.

      1. andrekandre · · focus · HN ↗

          > Jev is a new type of model that just makes decisions based on given options. 
        
        something like “if x > y then x else y”?
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.