News for hackers. Stuff that matters.
Re:An M1 for Curl by sleepychu on Friday December 30, 2022 @04:07AM (#34183314)
Can anyone think of the reason Apple wouldn't provide hardware support to curl and similar projects?

To my mind "this dev tool doesn't work, only on Apple, only on Apple's flagship chips" is the opposite of what they'd like to see happen.

Re:An M1 for Curl by belfalas on Friday December 30, 2022 @04:14AM (#34183355)
For 20 years they’ve gotten it for free. Why start paying now? Apple is not a friend to the little guy, quite the opposite.

Remember, Steve Jobs was good friends with Larry Ellison who famously said that open source is there to be exploited. These guys all think the same way.

Re:An M1 for Curl by nickpp on Friday December 30, 2022 @04:17AM (#34183369)
Wasn’t it offered for free?! Or was something asking in exchange?

There are plenty of licenses which are free only for no commercial use. The authors choose the “free for all” license for a reason though.

Re:An M1 for Curl by lapcat on Friday December 30, 2022 @05:28AM (#34183736)
This is missing the point and focusing on the 1st paragraph of the article. 2nd paragraph:

> Yet, there are many curl users on the different Apple platforms and sometimes these users run into issues that are unique to those platforms and are challenging to address without direct access to such.

In other words, it's to Apple's own detriment if the author of curl doesn't have access to Apple hardware.

curl is offered for free, and the consequence of that is the author of curl is under no obligation to support Apple platforms or shell out money for Apple hardware.

Re:An M1 for Curl by sbuk on Friday December 30, 2022 @07:17AM (#34184355)
So change the license or stop supporting Apple OS's. Or ask them, or the community for a donation.
Re:An M1 for Curl by lapcat on Friday December 30, 2022 @08:29AM (#34184800)
> Or ask them, or the community for a donation.

First sentence of the article: "A generous member of the wider curl community stepped up and donated an unused Mac mini m1 model to me to be used for curl development."

Re:An M1 for Curl by sbuk on Friday December 30, 2022 @09:16AM (#34185162)
So where is the problem?
Re:An M1 for Curl by lapcat on Friday December 30, 2022 @09:57AM (#34185595)
The problem is that you've taken legitimate criticism of a BigCo and turned it into some kind of superfluous unsolicited advice for the critic.
Re:An M1 for Curl by sbuk on Friday December 30, 2022 @11:12AM (#34186350)
Why is it a "legitimate" criticism. That's just you opinion. Doesn't make it any more (or less) valid than the question I'm posing; why is the developer entitled to Apple providing hardware for testing? Do people purchase Macs purely for cURL - I doubt it. It's merely a convenient tool that is not encumbered by a GNU license. It sounds to me more like the typical outpourings of the oft-entitled developers. You develop software for MacOS, do you expect a free Mac? The cURL license permits the form of re-distribution that apple are employing, does it not? Are other hardware manufacturers expected to donate hardware? Does the developer have reference machines from Intel or AMD?

Edit - Looking at https://opencollective.com/curl, the project received $64,000 in donations, and the developer is employed, full-time, by a company to work on cURL. You'd have slightly more of a point if this were not the case, however as it stands it looks like a whine about Apple.

Re:An M1 for Curl by lapcat on Friday December 30, 2022 @11:34AM (#34186604)
> That's just you opinion.

If you read the other comments on this submission, it's not just my opinion.

> Doesn't make it any more (or less) valid than the question I'm posing; why is the developer entitled to Apple providing hardware for testing?

That's the wrong question. The developer is not entitled to Apple hardware and never claimed to be entitled.

The issue is explained in my earlier comment in this thread: https://news.ycombinator.com/item?id=34183736

To repeat myself:

> Yet, there are many curl users on the different Apple platforms and sometimes these users run into issues that are unique to those platforms and are challenging to address without direct access to such.

In other words, it's to Apple's own detriment if the author of curl doesn't have access to Apple hardware.

curl is offered for free, and the consequence of that is the author of curl is under no obligation to support Apple platforms or shell out money for Apple hardware.

Re:An M1 for Curl by rimliu on Friday December 30, 2022 @05:51AM (#34183859)
Re:An M1 for Curl by nicky0 on Friday December 30, 2022 @09:17AM (#34185174)
Ah yes the old X is friends with Y and they are all the same.
Re:An M1 for Curl by niklasmerz on Friday December 30, 2022 @04:20AM (#34183390)
Same goes for Apache Cordova a framework for building mobile apps for Android and iOS. Apple knows a big chunk of apps in the App Store are using it.

You can only use it for iOS apps if you have Apple hardware. I am one of the maintainers and thankfully I got a Mac Mini donated as well when I lost my company Mac.

Re:An M1 for Curl by sroussey on Friday December 30, 2022 @11:44AM (#34186732)
Thank you for your work on Cordova. Have you also worked on Capacitor?
Re:An M1 for Curl by smugma on Friday December 30, 2022 @11:52AM (#34186833)
Apple would rather you build native apps, not cross platform ones.
Re:An M1 for Curl by thisarticle on Friday December 30, 2022 @04:11AM (#34183341)
The logistics I imagine of doing so for projects would be immense. For ten projects, maybe it wouldn’t be bad, but which ten? Etc.
Re:An M1 for Curl by johannes1234321 on Friday December 30, 2022 @04:29AM (#34183451)
Assuming they do proper due diligence and third party tracking just search the database for the ten libraries they use in the most places themselves ... and yes, that will need some time to coordinate, for identifying the right people in the open source project. But as they certainly depend on quite a few good relations is also in their interest to deal with security issues.
Re:An M1 for Curl by albertopv on Friday December 30, 2022 @04:15AM (#34183364)
Apple could just donate a coupon or something like that.
Re:An M1 for Curl by prmoustache on Friday December 30, 2022 @05:55AM (#34183883)
Hmmm I believe Apple must have datacenter full of m1 powered machines for their CI/CD farm. Sending individual devices to individual developers working for n projects might be complicated, however offering a CI/CD environment to projects with ssh access to test virtual machines shouldn't be too complicated for them provided they were ideologically willing to help and cooperate the open source world.
Re:An M1 for Curl by flohofwoe on Friday December 30, 2022 @06:24AM (#34184055)
Curl ships preinstalled on macOS, supporting such preinstalled tools would be a good start (I would hope that Apple has a list somewhere of all the OSS tools they are shipping with macOS).
Re:An M1 for Curl by saagarjha on Friday December 30, 2022 @12:17PM (#34187140)
Re:An M1 for Curl by Gigachad on Friday December 30, 2022 @08:08AM (#34184658)
Yeah my guess is they just don’t have a process for this. Sure, sending a MacBook to the devs of curl probably makes sense and costs virtually nothing. But everyone writing open source is going to want one next so you need some full process to approve requests.
Re:An M1 for Curl by etchalon on Friday December 30, 2022 @04:08AM (#34183318)
There's no good reason beyond, "Apple doesn't do that, and never has."
Re:An M1 for Curl by varispeed on Friday December 30, 2022 @04:50AM (#34183552)
They probably don't want to set up a precedent and that would be against the true spirit of open source - to get people writing software for free, so big corporations can save on R&D and employment costs, while making a ton of money.
Re:An M1 for Curl by frou_dh on Friday December 30, 2022 @04:51AM (#34183564)
IIRC, at least around the time Apple Silicon was introduced, they were running some kind of taskforce to make code contributions to key open source projects to ensure they were compatible.
Re:An M1 for Curl by glandium on Friday December 30, 2022 @05:45AM (#34183820)
Did they? They provided pre-M1 mac minis (aka DTK), but I don't know that they actively contributed code. I don't remember seeing code from them for Firefox, at least (I was involved in getting Firefox to work on Apple Silicon)
Re:An M1 for Curl by danbulant on Friday December 30, 2022 @07:59AM (#34184599)
They did for obs[0], didn't see any other projects (I just remember I saw it a while ago, I may have missed other software if they tried).

[0]: https://news.ycombinator.com/item?id=30112595

Re:An M1 for Curl by saagarjha on Friday December 30, 2022 @12:16PM (#34187124)
A handful received support. I think Mono got a PR too.
Re:An M1 for Curl by alkonaut on Friday December 30, 2022 @05:17AM (#34183695)
Any of us working in an enterprise can probably relate to this similar thing: If I want to purchase a $500 piece of software, that’s a five minute conversation with my manager.

If I wanted to donate $50 to a single person who has developed a critical bit of open source we as a company gas relied on for ten years, it would be a major hassle.

Re:An M1 for Curl by carstenhag on Friday December 30, 2022 @06:24AM (#34184054)
Nah, even purchasing a 500€/$ piece of anything involves a lot of talking, procurement and waiting. At least in most german companies.
Re:An M1 for Curl by chaosite on Friday December 30, 2022 @07:13AM (#34184328)
Sure, but even in German companies if you want to purchase a 500€ piece of software there's a procurement process that you can go through.

There's no process for buying a laptop for an open-source dev who's code the business depends on but who is not an employee, so especially in German companies, you don't do that.

Re:An M1 for Curl by raverbashing on Friday December 30, 2022 @08:09AM (#34184664)
Well, correct, you wouldn't buy it for a donation

You would usually proceed as a donation from inventory or you'd give them some type of credit for purchase (might come off the marketing dept)

When donating something never go with the more expensive option (in this case, actually going and buying something you make on the market)

Re:An M1 for Curl by andsoitis on Friday December 30, 2022 @10:16AM (#34185762)
Can’t you donate the money and then they buy the hardware?
Re:An M1 for Curl by 95014_refugee on Friday December 30, 2022 @11:54AM (#34186858)
If by "you" you mean "the corporation", then no. A software BU doesn't make donations. It can purchase things, which is the point of the quoted comment, but it can't just give money away.

From a corporate accounting perspective, a "purchase" is "we pay money and we get a thing". Sometimes the thing needs to fit a stereotype; "a hardware", "a service", "a contract", but the dance is the same; request a quote, get a quote, place an order, get an invoice, pay the invoice, get a receipt, get confirmation of delivery.

Iff the transaction fits that mold, then it's generally straightforward. If it doesn't, then you need to find someone with the power to override the organisation; in an organisation resistant to internal tampering ("corruption") that can be quite difficult.

Re:An M1 for Curl by wslh on Friday December 30, 2022 @08:49AM (#34184958)
Could you elaborate on that? I am not German but a few months ago I contacted a German company because we use their open source products and want to move to their new SaaS model. Instead of being the typical few clicks automatic experience they start to engage in a personal conversation to define the correct price. From the business perspective I couldn’t understand their approach, it surely kills more sales.
Re:An M1 for Curl by shmoogy on Friday December 30, 2022 @09:14AM (#34185150)
Could it be something with European privacy laws for storing data?

I wish we could just buy licenses sometimes ... I really hate fucking around with procurement processes

Re:An M1 for Curl by wslh on Friday December 30, 2022 @10:24AM (#34185825)
I think this is why US way of business is unique in terms of business and goes beyond Europe or Germany specifically. US (as a multicultural platform) pushes toward the acquisition of the good, BNPL (Buy Now Pay Later) approach. It should be fast and will be faster. There is a lot of criticism about credit debt but US offers a lot of credit, the problem is more about how education and health were inflated that to credit itself. (IMHO).
Re:An M1 for Curl by andylynch on Friday December 30, 2022 @11:02AM (#34186243)
This is really common for b2b sales, it gives you both flexibility to negotiate price and terms, especially for more complex/niche products or services.
Re:An M1 for Curl by wslh on Friday December 30, 2022 @03:00PM (#34189294)
It is not common if we are competing with multiple companies where you sign up and onboard in 5’.
Re:An M1 for Curl by raspberry1337 on Wednesday January 11, 2023 @04:51AM (#34336785)
If you are taking a company to a Saas solution costing XXXXX euros surely it would be worthwhile to spend a couple of hours investigating how you get the best price?
Re:An M1 for Curl by pabs3 on Friday December 30, 2022 @08:22AM (#34184746)
Its not that much of a hassle, many open source folks have donation setups these days and some can send you an invoice for support/maintenance services. In my experience it isn't even hard for a company to hire random maintainers as contractors to add features that are needed by the company.
Re:An M1 for Curl by alkonaut on Friday December 30, 2022 @10:33AM (#34185903)
Most maintainers don't want to offer paid support though. It comes with expectations of support. I just want to hand someone $50 for many hours of work already spent. But that's tricky.
Re:An M1 for Curl by pabs3 on Wednesday January 04, 2023 @11:02PM (#34255789)
I expect that for a lot of projects/people it wouldn't be hard to send money. Either the project already accepts donations and sends those to maintainers, the person already has donation systems setup, or the person doesn't need the money and ask you to send it to a FOSS charity (like Software Freedom Conservancy) instead, or you send the person and email and they go sure, here is my PayPal/etc account number for transfers. Personally, I'd be very happy with money for paid support though, in my experience its pretty hard to extract money from most open source projects, basically no-one wants to give you cash because the project already meets their needs.

https://sfconservancy.org/

Re:An M1 for Curl by mooreds on Friday December 30, 2022 @08:25AM (#34184772)
Relevant Patio11 comment from 2016:

> We don't donate to OSS software which we use, because we're legally not allowed to.

> I routinely send key projects, particularly smaller projects, a request to quote me a commercial license of their project, with the explanation that I would accept a quote of $1,000 and that the commercial license can be their existing OSS license plus an invoice. My books suggest we've spent $3k on this in 2015. My bookkeeper, accountant, and the IRS/NTA are united on this issue: they don't care whether a software license is OSS or not. A $1k invoice is a $1k invoice; as a software company, I have virtually carte blanche to expense any software I think is reasonably required, and I think our OSS is reasonably required.

> I would do this more often if OSS projects made it easier for me to do so. Getting me to pay $1,000 for software is easy; committing me to doing lots of admin work over the course of a week is less easy. Take a look at what e.g. http://sidekiq.org/ , which is an OSS project with a commercial model, does. Two clicks gets me to a credit card form. If I actually used Sidekiq, Mike would have had my credit card on file the day that form went up.

https://news.ycombinator.com/item?id=10863939

Re:An M1 for Curl by cantremember11 on Friday December 30, 2022 @08:48AM (#34184954)
Sending an invoice might require some sort of contract, which may imply some level of support. Something OSS devs generally cannot guarantee.
Re:An M1 for Curl by Aissen on Friday December 30, 2022 @09:22AM (#34185229)
Most open source software licenses explicitly say there is no support.
Re:An M1 for Curl by mooreds on Friday December 30, 2022 @10:45AM (#34186059)
> ... the commercial license can be their existing OSS license plus an invoice

Of course, Patio11 was running his own show, and a larger company might demand more, but it is worth asking.

Re:An M1 for Curl by raverbashing on Friday December 30, 2022 @11:08AM (#34186313)
Support contract:

1. For the given amount of $5000 for the period 2023-01-01 to 2023-12-31 you are entitled to

2. Create a feature or bug request on our support system

3. Have a first response back in 96h

4. No warranties explicit or implicit that we'll be able to solve your problem blah blah blah etc

Re:An M1 for Curl by foepys on Friday December 30, 2022 @12:23PM (#34187207)
And then you are on vacation and some asshole in legal sues you because you didn't respond in time when a dev had a small problem they could've solved by looking in the source code for 5 minutes but wanted support instead.

Way too risky.

Re:An M1 for Curl by raverbashing on Friday December 30, 2022 @12:30PM (#34187294)
Agreed, this is only an example (but as you grow you can have someone look at your email - this is part of why it's a good idea to offer support contracts)
Re:An M1 for Curl by DwnVoteHoneyPot on Friday December 30, 2022 @12:10PM (#34187068)
Invoices seem like a great idea. Becomes a business expense and can claim it off taxes. Essentially gov't kicks in whatever your tax rate is.
Re:An M1 for Curl by KptMarchewa on Friday December 30, 2022 @08:47AM (#34184946)
Creating a recurring meeting that cost company >1000 weekly? Sure do it.
Re:An M1 for Curl by rollcat on Friday December 30, 2022 @09:45AM (#34185472)
Mid-2020, when the ARM transition was announced, Apple had a program where they'd send out developer transition kits (a Mac mini with an A14Z), but you had to request one, and actually qualify.

But yeah, it should be in their best interest to reach out directly to the developers of software like curl, zsh, git, Python... Everything they've been shipping as a part of their OS for 20+ years.

Re:An M1 for Curl by saagarjha on Friday December 30, 2022 @12:07PM (#34187034)
A12Z, and you had to justify it and pay for it. And then return it, for which Apple initially offered a token incentive but later ended up effectively waiving the fee with.
Re:An M1 for Curl by fweimer on Friday December 30, 2022 @05:49AM (#34183843)
Apple has proprietary, in-house solutions for these tasks. If I were an employee working on one of those, I wouldn't like if a different part of the company provided support to or funding for an alternative to the thing I'm working on.
Re:An M1 for Curl by nisegami on Friday December 30, 2022 @06:08AM (#34183976)
Then they should ship those solutions with their products and provide support for it to end users instead of pawning them off to the curl team for support.
Re:An M1 for Curl by fweimer on Friday December 30, 2022 @06:12AM (#34184002)
They do?

https://developer.apple.com/library/archive/documentation/Ne...

But it's a big company, so presumably some team used curl for some project, leaked that in an error message, and whoever runs the Apple Support social media account apparently didn't know about that after someone contacted them about the error message. Or something like that, it's hard to figure out what was going on without more context.

Re:An M1 for Curl by berkut on Friday December 30, 2022 @06:31AM (#34184099)
curl is shipped (by Apple) as a command line tool and libs to link against on stock MacOS (unless Xcode installs it these days, but I don't think so?).
Re:An M1 for Curl by gregoriol on Friday December 30, 2022 @05:58AM (#34183905)
Apple would more likely develop their own similar code instead.
Re:An M1 for Curl by amelius on Friday December 30, 2022 @06:23AM (#34184051)
Well they get great publicity from all the "Now available on M1 too!" posts on HN.
Re:An M1 for Curl by Teever on Friday December 30, 2022 @09:15AM (#34185161)
Bexause they don't want to. its that simple.

Any time you see a behemoth like Apple not doing something it's because they don't want to.

They don't consider whatever gains they get from it to be worth the time and money.