News for hackers. Stuff that matters.
Re:Apple Open Source by sparky_ on Wednesday December 08, 2021 @10:55PM (#29493643)
This is interesting from the external perspective, but let me provide the internal one: Employees are prohibited from so much as _thinking_ open source for anything not directly managed or maintained by Apple. Swift is one thing, but suppose on your own time, you had OSS interests. It was made abundantly clear to we lowly SWEs that _any_ perceived OSS participation - so much as commenting on a GitHub issue - without approval would be cause for immediate termination. Said approval requires the unanimous approval of multiple SVPs, including Federighi and Schiller themselves. IIRC the number of Apple employees given such arrangements was in the low 50s last I checked.
Re:Apple Open Source by mroche on Wednesday December 08, 2021 @11:08PM (#29493717)
If true, the only question I have is "why?". Assuming the OSS projects aren't a conflict of interest, there is zero reason to block people in their own free time from working on other projects. Blocking any form of participation, even non-code contributions is extreme.

This sounds similar to Amazon policies I'd read on HN, but I can't remember if they were barring OSS activity or claiming ownership of.

As a Red Hatter I find this mindset mind-boggling, but I'm heavily biased and on the complete opposite side of the spectrum. There's always a balance to be struck around policy depending on the org/industry/etc, but a blanket "no" is ridiculous.

Re:Apple Open Source by friseurtermin on Thursday December 09, 2021 @04:31AM (#29495430)
I remember this coming up in a blog post by the creator of Shellcheck a while back [0] and being discussed here [1].

One reason given is this:

> Assuming the OSS projects aren't a conflict of interest

Apple is so secretive even internally that you can never guarantee whatever you're working on in your free time does not conflict what someone at Apple is working on secretly.

[0]: https://www.vidarholen.net/contents/blog/?p=859

[1]: https://news.ycombinator.com/item?id=22279585

Re:Apple Open Source by usrusr on Thursday December 09, 2021 @05:09AM (#29495687)
Sorry for the low-effort reply, but I think "because they can" is all the explanation that is needed.

It's easy to demonstrate diligence and commitment by forbidding, much easier than showing how good you are at your job by allowing instead. Which would demonstrate what? Wisdom and balanced judgement perhaps? Great qualities, but difficult to show off. Forbidding is the low-hanging fruit of appearing strong.

Re:Apple Open Source by Wowfunhappy on Thursday December 09, 2021 @06:10AM (#29496115)
Presumably though, this policy makes it at least somewhat harder to acquire engineering talent? There have to be engineers who don’t want to work at Apple because of these restrictions.
Re:Apple Open Source by scns on Thursday December 09, 2021 @12:51PM (#29500597)
It works the other way around too. No one knows which Apple employees to poach.
Re:Apple Open Source by ncmncm on Thursday December 09, 2021 @03:43PM (#29502657)
I, anyway, have never been tempted to work there.
Re:Apple Open Source by sparrc on Thursday December 09, 2021 @12:50AM (#29494269)
That's not an Amazon policy. We have to take a 1 hour or so training course to participate in amazon-owned things on github and that's pretty much it. Basically zero rules around participating in our free time afaik.
Re:Apple Open Source by ketralnis on Thursday December 09, 2021 @01:45AM (#29494566)
Re:Apple Open Source by sparrc on Thursday December 09, 2021 @11:35AM (#29499486)
Looks like that was only within the Amazon Game Studios org. I've never heard of any policy like that within AWS or the retail side of things.
Re:Apple Open Source by rented_mule on Thursday December 09, 2021 @09:53PM (#29505919)
There were certainly issues like this when I joined Amazon in 2005 until I left in 2010. For years before I joined, I was the primary maintainer of an open source tool that almost everyone in the Python community had heard of at the time (python.org linked to it). Amazon really wanted me to abandon it (to my knowledge, they did not use it). It alarmed me so much that I had it written into the offer letter that I could continue to be the maintainer for the project. They added into the letter that I could not contribute to any other project. I was also lined up to speak about the project at PyCon (lined up before taking the job, PyCon was after starting). I didn't think to mention that until after I started. When I did, my manager dug into the process required to get approval... spend a month going through Amazon PR training full time (i.e., not doing the job I was hired for) and, at the end of the month, the PR folks would determine if I would be allowed to speak. At my manager's suggestion, I just went to PyCon and talked "with" folks about the tool. It just happened that it was easier to talk "with" folks using a mic and some slides that didn't mention Amazon anywhere.

The general attitude I encountered inside the company was either feeling defeated about it or feeling that Amazon had a competitive advantage because they were one of the few companies shrewd enough to take without giving back.

S3 and EC2 were released while I was there, and that started to change things. Suddenly motives to interoperate with open source were appearing. Sometimes that even meant giving back improvements that made projects fit the AWS ecosystem better. Their customers were also now software developers, many of whom would not welcome their explicitly greedy posture. That opening up was just starting when I left so I don't have a very deep view of it.

A funny thing happened after I left. I was working on an open source project created by my new employer that ended up being popular for a while in teaching distributed systems to undergrads. It was a great "gateway drug" for a new-ish AWS service. The GM of that service asked me to come to their very first AWS conference to talk about the project. I asked if I should mention that I worked at Amazon previously. The GM didn't just say yes, they introduced me as a previous Amazon employee - they very much wanted to be seen as aligned with and supporting open source. They also gave me AWS credits to hand out when I spoke about the project at PyCon and elsewhere.

Re:Apple Open Source by varispeed on Thursday December 09, 2021 @05:54AM (#29496011)
> there is zero reason to block people in their own free time

That's the thing - people don't have "free time". Most employment contracts are actually enslavement when it comes to IP. That's why corporations lobby governments to stop workers going B2B.

Re:Apple Open Source by bigbizisverywyz on Thursday December 09, 2021 @08:11AM (#29496946)
>Most employment contracts are actually enslavement when it comes to IP

Note this is a mostly US perspective, e.g. AFAIK in Switzerland what you do in your own time, and with your own equipment is entirely your own under Federal law. And that seems totally fair.

Of course if you steal code or ideas from your employer, then things get a bit more grey.

Re:Apple Open Source by denysvitali on Thursday December 09, 2021 @04:17PM (#29503065)
Do you have relevant sources for this? AFAIK some Google Switzerland employees are still bound by this stupid rule (what you do in your free time, with your personal device, is still Google's property), but I would love to be proven wrong.
Re:Apple Open Source by yongjik on Thursday December 09, 2021 @03:32PM (#29502545)
> Most employment contracts are actually enslavement when it comes to IP.

That's a very one-sided take. (Not commenting on Apple's policy, just commenting generally.) This great article explains why IP contracts are the way they are: https://www.joelonsoftware.com/2016/12/09/developers-side-pr...

Re:Apple Open Source by ncmncm on Thursday December 09, 2021 @03:47PM (#29502717)
US employment contracts. The US is deliberately hell for rank and file. For "non-exempt" (hourly) workers it is worse than most of us can imagine.
Re:Apple Open Source by kaba0 on Thursday December 09, 2021 @02:47AM (#29494878)
Is that even legal? I’m not sure it would stand a leg in the EU.
Re:Apple Open Source by moooo99 on Thursday December 09, 2021 @03:22AM (#29495086)
But most Apple employees, especially engineers, are not in the EU
Re:Apple Open Source by seba_dos1 on Thursday December 09, 2021 @03:47PM (#29502707)
High time for them to work on changing their laws then.
[dead]
Re:Apple Open Source by rektide on Wednesday December 08, 2021 @11:37PM (#29493875)
> It’s not true. That policy has a reason

Lol, what?

I have a hard time understanding the rest of this post. It's certainly been my impression that Apple indeed has pretty draconian policies regarding who you can be whence you join Apple.

> That’s an aggressive and frankly stupid misinterpretation of the policy which has pretty good reasons to exist when contextualized.

100% matches with what I've heard & seen in the world. Maybe coincidentally zero people who've been swallowed into the Apple mothership still have interest in the work they used to be up to, maybe they're all so much happier suddenly working quietly. But to me the Occam's Razor here is pretty fucking bliss fucking obvious son: these people working on good interesting projects & being vocal all shut the fuck up & stop contributing because they have to. Because that's the corporate policy. Because that's fucking Apple. That's the biggest most enormous computing empire on the planet doing what it does.

Edit: oh look at the edits on this post!!! Yeahhhhhh

Edit2: see my other comment. It's even more to the heart of things. "I'm glad there's the bare minimum of sticks to try to rub together to give the impression Apple gives the faintest most minimal flying fuck about any compute other than Apple computing, that they see any value in a bigger computing ecosystem. Apple is not at all a company that gives any impressions that they care about anyone but those that fall within the light of their empire."

This is such a sad fucking age for computing in general. "Create more value than you capture" is now a bunch of torn apart body parts on the floor, savaged, by massive ultra-industrialized super-powers. Apple is one of the leading forces promoting happiness in slavery, insisting that only by domination can we consumers ever find freedom & happiness. To pretend that such a company relates to open source in any positive way is repulsive in extreme.

Re:Apple Open Source by rjzzleep on Thursday December 09, 2021 @12:09AM (#29494047)
All of this sounds pretty on brand for Federighi. I really wonder though how much influence he's had on apples culture. There have been a lot of changes in OSX(at the time) that seemingly coincide with his timeline at Apple.
Re:Apple Open Source by wonnage on Wednesday December 08, 2021 @11:26PM (#29493829)
Not a great look for someone who’s “18 years and a director” at Apple to openly acknowledge this policy as well as being extremely defensive/borderline threatening about it.
Re:Apple Open Source by stefandesu on Thursday December 09, 2021 @02:27AM (#29494786)
I've seen people with promising OSS projects start working for Apple and having to abandon their projects. I think this is sad and such a net negative for the open source world, without any benefits to Apple (aside from their employees focusing on their work at Apple, maybe).
Re:Apple Open Source by _fat_santa on Friday December 10, 2021 @12:08AM (#29506625)
When you think about it. This attitude towards employees is just a reflection of company culture, let me explain.

Everyone talks about how the App Store is a "walled garden" but when you step back, all of Apple is a "walled garden" in a sense. Apple is in many ways like Disney when you think about it, they are masters of their respective domains, they have intense attention to detail, and they attempt to control and curate the experience for you. This is not necessarily a bad thing in all respects, in fact it's a very good thing, the whole reason I go to Disneyland versus Bush Gardens is that I want that impeccable attention to detail. Likewise I have an iPhone and I bought it precisely because of the attention to detail and the consistent experience.

But while this need for control is a huge advantage in some ares, it's a huge disadvantage in other areas, namely the App Store. We have all heard the grievances with apps getting pulled and this again is reflective of the walled garden. Out house, our rules, no exceptions.

But it's really interesting to see this culture extend to the employees themselves. Apple not letting employees contribute to OSS is again very reflective of the "walled garden" approach. Everyone else's employees work during the day and do other stuff on the side, but Apple employees are 100% inside Apple.

And this is a real issue for Apple, because the thing that makes their hardware so good is the same thing that makes all their software less than ideal to work with, to put it mildly. I think the best indicator of this right now is WebKit and Safari. Chrome and Firefox are light years ahead of Safari in terms of implementing new web technologies. At it's core, this is a problem with the culture at Apple of letting people in, and until they fix that culture or make a concerted effort to improve it, any attempt at them trying OSS is going to fall flat.

Apple needs to focus on diversifying its leadership and bring in new ideas. They could learn a thing or two about API's and Software from a company like Stripe.

Re:Apple Open Source by stefandesu on Friday December 10, 2021 @02:54AM (#29507508)
Very interesting perspective, and I totally agree! I'm big into the Apple ecosystem, but their software issues are definitively a problem.
Re:Apple Open Source by marijn on Thursday December 09, 2021 @03:28AM (#29495129)
That would explain the weird experience of having your open software used in Apple products — no one from the company ever talks to you. I'm a bit baffled how they deal with upstream bugs with this mentality. Not my problem, of course. Just weird.
Re:Apple Open Source by chongli on Thursday December 09, 2021 @04:00AM (#29495280)
I'm a bit baffled how they deal with upstream bugs with this mentality

Probably the same way they deal with support: refer users upstream [1].

[1] https://daniel.haxx.se/blog/2021/11/18/free-apple-support/

Re:Apple Open Source by AndrewDavis on Thursday December 09, 2021 @05:14AM (#29495728)
There's the classic `tail -f` bug where they didnt upstream the fix, but on their own open source release have an #ifdef APPLE or something to that effect.

Link to Bryan Cantrill's humerus talk. https://www.youtube.com/watch?v=vm1GJMp0QN4#t=41m18s

Re:Apple Open Source by pxc on Thursday December 09, 2021 @05:54PM (#29504194)
thanks for the link! that was fantastic
Re:Apple Open Source by sparky_ on Tuesday December 14, 2021 @04:55PM (#29558500)
A bit late with this reply, but the answer is: Make patches internally, to work around the problematic areas. Often done to avoid the legal necessity to contribute it back upstream. For example, hook code at runtime to jump out to Apple specific changes that are now not part of the OSS codebase directly.
Re:Apple Open Source by b3morales on Thursday December 09, 2021 @11:58AM (#29499834)
Even Swift is only nominally open source. Apple maintains private forks of all the projects in the Swift umbrella, and the releases for iOS/macOS development come from those, not the public source.
Re:Apple Open Source by jamil7 on Thursday December 09, 2021 @01:49AM (#29494589)
I’ve seen at least one person from the Swift team involved in the Rust project on github - does the Swift team have special privileges in this case?
Re:Apple Open Source by b3morales on Thursday December 09, 2021 @12:02PM (#29499895)
Are you sure that person currently works on Swift? There have been a number of people, including a few public faces, who have switched jobs from Rust to Swift and vice versa.
Re:Apple Open Source by nojito on Thursday December 09, 2021 @05:12AM (#29495716)
Nope the OP is just terribly wrong.
Re:Apple Open Source by gigglesupstairs on Thursday December 09, 2021 @07:35AM (#29496651)
It would be nice if you could elaborate how are they terribly wrong?
Re:Apple Open Source by ecnahc515 on Thursday December 09, 2021 @03:45PM (#29502689)
Some projects have been approved and have internal "champions" of the project and you can get approval more easily for those projects since it's not a one-off, and a non-VP has been granted authority to approve upstreaming patches to the project they champion.
Re:Apple Open Source by nojito on Thursday December 09, 2021 @09:38AM (#29497785)
It's largely a waste of time due to the extreme anti corp bias on HN, but the idea that Apple employees don't value or contribute to OS is extremely misleading.
Re:Apple Open Source by andruby on Thursday December 09, 2021 @10:38AM (#29498565)
I'm not reading that Apple employees don't value OS in OP's message, I'm reading that Apple is banning OS contributions, unless special exemptions are given, and that it is hard to get those.

Is OP wrong in his description of Apple's rules and permission wrt OS?

Re:Apple Open Source by sparky_ on Tuesday December 14, 2021 @04:57PM (#29558531)
That's a correct summary. This is the reason why people who join Apple suddenly abandon their OSS projects.

It's worth noting there was a huge debate internally about this around the time I left, with many people dissatisfied with the policy.

Re:Apple Open Source by ksec on Friday December 10, 2021 @07:22AM (#29509023)
>It's largely a waste of time due to the extreme anti corp bias on HN

I like this. Sums up a lot of things about HN.

Re:Apple Open Source by aiisjustanif on Thursday December 09, 2021 @11:46AM (#29499620)
Then does the SRE team contribute to Apache open source projects and Kubernetes, before this announcement?
Re:Apple Open Source by sparky_ on Tuesday December 14, 2021 @04:59PM (#29558553)
It's possible if Apple-the-organisation is contributing/driving back to some project, under the corporate entity. See WebKit for example.

However an individual employee could not just decide they want to submit some patches to Apache Whatever on their own time.