this post was submitted on 08 Aug 2024
1481 points (99.1% liked)

Programming

17008 readers
368 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS
 

Friend who is not a software person sent me this tweet, which amused me as it did them. They asked if "runk" was real, which I assume not.

But what are some good examples of real ones like this? xz became famous for the hack of course, so i then read a bit about how important this compression algorithm is/was.

you are viewing a single comment's thread
view the rest of the comments
[–] magic_lobster_party@kbin.run 25 points 1 month ago (1 children)

The popularity of these two packages shows that something is very wrong with JavaScript.

[–] TrickDacy@lemmy.world 4 points 1 month ago (1 children)

No, it shows people are lazy.

[–] magic_lobster_party@kbin.run 1 points 1 month ago (1 children)

Well, that as well, but it’s an also bit tricky to safely check if a number is even because JavaScript uses floats for numbers.

[–] TrickDacy@lemmy.world 2 points 1 month ago

It's not tricky. Modulus operator works fine.