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

Programming

17326 readers
222 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
[–] CameronDev@programming.dev 45 points 2 months ago* (last edited 2 months ago) (5 children)

Is-even and is-odd on npm.

For a while, openssl was maintained by 1 or 2 people.

[–] xmunk@sh.itjust.works 50 points 2 months ago (2 children)

Like half of the npm is maintained by a single, arguably awful, person who writes his microprojects into large pieces of software to maximize how often his code gets installed.

[–] shamrt@lemmy.ca 20 points 2 months ago (3 children)
[–] nnullzz@lemmy.world 15 points 2 months ago* (last edited 2 months ago)

Just looked them up… holy hell. How does one have so many repos! And all the apps he’s made. ~~What’s the story on them?~~

Edit: just looked it up myself. Seems to be a well liked person in the open source community. Idk. Regardless, props to them for the work they put in.

[–] xmunk@sh.itjust.works 10 points 2 months ago

That's them, yup!

[–] GissaMittJobb@lemmy.ml 9 points 2 months ago

Jon Schlinkert, I believe. Sindre has a lot of stuff as well, but has a better reputation afaik

[–] blindbunny@lemmy.ml 2 points 2 months ago

Sounds like a fork is in order

Is-even and is-odd are the stupidest packages ever written. Except for all the others that guy wrote.

[–] magic_lobster_party@kbin.run 26 points 2 months ago (1 children)

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

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

No, it shows people are lazy.

[–] magic_lobster_party@kbin.run 1 points 2 months 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 2 months ago

It's not tricky. Modulus operator works fine.

[–] undefined@links.hackliberty.org 9 points 2 months ago (2 children)

I would love this even more if one depended on the other and just did a “not even” for example.

[–] CameronDev@programming.dev 21 points 2 months ago* (last edited 2 months ago) (1 children)

I thought that was the case tbh, has it changed?

Edit: is-even depends on is-odd.

[–] SpaceNoodle@lemmy.world 9 points 2 months ago

It would be even better if each one depended on the other.

[–] biscuitswalrus@aussie.zone 5 points 2 months ago

Well good news! Time to let yourself love again!

[–] SzethFriendOfNimi@lemmy.world 5 points 2 months ago* (last edited 2 months ago)

deleted

left-pad