153 points · by TangerineDream · 2y ago · 68 comments
Furthermore, it seems to use "set option" function with magic values to control in-memory cookie storage which is even weirder: https://curl.se/libcurl/c/CURLOPT_COOKIELIST.html
Also, curl seems to have no built-in function to save data? The user has to implement write callback themselves?
Also, regarding options, curl uses a single function for setting options of different types (numbers, booleans, strings) so typing for an option value cannot be used. Is that a good idea? What C developers usually use in such cases?
> Not too shabby for a hobby.
I went to some open source confs to promote a book I wrote (https://howtoopensource.dev) and free service (https://www.codetriage.com) and asked people working at booths for large companies if they can contribute to open source at their day job. Only one person had a positive example and in that case their team was literally blocked on the fix and there was no workaround. The rest seemed confused about why they should be spending work time to report issues or fix bugs. Some genuinely didn’t realize that was helpful and that “contributing to open source” doesn’t just mean releasing and maintaining your own code.
So yes, please fund the software you use, also time and attention is valuable too.
Last tip: If you want to make a habit of it, get it tracked like regular work. “Hey, is feature X done, can we move this card over?” …”Actually I still need to report an upstream issue before we are totally done, I’ll make another work item for it and get it checked off today”. If you feel like you would get pushback for that, then start smaller, by filing issues and talking about it after the fact. Most other engineers and quite a few managers see this as going above and beyond for your job.
A lot of them are likely using it as part of a game engine that they pay for, those game engines should be supporting the curl project, assuming you believe they have an obligation to do so.
* it's got a license that allows it to be embedded
* it's well known amongst game devs
* its deals very well with all the mind-numbingly uninteresting network issues game devs don't care about
It's mostly used for analytics, fetching news, RSS feeds etc. Seperate proprietry libs are used for the CDN side of game dev.
Basically it works and the gamedev industry is incredibly conservative about new/different tech. Alas it's also greedy. I know of games making $1 million a day that pay nothing in to the curl.
Sadly, it's really difficult to get companies to pay money they don't have to.
I was reading The Wealth Of Nations by Adam Smith recently (1776), and one passage stuck to me: that the regular market works because it is driven by the inherent self-interest and egoism of humans, while only beggars expect to earn a living out of the goodwill of the people.
I love free software, but it makes no sense as a business model. If you want to make money out of free software while avoiding leeches, use a serious license. AGPL3, MPL2.0 or EUPL. The entire ecosystem of permissive licenses is pushed, hard, by companies themselves, and perpetuated by their naive employees. Hence the creation of the corporate-friendly Open Source Initiative (OSI) that has completely eaten the lunch of the FSF.
Or maybe a handful of the microtransaction/IAP filled games.
From a quick search:
$500 for a character cosmetic:
https://www.si.com/esports/league-of-legends/ahri-ban-rate
$50'000 for a feature bundle:
https://www.ign.com/articles/star-citizen-introducing-a-4800...
$100'000 for an auctioned weapon cosmetic:
I think a big difference is that the author is pretty darn proud of cURL and brags about it often, and that curl's license is more permissive than wget's GPL.
22,734 games utilize Curl (glorifying).
either ways this is a one-off instance. not meme worthy just yet.
Ubiquity does not always equate to quality, sadly.
But curl is better than anything you could reasonably develop yourself in C++.
Hey, Boost.Beast is alright.