News for hackers. Stuff that matters.
Re:Krita fund has 0 corporate support by orblivion on Thursday October 05, 2023 @12:11PM (#37780447)
`padLeft` can't just inject itself into a software stack right? So there's an incentive to be valuable enough to be included.
Re:Krita fund has 0 corporate support by VyseofArcadia on Thursday October 05, 2023 @12:27PM (#37780641)
Depends on how you do the accounting. "Well, you don't use padLeft, but 15 packages you depend on do, and 68 packages tjat those packages depend on do... Altogether you're looking at 348 instances of padLeft."
Re:Krita fund has 0 corporate support by orblivion on Thursday October 05, 2023 @12:31PM (#37780700)
If there were a metric that would make each instance of padLeft worth a tiny amount of money (for such a tiny library), that sounds like a reasonable outcome to me.

EDIT: I may be missing part of the point

Re:Krita fund has 0 corporate support by bee_rider on Thursday October 05, 2023 @12:47PM (#37780902)
A trivial way to exploit this kind of system, I think, would be to write LegitimatelyUsefulLibrary, then write 1,000 PadLeft projects, and make LegitimatelyUsefulLibrary depend on all of them.

Since you are the one marking the dependency of LegitimatelyUsefulLibrary on your PadLeft projects, you can game the metrics however you’d like when making it.

Re:Krita fund has 0 corporate support by noworriesnate on Thursday October 05, 2023 @09:00PM (#37786114)
But why would I, as a developer, use such a library? It would cut me out of profits unnecessarily. In fact when I’m picking my dependencies I will deliberately avoid those that take a larger slice of the pie than is worth it for me.
Re:Krita fund has 0 corporate support by kybernetikos on Friday October 06, 2023 @02:59AM (#37787902)
If I remember the story correctly the padLeft dev was actually pretty notorious for submitting patches to open source projects that 'coincidentally' added dependencies on his code.
Re:Krita fund has 0 corporate support by stolsvik on Friday October 06, 2023 @10:13AM (#37791046)
Sources?