this post was submitted on 22 Jun 2023
230 points (100.0% liked)

Programming

423 readers
6 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
 

I've heard people mention curl and imagemagick. Any others that you know about?

top 50 comments
sorted by: hot top controversial new old
[–] BeePlusPlus 73 points 1 year ago (3 children)

Log4j was a fun one to watch unfold everywhere when things went haywire

[–] OneDimensionPrinter@lemm.ee 12 points 1 year ago (3 children)

That was not a fun week to be a developer.

[–] boonhet@lemm.ee 18 points 1 year ago (1 children)

As a non-java company developer at the time, I think our biggest challenge was explaining to everyone that Log4j didn't affect us. It took a non-zero amount of effort because a lot of customers panicked. To be fair, it was also an industry where confidentiality is important.

[–] JackbyDev@programming.dev 7 points 1 year ago (1 children)

Also a lot of people were pulling it transitively.

load more comments (1 replies)
[–] BinaryEnthusiast 5 points 1 year ago

Oh man. I missed it by like a month. I graduated with my bachelors in December, and started in January. I was hearing horror stories from my new coworkers about how people had to cancel vacations to get stuff patched asap

[–] argv_minus_one 4 points 1 year ago (1 children)

It was if none of your code used log4j. I remember being very grateful that I had chosen java.util.logging and Logback for my Java logging needs.

load more comments (1 replies)
[–] elrac@kbin.social 5 points 1 year ago (1 children)

That one was so annoying because you had to be using the log server to have any issues. If your network was locked down, the log server was disabled, or if you happened to be using a version that was from before the log server was added, then there were no issues. But clients just heard "log4j" and thought it was unsafe.

load more comments (1 replies)
[–] Black616Angel@feddit.de 55 points 1 year ago (2 children)

Sci-Hub anyone?

Alexandra Elbakyan manages this truly awesome source of scientific papers completely on her own. She got sued twice and lost, had to change the URL multiple times due to takedowns and only gets along by donations.

[–] SkyeStarfall@lemmy.blahaj.zone 15 points 1 year ago (1 children)

It is a crime to humanity to lock knowledge behind a huge paywall. She does God's work.

And it's not like the actual scientists/academics support knowledge being locked away either, or profit from it.

load more comments (1 replies)
[–] Gork@lemmy.ml 8 points 1 year ago

She's the best thing that's happened to the s scientific publishing field. I'm no longer a student but I still enjoy reading scientific papers and I'll be damned if I have to pay $20 per article (which doesn't go to the authors) since I no longer have access to a library that maintains relationships with these big publishers.

[–] Eric_the_Cerise@fedia.io 55 points 1 year ago (1 children)

Werner Koch, the guy who created, and who has maintained for 25 years now, pretty much all by himself, GnuPG, the modern email encryption replacement for PGP.

Just the other day, I realized I actually live just a few kms away from the guy, here in Germany ... very tempted to reach out to him someday and actually buy him an actual coffee.

load more comments (1 replies)
[–] OneDimensionPrinter@lemm.ee 42 points 1 year ago* (last edited 1 year ago) (3 children)

Left pad https://arstechnica.com/information-technology/2016/03/rage-quit-coder-unpublished-17-lines-of-javascript-and-broke-the-internet/

Had GPT summarize what happened.

The "left pad" incident refers to a controversy that arose in 2016 when a developer named Azer Koçulu removed his JavaScript package called "left-pad" from the NPM (Node Package Manager) registry. This caused a ripple effect, breaking numerous projects that relied on this package and highlighting the potential risks of relying on external dependencies. The incident sparked a debate about the stability and trustworthiness of the open-source ecosystem and led to discussions about best practices for managing dependencies in software development.

[–] Torty 22 points 1 year ago

This is the one I came to post about. The fact there's a library for this is so stupid to me.

I feel like it demonstrates how npm and modules have probably to some degree gotten out of hand.

[–] AnonymousLlama@kbin.social 8 points 1 year ago (2 children)

From memory the NPM blokes had to have a think about how they handle important packages because of that. Didn't they revert the changes to left pad to ensure everything else didn't break?

Fascinating to see the house of cards some of these solutions / libraries are built off

[–] JackbyDev@programming.dev 6 points 1 year ago

Yes. They added it back. The policy now is that you can't remove packages that are depended on (or something to that extent, I don't know the specifics).

