I think it's more accurate to say that power attracts corrupt people, and protects them from the consequences of their actions, allowing them to show their true colors without fear
this is already a classic
bonus points if you're using a statically typed language but the library uses extensive metaprogramming seemingly for the sole purpose of hiding what types you actually need
but sometimes "๐๐ฝ".reverse() == "๐ฝ๐"
Rules of thumb can be very useful for a relatively inexperienced programmer, and once you understand why they exist you can choose to ignore them when they would get in the way. Clean Code is totally unhinged though
is-number is a one-line function. (though it's debatable if a function that complex should be compressed to one line)
You may have heard of a similar if more extreme "microdependency" called is-even. When you use an NPM package, you also need all the dependencies of that package, and the dependencies of those dependencies recursively. Each package has some overhead, eventually leading to this moment in time.
I tried to edit the 'highlights' into a single image, the top is the description of the PR, the middle is a comment replying to another comment
I managed to recreate almost the same screenshot in 5kb (and with much less compression artifacts!)
before adding the text and circles it was only 1.6kb
it's a case where jpeg compression ironically results in the picture getting 60x larger and more blurry because everyone recompresses the images and jpeg is designed for large photos and not pixel art
To save even more data, replace every symbol with A. Then just store the amount of As.
I'm pretty sure that "motorcycle airbag vest" is not considered a standard piece of safety equipment by law
I would guess that, after working on perfecting a song for weeks or months, it feels very weird to completely change it in 2 minutes by applying 2-3 transforms/filters and releasing that as a separate version
Trying to beat up someone holding a machete may not be the brightest idea