Live data from Hacker News

MacOS 10.12 Open Source Components

opensource.apple.com

81–90 of 170 posts

Re: MacOS 10.12 Open Source Components

#81
post #36

Earlier quoted context omitted.

If Apple open sourced all of macOS maybe that would put more pressure on Microsoft to intentionally[1] open source Windows. [1]: It has been open sourced in the past: https://torrentfreak.com/microsoft-takes-pirated-windows-nt-... http://www.theinquirer.net/inquirer/news/1030335/leaked-wind...

Leaked source code is not open source dude. Open source is software licensed under terms compatible with these rules: https://opensource.org/osd

Both the Windows Server 2003 x86 and the Windows XP amd64 kernel source code have been available for academic purposes. They are governed under the WRT License, which forbids re-distribution outside of the academic use. But yes, MS provided that source code with full documentation on how to build and debug each kernel.

I've built the WinXP kernel a few months ago just for nostalgic purposes, here's a VM running the custom kernel with a KDBG hook on NTQSysInfo [1]. The neat thing is that you can debug on the system itself, or via a serial port.

I also know that some people had success merging the /base/ code from the above licensed kernel (but the x86 version) and the leaked WinNT4 code. One even got so far as to manage a recompile of the NT setup, building a custom NT OS from scratch. Though that's violating the WRK and NT license left and right.

[1] http://i.imgur.com/BeiME5X.png

Re: MacOS 10.12 Open Source Components

#82
post #65

Earlier quoted context omitted.

I always thought it was pretty clear to say "os ecks" myself, but I've heard internally / correctly people say "oh es ten". It's hard to break the habit after 5+ years though.

It was never really meant to be "OS 10", despite what the 'correct way' to say it was. Pure marketing. If it was really meant to be "OS 10", then they wouldn't have versions like "OS X 10.6", they'd just have "OS X.6" or "OS X.VI". How many people do you hear saying "OS ten ten point six"?

[deleted]

Re: MacOS 10.12 Open Source Components

#83
post #65

Earlier quoted context omitted.

I always thought it was pretty clear to say "os ecks" myself, but I've heard internally / correctly people say "oh es ten". It's hard to break the habit after 5+ years though.

It was never really meant to be "OS 10", despite what the 'correct way' to say it was. Pure marketing. If it was really meant to be "OS 10", then they wouldn't have versions like "OS X 10.6", they'd just have "OS X.6" or "OS X.VI". How many people do you hear saying "OS ten ten point six"?

>The current version of Mac OS is Mac OS X (pronounced "Mac O-S ten").

https://support.apple.com/kb/TA22541?locale=en_US

Re: MacOS 10.12 Open Source Components

#84
post #73

That title is clickbaity.

Yeah, a page with a list of downloadable tarballs can hardly be called Open Source. BTW, how useful is this code? Obviously you can't build anything with this. It's useful for auditing, maybe?

You can build the code. Might take a little monkeying around with your build environment, but each program should be buildable.

I'm not sure what you think "open source" is or needs to be. We were passing around tarballs over ftp for almost all of our open source software in the past.

Re: MacOS 10.12 Open Source Components

#85
post #73

Earlier quoted context omitted.

Yeah, a page with a list of downloadable tarballs can hardly be called Open Source. BTW, how useful is this code? Obviously you can't build anything with this. It's useful for auditing, maybe?

That code is not there in order to be useful to someone. It's there to meet the liabilities that they have through the licenses for the used open source software. These licenses often say that if you use the software you also need to allow the public to retrieve it. Even more so if you make modifications to it.

That's only true of GPL'ed components shipped as part of Mac OS X/ OS X / macOS. A vast majority isn't - some are BSD and most are Apple originated software under an Apple Open Source License (APSL)

Re: MacOS 10.12 Open Source Components

#86
post #65

Earlier quoted context omitted.

I always thought it was pretty clear to say "os ecks" myself, but I've heard internally / correctly people say "oh es ten". It's hard to break the habit after 5+ years though.

It was never really meant to be "OS 10", despite what the 'correct way' to say it was. Pure marketing. If it was really meant to be "OS 10", then they wouldn't have versions like "OS X 10.6", they'd just have "OS X.6" or "OS X.VI". How many people do you hear saying "OS ten ten point six"?

I'm pretty sure it was meant to be OS 10 the whole time. It succeeded OS 9.

Re: MacOS 10.12 Open Source Components

#87

Earlier quoted context omitted.

emacs is distributed with the OS, so the GPL requires Apple to make the emacs source available. (Even if they haven't changed it.)

Only if you make such a request. Read the GPL.

Publishing the source like this is risk management for a company. By doing this they don't risk having to receive, vet and process 100's of requests for source at a random time - which could use up their legal department's resources at the wrong moment.

Re: MacOS 10.12 Open Source Components

#89

Heh, I went spelunking through the bsd/mach layers of the code, was quite a bit of fun. Looks like they've only released the x86_64 and x86 versions of the code? I don't see any ARM in there. Anyways, found gems like this [1]: /* * File: sched_prim.c * Author: Avadis Tevanian, Jr. * Date: 1986 * * Scheduling primitives * */ I hope to leave a legacy like this someday, hopefully someone will appreciate the author's com…

For giggles, here are some comments I grepped from the WinNT kernel: https://gist.github.com/turbo/75f0905275c29a3049f983cfe273ea...
Post reply on HN