load more comments (1 replies)
[–] Spiritreader@kbin.social 5 points 1 year ago

That's always the one I'm thinking of when anyone mentions the xkcd.

npm is one crazy infrastructure.

[–] spartanatreyu@programming.dev 41 points 1 year ago

cURL was one of these for a while (according to my limited understanding)

It was made in the 90s and it didn't get commercial support until a few years ago.

[–] falsem@kbin.social 28 points 1 year ago

A developer maintained a NodeJS package called left-pad that would add leading whitespace to strings. He unpublished the package and broke basically the entire Node ecosystem until the repo owner forcibly republished it against the author's wishes.

https://www.theregister.com/2016/03/23/npm_left_pad_chaos/

[–] jonne@infosec.pub 27 points 1 year ago

TzData is basically maintained by 2 guys. Pretty much every computer, phone and language relies on this database for timezone information.

[–] muttley@kbin.social 26 points 1 year ago (1 children)

The core-js library is used by 1000s of top websites and is maintained by one guy
https://github.com/zloirock/core-js

[–] opr@kbin.social 15 points 1 year ago (3 children)
[–] Highsight@kbin.social 13 points 1 year ago (1 children)

It's honestly a fascinating read. We count so much on these kinds of people to keep our way of life intact, but when they ask for a little help in their own life, they get spat on.

[–] gk99@kbin.social 7 points 1 year ago

It's really, really sad that this sort of stuff doesn't get picked up and funded for the greater good. Stuff like the NLnet Foundation exists, which has helped fund some pretty major projects (including the development of Lemmy), but something this critical I feel should be consistently funded by even larger entities in order to keep things working right.

[–] thgs 6 points 1 year ago

That feels it went seriously bad

load more comments (1 replies)
[–] pe1uca@lemmy.pe1uca.dev 23 points 1 year ago

I didn't even know about core-js until the dev complained about all the sites which use it. https://github.com/zloirock/core-js/blob/master/docs/2023-02-14-so-whats-next.md

[–] sasquash471@feddit.de 21 points 1 year ago* (last edited 1 year ago)

Not a package but FileZilla is developed by Tim Kosse for over 20 years. I know that there are a lot of other FTP-Clients but FileZilla is my favorite. Easy to use and very very stable. There is a pro version sure, but most of the time the regular one does the job. My company throws thousands of dollars a month at Adobe, Microsoft and others. But they would never even think about giving anything to Tim Kosse and others, even though I've probably saved days of work with tools like this.

[–] kate@lemmy.uhhoh.com 18 points 1 year ago (2 children)
[–] jeff@programming.dev 18 points 1 year ago

Looks like there has at least been a small team working on ffmpeg for some time. https://en.m.wikipedia.org/wiki/FFmpeg#History

load more comments (1 replies)
[–] balder1993@programming.dev 18 points 1 year ago* (last edited 1 year ago) (1 children)

Node frameworks are famous for this purely because of a lack of standard library. I feel like most languages have a standard library that balance being generic but still providing utilities of common used stuff. So a company that doesn’t want to rely on a random guy’s library can build their own with only the features they want. But with Node, any complicated feature is using a tree of hundreds of random packages that you have no idea who created them.

[–] Fylkir@lemmy.sdf.org 6 points 1 year ago (1 children)

Someone ought to write a Node.js fork that includes native implementations of popular modules that are unlikely to need maintenance like isodd. Then come with a custom version of NPM that refuse to install the packages.

[–] spartanatreyu@programming.dev 9 points 1 year ago (1 children)

Deno basically did this by including a standard library that removes the need for the most popular modules. It's the best js/ts experience I've ever had.

load more comments (1 replies)
[–] JWBananas@kbin.social 17 points 1 year ago* (last edited 1 year ago) (4 children)

Would you like to hear an OpenSSL joke?

It's 64k letters long and you can repeat it back to me when I'm done.

It's "A".

https://www.heartbleed.com/

load more comments (4 replies)
[–] pwshguy@programming.dev 17 points 1 year ago (1 children)

Basically every Windows sysadmin is indebted to Mark Russinovich and SysInternals. Fortunetly, PowerToys has come a long way because I'm pretty sure sysinternals haven't been updated since Windows XP.

[–] Grishaix@feddit.de 9 points 1 year ago (1 children)

Mark Russinovich now works for Microsoft and they own Sysinternals. Also the tools get updated quite regularly.

[–] RustySharp@programming.dev 9 points 1 year ago (1 children)

"Mark works for MS" is a massive understatement. He's CTO of Azure now.

And speaking of Sysinternals, arguably the most exciting update was when ProcessExplorer got a dark mode late last year :)

load more comments (1 replies)
[–] PAPPP@lemmy.sdf.org 16 points 1 year ago

In the same kind of vein as imagemagick, Dave Coffin's dcraw tool at least partly underlies almost every non-proprietary RAW image decoder, and some of the commercial ones (if they don't use code, they use constant matrices and such).

He's not a sole maintainer to any of his major projects anymore, but honorable mention to Fabrice Bellard who initiated both ffmpeg and qemu among other notable activities.

IIRC the Expat XML parser that's embedded everywhere was basically on spare-time maintenance by Clark Cooper and Fred Drake for a couple decades, but I think they have a little more resources now.

SQLite is a BDFL situation more than single-maintainer, but D. Richard Hipp still has his hands on everything, and there are only a relatively small number of folks with commit access.

[–] JackbyDev@programming.dev 13 points 1 year ago* (last edited 1 year ago) (1 children)

Edit: maybe it was core js. I don't remember the name exactly.

Standard JS. It's a library maintained by one guy in Russia who went to jail for some car accident (I don't have the full context). He needed money and had trouble getting it. Then the Ukraine invasion happened and that only made it more difficult for him to get money. Also he was harassed by less technical people seeing his code on websites thinking it was malicious.

It's really a sad story to me.

[–] bashlk@programming.dev 6 points 1 year ago* (last edited 1 year ago)

Yeah it was quite shocking for me to read his story. Link for everyone who hasn't come across it yet. https://github.com/zloirock/core-js/blob/master/docs/2023-02-14-so-whats-next.md

Edit: Just noticed that he used the exact same comic in this write up.

[–] Cowabunghole@lemmy.ml 13 points 1 year ago
[–] ChildEater@iusearchlinux.fyi 13 points 1 year ago

As a game developer ImGui comes to mind.

[–] fing3r@feddit.de 12 points 1 year ago (1 children)

Look up a machine called Therac-25. great example of this. Terrifying.

[–] tvmole@lemmy.dbzer0.com 8 points 1 year ago (1 children)
[–] Felemuso@feddit.de 8 points 1 year ago

Tl;dr:

The Therac-25, a radiation therapy machine produced by Atomic Energy of Canada Limited (AECL), was implicated in six accidents between 1985 and 1987 where patients received massive radiation overdoses due to software errors.

[–] h_a_r_u_k_i@programming.dev 10 points 1 year ago

Salvatore Sanfilippo - creator of Redis.

Well, he actually received many appreciations from the community. But it's worth knowing IMO.

https://www.eu-startups.com/2011/01/an-interview-with-salvatore-sanfilippo-creator-of-redis-working-out-of-sicily/

[–] wewbull@feddit.uk 10 points 1 year ago (3 children)

The Network Time Protocol was certainly one of these for a long time, although I think it gets reasonable support now.

Having the clock read the same on all the computers in the world makes so many thing possible.

load more comments (3 replies)
[–] ShinusTP@kbin.social 7 points 1 year ago

I believe a great example is... you know... the entire internet.

[–] graphicsguy@programming.dev 6 points 1 year ago

RenderDoc is made by one person. It's used by every graphics programmer. It's free, open source, faster + better than anything else. I love it.

[–] 0xpr03@feddit.de 6 points 1 year ago (4 children)
load more comments (4 replies)
load more comments
view more: next ›